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

Deleting a link shouldn't fail if the transceiver isn't present

Aperta
#375 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

The issue points to dpd/src/link.rs lines 1785-1799 where the transceiver's MPN is fetched. Start by examining the link reconciler logic around link deletion. Look for error handling on Missing transceiver and modify to allow deletion to proceed. Run existing tests for link deletion to ensure the change doesn't break existing functionality.

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

Descrizione

Dendrite's link reconciler attempts to match the configured and "plumbed" settings for each link. One of the first things it does is try to fetch transceiver's MPN here:

https://github.com/oxidecomputer/dendrite/blob/247502812015b409d33240b836d5bf242817453d/dpd/src/link.rs#L1785-L1799

That fails with Err(DpdError::Missing) if the transceiver isn't present. That's reasonable when trying to create a link, but it blocks deleting a link if the transceiver has been unplugged. We should continue attempting to delete the link in this case.

Lingua principale
Rust
Stelle
21
Fork
3
Merge medio
10h 45m
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 oxidecomputer/dendrite

Tutte le issue di oxidecomputer/dendrite

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.