Jason Hall
42fd405534
Merge pull request #16 from imjasonh/copilot/add-pr-risk-scorer
...
Add PR risk scorer with LLM-based assessment and evaluation framework
2026-02-18 21:56:31 -05:00
copilot-swe-agent[bot]
91d03c0c0b
Fix golangci-lint staticcheck issues in cifixer eval_test.go
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-19 02:51:19 +00:00
copilot-swe-agent[bot]
6e73e0d463
Fix golangci-lint staticcheck issues in pr-reconciler main.go
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-19 02:17:05 +00:00
copilot-swe-agent[bot]
1224664d2d
Fix all golangci-lint issues: error handling, ineffassign, staticcheck, and unused code
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-19 02:08:09 +00:00
copilot-swe-agent[bot]
a4fd9b19cc
Remove unused formatFileDiffs function and test to fix golangci-lint
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-18 22:32:13 +00:00
copilot-swe-agent[bot]
de6dbaaf07
Fix golangci-lint formatting issues
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-18 17:39:18 +00:00
copilot-swe-agent[bot]
7cbd7ac6ea
Add pr-risk-scorer service and Terraform infrastructure with LLM integration
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-18 17:26:31 +00:00
copilot-swe-agent[bot]
1393815bc9
Rewrite risk scorer to use LLM agent framework with evaluation support
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-18 17:24:06 +00:00
copilot-swe-agent[bot]
ebaebe4044
Add comprehensive README documentation for pr-risk-scorer
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-18 17:14:38 +00:00
copilot-swe-agent[bot]
ec49bb999f
Fix formatting issues in struct tags and remove extra blank line
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-18 17:13:20 +00:00
copilot-swe-agent[bot]
ae34b14b29
Add Terraform infrastructure for pr-risk-scorer deployment
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-18 17:12:12 +00:00
copilot-swe-agent[bot]
85c5b630ad
Address code review feedback - improve pattern matching and simplify helpers
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-18 17:08:43 +00:00
copilot-swe-agent[bot]
e56aeb29a6
Add pr-risk-scorer command with full implementation
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-18 17:07:15 +00:00
copilot-swe-agent[bot]
0dfa7cbae1
Add internal/risk package with comprehensive tests
...
Co-authored-by: imjasonh <210737+imjasonh@users.noreply.github.com>
2026-02-18 17:04:53 +00:00
copilot-swe-agent[bot]
2617dd6bad
Initial plan
2026-02-18 16:59:31 +00:00
Jason Hall
a0b010d627
Merge pull request #14 from imjasonh/vfs
...
update litestream to vfs
2026-02-05 21:56:45 -05:00
Jason Hall
0983014992
clean up logging
...
Signed-off-by: Jason Hall <jason@chainguard.dev>
2026-02-05 21:55:20 -05:00
Jason Hall
a57a90de12
update litestream to vfs
...
Signed-off-by: Jason Hall <jason@chainguard.dev>
2026-02-05 21:46:52 -05:00
Jason Hall
d4600f2a19
Merge pull request #13 from imjasonh/ci-fixer
...
add ci-fixer
2026-02-04 14:23:30 -05:00
pr-reconciler
80bb808366
fix: resolve CI lint errors - remove unused function, fix deprecated calls, add error handling
2026-02-04 19:05:12 +00:00
Jason Hall
4be99d04da
re-enable lint, latest versions
...
Signed-off-by: Jason Hall <jason@chainguard.dev>
2026-02-04 13:58:59 -05:00
Jason Hall
943c6d1f28
ci: temporarily disable golangci-lint until it supports Go 1.25
2026-02-04 13:48:26 -05:00
Jason Hall
aff5c420f6
fix: require Go 1.25.4 to match chainguard.dev/driftlessaf dependency
2026-02-04 13:46:07 -05:00
Jason Hall
ba86d9a4ca
fix: use latest golangci-lint to support Go 1.25
2026-02-04 13:43:31 -05:00
pr-reconciler
b625fde14d
fix: correct invalid Go version from 1.25.4 to 1.23.4
2026-02-04 18:43:04 +00:00
Jason Hall
f936d8302f
fix: use real chainguard.dev/driftlessaf module instead of broken replace directive
2026-02-04 13:39:45 -05:00
pr-reconciler
6758e575c0
fix: correct singular/plural handling in CI status messages
2026-02-04 18:19:54 +00:00
pr-reconciler
ab44593fa3
fix: correct go.mod replace directive timestamp and workflow cache path
2026-02-04 18:15:49 +00:00
pr-reconciler
68ea3d06be
fix: handle error from strconv.Atoi in parsePRURL function
2026-02-04 18:12:56 +00:00
pr-reconciler
08124b3bf8
fix: correct invalid Go version in go.mod from 1.25.5 to 1.23
2026-02-04 18:09:17 +00:00
Jason Hall
4aaa1eec57
fix: use correct Vertex AI Claude model format (@ instead of -)
2026-02-04 13:04:40 -05:00
Jason Hall
0334f118a2
Fix Claude model version to claude-sonnet-4-5@20250514
2026-02-04 12:57:53 -05:00
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
009f2ec186
Fix check_run events using subject instead of repo extension
...
The github-events trampoline sets event.SetSubject(repoFullName) which
becomes ce-subject attribute, but does NOT set a 'repo' extension.
- Change extension_key from 'repo' to 'subject' for check-run-workqueue
- Rename parseRepoURL to parseRepoKey to handle both URL and subject formats
- Add tests for subject format (owner/repo)
This allows check_run completion events to flow through the workqueue
and trigger CI fixer reconciliation.
2026-02-04 12:43:03 -05:00
Jason Hall
87ca77d9dd
trigger CI to test check_run events
2026-02-04 12:30:59 -05:00
Jason Hall
63745e0cb6
update evaluateCIStatus
...
Signed-off-by: Jason Hall <jason@chainguard.dev>
2026-02-04 12:25:20 -05:00
Jason Hall
0255000457
Treat zero checks as pending, not passing
...
When a push event triggers reconciliation, the GitHub workflow may not
have started yet, resulting in 0 checks. Previously this was treated
as 'all checks passing'. Now we treat it as pending and wait for checks
to start.
2026-02-04 12:16:26 -05:00
Jason Hall
6100adadeb
Improve CI fixer status messages in check run
...
- Show 'Waiting for CI to complete' when pending instead of success
- Distinguish 'CI passing after fix' from 'CI is passing' (no fix needed)
- Show turns attempted for all states
- Clearer messaging overall
2026-02-04 12:14:58 -05:00
Jason Hall
53052f0d98
Fix filter format for check-run-workqueue
2026-02-04 12:11:08 -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
b5cd02f65c
Keep check run in_progress while waiting for CI checks
2026-02-04 12:03:57 -05:00
Jason Hall
805fe0e427
Trigger CI fixer retry
2026-02-04 12:02:20 -05:00
Jason Hall
a7610d3f34
Grant Vertex AI permissions to reconciler for Claude API access
2026-02-04 11:57:49 -05:00
Jason Hall
2a82eb8ff1
Use configurable region for Vertex AI Claude API calls
2026-02-04 11:52:44 -05:00
Jason Hall
390a2400a2
Add driftlessaf CI workflow
2026-02-04 11:41:45 -05:00
Jason Hall
9f63f1f524
add ci-fixer
...
Signed-off-by: Jason Hall <jason@chainguard.dev>
2026-02-04 11:38:44 -05:00
Jason Hall
01320dea88
implement example auto labeler
...
Signed-off-by: Jason Hall <jason@chainguard.dev>
2026-02-03 14:53:46 -05:00
Jason Hall
e7291474b8
Merge pull request #10 from imjasonh/diagram
...
diagram
2026-02-03 14:04:02 -05:00
Jason Hall
d7d9657e6a
add dashboard
...
Signed-off-by: Jason Hall <jason@chainguard.dev>
2026-02-03 14:03:27 -05:00
Jason Hall
193bb7fdce
diagram
...
Signed-off-by: Jason Hall <jason@chainguard.dev>
2026-02-03 13:52:28 -05:00