Commit Graph

508 Commits

Author SHA1 Message Date
Christian Gunderman
1ff17334a9 fix(ci): capture agent's true base SHA to prevent patch conflicts
The reasoning job now captures the HEAD commit SHA prior to patch generation (`patch_base_sha`) and passes it to the publish job. The publish job then checks out this precise SHA rather than the original `target_sha`. This ensures that if the agent checks out an existing PR branch to resolve comments, the generated patch is applied cleanly against the tip of that branch instead of causing a merge conflict with main.
2026-05-15 12:38:49 -07:00
Christian Gunderman
9be8a0e9e5 fix(ci): pin target commit SHA in Gemini Bot workflow 2026-05-15 11:55:42 -07:00
Christian Gunderman
289e061d54 revert: undo bot exclusion in pr-rate-limiter.yaml 2026-05-15 11:42:21 -07:00
Christian Gunderman
6b7174703c fix(ci): add pull-requests: read permission to brain job 2026-05-14 20:03:23 -07:00
Christian Gunderman
1a36cbc3cf fix(ci): fallback to default branch name if bot branch name is invalid 2026-05-14 19:21:15 -07:00
Christian Gunderman
81af9b3bb0 fix(ci): base bot PRs on main in brain workflow 2026-05-14 16:51:52 -07:00
Christian Gunderman
4293ddfcc7 fix(ci): fix repo context for gh run in brain workflow 2026-05-14 16:18:39 -07:00
Christian Gunderman
53a573d7ef fix(ci): fix paths and cache in gemini-cli-bot-brain workflow 2026-05-14 16:14:54 -07:00
Christian Gunderman
6b6f0a3655 fix(ci): update bot workflow to use multi-directory checkout 2026-05-14 16:06:14 -07:00
Christian Gunderman
00aaba6759 fix(bot): ensure management files are written to and read from workspace root 2026-05-14 11:50:19 -07:00
Christian Gunderman
48e6cc179e fix(bot): explicitly target branch in 'gh pr edit' to ensure labeling 2026-05-14 11:11:44 -07:00
Christian Gunderman
746be830fe fix(bot): ensure branch names always start with 'bot/' prefix 2026-05-14 10:23:03 -07:00
Christian Gunderman
f65cacfea4 fix(bot): exempt bots from PR rate limiter 2026-05-14 09:13:50 -07:00
Christian Gunderman
8d6b0effc3 fix(bot): always target main in brain workflow to prevent leaking feature branch changes 2026-05-14 09:08:00 -07:00
Christian Gunderman
928ce879ea fix(bot): improve patch resilience in brain workflow
- Pin publish job to the specific SHA from reasoning job to avoid drift.

