Skip to content

fix: avoid repeated service inspection in list and deploy#355

Open
nick-potts wants to merge 9 commits into
psviderski:mainfrom
nick-potts:feat/n1-improvements
Open

fix: avoid repeated service inspection in list and deploy#355
nick-potts wants to merge 9 commits into
psviderski:mainfrom
nick-potts:feat/n1-improvements

Conversation

@nick-potts

Copy link
Copy Markdown
Contributor

This avoids doing per-service inspection when you can do a single read.

uc service ls now builds services from the broadcast container response instead of calling inspect for every service.

For other read/planning paths this adds a small request scoped cluster snapshot. The snapshot is only used where we are already doing batch read work: logs, image listing, and compose deploy planning. Mutating paths still use the existing fresh reads.

Compose deploy planning now reuses the current service list and domain resolver across all services in the compose file.

@nick-potts nick-potts force-pushed the feat/n1-improvements branch 2 times, most recently from 5f4ea6a to 0e389ef Compare May 5, 2026 06:41
@nick-potts nick-potts force-pushed the feat/n1-improvements branch from 961638f to 9835ed6 Compare May 20, 2026 04:07
@nick-potts nick-potts force-pushed the feat/n1-improvements branch from 9835ed6 to 4cb9104 Compare May 23, 2026 06:34
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.

1 participant