Repository navigation
merge: master into wipe/beta7 (PR-0b: #146, #148, #157, #160, #162, #163) - #167
Merged
Merged
Conversation
…solves
Annotated tags (every dash release tag) failed on code, blob, commits, history, blame and zip with '<oid> is not a commit': a ref's tip is the tag object and nothing peeled it (L-01). Views now resolve their tip through resolveTip: a short id through the locator (L-32), then any nested tags, cached for the session as {oid, type}. Tags of trees and blobs get their own views. The tags list shows each tag's commit (L-02), commit-page file links keep the commit (L-28), a directory path in /repo/blob opens the tree (L-63), and errors no retry can fix show no Try again. Storage outages still show the storage card.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
fix(web): peel annotated tags and resolve short ids wherever a ref resolves (FG-1)
…lerts, emoji, refs Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ering Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… work Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
No autolinks inside link text; a per-document autolink budget and a commit-message cap; footnote refs bounded by the longest label; fences in list items no longer hide reference definitions; lazy lines only continue a paragraph; the #N resolver trusts only the owner's or a maintainer's row under the source repo; directory lookups capped; native [bot] mentions stay text. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Push-time last-change index and exact commit count per tip; core computation matches a brute-force tree walk. Service, helper, web and backfill still to come. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Applies the simplifier's findings, prices a repository's first history index with its measured first-of-kind fee, keeps 'Search older history' from being offered while a walk runs, and lets readers skip tagged extension sections so a v2 needs no flag day. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…settle Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Publish only after the refs converge with the default branch at the index tip (H1); skip on an unreadable default branch and honour forge-import's hint only when it spawned the push (H2); a delta covers only over a live full base, and extends the newest one on the chain (M1, M2); forge-import backfills from its mirror (M3) and budgets the index in a fallback (M4); real object graph, no shallow clones (M5); stream git log (L1); bound inflation and varints (L2, L4); first-of-kind fee only for a first index (L6); the refs-only path publishes too (L7). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A history index that will not load falls back to the walk and the count walks on (H3); a delta covers only over a live full base, and of two indexes of one tip the newer stands (M1, L5); inflation is capped for the history index and the flatIndex (L2); paths must be strictly sorted and unique (L3); varints stay within safe integers (L4). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
forge-import skips its backfill when the push published the index (N1); a push that stores no pack prices and publishes the index to the same places, asks once for refs and index together, and says historySkipped when the guard declines the index (N2, N3); a grafts file is refused and none is read (N4); a fast-forward with no new objects publishes the index, priced (N5); the inflate cap is a parameter (N6). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ssions The Windows check compiles forge-core's tests: std::os::unix is not there. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
fix(web): GitHub-fidelity Markdown and links (FG-2)
feat: push-time history index for the last-commit column and exact commit counts
…L-10) The browse reader tags every pack-source rejection as a source failure and reports an object failed only when bytes arrived and were wrong (a hash mismatch, undecodable bytes, or a sealed pack that fails authentication). A read that never got its bytes throws with no verdict, so the Verification card no longer claims tampering after going offline. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
… back (L-10, L-56) A read that nothing answered shows a plain offline or unreachable state with Try now and the raw error behind Details, and retries by itself: on the online event, else with backoff. A browse read that got no bytes re-reads the view once the connection returns, and a mirror is not marked dead while the browser is offline. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…this session's (L-66, L-81) The default theme is system (prefers-color-scheme) and an explicit choice is kept; the toggle cycles system, dark, light. The Verification summary reads 'N objects checked this session', and the hosting note names the host that served the code (GitHub Pages behind Cloudflare on forge.dashhq.org). Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…name chips and working short links (L-55, L-57, L-58, L-59, L-60, L-61, L-82) document.title follows the route (Issues · owner/name, a file at a ref, a profile), with sealed private paths left out. The repo header's owner/name is the page's h1 where the view has none. Below lg a menu button opens a drawer with Explore, New repository, the mirror guide, Notifications and Settings. Identity chips stay on one line and ellipsize; the PR tabs get the repo tabs' scroll fades. Repo not found lists repos with that name, mirrors of github.com/<owner>/<name> first. Copy link keeps a ?repo= pin on the short URL, and owners written as full DPNS names (alice.dash) expand. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…t figure matches the form (L-62, L-73) A signed-out Star, Watch, Fork, Follow, New issue, comment, new PR or new repo opens 'Sign in to star this repo' with the write's previewed cost. The stale 62M 'per issue or push' figure is replaced by the New issue form's own preview for a newcomer (about 0.0012 DASH) and the measured push range. The wallet tile is dimmed on networks where released wallets cannot answer, and the new-issue subtitle shows the owner's DPNS name rather than a raw id. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…ut, fuller quick start Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
feat(ci): check-action reports GitHub Actions jobs as Forge check runs (I-3)
…(L-13, L-14, L-53) The ref switcher had no filter box and sorted branches/tags with localeCompare, so a 575-tag repo like dash put v23.1.10 before v23.1.2 and made any one tag hard to find (L-13, L-14). The tags/branches pages had no search or sort control at all (L-53). Add lib/repo/releases.ts#compareTagNames, reusing the existing tagVersion/versionDesc/naturalRuns primitives (parity with releaseOrder) so the switcher and the tags/branches pages sort identically to the releases page: versioned names first, highest version first, natural-sort fallback and tie-break for the rest. Add lib/view/refs.ts#matchesRefQuery for the shared filter-box matching. RefSwitcher gets a filter input, a flattened keyboard-navigable option list (ArrowUp/ArrowDown/Enter/Escape, aria-activedescendant) and version-aware group ordering. RefListContent (tags/branches pages) gets a search box and a Name/Version sort toggle. Covers L-13, L-14 and L-53 of dash-forge FG-7; the remaining FG-7 findings (L-42, L-43, L-44, L-72, L-77 and the PR2 releases findings) are not yet addressed. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Must-fix: scroll the keyboard-highlighted option into view, return focus to the trigger button on Escape, and only show the tags/branches "every ref deleted" empty state when the search box is empty (a non-empty query that matches nothing now says so instead).
Should-fix: branches in the switcher sort by natural name order instead of version order (naturalRuns is now exported from releases.ts for this); options carry tabIndex={-1}; aria-selected now tracks the keyboard-highlighted row and aria-current marks the actual current ref (previously conflated); the listbox's children are now role=group sections with aria-labelledby, and the no-match message lives outside the listbox.
Also: memoized the branch/tag arrays (dropping the eslint-disable string-key workaround); each ref entry carries a global flat-list index used for both its DOM id (via useId()) and keyboard highlighting; hovering an option syncs the keyboard highlight (onMouseEnter); Enter ignores IME composition; the tags/branches Name sort uses natural order too; and the releases.test.ts "agrees with releaseOrder" case now actually runs releaseOrder and compares its output, instead of asserting a second hand-copied expectation.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
- naturalRuns: fall back to raw string compare on a full tie (case/separator folding made distinct names like foo-bar/foo_bar compare equal, so their order depended on caller enumeration order) - ref-switcher: inline the scroll-into-view id instead of calling optionId (a fresh closure every render) so the effect's deps are accurate with no eslint-disable - ref-switcher: also treat legacy keyCode 229 as an IME composition Enter (Safari can report isComposing===false on the confirming keystroke) - ref-switcher: role=presentation on the group heading, per the ARIA grouped-listbox pattern - ref-list-content: fix a backwards comment on the empty-query empty state, and retitle the query-yields-no-live-matches state "No active X match" since a matching deleted ref can still be listed below it - releases.test.ts: hoist the newestPerTag describe's rel() helper to module scope and reuse it in the releaseOrder cross-check test instead of a hand-built duplicate object literal Addresses the remaining minor findings from the code-review-validator's review of af53601 (verdict: approve with suggestions). Co-Authored-By: Claude Sonnet 5 <[email protected]>
…42, L-72) LabelFilter: Escape now closes the popover and returns focus to its trigger button (a backdrop click also dismisses it), matching the ref switcher's pattern. PersonFilter: track whether the id input is being edited in its own state instead of deriving it from the committed value, so clearing filters (value becomes null) or picking a suggestion no longer fights with mid-edit typing; the id input also gets autoFocus when it opens. Co-Authored-By: Claude Sonnet 5 <[email protected]>
… match bare numbers L-43: author:/assignee: only accepted a base58 identity id or @me, so a typed or linked DPNS name (author:unofficial-dashpay-dash-mirror.dash) silently matched nothing. Adds forward DPNS resolution (resolveDpnsId, via the contract's unique parentNameAndLabel index and its homograph-safe normalization, verified against both the js-dash-sdk and rs-dpp source) and resolves author:/assignee: name candidates before the search box's qualifiers are lifted into the query. Also: is:pr (and state:pr) shared the generic author/assignee drop reason, which was flatly wrong; it now gets its own explanation. A bare number (7512, not just #7512) now also matches the issue number, alongside the existing title-substring check. Co-Authored-By: Claude Sonnet 5 <[email protected]>
…lifier helper Merge dpns.ts's idCache/idPending pair into one idLookups map (a lookup never rejects, so its promise doubles as the in-flight dedupe and the cached answer) and share identityOf between the reverse and forward lookups. Extract issue-query.ts's repeated author:/assignee: token parsing into a personQualifier helper used by both dpnsAuthorCandidates and withResolvedNames. Co-Authored-By: Claude Sonnet 5 <[email protected]>
…, copy Gate #N to a number-only match (never a title-substring fallback); treat me/none case-insensitively in author:/assignee: matching everywhere, and check a value against the DPNS label shape before ever querying it. resolveDpnsId now caches only a proven absence (0 docs) and drops the entry on a failed read instead of caching it; a hit also seeds the reverse (id -> name) cache for free. Extract the DPNS-resolution step into a pure, injected-resolver resolveSearchNames helper so an out-of-order submit is race-safe and independently unit-testable; wire issues-content.tsx's search box through it with a generation counter and an unmounted flag, a busy-state icon, an honest not-connected reason, and an on-load effect that resolves a linked ?q= the same way a typed search does. Reword the is:pr note to name the Pull requests tab and give an unresolved DPNS name its own message. Co-Authored-By: Claude Sonnet 5 <[email protected]>
… round code-simplifier: one ref (not two) for the pending linked-q state, readonly notFoundNames, a shared SearchIcon, trimmer docs. code-review-validator (critical): a linked ?q= resolution could still overwrite a search, tab or filter change made while the SDK was connecting; change()/the clear-filters button now bump the same submit generation the search-box flow already used, and the on-load effect re-checks the URL before applying. code-review-validator (note): idLookups' failure handler now only deletes its own entry, not a newer lookup for the same key that may have started since. Co-Authored-By: Claude Sonnet 5 <[email protected]>
…nd list (L-13, L-53) ref-list-content.tsx's 'name' sort mode called bare naturalRuns, which the ref switcher's branch sort had stopped using in favor of naturalRuns || byRawString for a fixed tie-break. naturalRuns alone isn't a total order (it treats "foo-bar"/"foo_bar"/"Foo.bar" as equal), so the branches/tags page's default sort was non-deterministic and could disagree with the switcher's order, violating L-53. Extract the shared comparator as compareRefNames in a new lib/repo/ref-order.ts (also home to the other pure, SDK-free ordering logic so an e2e spec can import it directly), and use it at both call sites plus compareTagNames's own unversioned fallback. Co-Authored-By: Claude Sonnet 5 <[email protected]>
…um (L-72) looksLikeDpnsName accepted a 1-2 character label, but the platform's dpns-contract schema (both v1 and v2) sets label's minLength to 3, so such a value could never resolve. Tightening LABEL_SHAPE to 3-63 chars means a value too short to ever match never spends a read on one. Verified against the real schema files in platform/packages/dpns-contract. Co-Authored-By: Claude Sonnet 5 <[email protected]>
…rsonFilter focus flag (L-42) A plain search-box submit (typed text + Enter) used the whole current query as its base, so a qualifier the viewer deleted from the box (e.g. label:bug) silently kept applying instead of actually clearing, because liftQualifiers only overrides a field a qualifier is present for. searchSubmitBase now keeps only the state tab as base, since searchText always writes the whole current query back into the box as text when it isn't being edited, making the submitted text the single source of truth for every other filter. Also clears PersonFilter's focusIdRef when value changes from outside the component (reload, Clear filters, a resolved author:<id> qualifier), so a stale 'the select's own onChange just fired' flag can't steal focus for a gesture that already happened or never did. Co-Authored-By: Claude Sonnet 5 <[email protected]>
… (L-13, L-14, L-53, L-42, L-43, L-72) Read-only Playwright spec against the dash-core mirror and forge-v2-demo/showcase fixtures: the switcher's live filter narrowing, keyboard nav (arrow keys + wrap + Escape refocus), version-aware tag sort against a real v0.11.2.x release train with both single- and double-digit patches, a bare-number and #N-prefixed issue search match, and author:<dpns-name> resolving to an identity. Passed 6/6 against moutai before its in-place beta.7 upgrade broke read access for all beta.5/beta.6 clients; that upgrade is unrelated to this change (see PR description). Co-Authored-By: Claude Sonnet 5 <[email protected]>
fix(web): ref switcher filter/keyboard/version sort, issue search and DPNS fixes (FG-7 L-13/14/53/42/43/72)
The PR list reads through a pull index built like the issue index: one composite per 100 PRs with comment counts and author names, keyset pages past 100, and exact Open / Merged / Closed counts from the complete feed. The repo feed is read once and shared by the issue index, the pull index and the header. PR state is computed in one step (pullStates), which the transition reader in #158 can replace. The list gains search with the Issues qualifiers plus is:merged, label, author and assignee filters, sort, a pager and counts in the tabs; the header shows the open PR count from the same index. PR detail read its thread twice on every cold load: readUntil re-read at once instead of checking the first read. readOnceThenUntil reads once, and the base ref and config histories come from the repo chrome store instead of three reads per load. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A read in flight across a write no longer refills the feed cache or settles an open count: invalidateRepoFeed bumps a per-repo epoch that readers capture before their first request. A shared feed stays joinable while it reads and for 30 s after it settles. The list knows its page count from the exact tab counts; with no complete feed it shows no counts. readUntil takes the first read instead of a wrapper, and a superseded not-found retry stops. Simplify: one feed cache path, one settle function, per-log merge/close checks, a generic withQuery, and the unused re-exports dropped. The a11y of the rows and the Clear filters note follow review. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
author: and assignee: DPNS names resolve to identity ids on submit (L-43 parity, #162); the state tab survives a submit, the newest submit wins, and the note under the box names why each qualifier was not applied. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A tab, filter or Clear change that overtakes a DPNS lookup now stops the search spinner, on the Issues and Pull requests lists. The PR list resolves DPNS names linked in ?q= once connected and says when it could not; is:/state: values are exact, with the PR states named in the note. Adds the issue index's epoch-race test. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…lowlist Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
feat(web): PR list parity and request budget (L-44, L-77)
Conflicts are resolved in favour of wipe/beta7's contract model, keeping master's features: - sign-in sheet: both the wallet-grant target (three contracts) and master's sign-in intent (L-62); openLogin(view, grantFor, intent). - write guard: the 'community' contract kind plus master's action label. - markdown links: master's repo links and imported-content refs (L-39); the upstream #N resolver page now resolves through upstreamNumber (D-2) instead of number == N, which dense numbering makes wrong. - sdk index: master's unreachable module with wipe's preloadContractIds. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
#163's PR list reads merge and close state from the event feed, which wipe/beta7's transition model replaced. Its conflicted files keep wipe/beta7's side, and its event-feed pull index is held back until the follow-up port to transitions: - not taken: lib/repo/pull-index.ts (+test), lib/view/pull-query.ts (+test), components/repo/pulls-content.test.tsx, e2e/pulls-budget.spec.ts, and #163's hunks in pulls-content.tsx, issues.ts, issue-index.ts (+test), issues-view.ts, use-repo-chrome.ts, repo/index.ts, chrome.test.ts; - pull-content.tsx keeps #163's single cold read but not its fresh base-ref option (loadPullThread has no such parameter here). Port with: git diff 2e9ed11 3aaf9b4 -- forge-web Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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. Comment |
…scription, held-back e2e - The #N page resolves a source number through upstreamNumber whether or not the description names a mirror (imports into an existing repo have none); the source-forge fallback shows only for a source number. - collab-copy and import-release-fidelity e2e specs go back to wipe/beta7's PR list (tabs and pull-row test ids come with the #163 port). - Comments on numberHref and upstreamItemUrl describe the upstreamNumber lookup. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This was referenced Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR-0b of the RC1 plan (
design/SCOPE-DECISION.md): bring master intowipe/beta7before the schema RC1 PR, so the checkRun writers and web fixes on master are carried onto the integration branch.What comes in
Master up to
3aaf9b46: #146, #148, #157 (forge-runner), #160 (check-action), #162 and #163. #164 and #165 are not merged yet; a later master merge before the bring-up PR picks them up.How the conflicts were resolved
The rule was wipe/beta7's contract model first, then master's features kept wherever they fit.
openLogin(view, grantFor, intent); the write guard passes the intent in the third argument.'community'contract kind from wipe/beta7 is kept, with master'sactionlabel added. Star, watch and follow check'community'and name their action.useRepoLinksplusimported=). wipe/beta7's per-commentcommentLinks/upstreamLinksplumbing is dropped.#Nresolver page (/repo/number?upstream=1). This is a semantic conflict. Master matched an upstream#Nto the item atnumber == N, which dense numbering makes wrong, so the page now resolves throughupstreamNumber(D-2,resolveUpstreamNumber, trusted writers only) and opens the item at its own native number. When nothing matches it still links to the source forge.isUpstreamItem/numberRowsare no longer used and were removed;numberTargetsstays.lib/sdk/index.ts. Master'sunreachablemodule is combined with wipe/beta7'spreloadContractIds.Held back: #163's pull index
#163 reads PR merge and close state from the event feed, which wipe/beta7's transition model replaced. Its conflicted files keep wipe/beta7's side, and these parts are not taken:
lib/repo/pull-index.ts(+ test),lib/view/pull-query.ts(+ test),components/repo/pulls-content.test.tsx,e2e/pulls-budget.spec.ts;pulls-content.tsx,issues.ts,issue-index.ts(+ test),issues-view.ts,use-repo-chrome.ts,lib/repo/index.ts,chrome.test.ts;{ fresh }option inpull-content.tsx: hereloadPullThreadhas no such parameter. feat(web): PR list parity and request budget (L-44, L-77) #163's single cold read (readUntil … first) is kept.Everything else from #163 merged cleanly and is kept: the
retry.tschanges, the exported list filters inissues-content.tsx,useRepoTotals(repo, type),issue-query.tsand the e2e tweaks. The #163 author ports the pull index to transitions in a follow-up; the source isgit diff 2e9ed11f 3aaf9b46 -- forge-web.Review (code-review-validator)
The review found nothing blocking. It raised two medium findings, both fixed in afe99b7:
collab-copyandimport-release-fidelitywere live specs from feat(web): PR list parity and request budget (L-44, L-77) #163 that expect feat(web): PR list parity and request budget (L-44, L-77) #163's PR-list tabs andpull-rowtest ids. They are restored to wipe/beta7's version and come back with the feat(web): PR list parity and request budget (L-44, L-77) #163 port.#Npage resolved a source number only when the repo description named a mirror. It now resolves it throughupstreamNumberwhatever the description says (forge-import writes that description only when it creates the repo). The source-forge fallback now shows only for a source number.Left for the #163 port or a follow-up:
bodyRefsUpstreamnow has only its test left, andUpstreamRedirect(/repo/issue?upstream=N) is reachable only by URL. Keep it as an alias for old links or remove it.e2e/markdown-fidelity.spec.tsopensnumber=6935/7512on the DASH mirror. Under dense numbering, after the bonsia re-import, these becomeupstream=or dense numbers.upstreamNumber. This gap was already in wipe/beta7.Checks (local)
cargo fmt --all -- --check,cargo clippy --workspace --all-targets -- -D warningsandcargo test --workspaceall pass.tsc --noEmitis clean,vitest runpasses (176 files, 3,076 tests) andnext lintis clean.playwright (read-only, devnet moutai)job cannot pass anywhere right now: moutai is on beta.7 with nothing registered.🤖 Generated with Claude Code