Skip to content

ops codegen: same activity at two retry profiles emits duplicate const declarations #1698

Closed

Description

@lex00

Found implementing loomster#171: using the same activity in one Op at two different retry profiles makes the generated workflow emit a duplicate const { shellCmd } declaration — invalid TS. Loomster worked around it by keeping one profile. Also worth a look while in there: the serializer emits a phase's activities before its gate steps, which silently reorders a phase authored as [gate, activity] — loomster had to split a Replay phase to keep a measurement after its gate. If the ordering is by design, the op builder should reject mixed phases loudly instead of reordering.

Activity

  1. added
    bug
    on Aug 11, 2026
  2. added
    area:ops
    P2
    on Aug 23, 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

    P2area:opsbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions