Add timeouts and concurrency control to the CI workflow

Aperta Adatta ai principianti
#490 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@favouronyinye ci sta già lavorando.

Dal 20/11/2026.

Valutazione

Difficoltà
1/5
Tempo stimato
1-3 ore
Idoneità per principianti
87/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, typescript
Ambito
ci-cd

Direzione di ricerca

Trova il file del workflow CI in .github/workflows e leggi il job che esegue i controlli. Aggiungi il timeout richiesto per il job e un gruppo di concorrenza che annulli le esecuzioni in corso per lo stesso ref. Il lavoro è completato quando sono presenti entrambe le impostazioni; esegui npm run lint, npm run typecheck e npm test come indicato nell’issue.

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

Descrizione

enhancement good first issue

Summary

A hung test can occupy a runner for the default six hours, and pushing twice
to a PR runs two full jobs.

Acceptance criteria

  • Add timeout-minutes to the job and a concurrency group that cancels in-progress runs for the same ref.

Getting started

Fork this repository, clone your fork, and add this repo as upstream:

git clone https://github.com/<your-username>/streamgive-backend.git
cd streamgive-backend
git remote add upstream https://github.com/StreamGive/streamgive-backend.git

Create a branch for this issue:

git checkout -b chore/ci-timeout-concurrency

Suggested commit message:

ci: add job timeouts and cancel superseded runs

Run npm run lint, npm run typecheck, and npm test before pushing, then
open a pull request from your fork against main and link this issue. See
the contributing guide for the full contribution guide.

Lingua principale
TypeScript
Stelle
6
Fork
67
Merge medio
9h 2m
PR unite (30g)
29

Preparare l'ambiente

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 StreamGive/streamgive-backend

Tutte le issue di StreamGive/streamgive-backend

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.