Repository navigation
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
This was referenced Oct 23, 2026
lokewate
marked this pull request as ready for review
October 23, 2026 09:57
lokewate
added this pull request to stack #347
October 23, 2026 11:38
16 tasks
mushrafmim
force-pushed
the
feat/manifest-explicit-versions
branch
from
October 24, 2026 19:20
d9d4ea2 to
189d1c2
Compare
A manifest row with a version (static data a form fetches by ID and version) is requested outside any flow, so it must mean the same file in every manifest that lists it. - LoadSet rejects a manifest that points an (id, kind, version) at a different path than an earlier manifest did. - GetExplicit fetches such an artifact from whichever manifest lists it. - Within a manifest, Latest returns the row without a version when there is one, even if the manifest also lists explicit versions of the ID. - workflowdef.LoadVersion goes: a workflow is resolved through the manifest version, never by an explicit version of its own. BREAKING CHANGE: workflowdef.LoadVersion is removed; resolve the workflow through the flow's manifest version with Load. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lokewate
force-pushed
the
feat/manifest-explicit-versions
branch
from
October 25, 2026 05:00
189d1c2 to
e0ed4ea
Compare
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.
Summary
A manifest row with a version is static data a form fetches by ID and version, outside any flow. This PR makes such a row mean the same file in every manifest that lists it, and adds
GetExplicitto fetch it without a manifest version. Split out of #305.Stack
Manifest versioning, in five PRs to review and merge in order. Each one builds and passes its tests on its own.
#320 (validate every artifact a manifest lists) and #321 (
manifestcheck) are parked: pinning doesn't need them, and a release job can bring validation back later.Type of Change
Changes Made
LoadSetrejects a manifest that points an(id, kind, version)at a different path than an earlier manifest did, so an explicit version always names one file.GetExplicit[T](ctx, set, id, version)fetches such an artifact from whichever manifest lists it.Latestreturns a manifest's row without a version when there is one, even when the manifest also lists explicit versions of the same ID.workflowdef.LoadVersionis removed. A workflow is resolved through the flow's manifest version withLoad, never by a version of its own.Testing
go test -race ./artifact/...: explicit-version path changes across manifests,GetExplicitfor listed, unlisted and empty versions, andLatestpreferring the unversioned row.Checklist
Related Issues
Part of OpenNSW/one-trade-artifacts#243. Host: OpenNSW/nsw-srilanka#660.
Screenshots/Demo
N/A
Additional Notes
N/A
🤖 Generated with Claude Code