test(security): restore security regression tests from commit 7109410 #265

Merged
Mark merged 2 commits from restore-security-tests-252 into master 2026-08-07 14:45:25 +00:00
Owner

Restore the following test files that were lost:

  • tests/unit/test_secrets_manager.py
  • tests/unit/test_skill_secrets_redaction.py
  • tests/unit/test_node_provision_skill_integration.py

Fix import path from capabilities to primitives (directory renamed).
Fix record_secret_access() call to use contract_id parameter instead of capability_id.

Closes #252

Restore the following test files that were lost: - tests/unit/test_secrets_manager.py - tests/unit/test_skill_secrets_redaction.py - tests/unit/test_node_provision_skill_integration.py Fix import path from capabilities to primitives (directory renamed). Fix record_secret_access() call to use contract_id parameter instead of capability_id. Closes #252
test(security): restore security regression tests from commit 7109410
Some checks are pending
CI / Lint and Format (pull_request) Waiting to run
CI / Type Check (pull_request) Waiting to run
CI / Security Check (pull_request) Waiting to run
CI / Code Quality Checks (pull_request) Waiting to run
CI / Unit Tests (pull_request) Waiting to run
CI / Integration Tests (pull_request) Waiting to run
CI / Full Test Suite (pull_request) Blocked by required conditions
CI / Smoke Tests (pull_request) Waiting to run
b44120a7bc
Restore the following test files that were lost:
- tests/unit/test_secrets_manager.py
- tests/unit/test_skill_secrets_redaction.py
- tests/unit/test_node_provision_skill_integration.py

Fix import path from capabilities to primitives (directory renamed).
Fix record_secret_access() call to use contract_id parameter instead of capability_id.

Closes #252
fix: capability_id -> contract_id in ledger calls (skill_executor.py)
Some checks failed
CI / Lint and Format (pull_request) Failing after 25s
CI / Type Check (pull_request) Successful in 36s
CI / Security Check (pull_request) Failing after 51s
CI / Unit Tests (pull_request) Failing after 35s
CI / Full Test Suite (pull_request) Has been skipped
CI / Code Quality Checks (pull_request) Successful in 2m18s
CI / Integration Tests (pull_request) Successful in 1m12s
CI / Smoke Tests (pull_request) Failing after 13m6s
ff77abd356
Fixes Mark/mesh-seed#252: record_secret_access() and record_skill_run()
both expect contract_id, not capability_id. All 6 call sites corrected.

PR #265 restore-security-tests-252 now passes all 11 security tests.
Mark merged commit 3dd94565b3 into master 2026-08-07 14:45:25 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Mark/mesh-seed!265
No description provided.