1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-27 13:49:10 +02:00
Commit Graph

6 Commits

Author SHA1 Message Date
Nuno Góis
837c49e4a1
chore: AI flag cleanup should focus on relevant flag (#10462)
https://linear.app/unleash/issue/2-3749/prevent-ai-flag-cleanup-from-removing-the-wrong-flag

This slightly refines our prompt so we're strictly focusing on the
relevant flag, instead of mistakenly targeting other flags.

Also includes:
- Adding our prompt to our output so we can more easily debug it 
- Only grab the last cleanup summary in case there are multiple (more
than one step from the agent)
- Add a warning to the summary in case the agent couldn't find
conditional logic related to the flag, only definitions / configurations

Did a few manual tests and it seemed to work correctly. Example:
https://github.com/Unleash/unleash/pull/10461
2025-08-04 15:57:29 +01:00
Nuno Góis
65ea41d601
chore: AI flag cleanup better support advanced flag names (#10396)
https://linear.app/unleash/issue/2-3709/improve-support-for-advanced-flag-names-in-ai-flag-cleanup

Improves support for advanced flag names in AI flag cleanup.

This is something I noticed when it tried to run against
https://github.com/Unleash/unleash/issues/10395 — The dot (.) broke the
previous logic.
2025-07-22 17:39:16 +01:00
Nuno Góis
b663696bd4
chore: AI flag cleanup reports errors back to issue (#10381)
https://linear.app/unleash/issue/2-3706/ai-flag-cleanup-reports-errors-back-to-issue

Reports AI flag cleanup errors back to the issue.
2025-07-22 16:21:56 +01:00
Nuno Góis
2abbf976fe
chore: AI flag cleanup action trigger workflows (#10288)
https://linear.app/unleash/issue/2-3671/adapt-ai-flag-cleanup-action-to-use-our-unleash-bot-gh-app

Adapts our AI flag cleanup action to use our Unleash-Bot GH app. The
main side-effect we're interested in is that this now automatically
triggers the PR checks.

Example PR: https://github.com/Unleash/unleash/pull/10287
2025-07-03 08:48:28 +01:00
Nuno Góis
1664c71b83
chore: AI flag cleanup action (#10274)
https://linear.app/unleash/issue/2-3662/explore-ai-flag-cleanup-through-a-gh-action

This builds upon:
 - https://github.com/Unleash/unleash/pull/10242
 - https://github.com/Unleash/unleash/pull/10249
 - https://github.com/Unleash/unleash/pull/10250
 - https://github.com/Unleash/unleash/pull/10254

...and **Henry**, our hackathon prototype.

This GH action automatically creates PRs to clean up flags marked as
completed.

See example: https://github.com/Unleash/unleash/pull/10273

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2025-07-02 10:53:14 +01:00
Nuno Góis
6503deea9b
chore: AI flag cleanup extended experiment (#10254)
Experimenting more with AI flag cleanup.
2025-07-01 09:04:34 +01:00