Skip to content

[Bug]: HTML reports in dot-prefixed project folders open as Not Found #38209

Closed

Description

@StiensWout

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Open a project containing an HTML report inside a dot-prefixed folder, such as .reports/report.html.
  2. Open a thread in that project.
  3. Open the file picker with Control+P or Command+P.
  4. Search for report.html.
  5. Select the report to open its rendered preview.

Expected behavior

The preview displays the HTML report.

Actual behavior

The preview displays Not Found even though the report exists and can be read as source.

report preview

failure

Impact

Minor bug or occasional failure. Users opening HTML reports stored in dot-prefixed project folders encounter this on every rendered preview.

Version or commit

main at d085ee5d15. The cause is at apps/server/src/assets/AssetAccess.ts:339.

Environment

Linux x64 boat.dev default machine, a fresh checkout.

Logs or stack traces

Quarterly report
Automated repro

Fails in 2 of 2 runs on main: apply the patch with git apply, then run the command.

diff --git a/scripts/scenarios/html-report-in-dot-folder.e2e.ts b/scripts/scenarios/html-report-in-dot-folder.e2e.ts
new file mode 100644
--- /dev/null
+++ b/scripts/scenarios/html-report-in-dot-folder.e2e.ts
@@ -0,0 +1,27 @@
+import { expect } from "e2e";
+
+import { test, WEB } from "./t3.ts";
+
+test(
+  "An explicitly opened HTML report in a dot-prefixed folder renders its contents",
+  WEB,
+  async ({ t3, app, screen, browser }) => {
+    const project = await t3.project("demo", {
+      ".reports/report.html": "<!doctype html><html><body><h1>Quarterly report</h1></body></html>",
+    });
+    const thread = await t3.thread({ project, title: "Review report", messages: ["Start"] });
+    await t3.open(thread);
+    await expect(screen.getByText("fixture turn complete", { exact: false })).toBeVisible();
+
+    await browser.keyboard.press("Control+p");
+    await screen.getByPlaceholder("Search files…").fill("report.html");
+    await screen.getByRole("option", "report.html", { exact: false }).tap();
+
+    const document = browser.frameLocator('iframe[title=".reports/report.html"]');
+    try {
+      await expect(document.locator("body")).toContainText("Quarterly report");
+    } finally {
+      await app.screenshot("report-preview");
+    }
+  },
+);
pnpm scenarios:prove scripts/scenarios/html-report-in-dot-folder.e2e.ts --base main

Workaround

No response

Activity

  1. added
    vouch:trusted
    on Nov 17, 2026
  2. added a commit that references this issue on Nov 19, 2026
    cd5c0d7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    vouch:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions