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(web/markdown): the #945 footnote round-trip test never runs — its #[test] sits doubled on the next test (markdown.rs:7055 vs :7088); five more doubled #[test] sites in pkgs/id · Issue #6410 · developing-today/code

id(web/markdown): the #945 footnote round-trip test never runs — its #[test] sits doubled on the next test (markdown.rs:7055 vs :7088); five more doubled #[test] sites in pkgs/id #6410

New issue
Copy link
New issue
Copy link
Closed
#6429
Closed
id(web/markdown): the #945 footnote round-trip test never runs — its #[test] sits doubled on the next test (markdown.rs:7055 vs :7088); five more doubled #[test] sites in pkgs/id#6410
#6429
Copy link
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)kind/testTest coverage, test infrastructure, or test-only fixespriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

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

id(web/markdown): the #945 footnote round-trip test never runs — its #[test] sits doubled on the next test; five more doubled #[test] sites in pkgs/id

Evidence (verified this run, origin/main 28719695372b)

pkgs/id/src/web/markdown.rs:

  • Line 7055: fn test_footnote_roundtrip_fixpoint() — the regression pin for id(web): footnotes are backslash-escaped on save — [^1] syntax mangled, definition orphaned #945 (a footnote reference + definition round-trip open→save intact, emitted as [^label], never backslash-escaped, second save byte-identical) — carries no #[test] attribute (line 7053 closes the previous test, 7054 is blank, 7055 is the fn). A repo-wide git grep shows its only occurrence is its own definition: it is never called by another test either. It never runs.
  • Lines 7088–7089: the next test, test_unreferenced_footnote_definition_survives_save (:7090), carries two #[test] attributes — the displaced attribute.

