Skip to content

Commit 8cc1e3f

Browse files
committed
Use a non-hidden dir for captured server logs
actions/upload-artifact skips hidden files by default, so the .server directory never made it into the CI artifact. Rename to server-logs so the boot log actually ships with failed runs.
1 parent c9e3096 commit 8cc1e3f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

e2e/setup/cloud.globalsetup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { RUNS_DIR } from "../src/scenario";
2222
// passing both would silently swallow the verbose stream into the file).
2323
const bootLogFile = process.env.E2E_VERBOSE
2424
? undefined
25-
: resolve(RUNS_DIR, "cloud", ".server", "boot.log");
25+
: resolve(RUNS_DIR, "cloud", "server-logs", "boot.log");
2626

2727
export default async function setup(): Promise<(() => Promise<void>) | void> {
2828
if (process.env.E2E_CLOUD_URL) {

e2e/setup/selfhost.globalsetup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { RUNS_DIR } from "../src/scenario";
1818
// E2E_VERBOSE).
1919
const bootLogFile = process.env.E2E_VERBOSE
2020
? undefined
21-
: resolve(RUNS_DIR, "selfhost", ".server", "boot.log");
21+
: resolve(RUNS_DIR, "selfhost", "server-logs", "boot.log");
2222

2323
export default async function setup(): Promise<(() => Promise<void>) | void> {
2424
if (process.env.E2E_SELFHOST_URL) {

0 commit comments

Comments
 (0)