Skip to content

Rename VT/VisualTester to MT/MonkeyTester - #3

Merged
yurivibes merged 1 commit into
masterfrom
refactor/rename-mt
Nov 26, 2026
Merged

yurivibes merged 1 commit into
masterfrom
refactor/rename-mt

Conversation

@yurivibes

Copy link
Copy Markdown
Owner

Renames VT/VisualTester naming to MT/MonkeyTester (spec rename-mt.md, done with rename_mt.py).

What was renamed

  • Env vars passed to the app repo's build script (.monkeytester/build-*.sh): VT_PLATFORM, VT_OUTPUT, VT_BRANCH, VT_CASES, VT_REQUEST_ID -> MT_PLATFORM, MT_OUTPUT, MT_BRANCH, MT_CASES, MT_REQUEST_ID (runner.py, README table, error/log text).
  • Test-case folder in app repos: visual-tests/ -> mt-tests/ (sources/__init__.py CASES_DIR, the --tests-dir passed to submit.py, GitHub fallback docstring).
  • Example build scripts it serves (templates/build-android.sh, templates/build-ios.sh): MT_* env vars; the iOS script's work dir build/visual-test -> build/monkeytester.
  • Tests and fixtures (tests/test_build_local.py, tests/fake_gitea.py) updated to match.
  • No paths moved.

Externally visible changes

  • Build scripts in app repos must read MT_*; VT_* are no longer set (no fallback).
  • Cases are discovered under mt-tests/ in the app repo, and that is the --tests-dir sent to the viewer. A repo still on visual-tests/ shows zero cases.

Hard cut. Merge this together with the other rename-mt PRs (app repos renaming their .monkeytester/build-*.sh env vars and visual-tests/ -> mt-tests/, and the MonkeyTester viewer).

Gates

  • python3 -m unittest discover -s tests (the CI job): Ran 80 tests, OK.
  • bash -n on both templates: OK.
  • Leftover grep from the spec: 0 matches; no tracked path contains visual/vt-/vt_.

Deployment steps (after merge, not done here)

  1. Merge at the same time as the app-repo rename PRs and the viewer PR.
  2. Linux host: git pull --ff-only in the build-local checkout, then restart monkeytester-build-local (systemd user unit). On a Mac install, pull and launchctl kickstart -k the com.blackjackfruit.monkeytester-build-local agent.
  3. The unit/plist names are unchanged. If a drop-in or plist sets any VT_* var, rename it to MT_*.

@yurivibes
yurivibes merged commit df565b4 into master Nov 26, 2026
1 check 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.

1 participant