Skip to content

Remove discoverable from silo create and silo list - #3392

Merged
david-crespo merged 2 commits into
mainfrom
remove-discoverable
Sep 23, 2026
Merged

david-crespo merged 2 commits into
mainfrom
remove-discoverable

Conversation

@david-crespo

@david-crespo david-crespo commented Sep 22, 2026 •

Copy link
Copy Markdown
Collaborator

Following oxidecomputer/omicron#11296

I didn't realize this, but the discoverable column on the table has always been pointless because the list would never contain any non-discoverable ones — this is the entire point of the discoverable flag. So I removed it from the table. There can still be non-discoverable silos in existing systems, but removing this column doesn't change anything about the operator's ability to find them.

🤖 Why the silos list can never contain a non-discoverable silo

The external silo_list endpoint goes through Nexus::silos_list, which hardcodes Discoverability::DiscoverableOnly with no role-based override (nexus/src/app/silo.rs#L175), and the datastore turns that into a discoverable = true filter (nexus/db-queries/src/db/datastore/silo.rs#L397). Non-discoverable silos may exist on real systems, both the recovery silo created during rack setup (nexus/db-queries/src/db/datastore/rack.rs#L465) and any created through the API before omicron#11296 removed the field, but they are hidden from the list regardless, so a column there carries no information.

@vercel

vercel Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
console Ready Ready Preview Sep 22, 2026 10:43pm UTC

Request Review

@david-crespo david-crespo changed the title Remove discoverable checkbox from silo create form Remove discoverable from silo create and silo list Sep 22, 2026

@charliepark charliepark left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@charliepark

Copy link
Copy Markdown
Contributor

Looks like we can delete app/table/cells/BooleanCell.tsx since it isn't used anywhere now

@david-crespo

Copy link
Copy Markdown
Collaborator Author

Test failure is a flake, will merge on re-run.

@david-crespo
david-crespo merged commit 14ec752 into main Sep 23, 2026
11 of 12 checks passed
@david-crespo
david-crespo deleted the remove-discoverable branch September 23, 2026 14:52

This branch was successfully deployed

1 active deployment
Preview — 330d0a65 Deployed Sep 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants