Use InstanceNetworkInterfaceListAllPages for NIC listing
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 86/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- go
- Domain
- infrastructure
Research direction
Start in internal/provider/instances_v2.go and trace the NIC listing through the oxideInstanceClient interface. Run the relevant provider tests, then update the test fakes and verify that the interface and mocks use the all-pages listing and cannot silently truncate NICs.
Written by the indexing model from the issue text.
Description
Context
InstanceMetadata (internal/provider/instances_v2.go) calls InstanceNetworkInterfaceList and reads only the first results page. Oxide's per-instance NIC cap makes this safe in practice today, but the oxide.go SDK provides InstanceNetworkInterfaceListAllPages, which removes the question permanently.
Scope
Replace the single-page call with the AllPages variant; update the oxideInstanceClient interface and test fakes accordingly.
Done when
NIC listing cannot silently truncate, and mocks/tests reflect the new interface method.
- Dominant language
- Go
- Stars
- 6
- Forks
- 2
- Avg merge
- 3h
- Merged PRs (30d)
- 6
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from oxidecomputer/oxide-cloud-controller-manager
-
Documentation Kubernetes Cloud Controller Manager (CCM)
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Documentation Kubernetes Cloud Controller Manager (CCM)
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Bug Kubernetes Cloud Controller Manager (CCM)
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Bug Kubernetes Cloud Controller Manager (CCM)
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oxidecomputer/oxide-cloud-controller-manager#275 · 1 comment ·
-
Bug Kubernetes Cloud Controller Manager (CCM)
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
oxidecomputer/oxide-cloud-controller-manager#267 · 1 comment ·
All issues in oxidecomputer/oxide-cloud-controller-manager
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
golang/go#82033 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
FootprintAI/Containarium#2338 ·
Maintainers usually reply within 1 day
-
[Bug]: core doesn't build standalone on dev since a17068054 (go-mp3 require dropped, go.sum pruned)Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
SagerNet/sing-openvpn#11 ·
-
priority: P3 type: devops
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
jiegui2025/hwspec#57 ·
Maintainers usually reply within 1 day