Skip to content

Remove --marketplace-output flag in v0.15 #1318

@danielmeppiel

Description

@danielmeppiel

Remove --marketplace-output flag in v0.15

TL;DR

--marketplace-output was deprecated in #1281 (silently Claude-only despite the format-agnostic name). Track its removal in v0.15 once the v0.14 replacement surface lands.

Background

PR #1281 introduced multi-profile marketplace outputs (claude, codex). The legacy --marketplace-output PATH flag was kept for backwards compatibility but now has a scope-narrowing footgun: it overrides only the Claude artifact, not "the marketplace output." The flag's help text was updated to "Marketplace legacy compatibility" but no runtime warning fires today, so CI scripts will silently regress when adopting outputs: [claude, codex].

The new surface designed in #1317 replaces it with format-symmetric affordances:

# Old
apm pack --marketplace-output ./build/x.json    # silently claude-only

# New (v0.14)
apm pack --output-path claude=./build/x.json    # explicit, format-named

Required before this can land

Depends on #1317 (v0.14 marketplace UX) shipping first:

  • --output-path <format>=<path> and APM_MARKETPLACE_<FORMAT>_PATH env both available
  • --marketplace-output has been emitting a real logger.warning(...) for one minor release cycle (v0.14)
  • CHANGELOG migration line published in v0.14 announcing the v0.15 removal

Removal checklist (v0.15)

  • Drop --marketplace-output Click option from src/apm_cli/commands/pack.py
  • Remove marketplace_output field from BuildOptions and the orchestrator wiring
  • Remove auto-translate shim and the deprecation warning
  • Remove all references in:
    • docs/src/content/docs/reference/cli/pack.md
    • docs/src/content/docs/reference/cli-commands.md
    • docs/src/content/docs/producer/publish-to-a-marketplace.md
    • packages/apm-guide/.apm/skills/apm-usage/commands.md
  • CHANGELOG entry under Breaking Changes for v0.15: name the flag, point to --output-path
  • Delete unit tests scoped to --marketplace-output; the --output-path test suite should already cover the replacement contract

Migration line (for v0.15 release notes)

--marketplace-output PATH was removed. Use --output-path claude=PATH (deprecated since v0.14) or set marketplace.outputs.claude.path in apm.yml. The flag printed a deprecation warning in v0.14; CI scripts that suppressed warnings should be audited.

Why this is a separate tracker

Keeping the removal as its own issue prevents the v0.14 design issue from sitting open across the deprecation window. It also gives the breaking-change CHANGELOG entry a single durable URL to reference.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliCLI command surface, flags, help text (cross-cutting).area/docs-sitedocs/src/content (Starlight), README, doc generation.area/marketplacemarketplace.json schema, federation, authoring suite, source parity.breaking-changepriority/lowAccepted but not time-sensitivestatus/acceptedDirection approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).theme/portabilityOne manifest, every target. Multi-target deploy, marketplace, packaging, install.type/refactorInternal restructure, no behavior change.

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions