Skip to content

fleet walls: skip-check and pin follow-ups from the #579 lenses #584

Closed

Description

@scuttletoby

Follow-ups from the two SAFE lenses on #579 (fleet walls, #408):

  1. Skip check is narrow (both lenses). The check that refuses a skip decorator on a helper only sees top-level functions. It misses:

    • an aliased decorator (a skip saved under another name first);
    • a helper method inside a test class;
    • a nested helper;
    • a mixin class.

    It also leaves out the fork-ci/** and scripts/ test files. None of these forms exists today. Fix it with an AST walk over every test file, with a test per form.

  2. Mixed walls after a stop (A nit). A stop can still pair a new wsl2 with an old linux. Only a runtime check against the install manifest closes every mix. Decide whether that is worth it, and note the answer in the README.

  3. FIFO test (B nit). It still passes if a wrapper rewords the timeout with the exact refusal message. This is contrived, so only tighten it if it's cheap.

  4. Pin-holder pattern (B nit). The test's pattern misses a pin written with a type annotation or indented.

State question in tests: runs again, stopped half-way, and old, empty or missing state.

General vs project: general (fork-kit desk / fleet walls; no project facts).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions