Skip to content

Portal: a New namespace Check could reuse a cached dry-run pass for 15 s #509

Open

Description

@ephico2real2

Parent: #479. Found by Fable in the review of PR #506 (note N1), proven by the coordinator, and fixed in #506.

What was wrong. usePlan (cmapi-portal-ui/src/api/hooks.ts) inherited the app-wide staleTime: 15_000. Check A, Check B, then back to A and Check within 15 s showed the cached pass of A and opened Submit without a new dry run.

Fix and proof. staleTime: 0, gcTime: 0 on usePlan. The browser check "N1 New namespace" counts the dry-run POSTs; the mutant without the fix is killed ("returning from checked B to A sends a new dry run").

Activity

  1. added
    bug
    sev:low
    In-Progress
    on Nov 20, 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

    In-Progressbugsev:low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions