Skip to content

style(doc): rustfmt reader/session.rs (main's fmt check) - #2255

Merged
aaj3f merged 1 commit into
mainfrom
fix/doc-session-fmt
Nov 3, 2026
Merged

aaj3f merged 1 commit into
mainfrom
fix/doc-session-fmt

Conversation

@aaj3f

@aaj3f aaj3f commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

cargo fmt --all --check fails on main since #2219 merged: Session::plan's signature in fluree-db-doc/src/reader/session.rs was ported in that PR's last merge commit without a format pass. That's my miss; I ran clippy and the tests there but not fmt. It turns main's fmt and testsuite-sparql jobs red (both run the same check), and so every PR's CI against main.

This is cargo fmt --all and nothing else: one signature wrapped across lines, no code change.

🤖 Generated with Claude Code

https://claude.ai/code/session_016CjYmSfiNVsRZmcpMicDfq

`Session::plan`'s signature, ported in the #2219 merge without a format
pass, failed `cargo fmt --check` on main (the fmt and testsuite-sparql
jobs).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016CjYmSfiNVsRZmcpMicDfq
@aaj3f aaj3f added the area:cli fluree CLI UX, rdf toolkit, publish/export/insert flows label Nov 3, 2026
@aaj3f
aaj3f merged commit d9357c6 into main Nov 3, 2026
19 checks passed
@aaj3f
aaj3f deleted the fix/doc-session-fmt branch November 3, 2026 20:37
bplatz added a commit that referenced this pull request Nov 4, 2026
Brings #2247, #2232, #2246, #2248, #2245, #2230, #2205, #2231, #2255,
#2219, #2209, #2207, #2190, #2216, #2186, #2215, #2213, #2184, #2210,
#2206, #2198, #2187, #2183, #2200, #2193, #2199, #2196 and #2145 into next.

Resolutions:
- Novelty: main's fact-state trim (a cutoff plus a bounded sweep) and the
  dictionary's coverage watermark sit on next's graph slots and per-graph
  OrdMaps. A commit's reification links count toward coverage. Planner
  stats from segment sums decline under annotations, whose link deltas
  only the walk counts, and otherwise carry the indexed link counts.
- Stats-view identity: the index root's id reaches the snapshot through
  next's root decoder (`decode` takes the id, as `take_snapshot_metadata`
  does). `LedgerState::load_record` has a decoding-root form beside
  `load_decoding_root`.
- Transact: #2184's parallel-relationship check runs in next's link
  cascade, counting the `rdf:reifies` links on the retracted edge that the
  transaction does not retract itself. Main's bundle `edge_reifiers` is
  dropped, and `subjects_with_prior_rows` and
  `enforce_single_target_reifiers` stay deleted. The upsert pre-check
  takes main's dictionary probe and bounded seek.
- Query: geo search resolves the graph's POST tree once at open (pooled
  graphs keep their filter), an empty manifest when there is none.
  `branch_or_none` reads the dedicated branch, and the batched joins keep
  next's pooled lanes. The stats-view key hashes the root id.
- Indexer: `apply_dict_novelty` and `compact_forward_streams` take the
  cycle's compaction budget, so the term dictionary keeps its reserved
  share. `Prefetched` holds `ContentBytes`. `relocalize_sorted_commit`
  rewrites next's 20-byte types records.
- Disk cache: main's in-flight write registration, with an empty entry
  still read as crash debris that a write replaces. The process-wide
  eviction walk stays removed.
- Graph import (#2232): fenced CAS and publishes, the seed carries the
  record's namespace and fence, 32-bit graph ids and next's loaders. An
  import into a graph of an existing ledger refuses triple terms and edge
  annotations: the splice merges no triple-term dictionary yet.
- Iceberg: `create_iceberg_graph_source` goes with main (a source needs a
  mapping); the R2RML path keeps next's `model_instance`.
- CLI: main's shared import flags without the leaflet flags; `graph
  import` routes through next's process-wide server routing, and
  `upload_source_import` serves next's `Destination`. Doc sources read a
  ledger through the command's open instance.
- Tests: sibling ledger ids become distinct names, `genesis_ledger` is
  awaited, Cypher state dumps include each relationship's `rdf:reifies`
  link, and the graph-import arena test checks the refusal instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:cli fluree CLI UX, rdf toolkit, publish/export/insert flows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants