Conversation
Danielgergely
commented
Mar 18, 2026
- FIX: take all events, sort by date descending, take first date and calculate state according to this event
- FIX: post-migration script should now update the last event date on all projects
- FIX: changed the sorting of the lifecycle events in the projects view
- FIX: updated module version
- FIX: take all events, sort by date descending, take first date and calculate state according to this event
- FIX: post-migration script should now update the last event date on all projects - FIX: changed the sorting of the lifecycle events in the projects view - FIX: updated module version
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request refines the handling of FCP lifecycle events to ensure accurate and consistent state calculation and display. It introduces a more robust method for identifying the latest lifecycle event, includes a migration script to update existing project data, and improves the user interface by sorting lifecycle events chronologically. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request addresses an issue in determining the correct lifecycle state for FCP projects by improving the sorting logic for lifecycle events. It correctly sorts events by date to find the most recent one. A post-migration script is included to update existing projects, and a UI change ensures consistent sorting in the project view. The changes are logical and well-implemented, though I have a couple of minor suggestions for improving code clarity and robustness.
* [T3059] FIX: last lifecycle event now takes date into account - FIX: take all events, sort by date descending, take first date and calculate state according to this event * [T3059] FIX: added post-migration script - FIX: post-migration script should now update the last event date on all projects - FIX: changed the sorting of the lifecycle events in the projects view - FIX: updated module version * [T3059] FIX: GCA and pre-commit
* [T3059] FIX: last lifecycle event now takes date into account - FIX: take all events, sort by date descending, take first date and calculate state according to this event * [T3059] FIX: added post-migration script - FIX: post-migration script should now update the last event date on all projects - FIX: changed the sorting of the lifecycle events in the projects view - FIX: updated module version * [T3059] FIX: GCA and pre-commit