Skip to content

Decide the test-scope exceptions in Spec #919 #1243

Closed

Description

@JacobStephens2

Raised by the whole-Spec review of PR #1208, implementing Spec #919.

The Spec's Testing Decisions require tests through the thirdshift binary and Console HTTP seams, say “No new seams, and no browser-side tests,” and allow touching the kept GitHub answer only to set its age. The landed Tickets deviate in two ways:

  • console/tests/inbox.test.cjs adds Dismiss keeps Undo in Command details and updates another open Inbox. It exercises the page's submit handler in src/console/assets/console.js, including preserving the open document and Undo action, which an HTTP post alone cannot exercise.
  • src/logs/reading/tests.rs::review_finding_retention_deadline_includes_triage writes kept finding facts and calls Snapshot directly. tests/status.rs also changes cached triaged_at, quotas and legacy-cache fields to exercise retention, quota resets and backward compatibility.

These observations establish a mismatch with the planned test approach, not incorrect product behavior. The review retains the coverage while fixing the reproduced product defects. Removing the tests outright loses checks for browser interaction, elapsed retention and compatibility; replacing them with a child clock fixture or another approach expands the agreed testing design.

The Day shift must decide whether to approve these narrow test exceptions or require replacement coverage at the Spec's chosen seams. The reviewer cannot silently amend the Spec's explicit testing decisions. This issue is for that decision only and does not block the implementation or change #919's readiness.

Evidence commands: node --test --test-name-pattern='Dismiss keeps Undo' console/tests/inbox.test.cjs and cargo test --bin thirdshift logs::reading::tests::review_finding_retention_deadline_includes_triage -- --exact.

Activity

  1. added
    needs-triage
    enhancement
    and removed
    needs-triage
    on Oct 24, 2026
  2. JacobStephens2 commented on Oct 25, 2026

    @JacobStephens2
    OwnerAuthor

    This was generated by AI during triage.

    Closing as accepted. Spec #919 and PR #1208 merged on 2026-10-24, and both exception tests are on main (console/tests/inbox.test.cjs and src/logs/reading/tests.rs). They cover behavior the Spec's seams can't reach. Reopen if you want replacement tests designed through the seams.

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions