Skip to content

Rename PYAUTOFIT_TEST_MODE → PYAUTO_TEST_MODE#46

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/pyauto-test-mode-rename
Apr 18, 2026
Merged

Rename PYAUTOFIT_TEST_MODE → PYAUTO_TEST_MODE#46
Jammy2211 merged 1 commit into
mainfrom
feature/pyauto-test-mode-rename

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

autoconf/test_mode.py reads only PYAUTO_TEST_MODE, so remaining PYAUTOFIT_TEST_MODE references 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_MODEPYAUTO_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_MODE across the affected repos — 0 matches after the rename
  • autofit_workspace smoke 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 triggers
Full API Changes (for automation & release notes)

Renamed

  • Env var PYAUTOFIT_TEST_MODEPYAUTO_TEST_MODE in every config/script/doc that still mentioned it.

Migration

  • If you have a local shell alias, .claude/settings.local.json, or CI step that sets PYAUTOFIT_TEST_MODE=..., rename it to PYAUTO_TEST_MODE=.... Old name is now a no-op (and always was — autoconf never read it after the earlier migration).

🤖 Generated with Claude Code

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>
@Jammy2211 Jammy2211 added the pending-release Merged PR awaiting inclusion in the next release build label Apr 18, 2026
@Jammy2211
Jammy2211 merged commit 6ba1b61 into main Apr 18, 2026
@Jammy2211
Jammy2211 deleted the feature/pyauto-test-mode-rename branch April 18, 2026 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release Merged PR awaiting inclusion in the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant