Skip to content

chore(connect): refresh committed carriers to 951d9669 - #233

Merged
auto-wood merged 1 commit into
mainfrom
fix/refresh-committed-carriers-951d9669
Nov 26, 2026
Merged

auto-wood merged 1 commit into
mainfrom
fix/refresh-committed-carriers-951d9669

Conversation

@auto-wood

Copy link
Copy Markdown
Contributor

What

Reapplies the carriers built at 951d9669:

  • Swift spoke_connectFFI.xcframework from Xcframework run 45785999085 (success, head 951d9669) via tooling/connect/apply-xcframework-artifact.sh.
  • C carriers osx-arm64 and win-x64 from C++ connect run 45785999079 (success, head 951d9669); each lane's own nativeArtifacts[rid] entry was merged and every committed binary was checked against its recorded sha256.

Root cause

tooling/release/check-artifact-freshness.mjs compares each committed provenance.json revision with HEAD over the lane's build-input paths. The committed sidecars still recorded 69094fc8 (the 0.19.0 baseline). The release bump 4feeef7d (version 0.19.1) changed Cargo.toml, Cargo.lock, and the workspace crates/spoke-*/Cargo.toml files, so 69094fc8..HEAD touches build inputs and both lanes report stale.

The 0.19.1 carriers were built successfully (Xcframework 45785999085, C++ connect 45785999079, both on 951d9669), but no workflow writes the artifacts or their provenance back into the committed tree. That is why the nightly failed on 11-24, 11-25, and 11-26.

Structural conclusion

This refresh makes the nightly green, but every future version bump touches the same build-input paths, so the next release will stale both lanes again until the release flow writes the carriers back after a successful build. Suggested follow-up, deliberately not changed here: add an apply/writeback step to the release pipeline that runs the Swift apply script and an equivalent C apply step.

The C carriers still have no apply tool. This refresh followed CONTRIBUTING.md: download both lane artifacts, copy each platform's files over bindings/cpp/native/<rid>/, and merge each lane's provenance.json entry. A shared apply-cpp-artifact.sh with the same provenance gates as the Swift script is the minimal follow-up.

Verification

  • node tooling/release/check-artifact-freshness.mjs --repo . → exit 0; swift fresh, cpp fresh (both osx-arm64 and win-x64 entries).
  • Every artifacts[].sha256 in crates/spoke-connect/bindings/cpp/native/provenance.json matches the committed binary.
  • The Swift artifact hash manifest was verified before and after the transfer by the apply script.

- Reapply the Swift xcframework built by Xcframework run 45785999085 at 951d966.
- Reapply the osx-arm64 and win-x64 C carriers built by C++ connect run 45785999079 at 951d966, merging each lane's own provenance entry.
- The release version bump 4feeef7 touched the build-input paths, so the committed sidecars still naming 69094fc made the nightly freshness check report both lanes stale; the 0.19.1 builds succeeded but were never written back.
- The release pipeline has no writeback step, so the next version bump will stale both lanes again; adding a carrier apply step there is the structural follow-up.
- The C carriers still have no apply tool: refreshing them follows the CONTRIBUTING procedure (download both lane artifacts, copy each platform's files, merge its provenance entry). A shared apply-cpp script is the suggested follow-up.
@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5 · The refresh appears safe to merge; no actionable issue was found.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The refresh appears safe to merge; no actionable issue was found.

Summary

Refreshes the committed C/C++ and Swift native libraries and their provenance.

  • C++ hosts use refreshed macOS and Windows native libraries.
  • Swift apps link refreshed libraries for Mac, iPhone, and simulators.

auto-wood explicitly deferred automatic carrier writeback and a shared C apply tool to follow-up work.

Review covered tracked pointers, metadata, build recipes, and interface history. Native libraries were not run, and the Swift manifest’s own checksum was not independently recomputed.

Reviews (1) · Last reviewed commit: "chore(connect): refresh committed carrie..." · Reviewed by Greptile

@m-inspector

m-inspector Bot commented Nov 26, 2026

Copy link
Copy Markdown

✅ Verdict: ship it · Score 100% (mergeable)

Findings Count
🔴 must-fix 0
🟠 should-fix 0
🟡 may-fix 0
🔵 nit 0

📋 Review

What this PR does: Re-applies the 0.19.1 native carriers so the release freshness gate stops failing: the Swift spoke_connectFFI.xcframework (via tooling/connect/apply-xcframework-artifact.sh) and the C osx-arm64 / win-x64 binaries are taken from successful lane builds on 951d9669, with each lane's provenance.json entry merged alongside the binaries. The committed sidecars had still recorded 69094fc8, so every build-input path touched by the 0.19.1 bump made tooling/release/check-artifact-freshness.mjs report both lanes stale for three consecutive nightlies. The PR deliberately stops at the refresh and scopes the durable fix — a release-pipeline writeback step plus a parity apply-cpp-artifact.sh — as follow-up work, leaving no code-behavior change in this diff.

Findings

none

Revalidated findings

none

Linked-issue AC

none

✅ Verified

- Full diff reviewed against ship it with an empty findings list: must-fix=0, should-fix=0, may-fix=0, nit=0 (100%, mergeable band).
- No prior review findings required revalidation (revalidation table: none).
- ❓ Author reports node tooling/release/check-artifact-freshness.mjs --repo . exits 0 with swift fresh and cpp fresh for both osx-arm64 and win-x64; this is PR-body evidence, not a command the review document shows being re-run.
- ❓ Author reports every artifacts[].sha256 in crates/spoke-connect/bindings/cpp/native/provenance.json matches the committed binary, and that the Swift manifest hash was verified before and after transfer; likewise author-reported only.
- ❓ Provenance revisions read 4feeef7d in both sidecars while the artifacts were produced from 951d9669; consistent with the freshness check's build-input comparison only if the two commits differ solely in artifact/provenance files (modeled from check-artifact-freshness.mjs lane definitions, not executed).

🗑️ Considered & rejected

- Structural recurrence of staleness after future version bumps — not graded as a defect: the PR body names it explicitly, explains why the refresh alone is the safe change here, and defers pipeline writeback to a follow-up.
- Missing C-side apply tooling — not graded as a defect: the C carriers were refreshed by the documented CONTRIBUTING.md manual path (copy per-RID files, merge the lane's provenance.json entry), and a shared apply-cpp-artifact.sh is called out as the minimal follow-up rather than silently omitted.
- Reintroduction risk from committing large binaries — not treated as a concern in this change, since only binary carriers and their provenance records move, matching the repo's existing artifact layout under crates/spoke-connect/bindings/.

🛠️ Plan to fix

Expand fix plan
none — zero findings remain, so there is nothing to fix in this diff. The two items the PR body defers (an apply/writeback step in the release pipeline after a successful carrier build, and a shared `apply-cpp-artifact.sh` with the same provenance gates as the Swift script) are explicitly out of scope here and would be tracked as separate work, not as follow-ups to this review.

Review 1 · commit 160ddb4

@auto-wood
auto-wood merged commit 2e1c8d0 into main Nov 26, 2026
35 checks passed
@auto-wood
auto-wood deleted the fix/refresh-committed-carriers-951d9669 branch November 26, 2026 15:17
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