-
Notifications
You must be signed in to change notification settings - Fork 40
fix: 💚 Fix cpex build #862
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,9 @@ require ( | |
| github.com/rogpeppe/go-internal v1.15.0 // indirect | ||
| github.com/segmentio/asm v1.2.1 // indirect | ||
| github.com/spiffe/go-spiffe/v2 v2.8.1 // indirect | ||
| github.com/tidwall/gjson v1.18.0 // indirect | ||
| github.com/tidwall/match v1.1.1 // indirect | ||
| github.com/tidwall/pretty v1.2.1 // indirect | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: The chain is the same one that broke cpex:
Nobody noticed because praxis is in neither the I verified this by reading imports rather than running the praxis image build, so please sanity-check before acting. Either add the same three indirects to
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see these changes in flight on #855 so I purposely left this 😄 |
||
| github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect | ||
| github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect | ||
| golang.org/x/crypto v0.55.0 // indirect | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: worth closing the hole that let this reach
main, because nothing on this PR verifies the fix.authbridge-cpexappears in exactly one workflow —build.yaml— which triggers only onv*tags, pushes tomain, andworkflow_dispatch.ci.yaml's Go matrix is[authbridge-proxy, authbridge-envoy]. So every green check here comes from jobs that never resolve the cpex module graph, and the next timeauthlibgains a dependency this breaks again the same way.A full cpex build in
ci.yamlis genuinely awkward (CGO pluslibcpex_ffi.afrom the pinned CPEX tarball), but the failure class here is module-graph drift, not compilation — so it can be caught without building anything:go mod tidy -diff(Go 1.23+; these modules are on 1.26.5) exits non-zero if go.mod/go.sum would change, needs no CGO and no FFI archive, and covers praxis and the lite-tags module for free.Note the machinery already exists:
dependabot-tidy.ymltriggers onpull_requestand runsgo mod tidyacross everyauthbridge/**/go.modvia that samefind, but is gatedif: github.actor == 'dependabot[bot]'— which is why thetidycheck on this PR readsskipping. Ungating a read-only (-diff) variant for all PRs is probably the smallest change that closes the loop.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
follow-up issue filed #863, keeping this PR scoped to just fix