- Use git apply --3way --ignore-whitespace for better conflict resolution.
2026-05-13 20:35:02 -07:00
Christian Gunderman
98781cd97d chore(bot): remove maxSessionTurns and improve artifact archiving
- Removed the `maxSessionTurns: 30` limit from the bot's configuration as requested.
- Added `if: always()` to the `Archive Brain Data` step in the workflow to ensure logs (telemetry, debug) are available even when the agent fails or times out.
2026-05-13 18:37:18 -07:00
Christian Gunderman
9b3fef4f68 fix(ci): prevent infinite hangs in bot reasoning workflow
- Added a 60 minute timeout to the Reasoning job in the workflow.
- Updated the issue-fixer skill to instruct the bot to wrap 'npm run preflight' with the linux 'timeout' utility to prevent infinite loops from hanging the entire LLM agent.
2026-05-13 17:15:50 -07:00
Christian Gunderman
83d15895f1 fix(bot): archive pr-labels.txt to apply labels to PRs
The pr-labels.txt file was being correctly generated by the bot but was not
being passed to the Publish Artifacts job because it was omitted from the
Archive Brain Data step.
2026-05-13 16:29:02 -07:00
Christian Gunderman
a6e460e595 feat(bot): add support for applying labels to bot-created PRs
- Update the publish workflow to read labels from a pr-labels.txt file and apply them to the PR using the gh CLI.
- Update the prs skill to instruct the bot to write labels to pr-labels.txt.
- Update the issue-fixer and metrics skills to explicitly request the application of their respective labels in pr-labels.txt.
2026-05-13 15:13:46 -07:00
Christian Gunderman
7789469bd1 fix(bot): provide GH_TOKEN in bot-brain workflow to fix gh cli auth 2026-05-13 12:08:13 -07:00
Christian Gunderman
4464ff23fc fix(bot): disable gh pagers globally via env
- Sets `GH_PAGER: ''` in the workflow environment variables to ensure any `gh` CLI commands executed by the bot or in bash scripts do not hang waiting for user input in the headless CI environment.
2026-05-13 11:36:37 -07:00
Christian Gunderman
278858ed11 fix(bot): satisfy YAML lint rules and clarify monorepo build order 2026-05-13 09:54:50 -07:00
Christian Gunderman
821cb2be9b feat(ci): re-enable telemetry and debug logging for the bot 2026-05-13 09:27:51 -07:00
Christian Gunderman
3250033366 fix(ci): resolve YAML syntax error in bot brain workflow 2026-05-12 22:35:04 -07:00
Christian Gunderman
7344507c7b feat(ci): enable detailed telemetry and debug logging for the bot 2026-05-12 22:32:42 -07:00
Christian Gunderman
c0e78767b7 feat(ci): improve mandate selection and add activate_skill to policy 2026-05-12 14:15:45 -07:00
Christian Gunderman
75ab39ca3a feat(ci): add mandate override to brain workflow 2026-05-12 14:15:41 -07:00
Christian Gunderman
a11f347928 Issue fixer. 2026-05-12 14:15:38 -07:00
Christian Gunderman
2334e9b1c4 Incremental refactor repo agent towards skills-based composition (#26717)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-05-12 20:37:09 +00:00
Tommaso Sciortino
f901a4e6b7 fix(ci): replace brittle --no-tag with explicit staging-tmp tag (#26940) 2026-05-12 13:39:54 -07:00
Coco Sheng
c4973d01da ci: actively triage missing priority labels and intelligently clean up conflicting labels (#26865) 2026-05-12 18:33:55 +00:00
Gal Zahavi
9fe8643552 chore: update checkout action configuration in workflows (#26897) 2026-05-12 16:58:37 +00:00
Coco Sheng
90e7155971 ci: implement codebase-aware effort level triage (#26666) 2026-05-08 20:48:54 +00:00
Christian Gunderman
f42d4e3c16 fix(ci): fix maintainer identification in lifecycle manager (#26706) 2026-05-08 16:48:31 +00:00
Coco Sheng
3a0b19d900 ci: fix json parsing in scheduled triage workflow (#26656) 2026-05-07 20:35:20 +00:00
Coco Sheng
4a10751b49 ci: fix Argument list too long in triage workflows (#26603) 2026-05-06 21:10:01 +00:00
ruomeng
feae856d6e fix(ci): preserve executable bit for mac binaries (#26600) 2026-05-06 19:23:30 +00:00
ruomeng
e039fcdf2a ci(release): build and attach unsigned macOS binaries to releases (#26462) 2026-05-05 21:59:54 +00:00
Christian Gunderman
04e875c5c8 fix(ci): respect exempt labels when closing stale items (#26475) 2026-05-04 23:00:14 +00:00
gemini-cli-robot
a79da4f3a9 Robust Scale-Safe Lifecycle Consolidation (#26355)
Co-authored-by: gemini-cli[bot] <gemini-cli[bot]@users.noreply.github.com>
Co-authored-by: Christian Gunderman <gundermanc@google.com>
2026-05-04 22:07:47 +00:00
Tommaso Sciortino
88bdadc9c6 revert: fix(ci): robust version checking in release verification (#26337) (#26450) 2026-05-04 17:03:22 +00:00
Tommaso Sciortino
8fb1b5aa01 fix(ci): robust version checking in release verification (#26337) 2026-05-01 17:01:46 +00:00
Christian Gunderman
892c8a720d fix(ci): checkout PR branch instead of main in bot workflow (#26289) 2026-04-30 21:59:06 +00:00
Christian Gunderman
0af13141b2 Fix posting invalid response to a comment (#26266) 2026-04-30 18:22:59 +00:00
ruomeng
0f1077076e Skip binary CLI relaunch (#26261) 2026-04-30 17:48:23 +00:00
Christian Gunderman
1834ad0298 fix(bot): productivity and backlog optimizations (#26236) 2026-04-29 23:18:22 +00:00
Christian Gunderman
dce13019b9 ci(github-actions): switch to github app token and fix bot self-trigger (#26223) 2026-04-29 20:45:16 +00:00
Christian Gunderman
6dec6720de Add the ability to @ mention the gemini robot. (#26207)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-04-29 18:46:33 +00:00
Sam Roberts
c7d5fcff95 Update documentation workflows with workspace trust (#26150) 2026-04-29 01:00:57 +00:00
Christian Gunderman
58a57b72ae Implement bot that performs time-series metric analysis and suggests repo management improvements (#25945) 2026-04-28 16:49:53 +00:00