Repository navigation
chore(connect): refresh committed carriers to 951d9669 - #233
Conversation
- 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.
[Medium impact] The refresh appears safe to merge; no actionable issue was found. SummaryRefreshes the committed C/C++ and Swift native libraries and their provenance.
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 |
✅ Verdict:
|
| 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
What
Reapplies the carriers built at
951d9669:spoke_connectFFI.xcframeworkfrom Xcframework run45785999085(success, head951d9669) viatooling/connect/apply-xcframework-artifact.sh.osx-arm64andwin-x64from C++ connect run45785999079(success, head951d9669); each lane's ownnativeArtifacts[rid]entry was merged and every committed binary was checked against its recordedsha256.Root cause
tooling/release/check-artifact-freshness.mjscompares each committedprovenance.jsonrevision with HEAD over the lane's build-input paths. The committed sidecars still recorded69094fc8(the 0.19.0 baseline). The release bump4feeef7d(version 0.19.1) changedCargo.toml,Cargo.lock, and the workspacecrates/spoke-*/Cargo.tomlfiles, so69094fc8..HEADtouches build inputs and both lanes report stale.The 0.19.1 carriers were built successfully (Xcframework
45785999085, C++ connect45785999079, both on951d9669), 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 overbindings/cpp/native/<rid>/, and merge each lane'sprovenance.jsonentry. A sharedapply-cpp-artifact.shwith the same provenance gates as the Swift script is the minimal follow-up.Verification
node tooling/release/check-artifact-freshness.mjs --repo .→ exit 0;swiftfresh,cppfresh (bothosx-arm64andwin-x64entries).artifacts[].sha256incrates/spoke-connect/bindings/cpp/native/provenance.jsonmatches the committed binary.