Files
cleveragents-core/features
cleveragents-bot 8cd379f4b5
CI / benchmark-publish (pull_request) Has been skipped
CI / push-validation (pull_request) Successful in 33s
CI / build (pull_request) Successful in 55s
CI / helm (pull_request) Successful in 58s
CI / lint (pull_request) Failing after 1m27s
CI / quality (pull_request) Successful in 1m28s
CI / typecheck (pull_request) Successful in 1m38s
CI / benchmark-regression (pull_request) Failing after 52s
CI / security (pull_request) Successful in 1m57s
CI / e2e_tests (pull_request) Successful in 4m15s
CI / integration_tests (pull_request) Successful in 4m16s
CI / unit_tests (pull_request) Failing after 4m51s
CI / coverage (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / status-check (pull_request) Failing after 3s
fix(data-integrity): remove silent argument swap in ValidationAttachmentRepository.attach
Fixes a critical data integrity bug where validation_name and resource_id
arguments were being silently swapped based on the fragile heuristic
("/" in resource_id and "/" not in validation_name). This caused silent
data corruption without any error or warning. The swap block has been removed
from ValidationAttachmentRepository.attach(), ensuring arguments flow
directly from caller to the persistence layer in their declared order.

Additionally, corrected indentation regression on two `from ulid import ULID`
statements (ResourceRepository and ProjectResourceLinkRepository) that had a
spurious leading space introduced during prior formatting.

Compliance checklist:
  [x] CHANGELOG.md — entry added under [Unreleased]/Fixed section
  [x] CONTRIBUTORS.md — contribution entry for PR #8177 / issue #7492 added
  [x] BDD/Behave tests — new feature file with 11 scenarios covering argument
      preservation, edge cases with slashes, optional parameters, and duplicate rejection
  [ ] Linting — all ruff checks pass on changed files

ISSUES CLOSED: #8177
2026-05-08 05:36:08 +00:00
..