paritytech / paritytech/host-rust-core
Refresh the host imports before each host cuts over
@TarikGul is already working on this.
Since Sep 11, 2026.
- Dominant language
- Swift
- Stars
- 10
- Forks
- 3
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 148
Description
The host trees were imported at pinned commits so each import was reproducible and verifiable
against its source. The tradeoff is that they are snapshots, and development continues in the
app repositories until each host cuts over.
Current drift:
| host | imported at | upstream now |
|---|---|---|
| iOS | 844e1b99 on develop |
29 commits ahead |
| Android | 53966dca on main |
a few commits ahead |
This is not a correctness problem. Nothing builds or consumes the trees yet, so a stale
snapshot breaks nothing. It matters at cutover: whoever moves first needs the tree to be
current, and the refresh gets more awkward the longer it waits.
Worth doing once, immediately before a host cuts over, rather than repeatedly. Refreshing
on a schedule is churn against a tree nothing reads yet.
Same procedure as the original imports, and the same checks earned their keep there: compare
blob hashes against the source rather than eyeballing a diff, and confirm nothing is dropped
by an ignore rule. The Android import lost 57 files that way and the hash comparison is what
caught it.
Depends on: the host's CI landing, so #680 for iOS.
Steps
- Re-extract the tree at a fresh recorded commit
- Confirm blob hashes match the source, except deliberate deviations
- Confirm no file is dropped by an ignore rule
- Record the new source commit in the commit message
Done when
The host tree matches its source at a recorded commit taken shortly before cutover.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.