Cursor Agent
9a7dc02643
lock: accept name[extras]==version; error on dependency-bearing options (-e/-r/-c)
...
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 14:35:36 +00:00
Cursor Agent
5830434434
build/cli: layer cache + parallel wheel layers, secret deny-list, env validation, docs
...
- add internal/cache content-addressed layer store; build per-wheel layers in
parallel and reuse cached compressed blobs across rebuilds (--cache-dir)
- thread platform/python target into wheel resolution; validate --env
- add common secret patterns to the default source ignore list
- README: copy/paste-safe usage example + new flags; DESIGN status updated
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 14:07:25 +00:00
Cursor Agent
7c5e8608d3
wheel/lock: platform-aware wheel selection, size limits, prefix containment, strict lock parsing
...
- wheelhouse now filters candidates by target platform/ABI/python tag and
prefers the most specific compatible wheel (fixes wrong-arch selection); also
streams sha256 and uses an index map instead of an O(n*m) scan
- wheel: add tag parser + compatibility, cap per-member size (zip-bomb guard),
reject members that escape the install prefix, stable sort
- lock: error on non-pinned/URL/editable lines instead of silently dropping
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 14:07:10 +00:00
Cursor Agent
87e36eb41d
ptar: reject path traversal and duplicate paths in layers
...
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 14:06:54 +00:00
Cursor Agent
1f2fd93117
Rename py-image-builder to pymage (module, imports, CLI, workflow, docs)
...
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 13:30:05 +00:00
Cursor Agent
985b99513b
Combine py-image-builder CI into a single job (tests, lint, and Docker demo)
...
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 11:51:22 +00:00
Cursor Agent
42c8aa50a4
Add py-image-builder CI: tests + lint, and a Docker-backed demo job on PRs
...
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 11:44:09 +00:00
Cursor Agent
4c4d834ff3
Fix golangci-lint v2 findings (errcheck Close, staticcheck)
...
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 11:44:08 +00:00
Cursor Agent
28337b0d62
Add CLI insecure flag, e2e + CLI integration tests, functional import test, README
...
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 11:09:36 +00:00
Cursor Agent
832184f740
Implement py-image-builder core: deterministic layers, wheel install, build, CLI + unit tests
...
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 11:03:19 +00:00
Cursor Agent
204ada1d3b
Scope to a ko-style CLI; drop Cloud Run/Terraform component
...
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 10:45:07 +00:00
Cursor Agent
d5dbc7993e
Add design doc for docker-less, layer-aware Python image builder
...
Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
2026-06-10 10:42:08 +00:00
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