Skip to content

ci: isolate authenticated native cache restoration with a read-only token - #1781

Merged
zackees merged 3 commits into
masterfrom
infra/1269-native-readonly-consumer
Oct 22, 2026
Merged

zackees merged 3 commits into
masterfrom
infra/1269-native-readonly-consumer

Conversation

@zackees

@zackees zackees commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Scope

Refs #1269 and #1667. The first actual master transport trial 39761999302 published macOS ARM64 successfully, then its unauthenticated API inventory hit a shared-runner HTTP403 rate limit.

Move transport restoration into a separate contents: read / actions: read job using its explicit job token for API requests. Public asset downloads still carry no Authorization. The writable publisher no longer runs consumption. All four transport axes run on Linux; this verifies archive restoration, not native compiler reuse. The exact current SHA and completed build identity remain mandatory. Both jobs feed the required gate; a failed publisher cannot be made green by a successful consumer. The default-off manual-master guard preserves ordinary PR/queue scope.

RED → GREEN

  • RED 9ccb19e9b: focused workflow checks fail twice because consumption occurs in the writable publisher and a separately scoped consumer is absent.
  • GREEN: workflow/release-adapter/archive suites: 37 passed; combined scope/security/config checks: 58 passed.
  • Sole primary clud-review: clean; reviewer focused checks: 39 passed.
  • ./lint: passed (42.7 s).

No new workflow files or native test lanes. This moves existing experimental restoration to fresh Linux jobs; scheduling/setup overhead and authenticated quota still require hosted measurement. No current-source hosted transport success is claimed.

Remaining qualification

Publisher image drift and Actions-seed lifetime remain unresolved. #1780 separately preserves mismatch diagnostics. No unchanged full workflow retry, production transport adoption, paid storage change or broad cache deletion. #1723 remains held; remaining work is tracked in #1269 and #1667.

@zackees
zackees added this pull request to the merge queue Oct 22, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Oct 22, 2026
@zackees
zackees enabled auto-merge October 22, 2026 11:11
@zackees
zackees force-pushed the infra/1269-native-readonly-consumer branch from 7a8b507 to 4d63f4d Compare October 22, 2026 11:12
@zackees

zackees commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

Rebased onto current master to resolve the merge conflict, replacing head 7a8b5070e with 4d63f4dfe. The conflict was the gate dependency list after the Flatpak runtime job landed: retained flatpak-runtime-reuse, native-cache-transport and every other master dependency, adding native-cache-consumer. Preserved #1780 identity diagnostics. 17 focused checks passed after rebase; sole review clean. No unchanged workflow rerun requested.

@zackees

zackees commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

Follow-up 7a2d3e815 preserves every gate dependency and keeps flatpak-runtime-reuse last to satisfy its newly merged regression check. Our consumer regression now checks actual dependency membership rather than last position. The full lint failure that exposed this was solely the Flatpak ordering assertion; 24 focused native/Flatpak/permission/queue/YAML checks now pass and review is clean. This is a source fix, not an unchanged workflow retry.

@zackees
zackees added this pull request to the merge queue Oct 22, 2026
Merged via the queue into master with commit 40d906c Oct 22, 2026
28 checks passed
@zackees
zackees deleted the infra/1269-native-readonly-consumer branch October 26, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant