Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#375 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 5 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Rust
Stars
20
Forks
3
Avg merge
8h 29m
Merged PRs (30d)
2

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from oxidecomputer/dendrite

All issues in oxidecomputer/dendrite

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.