Files
computer-playbook/tests/unit/python/utils/roles
kevinveenbirkenbachandClaude Opus 5 be01db963f fix(tests): read group_vars through the cache in the registry guard
328113e7c added a guard that reads every group_vars/all file to confirm each
GROUP_GATED_CONSTANTS entry is really defined, and read them with
path.read_text(). test_no_uncached_file_reads rejects that under tests/: the
cached read_text shares one decoded read per file across the whole session, and
these files are read by several other tests already.

The nocheck escape does not apply. It covers reads outside the project tree,
and group_vars/all is inside it.

What the guard asserts is unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-14 19:26:36 +02:00
..