Skip to content

Fix closed issue dashboard state summaries#55

Merged
nickbeau merged 2 commits into
mainfrom
feature/closed-state-distribution
Apr 7, 2026
Merged

Fix closed issue dashboard state summaries#55
nickbeau merged 2 commits into
mainfrom
feature/closed-state-distribution

Conversation

@nickbeau
Copy link
Copy Markdown
Contributor

@nickbeau nickbeau commented Apr 7, 2026

Summary

  • refresh tracked issue-cache state on each tick so previously seen GitHub issues move to Closed in the durable dashboard/API summaries
  • render tracked issue rows from the cached tracker state instead of hardcoding Open
  • add orchestration, API, and dashboard asset regressions plus a user-guide note

Testing

  • dotnet build Symphony.slnx --warnaserror
  • dotnet test Symphony.slnx --no-build

Spec

  • Section 8.5 Reconciliation State Refresh
  • Section 13.7.1 Human-Readable Dashboard (/)
  • Section 13.7.2 JSON REST API (/api/v1/*)

Closes #54

@nickbeau nickbeau marked this pull request as ready for review April 7, 2026 02:40
Copilot AI review requested due to automatic review settings April 7, 2026 02:40
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates durable tracked-issue summaries to correctly reflect issues that have transitioned to Closed, ensuring both the dashboard (/) and state API (/api/v1/state) remain accurate even after issues leave the active polling set.

Changes:

  • Refreshes persisted tracked-issue cache state via per-tick orchestration updates.
  • Renders tracked-issue dashboard rows using cached state (instead of hardcoding Open).
  • Adds integration regressions covering orchestration refresh, /api/v1/state distribution, and dashboard JS rendering, plus a user guide note.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/Symphony.Integration.Tests/OrchestrationTickServiceTests.cs Adds an integration test + harness helper to verify cached issue state refreshes to Closed.
tests/Symphony.Integration.Tests/ApiSmokeTests.cs Adds smoke coverage for /api/v1/state tracked distribution including Closed, plus dashboard JS regression assertions.
src/Symphony.Host/wwwroot/assets/dashboard.js Uses issue.state from cached tracker state for tracked issue rendering (removes hardcoded Open).
src/Symphony.Host/Services/OrchestrationTickService.Persistence.cs Introduces persisted cache “state refresh” routine for previously seen issues.
src/Symphony.Host/Services/OrchestrationTickService.cs Invokes tracked issue cache state refresh during ticks when tracker access is valid.
docs/UserGuide.md Documents that tracked issue summaries refresh cached GitHub states so Closed counts persist.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Symphony.Host/Services/OrchestrationTickService.Persistence.cs
Comment thread src/Symphony.Host/Services/OrchestrationTickService.Persistence.cs
@nickbeau nickbeau merged commit 789fed0 into main Apr 7, 2026
2 checks passed
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.

Issue State Distribution should understand closed issues

2 participants