Mark the retired-loop polling sleep in the Lambda test as timing-dependent coverage
Merged
DO
2mo ago+1+1+0123456789-1-1-0123456789
The main coverage run failed because strict-no-cover observed the retired-loop polling sleep despite its plain pragma: no cover marker. Whether the sleep runs depends on scheduling.
This changes that marker to pragma: lax no cover, matching the other timing-dependent polling paths in the same test file while keeping the existing explanation.
Verification:
uv run pytest tests/harness/aws_lambda -qā 91 passed, 2 skippedSKIP=typecheck pre-commit run --files tests/harness/aws_lambda/test_aws_lambda.pyā passedPYRIGHT_PYTHON_IGNORE_WARNINGS=1 uv run pyright tests/harness/aws_lambda/test_aws_lambda.pyā passed
Part of #8898
Checklist
- No breaking changes in accordance with the version policy.
- Any permitted compatibility impact has a label, warning, migration, release note, and exact API-check waiver.
- PR title is fit for the release changelog.
š¤ Generated with Claude Code