4 Commits

Author SHA1 Message Date
HAL9000 b692894c88 fix(tests): remove AmbiguousStep conflict in security_pyyaml_dependency_steps
CI / benchmark-regression (push) Has been skipped
CI / helm (push) Successful in 43s
CI / build (push) Successful in 1m7s
CI / lint (push) Successful in 1m16s
CI / quality (push) Successful in 1m45s
CI / security (push) Successful in 1m45s
CI / typecheck (push) Successful in 1m46s
CI / push-validation (push) Successful in 35s
CI / integration_tests (push) Successful in 3m36s
CI / e2e_tests (push) Successful in 3m57s
CI / unit_tests (push) Successful in 5m30s
CI / docker (push) Successful in 1m28s
CI / coverage (push) Successful in 10m44s
CI / status-check (push) Successful in 5s
CI / benchmark-publish (push) Successful in 1h20m49s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Failing after 2m3s
CI / helm (pull_request) Successful in 50s
CI / quality (pull_request) Successful in 1m36s
CI / build (pull_request) Successful in 1m35s
CI / typecheck (pull_request) Successful in 1m23s
CI / unit_tests (pull_request) Successful in 7m14s
CI / e2e_tests (pull_request) Failing after 5m44s
CI / integration_tests (pull_request) Successful in 6m9s
CI / push-validation (pull_request) Successful in 1m18s
CI / lint (pull_request) Successful in 1m12s
CI / security (pull_request) Successful in 1m24s
CI / coverage (pull_request) Has been cancelled
CI / docker (pull_request) Has been cancelled
CI / status-check (pull_request) Has been cancelled
Duplicate step definitions for 'the pyproject.toml file exists at',
'I read the project dependencies from pyproject.toml',
'I attempt to import the module', and 'the import should succeed without
errors' were present in both security_pyyaml_dependency_steps.py and
tdd_a2a_sdk_dependency_steps.py, causing a behave.AmbiguousStep error
that failed the unit_tests CI gate.

Removed the 4 duplicate step definitions from security_pyyaml_dependency_steps.py,
keeping only the 3 PyYAML-specific step definitions. The shared steps are
now exclusively provided by tdd_a2a_sdk_dependency_steps.py.

Also resolved merge conflicts from master in CONTRIBUTORS.md: preserved
all master additions (database resource types entry) alongside the existing
PyYAML upgrade entry.

ISSUES CLOSED: #9055
2026-05-11 08:59:08 +00:00
HAL9000 2f01e7d625 fix(tests): resolve lint format failure and harden pyyaml BDD step path resolution
- Move _flatten_toml_dict to module level: eliminates nested function
  definition that ruff format reformats unexpectedly; makes the helper
  independently testable and clearly documented.
- Rename helper to _flatten_toml_dict (was _flatten) for unambiguous
  module-level identity and improved readability.
- Add _PROJECT_ROOT constant computed from __file__ so pyproject.toml
  is always resolved via an absolute path regardless of the process
  working directory — fixes brittle relative-path lookup that fails
  when behave-parallel forks workers whose cwd differs from the repo root.
- Fix ruff format violations: wrap long assert message, normalise
  decorator quote style, ensure trailing newline, fix import ordering
  (behave imports before packaging).
- All quality gates pass: lint, format --check, security_scan, dead_code.

ISSUES CLOSED: #9055
2026-05-11 08:59:08 +00:00
HAL9000 63746b4d30 fix(pyyaml): address CI review feedback from PR #11012
- Fix ruff lint F541 error: remove unnecessary f-string prefix
- Remove dead step_uv_lock_specifier step (never called by BDD scenarios)
- Update CONTRIBUTORS.md to reference correct PR number (#11012 not #9244)

ISSUES CLOSED: #9055
2026-05-11 08:59:08 +00:00
HAL9000 05acc26c40 chore(deps): upgrade PyYAML to address known security vulnerability
- Added `pyyaml>=6.0.3` dependency constraint to pyproject.toml after
  aiohttp to prevent installation of vulnerable older versions with known
  YAML parsing security issues.
- Updated uv.lock package dependencies and requires-dist to include pyyaml
  entry with specifier '>=6.0.3'.
- Added changelog Security section entry under [Unreleased] documenting the
  upgrade for issue #9055.
- Updated CONTRIBUTORS.md with contribution note (PR #9244).
- Added BDD test scenario verifying PyYAML security dependency constraint.

ISSUES CLOSED: #9055
2026-05-11 08:59:08 +00:00