GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id(world): records_read_pages_fit test red on main — panics no entry found for key at world/tests.rs:1169 · Issue #5128 · developing-today/code

id(world): records_read_pages_fit test red on main — panics no entry found for key at world/tests.rs:1169 #5128

New issue
Copy link
New issue
Copy link
Closed
#5167
Closed
id(world): records_read_pages_fit test red on main — panics no entry found for key at world/tests.rs:1169#5128
#5167
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/testTest coverage, test infrastructure, or test-only fixes

Description

@dezren39
dezren39
opened on Nov 3, 2026
Issue body actions

Symptom

On current main, the pkgs/id lib test

world::tests::tests::records_read_pages_fit_the_result_event_that_delivers_them

fails with a panic:

thread panicked at src/world/tests.rs:1169:28:
no entry found for key

Evidence

  • Reproduced on pristine origin/main 7657b97 (clean worktree, cargo test --lib with the test as filter): FAILED, same panic shape as the sibling failures.
  • Also fails on the id(chain): integration tests do not compile — ChainExt initializers missing new link field #4522 fix branch (PR fix(id): name the checkpoint field in ChainExt test fixtures (#4522) #5117), whose diff touches only pkgs/id/tests integration fixtures — the lib target is unaffected by it, so this is independent of id(chain): integration tests do not compile — ChainExt initializers missing new link field #4522.
  • Full lib run on the branch: 2023 passed / 3 failed / 6 ignored; the other two failures are already tracked: id(shell-contract): the directory client frame (PR #4954) is missing from the shell contract — contract test red on main #5020 (shell_contract directory frame) and id(world_fixture): tic-tac-toe determinism fixture recorded under a module hash the checked-in wasm no longer matches — replay test red on main #5021 (tic-tac-toe module hash drift, which also breaks cli_integration test_world_verify_rejects_agree_but_mismatch_header).

Why it matters

pkgs/id/flake.nix builds .#id-web with doCheck=true (checkType ci-check), so this failure — like #5020 and #5021 — fails the Nix check phase and blocks the laptop fleet switch even after the #4522 compile fix lands. #4522 makes the test targets compile again; this issue is one of the three runtime-red lib tests that then remain.

Suspects (unverified)

Recent records.read paging changes: 54ceece fix(id): bound records.read cap pages by the result-event limit (#4888) (#5092), and the id-core world_caps.rs change that arrived with merge de39ee8 (PR #4585). The panic is a map/index lookup miss inside the test at world/tests.rs:1169 — either the test fixture or the paging code disagrees about which key a page is stored under.

Acceptance

  • The named test passes on main.
  • cargo test --lib in pkgs/id shows this test green (the id(shell-contract): the directory client frame (PR #4954) is missing from the shell contract — contract test red on main #5020/id(world_fixture): tic-tac-toe determinism fixture recorded under a module hash the checked-in wasm no longer matches — replay test red on main #5021 failures are tracked separately).

Activity

  1. dezren39
    added a commit that references this issue on Nov 3, 2026

    Merge pull request #5167 from developing-today/fix/5128-records-read-…

    b66912d
  2. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    Fixed in PR #5167 (merged) — test-only; the paging code and the filed suspects were innocent.

    Root cause: the test landed red in #5092. Its probe republished captured results as a single results record, but parse_records caps a record value at MAX_RECORD_VALUE_BYTES (8 KiB), so deliver() refused the publication of the ~64 KiB result record, marked the program unhealthy, and the channel kept the injected records — the test panicked at the results index (tests.rs:1169). Verified directly before fixing: execute returned Ok and a 64,287-byte result event reached delivery; only the readout failed. The sibling BoundsProbe test survives the same readout because its captured results are small.

    The probe now shares captured results via an Arc<Mutex<_>> handle and publishes no records; all page assertions (ok, 8 of 16 at the 64,512-byte bound, r00 first, next_after r07) are unchanged and pass.

  3. dezren39
    closed this as completedin #5167on Nov 3, 2026
  4. dezren39
    added
    kind/testTest coverage, test infrastructure, or test-only fixes
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/testTest coverage, test infrastructure, or test-only fixes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.