fix(invariant): add action_name param to get_effective_invariants() — include action-scoped invariants in 4-tier merge #3329

Open
freemo wants to merge 3 commits from fix/invariant-service-action-scope-effective into master

3 Commits

Author SHA1 Message Date
controller-ci-rerun d647ac06be chore: re-trigger CI [controller]
CI / helm (pull_request) Successful in 24s
CI / push-validation (pull_request) Successful in 10s
CI / build (pull_request) Successful in 46s
CI / lint (pull_request) Successful in 3m40s
CI / quality (pull_request) Successful in 3m51s
CI / unit_tests (pull_request) Failing after 2m19s
CI / security (pull_request) Successful in 4m20s
CI / typecheck (pull_request) Successful in 4m30s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / integration_tests (pull_request) Failing after 21m38s
CI / status-check (pull_request) Has been cancelled
2026-06-18 19:51:57 -04:00
controller-ci-rerun 075990d9e7 chore: re-trigger CI [controller]
CI / push-validation (pull_request) Successful in 31s
CI / lint (pull_request) Successful in 50s
CI / unit_tests (pull_request) Failing after 43s
CI / helm (pull_request) Successful in 32s
CI / quality (pull_request) Successful in 45s
CI / build (pull_request) Successful in 37s
CI / typecheck (pull_request) Successful in 1m12s
CI / security (pull_request) Successful in 1m11s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / integration_tests (pull_request) Failing after 19m0s
CI / status-check (pull_request) Has been cancelled
2026-06-18 10:58:03 -04:00
HAL9000 eb76dfc51d fix(invariant): add action_name param to get_effective_invariants() — include action-scoped invariants in 4-tier merge
CI / push-validation (pull_request) Successful in 26s
CI / helm (pull_request) Failing after 11m48s
CI / build (pull_request) Failing after 11m49s
CI / integration_tests (pull_request) Failing after 11m49s
CI / unit_tests (pull_request) Failing after 11m50s
CI / quality (pull_request) Failing after 11m51s
CI / security (pull_request) Failing after 11m51s
CI / typecheck (pull_request) Failing after 11m51s
CI / lint (pull_request) Failing after 11m51s
CI / status-check (pull_request) Has been cancelled
CI / coverage (pull_request) Has been cancelled
CI / docker (pull_request) Has been cancelled
- Added action_name parameter to InvariantService.get_effective_invariants() to
  collect and include action-scoped invariants in the 4-tier merge
- Updated merge_invariants() signature to accept action_invariants as the second parameter
- Updated InvariantSet.merge() to mirror the new 4-parameter signature
- Updated list_invariants(effective=True) routing to pass action_name=source_name
  when scope=InvariantScope.ACTION
- Added 12 new BDD scenarios in invariant_action_scope_effective.feature
- Updated invariant_models_steps.py, robot/helper_m3_e2e_verification.py, and
  benchmarks/invariant_merge_bench.py to use new 4-parameter signature
- Updated module docstrings; ACTION invariants now participate directly in the
  4-tier merge chain (plan > action > project > global)
- Added CHANGELOG.md entry under [Unreleased] / Fixed section (PR #3329)
- Updated CONTRIBUTORS.md with contribution credit

Epic: v3.2.0 (M3)
ISSUES CLOSED: #3128
2026-05-30 14:57:51 -04:00