Mechanism (proven on the laptop this run for the identical text.rs instance, filed as #6409): a duplicated #[test] is only a rustc duplicated attribute warning and registers that test twice, so the suite stays green, the count looks right, and the attribute-less neighbor is silently dead.

Five more doubled sites (no dead neighbor found — the test runs twice)

A repo scan for consecutive #[test] lines found 7 sites in pkgs/id, all on origin/main. Excluding text.rs (#6409) and markdown.rs (above), the remaining five have all their neighboring tests correctly attributed, so the harm there is double execution (wasted CI time; doubled side effects — e.g. cli.rs's test spawns a thread) plus warning noise:

  • pkgs/id/src/cli.rs:3608-3609 — test_cli_rejects_zero_result_limits
  • pkgs/id/src/commands/find.rs:1053-1054 — test_download_output_path_dash_name_is_not_the_stdout_sentinel
  • pkgs/id/src/commands/serve.rs:3291-3292 — test_web_content_target_program_rejects_empty_world
  • pkgs/id/src/repl/runner.rs:1890-1891 — test_parse_rejects_zero_result_limits
  • pkgs/id/src/web/templates.rs:1306-1307 — test_render_program_page_pins_the_world_and_omits_host_controls

Why it matters

Same failure class as #6409 / #6185 ("a suite that never runs is not a test"), in the web markdown codec — a surface with a steady stream of round-trip regressions (#945, #998, #1019, #1565, #6364). The #945 pin has been dead for an unknown span: if footnote round-tripping regressed again, no running test would say so. Note the honest unknown: unlike the text.rs orphan (verified passing against verbatim production code), this test was not re-run standalone this run — if it fails when re-enabled, that failure is a live #945 regression the dead test was hiding, and it should be triaged as such, not silently re-deleted.

Acceptance criteria

  • Move one #[test] from markdown.rs:7088-7089 to test_footnote_roundtrip_fixpoint (:7055); run it. If it passes, done for this site. If it fails, file/link a follow-up for the id(web): footnotes are backslash-escaped on save — [^1] syntax mangled, definition orphaned #945 regression it exposes (do not delete or weaken the test to make it pass).
  • Remove the duplicated second #[test] at the five sites listed above (cli.rs, find.rs, serve.rs, repl/runner.rs, templates.rs) so each test is registered exactly once.
  • cargo test -- --list for the crate shows each named test exactly once, and the footnote round-trip test appears.
  • No test body or production code changes.

Notes

  • Companion to id(commands/text): the only tsv_row test never runs — its #[test] attribute sits doubled on the neighboring test (text.rs:276-277 vs :293) #6409 (same pattern in commands/text.rs, filed separately because it was verified end-to-end first and carries its own small-fix packet). Cross-linked both ways.
  • Found by Lane B (new-issue-creator-code-b): a repo scan for consecutive #[test] lines, followed by per-site inspection of neighboring tests.

Activity

Next
  1. dezren39
    added
    kind/testTest coverage, test infrastructure, or test-only fixes
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    status/needs-triageNot yet triaged; needs a first look
    source/creatorFiled by the new-issue-creator job
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued queue task
    on Nov 6, 2026
  2. developing-today commented on Nov 6, 2026

    @developing-today
    developing-todayBot
    on Nov 6, 2026 – with developing.today
    Contributor
    More actions

    CODE-1916

  3. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 6, 2026
  4. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    🤖 Agent note · filed

    • Agent: new-issue-creator (Lane B, slug new-issue-creator-code-b)
    • Session / ID: cron job new-issue-creator-code-b, run 2026-11-05 18:50 CST
    • Found via: filed this run
    • Task: Filed after verifying on the laptop against origin/main 2871969: markdown.rs:7055 test_footnote_roundtrip_fixpoint has no #[test] and no callers (git grep: definition only); its attribute is doubled at :7088-7089 (mechanism proven by rustc probe + the id(commands/text): the only tsv_row test never runs — its #[test] attribute sits doubled on the neighboring test (text.rs:276-277 vs :293) #6409 instance). Five further doubled sites inspected per-site; no dead neighbors there. The footnote test was NOT re-run standalone — the issue states that unknown explicitly.
    • Expectation: effort/xs-s — one attribute move + five duplicate removals; done = each named test listed exactly once and the footnote test runs (a failure on re-enable is a live id(web): footnotes are backslash-escaped on save — [^1] syntax mangled, definition orphaned #945 regression to triage, not to silence).
    • Links: companion id(commands/text): the only tsv_row test never runs — its #[test] attribute sits doubled on the neighboring test (text.rs:276-277 vs :293) #6409 (same pattern, commands/text.rs); queue packet enqueued to repo-health-code-pilot (small-fix)
  5. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 6, 2026
  6. dezren39 commented on Nov 6, 2026

    @dezren39
    dezren39
    on Nov 6, 2026
    MemberAuthor
    More actions

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-x
    • Session / ID: task 10836
    • Found via: queue claim
    • Task: task 10836 (small_fix for issue id(web/markdown): the #945 footnote round-trip test never runs — its #[test] sits doubled on the next test (markdown.rs:7055 vs :7088); five more doubled #[test] sites in pkgs/id #6410) assigned to the opencode execution lane; handing off to the laptop opencode claimant. Fresh check: issue id(web/markdown): the #945 footnote round-trip test never runs — its #[test] sits doubled on the next test (markdown.rs:7055 vs :7088); five more doubled #[test] sites in pkgs/id #6410 OPEN, no hard-stop labels.
    • Expectation: effort/s; done = fix for issue id(web/markdown): the #945 footnote round-trip test never runs — its #[test] sits doubled on the next test (markdown.rs:7055 vs :7088); five more doubled #[test] sites in pkgs/id #6410 landed and issue id(web/markdown): the #945 footnote round-trip test never runs — its #[test] sits doubled on the next test (markdown.rs:7055 vs :7088); five more doubled #[test] sites in pkgs/id #6410 closed with evidence
    • Links: issue id(web/markdown): the #945 footnote round-trip test never runs — its #[test] sits doubled on the next test (markdown.rs:7055 vs :7088); five more doubled #[test] sites in pkgs/id #6410
  7. 110 remaining items

  8. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    agent-note:v1 — state: handed_off (task 10836, lane code-h)

    • Agent: repo-worker-code; execution lane assigned by the queue: opencode (lane row 3254).
    • Verified fresh: issue id(web/markdown): the #945 footnote round-trip test never runs — its #[test] sits doubled on the next test (markdown.rs:7055 vs :7088); five more doubled #[test] sites in pkgs/id #6410 OPEN, no hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit), no status/needs-triage.
    • Handed off to the opencode claimant: this scheduled shift is time-bounded and the claimant is the persistent execution session. Claimant launches the bound opencode session.
  9. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    Lane code-p — task 10836 handed off

    • Stage: handed_off to opencode claimant (lane row 3254)
    • Verified fresh: issue id(web/markdown): the #945 footnote round-trip test never runs — its #[test] sits doubled on the next test (markdown.rs:7055 vs :7088); five more doubled #[test] sites in pkgs/id #6410 OPEN, no hard-stop labels, no status/needs-triage
    • Attempts: 8/8 AT CAP
    • Handoff reason: scheduled shift is time-bounded; claimant is the persistent execution session
    • Next: claimant launches the bound opencode session
  10. dezren39
    added
    priority/lowNice to have; do when convenient
    and removed
    priority/normalOrdinary priority (the default)
    on Nov 11, 2026
  11. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    Agent note — task 10836 picked up, PR #6429 salvage in progress

    • Lane: any-d (repo-worker-code), queue repo-health-code-pilot
    • Transition: claimed -> in-progress (execution lane: direct)
    • Fresh revalidation: issue id(web/markdown): the #945 footnote round-trip test never runs — its #[test] sits doubled on the next test (markdown.rs:7055 vs :7088); five more doubled #[test] sites in pkgs/id #6410 OPEN, no hard-stop labels. Canonical PR test(id): restore footnote test and dedupe attributes #6429 OPEN but its branch conflicted with current main (pkgs/id cli.rs was split into cli/tests.rs; markdown.rs restructured).
    • Salvage per protocol: diffed PR test(id): restore footnote test and dedupe attributes #6429 against the canonical intent — all seven changes are still needed on main (footnote test still unregistered; six doubled #[test] sites still doubled, the cli one now in pkgs/id/src/cli/tests.rs). Merged current main into the PR branch, resolved the two conflicts by re-applying the intent at the new locations; resulting diff vs main is exactly the PR's +1/-6 across the six files. Codex review on PR test(id): restore footnote test and dedupe attributes #6429 completed with no findings.
    • Verification running on the laptop: bun web build + the restored footnote test.
  12. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 11, 2026
  13. dezren39
    closed this as completedin #6429on Nov 11, 2026
  14. developing-today
    added
    status:done
    on Nov 11, 2026
  15. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    Agent note — task 10836 done (fixed_merged)

    • Lane: any-d (repo-worker-code), queue repo-health-code-pilot
    • Transition: claimed -> done
    • PR test(id): restore footnote test and dedupe attributes #6429 MERGED 2026-11-11T13:30:44Z, merge commit 80a50e7, after a salvage merge of current main (conflicts resolved by re-applying the intent at the post-split locations; diff vs main exactly +1/-6).
    • Verified: test_footnote_roundtrip_fixpoint passes under cargo test -p id --lib --features web (1 passed); all six deduped sites carry exactly one #[test] in source. The --no-default-features combo failure on main is pre-existing and unrelated (feature-gated sandbox/Dev references in other test code).
  16. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 11, 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 fixespriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    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.