You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Dashboard] Resolve relative persistence directories from the AppHost #19782
Hosting forwards a relative Dashboard data directory unchanged and launches the Dashboard with the managed bundle directory as its working directory. DashboardRunStore then resolves Path.GetFullPath(dataRoot) in that directory.
A path configured relative to the AppHost can therefore land under the installed or extracted Dashboard bundle, or fail when that location is read-only.
Expected Behavior
A relative data directory should resolve from a documented AppHost/project context, or persistent data directories should be required to be absolute.
Steps To Reproduce
Configure an AppHost Dashboard data directory with a relative path such as ./dashboard-data.
Start the AppHost using the bundled Dashboard.
Inspect the resolved Dashboard database path.
It is relative to the Dashboard binary's working directory rather than the AppHost.
Exceptions (if any)
The startup can fail when the resolved bundle location is read-only.
Aspire doctor output
Aspire CLI 13.6.0-pr.18924.g5ee63941
Windows 10.0.26200 and Ubuntu 24.04.3
Anything else?
Related to #18924. Source: src/Aspire.Hosting/Dashboard/DashboardEventHandlers.cs:284-326,615-623 and src/Aspire.Dashboard/ServiceClient/DashboardRunStore.cs:538-545. Previously raised during PR review and still present on current main.
Area: area-dashboard, area-hosting Kind: bug Repro: yes-minimal — see the Steps To Reproduce section Affected version(s): 13.6.0-pr.18924 (pre-release; feature unshipped — latest shipped line: 13.5.x) Severity: S3 — relative Dashboard data dir resolves against the bundle working dir and can fail when read-only; workaround: use an absolute path
Urgency: ⚪ backlog — no milestone
Reason: follow-up correctness bug on the in-development dashboard persistence feature (PR #18924, unshipped 13.6), spanning hosting + dashboard; not a regression vs a shipped release and has a workaround. Backlog while 13.6 stabilizes (open milestones: Backlog / 13.5.x / 13.6 / 14.0).
Activity
joperezr commentedon Aug 28, 2026
🤖 Aspire triage pass — 2026-08-28 19:30 UTC
Area:
area-dashboard,area-hostingKind: bug
Repro: yes-minimal — see the Steps To Reproduce section
Affected version(s): 13.6.0-pr.18924 (pre-release; feature unshipped — latest shipped line: 13.5.x)
Severity: S3 — relative Dashboard data dir resolves against the bundle working dir and can fail when read-only; workaround: use an absolute path
Urgency: ⚪ backlog — no milestone
Reason: follow-up correctness bug on the in-development dashboard persistence feature (PR #18924, unshipped 13.6), spanning hosting + dashboard; not a regression vs a shipped release and has a workaround. Backlog while 13.6 stabilizes (open milestones: Backlog / 13.5.x / 13.6 / 14.0).
Suggested owner(s): James Newton-King (@JamesNK) (primary), backup Adam Ratzman (@adamint)
Evidence:
area-dashboard— merged Add SQLite persistence and run history to the Dashboard #18924 (the persistence/resume feature these follow-ups derive from), plus Harden Markdown URL validation #19698, Use SQLite for dashboard telemetry filtering #19661, Fix dashboard resource subscription race #19534 and ~37 more in the last 90darea-dashboard(last 180d)area-dashboardmerges (Revert "Update parent resource state from replicas (#18642)" #19545, Fix Dashboard HTML language under invariant culture #19331, Fix dashboard accessibility regressions #19027 …) and 10 closed-completed issuesConfidence: high
Needs human?: no
Resolve relative dashboard data directory against the AppHost directo…