Skip to content

module-speaking: test-health batch e3855-module-speaking-01 #3935

Closed

Description

@schlessera

Context

This is one shard of the test-health push in #3855. Shard e3855-module-speaking-01 covers packages/module-speaking/tests/module.test.ts. The file was audited through all eight lenses in one cluster, in run th-20261110212315-08d657.

Fixed findings:

  • "resolves each contributed type's dir back to the type", weak-matcher. not.toBeNull() plus a roundtrip through whatever dir came back stayed consistent if the talk dir changed. The loop now pins each type's contributed dir; a mutant renaming talks is killed.
  • "rejects unknown keys", weak-matcher. A bare toThrow() on a top-level key could not notice a travelParty member losing .strict(). The test now asserts the unrecognized_keys issue at the top level and inside a member; a mutant dropping the member's .strict() is killed.
  • "excludes slide-deck working segments", weak-matcher. Three toContain checks let an extra excluded segment pass, one that could hide talk documents. The list is now compared exactly; a mutant adding talks is killed.
  • "shipped skills", leaked-resource. Each skills() call left a temp brain root behind. One root is now created in beforeAll and removed in afterAll.

Acceptance criteria

  • The batch pull request lands into epic/3855-test-health with the gate ok, and no test is lost (13 before, 13 after).

Activity

  1. added this to the 0.45.0 milestone on Nov 10, 2026
  2. added
    type: test
    area: modules
    priority: p1
    on Nov 10, 2026
  3. schlessera commented on Nov 11, 2026

    @schlessera
    OwnerAuthor

    Delivered by #3936, which merged into epic/3855-test-health as 9a14eedb5 (the push in #3855). It landed in the combined merge without proof of its own; the gate, typecheck and check:pr passed on the combined branch. The epic's two exhaustive runs on dc2439551, 42996974186 and 42997012467, then passed. GitHub does not apply Closes for a pull request into a non-default branch, so I'm closing this by hand. The change reaches main with the epic's single landing pull request.

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

    area: modulespriority: p1type: test

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions