Skip to content

fix: small misc fixes (substrate comment, pred_stats heap accounting, docs nav, virtuoso isql port) - #6664

Merged
jeswr merged 3 commits into
mainfrom
fix/issues-misc-small
Oct 5, 2026
Merged

jeswr merged 3 commits into
mainfrom
fix/issues-misc-small

Conversation

@jeswr

@jeswr jeswr commented Oct 5, 2026 •

Copy link
Copy Markdown
Collaborator

Requested by Jesse · project thread

Summary

Four small, independent fixes:

Not changed: #3090 (glib >= 0.20 in gui/src-tauri/Cargo.lock). Running cargo update -p glib --precise 0.20.0 fails with failed to select a version for the requirement glib = "^0.18", required by gtk v0.18.2 ← tauri v2.11.3. On Linux, Tauri 2 is tied to the gtk-rs 0.18 / GTK3 stack (see #2818), so the bump needs a Tauri major migration and is not possible as a lockfile change.

Closes #3806
Closes #3115
Closes #2549
Closes #3361

Base gate (always required)

  • cargo build --workspace succeeds. (Left to CI. I ran checks scoped to the crate only.)
  • cargo clippy --workspace --exclude sparq-py --all-targets -- -D warnings is clean. (Left to CI. cargo clippy -p sparq-core --all-targets --all-features -- -D warnings is clean.)
  • The code this PR touches is formatted (rustfmt reports no diff in the touched hunks).
  • cargo test passes for every crate this PR touches (cargo test -p sparq-core). I did not run the site e2e locally because there is no node_modules; it is left to CI.

Targeted re-evaluation (check the rows that apply to your change)

  • Storage / encoding: only the heap_bytes accounting changed; storage and encoding are untouched. Expect a small, fixed rise in heap_bytes-derived metrics.
  • Wasm: heap_bytes is a benchmarking accessor in always-compiled sparq-core. Its effect on the bundle size is left to the wasm_bundle_bytes gate.

Ratchets and conventions

  • I did not lower any conformance / perf / coverage ratchet.
  • No hard-coded performance numbers added to markdown.
  • No TODO/FIXME markers added.
  • If this change makes a doc statement false, I updated that doc in the same change (the substrate comment and the Docs-link comment are both corrected).

Security

  • This change does not introduce a security regression.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ScyGGohDhirnbLbrUSnA5n


Generated by Claude Code

… nav, virtuoso isql port)

- sparq-substrate/Cargo.toml: the scaffold comment claimed nothing depends on the crate;
  sparq-engine and sparq-reason do, so it is in the feature-OFF wasm graph (#3806).
- sparq-core: TripleStore::heap_bytes now counts the pred_stats planner map, with a
  direct unit test (#3115).
- site: the Docs nav item points at the mdBook guide overlaid at /guide/ instead of the
  agent-skills router; e2e witness updated (#2549).
- scripts/virtuoso-same-box.sh: docker exec isql always targets the container-internal
  port 1111; VIRTUOSO_ISQL_PORT is only the host mapping (#3361).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ScyGGohDhirnbLbrUSnA5n
@jeswr jeswr self-assigned this Oct 5, 2026
@jeswr
jeswr marked this pull request as ready for review October 5, 2026 19:34
@jeswr

jeswr commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator Author

🔎 Codex reviewer — gpt-6.1-sol

Automated review by the Codex reviewer (OpenAI gpt-6.1-sol via Codex CLI) of head 334b0135c04e. Scope: correctness, security, soundness and design; style nits omitted. A new head gets a fresh review.

Findings

  1. [high] New Docs link blocks Pages deployment — site/src/components/layout/app-shell.tsx:61
    The production export now contains /guide/ links, but pages.yml runs scripts/check-site-links.sh site/out before building and overlaying the guide. That script checks root-relative links against site/out, where guide/index.html does not yet exist, so the link check fails and prevents deployment.
    Build and overlay the guide before checking the site’s links. If the guide’s own HTML requires separate validation, exclude it from the scanned inputs while still validating site links into it.

Verdict: The PR needs the deployment-order fix before merging.

The Docs nav link now points at /guide/, but pages.yml ran
check-site-links.sh on site/out before the guide was built and overlaid,
so lychee could not resolve /guide and failed the deploy. Build and
overlay the guide first, and have check-site-links.sh exclude guide/ as
an input (its own gate is build-guide.sh) while still resolving the
site's links into it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ScyGGohDhirnbLbrUSnA5n
@jeswr

jeswr commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator Author

🔎 Codex reviewer — gpt-6.1-sol

Automated review by the Codex reviewer (OpenAI gpt-6.1-sol via Codex CLI) of head df20b34abd38. Scope: correctness, security, soundness and design; style nits omitted. A new head gets a fresh review.

Findings

No correctness, security, soundness or design problems found.

Verdict: The PR is safe to merge as is.

1 similar comment
@jeswr

jeswr commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator Author

🔎 Codex reviewer — gpt-6.1-sol

Automated review by the Codex reviewer (OpenAI gpt-6.1-sol via Codex CLI) of head df20b34abd38. Scope: correctness, security, soundness and design; style nits omitted. A new head gets a fresh review.

Findings

No correctness, security, soundness or design problems found.

Verdict: The PR is safe to merge as is.

jeswr commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator Author

Local ci-fast gate (GitHub Actions outage; Jesse approved local-gate merges). PR head df20b34a merged with main 4faff096:

  • clippy -D warnings (core crates, all targets): pass
  • nextest (core crates, ci profile): pass
  • doctests (core crates): pass
  • W3C SPARQL conformance 1229/1229 (ratchet 1229): pass

Main moved to 85d5ede5 after the run. 4faff096..85d5ede5 touches no Rust source, manifest, lockfile, toolchain, ci-fast workflow, test data, include_str! target or file this PR changes, so the result stands.

Squash-merging under the local-gate rule.


Generated by Claude Code

@jeswr
jeswr merged commit 49418e9 into main Oct 5, 2026
24 checks passed
@jeswr
jeswr deleted the fix/issues-misc-small branch October 5, 2026 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment