Repository navigation
fix(sdk): expose the version-matched ref pin formatter - #5124
Conversation
Size Report
Startup median (7 runs, lower is better):
|
There was a problem hiding this comment.
All reported issues were addressed across 3 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
This PR is ready at 5d83bf6, and no change is required before merge. Not blocking, so take or leave these: the staleness sentence could say that a device action or a newer ref-issuing response ends the pin’s validity and a new snapshot is then needed (a second press from the same snapshot is refused with The earlier thread on release availability is resolved: the docs now say that releases through 0.21.43 lack the export and give an availability check. All checks pass except Proof, which is skipped, and Integration Tests covers the changed installed-package test and the Not verified here: local tests, a build and a device run were not performed; the documented availability command and the example press were only traced in code; and a client from this head was not exercised against an older remote daemon that still expects The next step is maintainer merge; the 0.22 forward-port should be tracked with the #5097 port, and |
|
Addressed the follow-up suggestions in #5124 (comment): 9dca64c clarifies expiry after device actions and replacement by newer ref-issuing responses, including ref_frame_expired when pressing again without fresh refs. The PR description now qualifies e2e-inc/e2e#2319. The four-file 0.22 forward-port checklist is tracked with #5097 at #5097 (comment); no forward-port completion is claimed. Independent review found no issues, and exact-head affected validation passed at 9dca64c (receipt run-5TJo9z). Hosted CI will rerun for this docs-only change. |
Apex Sentinel · ✅ Approve · review of
|
| Command | What it does |
|---|---|
@apex-sentinel-staging note <context> |
Adds context; Sentinel re-checks the cited code |
@apex-sentinel-staging pivot <why> |
Says the finding is wrong; Sentinel re-checks the cited code |
@apex-sentinel-staging like |
Marks the finding as useful |
@apex-sentinel-staging dislike <why> |
Marks it as not useful, so it is not raised again |
On this conversation, comment @apex-sentinel-staging review to run a full review once again.
Summary
Expose the existing
formatPinnedRefhelper fromagent-device, so integrations use the grammar shipped with their client instead of duplicating its separator. This supplies the missing SDK construction API behind the e2e nightly failure after #5097.Four files changed: public export, unit and installed-package tests, and Node API docs. No runtime admission change or legacy-input fallback. e2e-inc/e2e#2319 remains release-blocked; published 0.21.43 does not contain this export.
Before / after
Base: the import fails. Head: the public formatter returns a pin accepted by the live parser. Documentation includes an installed-package availability check instead of inventing an unpublished minimum release.
Validation
Head
9dca64c52b; base9f7751eeb0. Public-entry regression failed before the export and passes all 3 tests after it. The installed-package test reproduced CI's exact export-surface mismatch before the fix and passes after it, including an actual installed formatter invocation.Full-repository formatting passed. Independent review found no issues.
9dca64c52bpassed exact-head affected validation (receiptrun-5TJo9z), including packaging, Node integration, unit tests, and docs checks. Hosted CI was green at5d83bf6cf0; it will rerun for this docs-only expiry clarification.Hosted CI will rerun at the updated head. No device run: dispatch, capture, and native execution are unchanged.