fix(data-integrity): remove silent argument swap in ValidationAttachmentRepository.attach
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Failing after 33s
CI / typecheck (pull_request) Successful in 50s
CI / quality (pull_request) Successful in 33s
CI / security (pull_request) Successful in 1m11s
CI / coverage (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Has been skipped
CI / build (pull_request) Successful in 31s
CI / helm (pull_request) Successful in 1m13s
CI / push-validation (pull_request) Successful in 28s
CI / unit_tests (pull_request) Failing after 3m31s
CI / docker (pull_request) Has been skipped
CI / integration_tests (pull_request) Successful in 4m22s
CI / e2e_tests (pull_request) Successful in 4m31s
CI / status-check (pull_request) Failing after 1s
CI / benchmark-publish (pull_request) Has been skipped
CI / lint (pull_request) Failing after 33s
CI / typecheck (pull_request) Successful in 50s
CI / quality (pull_request) Successful in 33s
CI / security (pull_request) Successful in 1m11s
CI / coverage (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Has been skipped
CI / build (pull_request) Successful in 31s
CI / helm (pull_request) Successful in 1m13s
CI / push-validation (pull_request) Successful in 28s
CI / unit_tests (pull_request) Failing after 3m31s
CI / docker (pull_request) Has been skipped
CI / integration_tests (pull_request) Successful in 4m22s
CI / e2e_tests (pull_request) Successful in 4m31s
CI / status-check (pull_request) Failing after 1s
- Removed unused imports (typing.Any, BusinessRuleViolation) from step module - Added CHANGELOG.md entry documenting the data integrity fix - HAL 9000 already listed in CONTRIBUTORS.md
This commit is contained in:
@@ -7,6 +7,13 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
||||
|
||||
### Added
|
||||
|
||||
- **Data Integrity Fix: ValidationAttachmentRepository Argument Swap** (#7492):
|
||||
Fixed a critical data integrity issue in `ValidationAttachmentRepository.attach`
|
||||
where arguments were being silently swapped during method invocation. The incorrect
|
||||
argument order caused data to be stored with reversed parameters, leading to subtle
|
||||
but serious data corruption without any error being raised. Arguments are now passed
|
||||
in the correct sequence, ensuring data is stored with proper parameter values.
|
||||
|
||||
- **Git Worktree Sandbox Apply** (#4454): The `plan apply` command now merges
|
||||
LLM-generated changes via `git merge` from an isolated worktree branch
|
||||
instead of flat `shutil.copy2`. Displays spec-aligned Apply Summary
|
||||
|
||||
@@ -7,7 +7,6 @@ swap validation_name and resource_id when resource_id contains a slash.
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
from typing import Any
|
||||
|
||||
from behave import given, then, when
|
||||
from behave.runner import Context
|
||||
@@ -18,7 +17,6 @@ from cleveragents.infrastructure.database.models import Base
|
||||
from cleveragents.infrastructure.database.repositories import (
|
||||
ValidationAttachmentRepository,
|
||||
)
|
||||
from cleveragents.core.exceptions import BusinessRuleViolation
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user