Repository navigation
feat(cli): oa check reads go.sum - #506
Merged
Merged
Conversation
pkg/lockfile reads go.sum: every module version once, also the ones it lists only as "/go.mod" (the go command fetches that file through the proxy too, and the proxy gates it like the zip). A line the go command would refuse (not three fields, a path or version module.Check rejects) makes the file invalid. go.sum records neither requirers nor test-only modules: the table has no REQUIRED BY column, the JSON reports "dependency_graph": false, and --no-dev is refused. --fetch requests the ".info" of each version, escaped as the go command does (module.EscapePath, EscapeVersion), which is what a build fetches and what the batch check reads since openartifact#498; and the version list of each module, once, so that a release the module does not have is not_found instead of unknown. The lists are not counted as packages. The fixture is a real go.sum (go mod tidy of a module with a pseudo-version dependency) renamed to example.com/acme. Fuzz target; the --fetch path fuzz target covers go too. Checked against a go proxy to proxy.golang.org on the real go.sum: cold all unknown; after --fetch all five module versions available, the two pseudo-versions included; --no-dev refused; a block rule on golang.org/x/exp holds its pseudo-version; an invented rsc.io/quote v1.9.9 is not_found. Co-Authored-By: Claude Opus 5.5 <[email protected]>
M0Rf30
added a commit
that referenced
this pull request
Nov 23, 2026
…se notes - RepoAIAnalysisTab: a status filter restarts at offset 0, and an earlier request that answers after a newer filter does not overwrite the table (both fail with the page reset or the generation guard removed). - upgrading.md: an Unreleased section with migration 030 and the AI UI and tag search changes; the go.sum entry of #506 moves there from 0.25.0, which it is not part of. - Migration 030 comment names aiTaggedArtifacts (addAITagMatch does not exist).
M0Rf30
added a commit
that referenced
this pull request
Nov 23, 2026
…#513) * feat(ai): show AI analysis results in the UI and make tags searchable - Artifact Security tab shows the latest analysis per file whatever the outcome, with re-run - Repository page gets an admin-only AI analysis tab with status filter (incl. failed + error) - Search free text matches AI tags (whole tag, case-insensitive), readable-scope preserved - Migration 030: GIN index on lower(tags) - Docs updated Fixes #512 * test(ai): repo AI analysis tab filter paging and stale answers; release notes - RepoAIAnalysisTab: a status filter restarts at offset 0, and an earlier request that answers after a newer filter does not overwrite the table (both fail with the page reset or the generation guard removed). - upgrading.md: an Unreleased section with migration 030 and the AI UI and tag search changes; the go.sum entry of #506 moves there from 0.25.0, which it is not part of. - Migration 030 comment names aiTaggedArtifacts (addAITagMatch does not exist).
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
oa check reads go.sum: every module version once, also the ones listed only as /go.mod (the proxy gates that file too); a line the go command would refuse makes the file invalid. No requirers and no test-only modules are recorded, so there is no REQUIRED BY column ("dependency_graph": false) and --no-dev is refused. --fetch requests the .info of each version (what a build fetches, and what the batch check reads since #498) and each module's version list once, so a missing release is not_found instead of unknown.
Checked against a go proxy to proxy.golang.org on a real go.sum: cold all unknown; after --fetch all five versions available, pseudo-versions included; a block rule holds a pseudo-version; an invented version is not_found.
🤖 Generated with Claude Code