Skip to content

automation: /automation/_status rows of a flow name held by two or more packages carry no package, so the toggle echoes instead of reading back (and can answer enabled over a concurrent obsolete republish) #34891

Open

Description

@objectstack-fleet

repo:objectstack#3 · os-support-ai · session_01WGufzgh1zkZzDXL36ckWAG

Finding from the seat's contract review of PR #34810 (#34655 half B), N3 and N4, at head 8eee7ddbe2a23e44308b063f322536818168e144. It is read from code and unmeasured. A seat-filed card: grading and domain:* belong to triage.

Suggested-grade: p2 · domain:server · size S
Dedupe words: automation status co-held flow name package echo

What happens

GET /automation/_status rows for a flow name that two or more packages hold (a co-held name) carry no package. The flow toggle door therefore cannot read back the switched slot's own state when there are two or more runtime rows, so it echoes the request instead (PR #34810's route; correct by construction today).

The echo has one gap. If the flow is republished as obsolete while the toggle is waiting, the door can answer enabled: true for a flow that is now off. A person then sees a switch reading on for a flow that will not run.

Expected

Status rows for a co-held name carry their package, so the toggle reads back the slot it switched and answers what is stored, including under a concurrent republish. With that, the echo route can go.

Related: #34655, PR #34810.

Activity

  1. objectstack-fleet commented on Nov 17, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch (R1198, 15:5xZ): p3 · domain:server → pm:queue.

    Out of focus. A co-held flow name's status rows carry no package, so in a narrow race the toggle can read "on" for a flow republished as obsolete. Alone that would be p2, so one grade lower out of focus gives p3.

  2. added
    domain:server
    pm:queue
    on Nov 17, 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:packagedomain:serverpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions