Rename PYAUTOFIT_TEST_MODE → PYAUTO_TEST_MODE#46
Merged
Conversation
autoconf/test_mode.py reads PYAUTO_TEST_MODE only, so the old name was a silent no-op — integration runs were not actually bypassing the sampler. Rename every remaining reference to match the reader. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
autoconf/test_mode.pyreads onlyPYAUTO_TEST_MODE, so remainingPYAUTOFIT_TEST_MODEreferences were silent no-ops — CI and integration runs were not actually bypassing the sampler. Rename every occurrence to match the reader.API Changes
Environment variable renamed:
PYAUTOFIT_TEST_MODE→PYAUTO_TEST_MODE. Library reader is unchanged (already only accepts the new name), so this only affects build/config/shell/script callsites that had been silently no-op'ing.See full details below.
Test Plan
grep -rn PYAUTOFIT_TEST_MODEacross the affected repos — 0 matches after the renameautofit_workspacesmoke suite (7 scripts) re-run with the updated env_vars.yaml — all pass, Nautilus drops from ~60s to 4.3s now that the sampler-skip actually triggersFull API Changes (for automation & release notes)
Renamed
PYAUTOFIT_TEST_MODE→PYAUTO_TEST_MODEin every config/script/doc that still mentioned it.Migration
.claude/settings.local.json, or CI step that setsPYAUTOFIT_TEST_MODE=..., rename it toPYAUTO_TEST_MODE=.... Old name is now a no-op (and always was — autoconf never read it after the earlier migration).🤖 Generated with Claude Code