Skip to content

Remove header times, ANSI timestamps only and always#3899

Merged
DrJosh9000 merged 2 commits into
v4from
remove-header-times
May 7, 2026
Merged

Remove header times, ANSI timestamps only and always#3899
DrJosh9000 merged 2 commits into
v4from
remove-header-times

Conversation

@DrJosh9000
Copy link
Copy Markdown
Contributor

@DrJosh9000 DrJosh9000 commented May 7, 2026

Description

Header times no longer bring joy.
Timestamps disabled no longer brings joy.
Plaintext timestamps never brought joy in the first place.

ANSI timestamps only and always!

Context

https://buildkite-corp.slack.com/archives/C06J07P1TKM/p1778112393905589

Changes

Remove the header times streamer.
Remove the flags for disabling ANSI timestamps and enabling plaintext timestamps.
Remove the somewhat confusing IO indirection in the job runner that enabled having three different timestamping modes with or without header times.

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 used a Keyboardio Atreus to type the changes.

@DrJosh9000 DrJosh9000 requested review from a team as code owners May 7, 2026 00:51
Comment thread agent/job_runner.go Outdated
default:
// processWriter -> {pw, outputWriter};
// pw -> pr -> process.Scanner -> headerTimesStreamer
default: // neither ANSI timestamps nor plaintext timestamps
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should we enforce that everything have ANSI timestamps?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done!

@DrJosh9000 DrJosh9000 changed the title Remove header times Remove header times, ANSI timestamps only and always May 7, 2026
Copy link
Copy Markdown
Contributor

@moskyb moskyb left a comment

Choose a reason for hiding this comment

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

Love to see it

@DrJosh9000 DrJosh9000 force-pushed the remove-header-times branch from e058695 to cf39df6 Compare May 7, 2026 01:25
@DrJosh9000 DrJosh9000 merged commit d13ebba into v4 May 7, 2026
2 of 3 checks passed
@DrJosh9000 DrJosh9000 deleted the remove-header-times branch May 7, 2026 01:30
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.

2 participants