Retire vendor/jostoph-rs for the midgard mirror #4
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Meta/Campaign
Meta/Epic
Meta/Session
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Curated
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Scope/Campaign
Status/Abandoned
Status/Blocked
Status/Conflicted
Status/In Progress
Status/In Review
Status/Need Grooming
Status/Need More Info
Status/Ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Ting/Vedanta!4
Loading…
Reference in a new issue
No description provided.
Delete branch "agent.teyla/jostoph-rs-via-midgard"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #3.
PR #2 vendored 21 files of the substrate into this repository and was explicit that it was a stopgap: "the unblock, not the answer... bump by re-copying
vendor/jostoph-rsfrom a fresh clone at the new rev." The reason was a credential problem —jo.et0.pwwas private and the sandboxed fixed-output fetch had nothing to authenticate with.Ting/Jostoph#3settled the distribution model (lar.adcanonical,midgardpublic over anonymous HTTPS) and namedjostoph-rsas bound for midgard.midgard/jostoph-rsmainis029a102cf606— the exact rev vendored here — so the copy has nothing left to justify it.In scope
jostoph-rsflake input atgit+https://jo.et0.pw/midgard/jostoph-rs.git,flake = false, locked at029a102.vendor/jostoph-rs(21 files) deleted; materialized from the input instead —postPatchfor the package, the devShellshellHookfor a working tree./vendorgitignored.Out of scope
Cargo.lock, inert for a path dependency.gitdependency. Staying a path dependency is what keepsCargo.lockbyte-unchanged, needs nooutputHashes, and keeps the sandboxed build credential-free. The pin lives inflake.locknow, wherenix flake update jostoph-rsbumps it deliberately, with a diff to review — the same posture the vendored copy had, minus 21 files in the tree..fastlane.toml. midgard/jostoph-rs ismain-only by design (owner, 2026-08-10): the substrate is consumed as published, not co-developed branch-for-branch with this service. I initially got this wrong and filedTing/Jostoph#11to add it to the manifest; that is closed, and the reasoning is recorded in the input's own comment so it is not re-derived.Boundary
Copy, not symlink, in
postPatch: the store path is read-only and cargo writes nothing there, but a dangling store symlink is not somethingsrc-based reproduction should rest on.--no-preserve=modebecause store paths arer-xr-xr-xand the build tree has to stay writable. The devShell uses a symlink deliberately — in a working tree the point is that it tracks the input and cannot be locally edited into a lie.The real cost: this build now follows a repository whose freshness nothing reconciles —
Ting/Jostoph#3's push mirror is still hand-configured. Acceptable only becauseflake.lockrecords an exact rev, so a stale mirror cannot silently change what this builds; it can only delay what a futurenix flake updatefinds. A mirror that stops tracking isTing/Jostoph#3's finding to surface.Acceptance
Every claim below was run, not reasoned:
diff -rofmidgard/jostoph-rs@029a102againstvendor/jostoph-rs: no differences except the mirror's ownCargo.lock. ✅flake.lockresolvesjostoph-rsto029a102cf6065ef3cd561b06bae613fb2ff0bbb2— repoint, not bump. ✅Cargo.lockunchanged — not in this PR's diff. ✅nix build .#default— green;./result/bin/vedanta --helplistsserve,reconcile,mint-agent,mint-service. ✅cargo test(1 passed) andcargo clippy --all-targets -- -D warnings(clean) in the devShell, compilingjostoph v0.1.0from the materialized path. ✅nix build .#default --override-input jostoph-rs path:…builds a working binary against a different source, so a future bump or a local substrate checkout works without touching this repo. ✅Not run: a deployed
services.vedanta.enable = trueon heimdallr. This changes where the source comes from, not what the module does, and PR #2's module wiring is untouched.