Skip to content

fix(ui): omit unconfigured dashboard hosts on v1.7 - #1266

Merged
scttbnsn merged 2 commits into
dev/v1.7from
fix/v1.7-dashboard-hosts
Oct 3, 2026
Merged

scttbnsn merged 2 commits into
dev/v1.7from
fix/v1.7-dashboard-hosts

Conversation

@scttbnsn

@scttbnsn scttbnsn commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Forward-port #1265 to the 1.7 line. The dashboard no longer invents a connected Local Docker host when no local watcher is configured. Agent-only fleets show their configured agents; existing addresses, statuses and container counts are unchanged.

The implementation and focused computed tests match the 1.6 fix exactly. All 362 dashboard/host tests, TypeScript and formatting checks passed with the locked 1.7 dependencies. The full normal pre-push gate passed in 319.12 seconds, including configured app/UI coverage and both builds. The combined 1.7 integration rehearsal also passed its full local gate. Docker and post-fix browser verification on 1.7 are not claimed.

Ready for source review at e3179e0. The corresponding 1.6 fix has completed review, but this PR still needs its own review. Merge after the 1.6 counterpart and normal review/CI gates. Image security remains blocked; no auto-merge is enabled.

Changelog

  • 🐛 Fixed buildWatcherServerRows to return no server rows when no non-agent watcher is configured.
  • 🗑️ Removed the synthesized Local server row for unix:///var/run/docker.sock.
  • 🔧 Updated dashboard tests for configured local watchers, empty watcher inventories, stale local containers, and agent-only fleets.
  • 🔧 Added coverage for agent connection statuses and unchanged container counts.

Concerns

  • Confirm standard review and CI gates before merging.
  • Merge after the matching 1.6 fix if branch order requires it.
  • Docker and post-fix browser verification are not confirmed.
  • Review findings and severity counts are unavailable from the supplied evidence.

@vercel

vercel Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
drydock-website Ready Ready Preview Oct 3, 2026 3:04pm UTC
drydockdemo-website Ready Ready Preview Oct 3, 2026 3:04pm UTC

@coderabbitai

coderabbitai Bot commented Sep 18, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⛔ Files ignored due to path filters (1)
  • CHANGELOG.md is excluded by !CHANGELOG.md
⚙️ Run configuration
  • Configuration used: Repository: CodesWhat/drydock/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6e40fbbf-b6f8-4633-af02-994b5229b868
📥 Commits

Reviewing files that changed from the base of the PR and between e3179e0 and 7071239.

⛔ Files ignored due to path filters (1)
  • CHANGELOG.md is excluded by !CHANGELOG.md

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: CodesWhat/drydock/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 09c7d3f2-f4b0-48d1-a798-01d89381ef50

📥 Commits

Reviewing files that changed from the base of the PR and between 9b40cc1 and e3179e0.

⛔ Files ignored due to path filters (1)
  • CHANGELOG.md is excluded by !CHANGELOG.md
📒 Files selected for processing (3)
  • ui/src/views/dashboard/useDashboardComputed.ts
  • ui/tests/views/DashboardView.spec.ts
  • ui/tests/views/dashboard/useDashboardComputed.spec.ts

Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

buildWatcherServerRows now returns only rows derived from configured non-agent watchers. It no longer creates a default Local row with unix:///var/run/docker.sock. Tests now cover empty inventories, stale local containers, configured local watchers, and agent-only fleets. Existing tests that require Local rows now configure the local watcher explicitly.

Priority: ⬇️ Low

Change: Bug fix

🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Sep 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@scttbnsn
scttbnsn marked this pull request as ready for review September 19, 2026 00:51
@scttbnsn

Copy link
Copy Markdown
Contributor Author

@coderabbitai review

First source review requested for exact head e3179e0 after the reported quota window. Threat model: a Docker operator dashboard displaying configured watcher and host inventory. This patch removes the phantom Local host when no local watcher exists; it does not change authentication, action routing or permissions. Please review the scoped diff and regression tests. The matching 1.6 fix is PR #1265; this backport remains behind it in merge order.

@coderabbitai

coderabbitai Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

@scttbnsn Review the scoped diff and regression tests for #1266.

✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Reviewed the dashboard-only backport and regression tests at this exact head. CodeRabbit completed its first source pass with no actionable findings. Local full and 1.7 integration gates passed; required hosted checks are green except the existing Grype image blocker. Keep this behind the matching 1.6 fix in PR #1265. This approval does not waive the image security gate.

@vercel

vercel Bot commented Oct 3, 2026

Copy link
Copy Markdown

Deployment failed for project drydockdemo-website with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/codeswhat?upgradeToPro=build-rate-limit

This branch was successfully deployed

2 active (1 outdated) deployments
Preview – drydock-website — 70712390 Deployed Oct 3, 2026 by vercel[bot]
Preview – drydockdemo-website — e3179e0f Deployed Sep 18, 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