Repository navigation
Description
What
What the closing review of the testing plan (#346) left pending. Details and numbers are in report v2, section 8. Ordered by impact.
Pending
-
Finish BUG | AWS profile name is re-derived from the SSO permission set, breaking any account whose permission set is renamed #326 (high): mutation testing rediscovered the dead code that issue describes, and Fix | Mutation testing (mutmut) on auth.py and tf.py, and the 2 bugs it found #390 fixed the
var.profilepart (the layer's own profile). Still broken:- a cross-account profile written as a literal (
"${var.project}-apps-prd-devops") still has its name rebuilt from the permission set - stale
<project>-sso-<account>-<Role>sections turn into junk profiles inaws sso refresh aws sso refresh helpisn't accepted
~3 h
- a cross-account profile written as a literal (
-
credentials.pytested likeauth.py(high): 63% branch coverage, 120 lines uncovered, and it writes the static access keys and the MFA config. Its tests mock the AWS CLIRunner. Use real files intmp_pathandStubberclients instead, as Fix | SSO token expiry compared in UTC, MFA recognizes STS errors + auth.py tests with Stubber #354 did. ~1 day -
test_aws.pyspeed (medium): it takes 8 of the suite's ~16 s, at 0.3–0.5 s per test (the whole suite took 1.9 s on 2026-11-09). Measure whether the time goes to creating boto3 clients per test or to the fakeawsexecutable, then fix that. ~2 h -
OIDC in the ref-arch E2E (medium): Enhancement | Use OIDC instead of static AWS keys in the ref-arch integration test #337.
-
kubectl.pytests (low): ~1 htest_scan_clusterspatchesos.walk,openandyaml: use a realmetadata.yamlinsteadtest_discoveronly assertsisinstance- 3
invokecalls don't checkexit_code:test_discover,test_init_arguments,test_project_commands_run_before_the_project_configuration_exists
-
tofu validateon a projectproject createmade (low): a bats test with providers. It's the only part of H7 still open. -
Maintenance (low):
- move the
[tool.poetry]metadata to[project](Poetry 2 warns about it) - mypy
check_untyped_defs, module by module - raise
run.py(54%) andtfautomv.py(50%)
- move the
In other repos
- client-vpn uses the stale root-administrator profile, so SSO credential refresh fails on it le-tf-infra-aws#1347 and Fix | build.env.template: drop TERRAFORM_IMAGE_TAG, add TF_BINARY le-tf-infra-aws-template#65. When each is fixed, refresh the matching snapshot (see
docs/testing.md).
Activity