Skip to content

merge: master into wipe/beta7 (#164, #165, #166, #168) - #175

Merged
PastaPastaPasta merged 22 commits into
wipe/beta7from
merge/master-into-wipe-beta7-2
Sep 29, 2026
Merged

PastaPastaPasta merged 22 commits into
wipe/beta7from
merge/master-into-wipe-beta7-2

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Owner

This brings the rest of master into wipe/beta7 after PR-1 (#170), as the orchestrator asked. It merges master up to 64606436: #164 (commit, diff and compare views), #165 (releases), #166 (the moutai migration notice) and #168 (history index v2).

Resolution

There was one conflict, in docs/economics.md. #168 records a history index's format version in packManifest.offsetIndexParts, and RC1 removed that field (R-09). The merged note now says the version moves into the artifact's own header.

The code merged without conflicts. For #168 the orchestrator's rule applies: keep it compiling, and leave the real fix to follow-ups.

#166's notice is gated on moutai and goes inert at the cut-over.

Checks (local)

  • cargo fmt --check, cargo clippy --workspace --all-targets -D warnings and cargo test --workspace pass.
  • forge-web: tsc --noEmit, vitest run (3,124 passed) and lint pass.
  • build.py --check, vectors.py --check and wherecheck.py pass, with 0 problems.
  • playwright (read-only, devnet moutai) cannot pass anywhere right now.

🤖 Generated with Claude Code

PastaPastaPasta and others added 22 commits September 29, 2026 15:02
A new tagged section (tag 1) after v1's paths: per path, its newest 256 first-parent changes (commit, mode, 6-byte blob oid prefix) and whether the list reaches the commit that added it, plus the commits' author names. v1 readers skip it. The manifest's offsetIndexParts records the format (2), so a v1 index neither covers a tip nor serves as a delta base: the next push or dg repo reindex publishes a full v2 index over it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Each delta is cumulative, so every push pays for all changes since the full index again. The old rule (delta under half the base) was cheap at v1's 67 KB; at v2's 753 KB it let one-commit pushes climb to ~0.14 DASH each. Rent or buy: publish deltas while the v2 deltas members already published over the base plus this one stay within the base's size, then a full index. On dashpay/dash that is about every 80 one-commit pushes, ~0.009 DASH a push on average.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
pathVersions answers from the v2 index's list when one covers the start commit (checked against the path's entry there), resumes inside it page by page, walks on past a cut list, and stops a walk at an index a few pushes behind. Blob oid prefixes resolve through the locator, so Blame reads one blob per version, four ahead, and no commit or tree. The History page moves onto pathVersions and says when the index listed it. The decoder reads the versions section and overlays deltas by the shared merge rule.

Offline replay on dashpay/dash 3ba0805c: Blame of src/clientversion.h 357 chunk queries to 16, History of src/validation.cpp 22 to 3, same answers.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…-M does (L-24)

Port of git's diffcore-rename (exact, unique-basename at 75%, best-first matrix at 50%, diff.renameLimit) scored by diffcore-delta's span hash; checked against git diff -M --raw on random tree pairs.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… and committer, log position in the URL, and /repo/compare (FG-5)

L-25 totals as git diff --shortstat counts them, L-29 fixed split gutters, L-69 expandable gaps, L-71 hide whitespace in the URL, L-26/L-27 labelled author and commit dates with co-authors, L-31 ?pages= and scroll kept for Back, L-35 log footer copy, L-30 /repo/compare base...head for branches, tags and commits, L-47 New PR: short-name params, no guessed head, nothing-to-compare.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…chored on the old path, partial rename budgets, compare follow-ups

Patches and +/- totals come from the xdiff port over whole files, so counts equal git diff --numstat (dash f5979f7c5: +1331 -1906, as git); files up to 1 MiB are counted though not shown. Expanded context is keyed by whitespace mode; totals on a capped listing say so; ?w=0 is written. A renamed file's old side keeps its old path for inline comments; Update branch is hidden when there is nothing to compare. Rename detection reads what its budget allows in the basename phase (a subset of git's pairs), sorts paths by code point, and reports blobs over its size cap. Compare shows Stop only while searching, keeps the URL's refs for its links, and stops the commit list at the merge base. New PR helpers move to refs.ts; a local check against the dash clone is added.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…me budgets

The 747-file merge's whole-commit totals, the renames of f1be1b800, and compare v22.0.0...develop; runs on the live devnet once the showcase mirror is back.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ed branch cannot shadow it

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
releaseOrder now sorts by each release's real publish date (an import's
source date, or this forge's own $createdAt for one made here) instead
of by tag version. This matches what GitHub's releases page actually
shows: a later-published low-version release can outrank an
earlier-published high-version pre-release. latestRelease() picks the
first non-prerelease, non-yanked release in that order, for the "Latest"
badge.

