Skip to content

fix(herdr): load panel resources progressively - #855

Merged
runkids merged 2 commits into
mainfrom
runkids/herdr-progressive-loading
Nov 11, 2026
Merged

runkids merged 2 commits into
mainfrom
runkids/herdr-progressive-loading

Conversation

@runkids

@runkids runkids commented Nov 11, 2026

Copy link
Copy Markdown
Owner

Type

  • Bug fix
  • Small improvement (docs, typo, minor refactor)
  • Feature proposal (proposals/ only)
  • Approved feature or large change

Linked Issue

No linked issue; fixes loading and spinner problems reported directly by the maintainer.

Summary

 refresh panel
- wait for one sequential snapshot per scope
+ read each inventory independently and publish completed results
+ read Source Git state without waiting for plugins
+ retain cached rows, with pending/failed sync states marked unconfirmed
  • Keep slow native plugin inventories from blocking the entire Overview and Library.
  • Show unknown counts as …, preserve previously actionable Overview rows in an unconfirmed section, and scope read errors to the selected scope. Previews and Source dialogs preserve unknown/error states too.
  • Put the machine-upgrade spinner on the version button, not Pull and sync; disable unrelated actions without spinning.
  • Update the panel README/recipe and add loader, model, and rendered-view regressions.

Evidence

  • Before: A deliberately unresolved plugin read prevented any partial snapshot from publishing. The rendered upgrade test failed because the update button did not own the spinner. A cached actionable Overview row disappeared during pending/failed refreshes.
  • After: Deferred-read and rendered-state regressions pass, including independent global/project reads, cached-data retries, unknown previews, scoped errors, Source failures, retained Overview rows, and action-specific spinners.
  • make check passed inside the devcontainer, including all 135 Herdr tests.
  • herdr-app check herdr/skillshare/mods/skillshare passed.
  • git diff --check and the AI context-router check passed.
  • Pre-PR correctness, rules, spec, consumer, and simplification reviews completed; confirmed findings fixed.

Not covered

  • Live visual/screenshot acceptance and live native-client timing were not performed. The currently installed panel was not replaced.
  • Dashboard/website builds were not run; neither application is changed.

Merge Danger

Door: Two-way — revert the panel changes; no configuration/data migration.

Blast Radius: Herdr — resource loading, unconfirmed-state rendering, and machine action feedback only. CLI behavior and data formats are unchanged.

Checklist

  • I have read CONTRIBUTING.md, including its AI-assisted contributions section
  • I have reviewed every line of the diff and can explain it
  • Tests included and passing (make check)
  • No unrelated changes in the diff
  • Scope is focused — Herdr panel responsiveness and truthful loading/action feedback
  • Live visual acceptance — not performed; installed panel remains unchanged

Publish independent resource and source reads as they finish so a slow native plugin inventory cannot block the entire panel. Preserve cached rows while keeping pending and failed sync states explicitly unconfirmed across scopes and previews.

Keep machine upgrade and pull/sync spinners on their owning actions, and cover partial reads, retries, scoped failures, and rendered states with regression tests.
Keep previously actionable cached rows in an unconfirmed section while their reads are pending or failed, rather than hiding them when their sync state becomes unknown. Cover both states with a rendered regression test.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T10:24:45.182388Z d8321af PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@runkids
runkids merged commit dab075c into main Nov 11, 2026
9 checks passed
@runkids
runkids deleted the runkids/herdr-progressive-loading branch November 11, 2026 11:58
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