Skip to content

feat(admin): show server version, update status, and changelog - #40

Merged
cursor[bot] merged 2 commits into
mainfrom
cursor/server-version-update-status-310b
Jul 27, 2026
Merged

cursor[bot] merged 2 commits into
mainfrom
cursor/server-version-update-status-310b

Conversation

@JonahMMay

Copy link
Copy Markdown

Summary

Admin now surfaces Prairie Server version and update status the same way client apps do.

  • GET /admin/system/build includes optional marketing version, latest_version, update_status, changelog_url, and release_url
  • Cached GitHub Releases check (15m TTL) compares stamped semver when present; SHA-only builds report unknown but still expose latest/changelog when available
  • New Admin → Settings → About tab with version, status, latest, and changelog link
  • Admin sidebar Build footer links to About and highlights when an update is available
  • BUILD_VERSION ldflag wiring in Makefile / Dockerfile / docker workflow

Test plan

  • go test ./internal/buildinfo/ ./internal/api/handlers/ -run 'BuildInfo|UpdateChecker|CompareSemver|Resolve'
  • Vitest: AdminSidebar + AdminSettingsLayout
  • Open /admin/settings?tab=about and confirm version / status / changelog
  • Confirm sidebar Build footer links to About and shows update-available when applicable

AI disclosure

Implemented by a Cursor cloud agent on behalf of the repository owner.

Open in Web Open in Cursor 

Extend /admin/system/build with marketing version and a cached GitHub
Releases check, add an About settings tab with changelog/release links,
and surface update-available state in the admin sidebar Build footer.

Co-authored-by: Jonah May <JonahMMay@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jul 27, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@cursor[bot], you've reached your PR review limit, so we couldn't start this review.

Next review available in: 1 minute

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f7b4206e-2048-4f74-89ea-2751db61d42a

📥 Commits

Reviewing files that changed from the base of the PR and between 4be07cd and ecf6bca.

📒 Files selected for processing (16)
  • .github/workflows/docker.yml
  • Dockerfile
  • Makefile
  • internal/api/handlers/system.go
  • internal/api/handlers/system_test.go
  • internal/buildinfo/buildinfo.go
  • internal/buildinfo/buildinfo_test.go
  • internal/buildinfo/updatecheck.go
  • internal/buildinfo/updatecheck_test.go
  • web/src/components/AdminSidebar.test.tsx
  • web/src/components/AdminSidebar.tsx
  • web/src/hooks/queries/admin/system.ts
  • web/src/lib/adminSettingsSearch.ts
  • web/src/pages/admin-settings/AboutSettings.tsx
  • web/src/pages/admin-settings/AdminSettingsLayout.test.tsx
  • web/src/pages/admin-settings/AdminSettingsLayout.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/server-version-update-status-310b

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

Use a shared changelog URL constant, check Body.Close errors, and cover
update-check edge paths so the package stays above the 90% gate.

Co-authored-by: Jonah May <JonahMMay@users.noreply.github.com>
@cursor
cursor Bot marked this pull request as ready for review July 27, 2026 03:40
@cursor
cursor Bot merged commit 710fa60 into main Jul 27, 2026
7 checks passed
@JonahMMay
JonahMMay deleted the cursor/server-version-update-status-310b branch July 27, 2026 04:36
JonahMMay added a commit that referenced this pull request Sep 29, 2026
Prairie's About page (server version, update status, changelog; #40)
was also unmounted by #174: its layout entry and search index item were
dropped while the page stayed. Re-register it as the first Settings
page and in the overview ids.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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