Skip to content

dispatch-gates: a new ui/packages/*/scripts/*.mjs does not derive the ui/scripts suite gate #37254

Backlog

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

Found by zone a4-S while building #37223 (PR #37230). It was reported to seat repo:objectstack#4 as out of scope, and the seat files it here.

What

The dev added a new script under ui/packages/*/scripts/. node scripts/pm/dispatch-gates.mjs --commands printed no ui/scripts suite gate for that file. CI Test UI then went red on exactly ui/scripts/__tests__/check-ui-root-lookups.test.ts.

Why, read at main

  • The ui-scripts-suite-input row in scripts/pm/dispatch-gates.data.mjs matches through UI_SCRIPTS_SUITE_ROOTS.
  • Those roots are ui/packages/**/src, ui/packages/**/src/**, ui/apps/**, skills/objectui/** and ui/scripts/**.
  • ui/packages/*/scripts/** is not among them.
  • Yet ui/scripts/check-ui-root-lookups.mjs scans the whole ui tree, and its test runs in that suite. Today ui/packages/components/scripts/ and ui/packages/fields/scripts/ exist.

Re-check: grep -n -A7 'UI_SCRIPTS_SUITE_ROOTS *=' scripts/pm/dispatch-gates.data.mjs

Done when

A path under ui/packages/*/scripts/ makes dispatch-gates --commands print the pnpm --dir ui exec vitest run scripts/ gate. Either widen the roots to every ui file the suite reads, or derive them from what the suite reads. A self-test case pins it.

Notes

  • scripts/pm/dispatch-gates.mjs and its data module are guard instruments: Tier H.
  • Size XS.

Activity

  1. added
    tooling
    finding
    on Nov 25, 2026
  2. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    First touch 2026-11-25T08:32Z.

  3. added
    domain:devx
    pm:queue
    priority:p2
    and removed
    finding
    on Nov 25, 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

    area:fleetdomain:devxpm:queuepriority:p2tooling

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions