Repository navigation
V0.2.0/cd fix - #4
Merged
Merged
Conversation
Skopeo's oci-archive transport restores tar ownership, which fails for rootless container runs. Materializing the verified archive as a temporary OCI layout avoids ownership restoration while preserving the same bytes and digests. Tests cover the layout publish path, cleanup after failure, and the local container mount for oci: sources.
Promotion previously ran as a matrix of separate jobs, each needing its own approval. A single Production approval now covers all three SDK variants. The job promotes them sequentially, attempts every variant even if one fails, and fails overall if any promotion fails. The job timeout is raised to fit the combined run.
The release flow description still implied separate approvals per SDK variant. It now states that one Production approval covers all three variants and that each is attempted even if another fails.
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryThe PR publishes verified OCI content from a temporary directory instead of asking Skopeo to extract the archive.
No actionable issues were found. Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Resolve published release] --> B[Verify all SDK artifacts]
B --> C[One Production approval]
C --> D[Restore next SDK artifact]
D --> E{Restore succeeds?}
E -->|Yes| F[Publish from temporary OCI layout]
E -->|No| G[Record failure]
F --> H{Publish succeeds?}
H -->|No| G
H -->|Yes| I{More SDK variants?}
G --> I
I -->|Yes| D
I -->|No| J[Fail overall if any variant failed]
Reviews (1) · Last reviewed commit: "📝 document single approval for sdk prom..." · Reviewed by Greptile |
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.
This pull request repairs the production image promotion path and simplifies its approval flow. Publishing no longer depends on tar ownership restoration, which fails for rootless runs, and all three SDK variants now promote under a single Production approval.
Publishing reliability:
Deployment workflow:
10,11and10-11sequentially within one approval, attempts every variant even if one fails, and reports failure overall.Documentation: