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

enhancement(registry): tighten adapter types, comments, and lifecycle coverage

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend, testing

Direzione di ricerca

Leggi cdk/src/handlers/shared/registry/agent-registry-client.ts e cdk/src/handlers/registry-provisioning/index.ts, usando PR #779 come contesto. Traccia il ciclo di vita dell’eliminazione e il confine di RegistryClient prima di valutare le modifiche ai tipi. Il lavoro è completato quando i commenti sono accurati, i tipi degli adapter riflettono i loro consumer e la coverage dimostra che gli errori GetRegistry non ritentabili che non sono 404 vengono rilanciati.

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

Descrizione

enhancement registry

Context

Consolidated non-blocking clarity and coverage follow-ups from the final review of PR #779.

Comment and documentation corrections

  • Distinguish MCP _meta storage from SKILL x-abca-runtime frontmatter in the adapter header.
  • Correct the claim that duplicate YAML keys are parser errors under js-yaml with { json: true }; the emitter prevents key injection by quoting/escaping caller-controlled values.
  • Include SKILL in the resolve path commentary.
  • Clarify that waitPastCreating waits only until the record leaves CREATING, not until a terminal lifecycle state.
  • Clarify that autoApprove gates only the final approval call; create and submit always occur.

Type cleanup

  • Evaluate a discriminated representation linking registry kind to its payload variant instead of a broad kind: string shape.
  • Simplify DeleteAttempt to the states its consumers need, or document why all current states are valuable.

Keep any public RegistryClient port change separately reviewable and compatible with the architecture boundary.

Coverage gap

Add a delete-lifecycle test proving isComplete rethrows a non-retryable, non-404 GetRegistry failure rather than treating it as absent or retryable.

References

  • PR #779
  • cdk/src/handlers/shared/registry/agent-registry-client.ts
  • cdk/src/handlers/registry-provisioning/index.ts
Lingua principale
TypeScript
Stelle
151
Fork
48
Merge medio
1g 15h
PR unite (30g)
22

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 aws-samples/sample-autonomous-cloud-coding-agents

Tutte le issue di aws-samples/sample-autonomous-cloud-coding-agents

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.