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

ADR-0019 cites a nonexistent test and omits the ones that pin its decisions

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
92/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

Modifica project-docs/adr/0019-azure-devops-as-a-second-transport.md direttamente. Esegui go test ./internal/deps/ -list '.*' | grep -E 'ADO|ADR_0019|Survey' e confronta i test elencati con l’ADR. Il lavoro è completato quando il test inesistente è stato rimosso e sono inclusi tutti e cinque i test nominati nell’issue.

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

Descrizione

documentation

Follow-up from the review of #52.

The Consequences section of project-docs/adr/0019-azure-devops-as-a-second-transport.md lists tests that don't match the suite at 52a5544:

  • It cites TestRefresh_ADORepinDropsTheRecordedType, which does not exist. The re-pin behaviour is pinned by TestRefresh_ADORepinRetypesTheRef and TestRefresh_ADORepinToACommitTypesItAsACommit.
  • It leaves out tests that pin decisions the ADR records:
    • TestADR_0019_RefTypeIsRecordedOnlyWhereItIsNeeded (the ref-type key is recorded for ADO and omitted for GitHub)
    • TestRefresh_ADOHeaderWithoutRefTypeResolvesIt (a header without the key is resolved on refresh)
    • TestSurvey_ResolutionAbortsOnUnusableCLI (the ref-type lookup stops the batch when the CLI is unusable)

Check with:

go test ./internal/deps/ -list '.*' | grep -E 'ADO|ADR_0019|Survey'

Fix: make the ADR's test list match the suite. ADR-0019 isn't merged yet, so editing it in place is fine; the supersede-don't-edit rule applies only after it lands.

Lingua principale
Go
Stelle
34
Fork
5
Merge medio
5h 7m
PR unite (30g)
6

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 stacklok/modelith

Tutte le issue di stacklok/modelith

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.