Skip to content

bug: .aliases() and .worker() silently dropped by assembleConfig #7

Description

@devalade

What to build

The builder DSL documents .aliases(map) and .worker() but calling them has no effect at runtime — assembleConfig drops them silently. No warning, no validation error. The caller only discovers the drop when the expected behavior (e.g. shipnode run <alias>) fails.

Fix assembleConfig (or the schema it validates against) so these methods actually propagate to the resolved config. Add a regression test that instantiates a builder with .aliases({ deploy: 'pnpm deploy' }) and asserts the alias is present in the resolved config output.

Acceptance criteria

  • .aliases(map) values appear in config show output
  • .worker() values appear in config show output
  • shipnode run <alias> executes the mapped command
  • Regression test covers both methods and fails against the current 2.5.1 behavior
  • If any DSL method is intentionally unsupported in a given version, config validate emits a warning naming it

Blocked by

None - can start immediately

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions