Skip to content

Make CI::Queue::Bisect#config public - #424

Merged
bitwise-aiden merged 2 commits into
mainfrom
ba-update-bisect-config
Aug 18, 2026
Merged

Make CI::Queue::Bisect#config public#424
bitwise-aiden merged 2 commits into
mainfrom
ba-update-bisect-config

Conversation

@bitwise-aiden

Copy link
Copy Markdown
Contributor

Every other queue exposes config publicly through CI::Queue::Common. Consumers configure the queue while tests load (e.g. setting config.test_id_normalizer from a Rails initializer), and since bisect_command assigns Minitest.queue before loading tests, the private reader raises NoMethodError and aborts the bisect.

bitwise-aiden and others added 2 commits August 18, 2026 13:03
Every other queue exposes `config` publicly through `CI::Queue::Common`.
Consumers configure the queue while tests load (e.g. setting
`config.test_id_normalizer` from a Rails initializer), and since
`bisect_command` assigns `Minitest.queue` before loading tests, the private
reader raises `NoMethodError` and aborts the bisect.

Co-authored-by: Aiden Storey <aiden.storey@shopify.com>
Configuration#initialize does not accept failing_test as a keyword;
set it via the accessor instead, and use a Tempfile rather than a
hardcoded /tmp path.

Assisted-By: devx/a7dfa242-697c-48e5-8e5d-65c25452ceff
@bitwise-aiden
bitwise-aiden merged commit c7ef0fd into main Aug 18, 2026
79 of 82 checks passed
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