1
0
Fork 0
mirror of https://github.com/imjasonh/terraform-playground synced 2026-07-20 05:19:15 +00:00
Commit graph

3 commits

Author SHA1 Message Date
Jason Hall
58b6bdb0f2 Use requeue polling instead of check_run events for CI completion
When CI is pending, the reconciler now returns RequeueAfterSeconds: 60
to poll for CI completion every minute, instead of relying on check_run
events which are difficult to route through the workqueue.

- Remove check-run-workqueue from trigger.tf
- Remove processCheckRunEvent and related parsing code
- Add requeue when CIFixPending is true
- Update agent.md to remove check_run event documentation
2026-02-04 12:53:35 -05:00
Jason Hall
9b13ff140d Add check_run workqueue for CI completion events
The github-events module doesn't set pullrequesturl for check_run events,
so they don't trigger the PR workqueue. This adds a separate workqueue that
listens for check_run completion events keyed by repo URL.

When a check_run event is received, the reconciler:
1. Lists open PRs with the ci-autofix label
2. Processes each one to re-evaluate CI status

Also keeps check run status as in_progress while waiting for CI.
2026-02-04 12:09:12 -05:00
Jason Hall
9f63f1f524 add ci-fixer
Signed-off-by: Jason Hall <jason@chainguard.dev>
2026-02-04 11:38:44 -05:00