Skip to content

fix: Fix foascli sunset list to print sunset endpoints with deterministic order #804

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 7, 2025

Conversation

andreaangiolillo
Copy link
Collaborator

@andreaangiolillo andreaangiolillo commented Jul 3, 2025

Proposed changes

This pull request introduces enhancements to the sunset listing functionality, including sorting improvements, additional test coverage, and updates to handle API content extensions. The changes aim to improve the accuracy and reliability of the sunset data processing and testing.

Enhancements to sunset listing functionality:

Testing improvements:

@andreaangiolillo andreaangiolillo marked this pull request as ready for review July 7, 2025 12:48
@andreaangiolillo andreaangiolillo requested a review from a team as a code owner July 7, 2025 12:48
@andreaangiolillo andreaangiolillo changed the title fix: Fix foascli sunset list fix: Fix foascli sunset list Jul 7, 2025
@andreaangiolillo andreaangiolillo changed the title fix: Fix foascli sunset list fix: Fix foascli sunset list to print sunset endpoints with deterministic order Jul 7, 2025
@andreaangiolillo andreaangiolillo enabled auto-merge (squash) July 7, 2025 12:49
return nil
keysContent := slices.Collect(maps.Keys(content))
// Regex to find a date in YYYY-MM-DD format.
dateRegex := regexp.MustCompile(`\d{4}-\d{2}-\d{2}`)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

q: What about upcoming and preview?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

upcoming will sunset with the related stable api so we will get the sunset date from the stable api.

Regarding preview is a bit tricky, I need to think about how to add support for it and if it makes sense 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will create a follow up ticket for preview

@andreaangiolillo andreaangiolillo merged commit 75ec4a0 into main Jul 7, 2025
9 checks passed
@andreaangiolillo andreaangiolillo deleted the fix_foascli_sunset_list branch July 7, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants