Skip to content

e2e tests: Include job logs in agent logs - #4176

Merged
DrJosh9000 merged 1 commit into
mainfrom
e2e-job-logs-visible
Aug 5, 2026
Merged

e2e tests: Include job logs in agent logs#4176
DrJosh9000 merged 1 commit into
mainfrom
e2e-job-logs-visible

Conversation

@DrJosh9000

@DrJosh9000 DrJosh9000 commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Description

When an e2e test fails, the failed pipeline is still deleted, which makes the job logs inaccessible. This flag includes the job logs in the agent's stdout.

Context

Noticed while (struggling with) debugging e2e tests.

Changes

Add --write-job-logs-to-stdout to the agent being run for each e2e test.

Testing

  • Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
  • Code is formatted (with go tool gofumpt -extra -w .)

Disclosures / Credits

I did not use AI tools to write this 1 line

@DrJosh9000
DrJosh9000 requested review from a team as code owners August 5, 2026 03:22
@DrJosh9000 DrJosh9000 added the internal Non-user facing, internal change. label Aug 5, 2026
@DrJosh9000
DrJosh9000 enabled auto-merge August 5, 2026 03:42
@DrJosh9000
DrJosh9000 merged commit b9d3b66 into main Aug 5, 2026
5 of 6 checks passed
@DrJosh9000
DrJosh9000 deleted the e2e-job-logs-visible branch August 5, 2026 03:44
@buildsworth-bk-app
buildsworth-bk-app Bot removed the request for review from buildsworth-bk August 5, 2026 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Non-user facing, internal change.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant