Skip to content

test: remove external compilation of db cleaner entirely#20240

Merged
spikecurtis merged 1 commit into
mainfrom
spike/internal-1026-magic-exec
Oct 10, 2025
Merged

test: remove external compilation of db cleaner entirely#20240
spikecurtis merged 1 commit into
mainfrom
spike/internal-1026-magic-exec

Conversation

@spikecurtis
Copy link
Copy Markdown
Contributor

@spikecurtis spikecurtis commented Oct 9, 2025

fixes coder/internal#1026

Thru a (perhaps too-) clever hack of init() functions, I've managed to remove the need to separately compile the cleaner binary. This should fix the flakes we are seeing were the binary compilation takes 10s of seconds on macOS. The cleaner is encorporated directly into the test binary and we self-exec as the subprocess.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@spikecurtis spikecurtis marked this pull request as ready for review October 9, 2025 13:05
@spikecurtis spikecurtis force-pushed the spike/internal-1026-magic-exec branch from 6844eec to e869de6 Compare October 9, 2025 13:06
@spikecurtis spikecurtis merged commit 2ded9d6 into main Oct 10, 2025
45 of 47 checks passed
Copy link
Copy Markdown
Contributor Author

Merge activity

@spikecurtis spikecurtis deleted the spike/internal-1026-magic-exec branch October 10, 2025 06:02
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 10, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flake: Database cleaner subprocess timeout on macOS - TestScheduleShow, TestCli

2 participants