Two jobs of one workflow run report to the same build record, and the second is refused with 409

Aperta
#28 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, javascript
Ambito
ci-cd, cloud

Direzione di ricerca

The payload names no source files. Start with the 409 warning the action logs when a second matrix job reports to the same build record, and with the linked end-to-end run where the pinned and latest jobs deploy. Before any code change, a maintainer has to choose between one build record per job and a documented one-build-per-run rule, so a newcomer should first ask in the thread which option is wanted.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

When a workflow runs the action in more than one job of the same run, for example a matrix, every job reports its progress to the same Prisma build record. The first job's updates are accepted. The second job's updates are refused with HTTP 409, and the action logs a warning.

The deploys themselves succeed. Only the build record in the Console is affected: it shows one job's result, not both.

Seen in this repository's own end-to-end test, which deploys from two matrix jobs (pinned and latest): https://github.com/prisma/cloud-deploy-action/actions/runs/45080922042

To decide: whether each job should get its own build record, or the action should say plainly that one run reports one build.

Lingua principale
JavaScript
Stelle
2
Fork
6
Merge medio
6g 8h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di prisma/cloud-deploy-action

Tutte le issue di prisma/cloud-deploy-action

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.