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

Terminalize requests pinned to permanently unavailable agent versions

Aperta
#1,395 2 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
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript

Direzione di ricerca

Start at the invalid-pending-target reconciliation path and trace the existing request lifecycle conventions for terminal status and failure metadata. Add coverage for deleted agents, missing or retired exact versions, queue movement, temporary unavailability, and prevention of silent version substitution. Done means permanently unavailable pinned targets are terminalized while recoverable cases return to pending.

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

Descrizione

Problem

Scheduler reconciliation returns queued requests to pending when their selected registry target disappears or moves queues. Invalid pending targets are currently only logged and reported through telemetry.

A request explicitly pinned to an agent version that has been deleted, removed, or retired can therefore remain pending indefinitely unless that exact target is restored.

This was identified during review of #1381.

Expected behavior

Terminalize requests whose explicitly selected target is permanently unavailable, with a clear failure reason such as agent_version_unavailable.

Preserve recovery for cases that may become valid again:

  • A version that moved to another queue should be returned to pending and dispatched to its current queue.
  • A temporary agent outage should remain recoverable.
  • Requests must not be silently migrated to another agent version because that could change execution behavior and undermine benchmark reproducibility.

Implementation notes

Update invalid-pending-target reconciliation to distinguish permanent invalidity from temporary unavailability. Add coverage for:

  • deleted agent
  • missing or retired exact version
  • queue movement
  • temporary agent unavailability
  • no silent version substitution

Keep the terminal status and failure metadata consistent with existing request lifecycle conventions.

Lingua principale
TypeScript
Stelle
5
Fork
5
Merge medio
4g 19h
PR unite (30g)
15

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 microsoft/scope

Tutte le issue di microsoft/scope

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.