Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[test] Cover migration unique constraint recovery

Aperta
#1,765 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 7 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
61/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
sql, typescript
Ambito
database, testing

Direzione di ricerca

Start with backend/prisma/migrations/20260428000001_add_stream_event_unique_constraint/migration.sql and inspect the existing backend test setup and CI suite. Add deterministic deployment tests for duplicate existing rows, rerunning the migration, boundary inputs, and dependency failures; assert the documented success and failure behavior. It is done when the tests run in the corresponding CI suite and cover the public behavior and error contract.

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

Descrizione

backend points: 150 testing

Labels: testing, backend, points: 150
File/location: backend/prisma/migrations/20260428000001_add_stream_event_unique_constraint/migration.sql

Description:
Duplicate existing rows and rerunning the migration lack deployment tests.

Acceptance Criteria:

  • Add deterministic tests for the documented success and failure paths, including boundary inputs and dependency failures.
  • Run the new tests in the corresponding CI suite and assert the public behavior and error contract.

Notes:
This is a focused regression gap for the cited module; it was not covered by the existing test files reviewed during the sweep.

Lingua principale
TypeScript
Stelle
18
Fork
250
Merge medio
5g 5h
PR unite (30g)
83

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 LabsCrypt/flowfi

Tutte le issue di LabsCrypt/flowfi

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.