Skip to content

Reuse verified CI work across native and guest gates - #1056

Open
PyRo1121 wants to merge 15 commits into
mainfrom
ci/full-gate-followthrough
Open

PyRo1121 wants to merge 15 commits into
mainfrom
ci/full-gate-followthrough

Conversation

@PyRo1121

@PyRo1121 PyRo1121 commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

CI repeats five Linux Clippy environments and helper suites, and holds QEMU behind complete native jobs after their release artifacts are already available. This change consolidates that work while preserving the selected native, privileged, guest, coverage and release checks.

  • Run the same five Clippy commands inside their matching native owners; require exact-source outcome receipts in the existing final gate.
  • Start guests from bounded current-run artifact readiness, retaining full byte/provenance admission and explicit failure coordinators.
  • Run the complete helper selection in two isolated shards. CI Success verifies the closed execution union; Benchmark and automatic QEMU preflight consume those exact successful owners. Independent Benchmark runs have a typed no-producer fallback.
  • Add attested Fedora SQLite dependency reuse with fresh package closure, original build age, current-consumer binding and full-build fallback. Optional publication repackages the existing checked artifact.
  • Add an opt-in, read-only own-PR compiler-cache broker and immutable artifact courier using Workers, Durable Objects and the existing R2 bucket. Parent keys remain out of PR jobs; cache writes have bounded streaming and cancellation.
  • Recover signed Ubuntu archive setup from the observed Canonical DNS outage and update the three affected rustix lockfile entries to patched 1.1.6.

Validation: focused Linux/Windows helper, cache, native artifact, QEMU workflow/reporting/export, dependency and final-gate controls; Worker unit/deployment tests, strict TypeScript, offline Wrangler, cargo-deny, actionlint, shell syntax and documentation audit. Independent reviews reproduced and closed manual-event, descendant-cleanup, carried-attempt, cache-buffer and credential-lifetime defects.

Hosted complete-gate timing and the actual trusted Cloudflare seed/deployment/OIDC/R2/cache-hit canaries are still required. The PR cache opt-in remains disabled until live admission passes. No QEMU coverage, native test selection or required context is removed. No Workers AI or new external compute provider is added.

Merge with a merge commit so the reviewed pre-checkout Ubuntu helper pin 5720768 remains reachable after branch deletion.

The first hosted attempt caught an export-ignore action-packaging defect and two stale fixture contracts. Follow-up fixes add exact pinned-archive admission, preserve the scoped debt command, and verify both main/read-only diagnostic contexts without exposing credentials. That canceled attempt is excluded from timing comparisons.

Copy link
Copy Markdown
Collaborator Author

Arch and AUR follow-up

Commit 73c902082994766c30b773fa83c60713848d6ad1 refreshes the Rust ALPM parser family at one verified release commit: types 0.14.0, SRCINFO 0.7.0, db 0.3.0 and repo-db 0.2.0. C libalpm remains for transactions and remaining native queries. Counts now use the Rust path by default, and AUR update comparisons share one installed-version snapshot across index and RPC results.

The follow-up adds build IPC isolation, source-download deadlines, visible filename escaping, resolved source-link containment, bounded package-cache reads and attended approval of inspected privileged integration paths. It restores default local pacman hooks and applies DownloadUser. Unsupported repository Usage restrictions fail explicitly instead of being discarded.

Validation in Arch WSL:

  • Ten focused behavior regressions failed before their fixes and passed afterward, including the actual Bubblewrap namespace check and real unprivileged update-snapshot fixture.
  • Sixteen neighboring test groups completed with 191 passing executions, including overlapping filters. The complete source-transport group also passed its 21 tests. One optimized metadata benchmark remains intentionally ignored.
  • Strict Clippy passed across all Arch targets with default features disabled and arch enabled. Formatting and documentation checks passed.
  • The default-feature binary, including PGP, built and ran live status/info queries. Installed and explicit counts matched pacman at 191 and 10. The installed package inventory was unchanged.

This was done in the existing checkout and branch. The CI work above remains intact. Detailed unresolved audit leads remain local under the repository's reporting policy. This follow-up does not complete every Rust read migration, prove malicious packages benign, establish release performance, or replace hosted advisory and release gates.

Hosted cargo-audit and cargo-deny passed for this exact commit in Security Audit. Native CI currently fails during pre-checkout action setup, before Rust compilation or tests. The separate CI repair work in this shared checkout is outside the audit commit. This comment preserves the Arch summary while the CI description is being updated.

@snyk-io

snyk-io Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

⛔ Snyk checks have failed. 1 issues have been found so far.

Status Scan Engine Critical High Medium Low Total (1)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
⛔ Code Security 0 1 0 0 1 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Comment thread services/ci-artifacts/src/index.ts Resolved

This branch has not been deployed

No deployments
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