Open traberc opened 3 weeks ago
Hi @traberc, thank you for sharing this, and this is a good catch. Before switching to YAML, the flight ID would appear only if the track parameter is set to "flight" on the UI. But now since more pipelines are moving to YAML, the error you described are more likely to happen. I will add a fix to address this issue.
We are working on automating our Microsoft Store application releases and were testing a release to a flight. Although the "flightid" parameter was provided to the
store-publish
task, thetrack: flight
parameter was inadvertently left off.Instead of the publish task reporting the parameter mismatch and stopping for clarification, it silently ignored the flight id and did a production release. This led to a global production release of a dev branch of the application.
It is our belief that the task should fail if a flight id or name is provided, but the
track
parameter is missing or not set toflight
.Here is the task output with no indication that the flight id parameter was ignored and a production release is occurring: