Skip to content

test: pin the golden-layout test to POSIX within the 300-line budget (IR-27b) - #334

Merged
jothimani-rajendran merged 2 commits into
mainfrom
ir-27b-golden-posix-budget
Oct 27, 2026
Merged

jothimani-rajendran merged 2 commits into
mainfrom
ir-27b-golden-posix-budget

Conversation

@jothimani-rajendran

@jothimani-rajendran jothimani-rajendran commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

What

Lands the chock#333 pin (hook_dir.build_windows -> False in the golden-layout test, regen path included) with tests/test_plugin_install_targets.py at 299 lines (budget 300).

How

The pin and the golden compare move into golden_posix in tests/packaging_helpers.py; the test is one call. No golden file changes; no other test touched.

Checks

  • pytest tests/test_repo_standards.py tests/test_plugin_install_targets.py: 44 passed
  • ruff check tests/ and ruff format --check on both files: clean

Supersedes #333.

…ne budget (IR-27b)

The golden file is the POSIX form on every platform, including under
CHOCK_REGEN_GOLDENS=1. The pin (hook_dir.build_windows -> False) and the
compare live in packaging_helpers.golden_posix, so
tests/test_plugin_install_targets.py stays under 300 lines. Supersedes #333.

Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
@jothimani-rajendran
jothimani-rajendran marked this pull request as ready for review October 26, 2026 03:59
The base ruleset requires the head to be up to date before a merge.

Signed-off-by: Jothi Mani Rajendran <250249270+jothimani-rajendran@users.noreply.github.com>
@jothimani-rajendran
jothimani-rajendran merged commit f2ffaa9 into main Oct 27, 2026
26 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.

1 participant