Skip to content

V0.2.0/cd fix - #4

Merged
gimlichael merged 3 commits into
mainfrom
v0.2.0/cd-fix
Nov 15, 2026
Merged

gimlichael merged 3 commits into
mainfrom
v0.2.0/cd-fix

Conversation

@gimlichael

Copy link
Copy Markdown
Member

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:

  • Verified OCI content is materialized as a temporary layout before promotion, so the same bytes and digests are pushed without restoring archive ownership.
  • Regression coverage exercises the layout publish path, cleanup after a failed transfer, and the local container mount for OCI sources.

Deployment workflow:

  • The promotion job runs SDK variants 10, 11 and 10-11 sequentially within one approval, attempts every variant even if one fails, and reports failure overall.
  • Each variant restores its verified release artifact immediately before publishing, and the job timeout is raised to fit the combined run.

Documentation:

  • The release delivery description states that one Production approval covers all SDK variants.

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.
@gimlichael gimlichael self-assigned this Nov 15, 2026
@greptile-apps

greptile-apps Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issues were found.

Summary

The PR publishes verified OCI content from a temporary directory instead of asking Skopeo to extract the archive.

  • OCI publishing sends verified images from a temporary layout.
  • One Production approval now covers all three SDK promotions.

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]
Loading

Reviews (1) · Last reviewed commit: "📝 document single approval for sdk prom..." · Reviewed by Greptile

@gimlichael
gimlichael merged commit 1652c8a into main Nov 15, 2026
10 checks passed
@gimlichael
gimlichael deleted the v0.2.0/cd-fix branch November 15, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants