Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

How can I mark a deploy as "canceled" when its workflow got canceled?

Дата публикации: 03-08-2026 09:49:33


We use deploy markers in our deploy job, one marker per environment:
circleci run release plan <name> --component-name ... --environment-name ... --target-version ...,
then update --status=running, and SUCCESS/FAILED at the end.
After cancelling a deployment the marker stays at RUNNING permanently. We have not found a way to correct it.
What we tested:
A companion job wired with requires: [deploy: [canceled]] does not run when theworkflow is cancelled. It is cancelled along with everything else and no job record is created for it.
A when: always step inside the cancelled job does not run either.
A marker planned by a cancelled workflow still read RUNNING on the Deploys dashboard half an hour later, so nothing transitions it server-side.
Two questions:
Is there a way to execute something when a workflow gets cancelled?
Failing that, is there a supported way to update a marker from outside the
workflow that planned it?
If we are holding this wrong, that would be good to hear too.
1 post - 1 participant
Read full topic


Основное содержимое страницы с новостью.

<------>

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Enable auto-cancel but exclude branches014.1607-08-2026
2Feature Request: Custom Workflow/Pipeline Labels in the Web UI07.4721-09-2026
3Boolean parameters as environment variables05.8320-08-2026
4Customise pipelines vie019.5909-08-2026
5API v3: no endpoint to approve a workflow's approval job08.8710-09-2026
6Hosted and CLI MCP server feedback012.9428-07-2026
7Fix failing workflows with Claude Code, directly from the CircleCI UI015.9406-08-2026
8Diagnose and fix failing builds with your local AI agent06.6631-07-2026
9How to get email PDF invoices back?010.6125-09-2026
10Travis CI Deployment Builds Successfully but the Latest Website Changes Are Not Reaching the Deployed Site03.9717-08-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 6.17. Источник: discuss.circleci.com.