Repository navigation
feat(id-core): board view subtree freshness tokens (#13096 slice 3) - #17323
Merged
Merged
Conversation
project_board_with_tokens issues one FreshnessToken for the whole
view and one per rendered topic subtree over the filtered
projection's frontier (topics mark + per-topic comments marks,
{head_seq, tombstone_revision}); fold_comment_subtree renders a
comment subtree as its token alone; check_board_token wires the
#13094 §6.3 check for board tokens. Slices 1-2 projections now
carry token: None fields. Acceptance tests: issuance shape,
nothing-new then delta after a new comment, tombstone-revision
delta, missing-mark failure, foreign-token NoToken.
Refs #13096 (slice 4 paging stays open on the issue).
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
1 of 3 tasks
Contributor
Author
|
Verification status (lane 0900-BL): two dispatches so far are environmental no-verdicts, neither reached the test code —
Re-dispatched as run 46471699050: nix develop form + |
This was referenced Nov 30, 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.
Refs #13096 (slice 3 of 4 in the design record; the issue stays open for slice 4 paging/cursor).
What
Slice 3 (subtree tokens) of the board view builder, per
doc/2026-11-24T06-00-00Z_design_id13096_board_view_builder.md§2.2/§2.3 step 7/§5:project_board_with_tokens— same forest as slices 1–2, plus token issuance: oneFreshnessTokenfor the whole view (frontier = topics-list mark + every rendered topic's comments-list mark) and one per rendered topic subtree, via the impl(id): freshness token + frontier check in id-core (per #9128 design) #13094 logic already on main. Tokens cover the filtered projection (sequencing 3←2): tombstoned seqs stay insidehead_seq, so a later tombstone advances the revision and flips nothing-new to delta.fold_comment_subtree— a comment subtree renders as its token alone, under the comment subtree's own view id.check_board_token+comments_frontier/board_frontier— the §6.3 check wiring for board tokens; forged/foreign/other-view tokens areNoToken, never an error (§6.5).board_view_id/topic_view_id/comment_view_id); a policy change mints new ids.BoardTokenError::MissingCommentsMark) rather than minting a partial token when a rendered topic has no mark.token: Option<FreshnessToken>fields (Nonein the token-less projections); no existing behaviour changes.Verification
Remote dispatch on the exact head: run 46468072670 (developing-today-forks/fleet) —
cargo test -p id-core --test board_view_tokens --test board_view_forest. Conclusion + log lines recorded on #13096 when it lands; merge on log-verified success (full diff read by the lane).{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-30T16:59:30Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "1afb80aa405c56b71c8a63176670cb22ba449a92" }, "auth_subject": "xaltha", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.