compareTagNames (the ref switcher and tags page's version order) is
unchanged and intentionally no longer shares a comparator with
releaseOrder; doc comments on both explain the split.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
…, L-80)

- L-07: a truncated asset name gets a title tooltip with the full name.
- L-48: a "Latest" badge marks the release GitHub would call latest (the
  newest non-prerelease, non-yanked one); "Pre-release" marks the rest,
  never both at once.
- L-49: the list paginates 10 releases at a time ("Show N more"), and
  each non-full card's asset list is collapsed behind a "Show/Hide N
  asset(s)" toggle instead of always rendering (one repo had 2,039 asset
  rows on a single page).
- L-79: a release name that only repeats its tag is no longer shown
  twice, and a truncated notes preview links to the full release page.
- L-50/L-80 (partial): the repeated "no SHA-256 recorded" / "not
  verified yet" / "no downloadable copy" boilerplate is now shown once
  per card (AssetsNote) instead of once per asset row. The 'origin'
  access case (GitHub/GitLab downloads with no CORS) keeps its per-row
  text unconditionally, since import-release-fidelity.spec.ts and
  markdown-render.spec.ts both assert on it there. Giving an unhashed
  asset a download link (L-50's other half) is intentionally not done:
  release-omitted.test.tsx enforces D-517 (no link without a recorded
  hash, even with a plausible https URL), and that invariant is kept.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
…rder

f2 and f3 now open each card's "Show N asset(s)" disclosure before
asserting on release-asset rows, since the releases list collapses
assets by default (L-49).

f4 no longer assumes the first card on the list is the highest version:
under date order (L-78) a newer pre-release can sit above the actual
latest release. It now finds the card for the expected tag and checks
it carries the "Latest" badge (L-48) instead.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Devnet moutai was upgraded in place to Platform v4.2.0-beta.7, which
retired every contract forge-web reads there. Instead of the generic
"Dash Forge isn't deployed on devnet moutai right now" message, the
contracts-missing state now names the real situation: the forge is
being re-registered on devnet bonsia with a new contract design.

Gated on the same runtime detection (contracts missing) plus the
devnet name actually seen (moutai), not a hard-coded date, so it
stops applying on its own once bonsia becomes the default network.
Other networks keep the prior wording unchanged.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Code review: the README still calls moutai live and has no mention of
bonsia yet, so a "Follow the move on GitHub" label would point readers
at a page that contradicts the banner. Keep the existing "Dash Forge on
GitHub" label for every network instead of varying it by condition,
and trim a docblock/inline-comment duplication.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Devnet moutai's forge-v2 contracts were retired when it was upgraded to
Platform v4.2.0-beta.7. The README still called moutai "Live" and the
site "live"; say plainly that the public devnet is moving to bonsia and
the site is down until the cut-over.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
fix(repo): releases-page fixes for FG-7 (L-07, L-48, L-49, L-50, L-78, L-79, L-80)
fix(web): FG-5 commit, diff, log and compare views (renames, totals, compare)
M1: Blame drops each version's text once compared and reads nothing ahead once every line has its commit. M2: the writer holds an index to the readers' row and inflate bounds, halving the per-path limit until it fits (still v2); the web decodes the lists section lazily, so the column never parses it and a malformed section costs only the lists.

L1/L2: a list is believed only where the path's entry at the page's start matches it, resumed pages included; a list naming an unreadable commit is dropped for the walk; Blame re-reads a version from the trees when the index's blob is not the file's text. L3: a delta supersedes a v1 index of its tip and the web ranks v2 first. L4: saturating arithmetic on member sizes. L5: the Rust overlay takes the delta's limit. L6: TS decoder refuses what forge-core refuses. L7: offsetIndexParts docs. L8: a due full index carries the delta as a fallback the cost guard can take instead. Blame takes an index list whole (listLimit), keeping 16 queries on dash.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
commits-content: master's URL paging, author-date labels and footer count (L-27, L-31, L-35) kept, on pathVersions with entry.author and the history-index marker.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…-notice

fix(web): show a moving-to-new-devnet notice while moutai is retired
…th-versions

feat: history index v2 — per-path version lists for Blame and History
One conflict, docs/economics.md: RC1 removed packManifest.offsetIndexParts, where #168 records a history index's format version; the note says the version moves into the artifact's own header. The code merged cleanly and compiles: #168's reader takes an absent offsetIndexParts as format 0, and its writers still send the field, which RC1 refuses. PR-5a moves the format marker into the artifact header, and PR-4 does the web side. #166's moutai notice is gated on moutai and goes inert at the cut-over.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 2a04867f-2fa0-4231-a1d0-e90e15363d13

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@PastaPastaPasta
PastaPastaPasta merged commit 029079f into wipe/beta7 Sep 29, 2026
14 of 15 checks passed
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.

1 participant