1598c54a8b
90 offline tests covering adapter, confidence_signal, checkov_adapter, outbox_writer, and pipeline integration. Identical CI/CD workflows for Gitea Actions (dev) and GitHub Actions (production). New --check-only mode for run_platform.sh (offline, no AWS). ---ci--- project: acdl phase: 18 milestone: v1.3 status: verify ---/ci---
45 lines
1.5 KiB
Markdown
45 lines
1.5 KiB
Markdown
# Phase 18 — Verify (v1.3.2)
|
|
|
|
## Structural
|
|
|
|
All 11 new files confirmed present: pyproject.toml, requirements-test.txt,
|
|
tests/__init__.py, tests/conftest.py, tests/test_adapter.py,
|
|
tests/test_confidence_signal.py, tests/test_checkov_adapter.py,
|
|
tests/test_outbox_writer.py, tests/test_pipeline.py,
|
|
.gitea/workflows/ci.yml, .github/workflows/ci.yml. **PASS.**
|
|
|
|
## Behavioral
|
|
|
|
- `py_compile` passes on all Python files. **PASS.**
|
|
- `pytest` — 90 tests, all passing, all offline (moto for DynamoDB
|
|
mocking). **PASS.**
|
|
- `run_platform.sh --check-only` — exits 0, outputs
|
|
"PLATFORM CHECK OK", requires no AWS credentials. **PASS.**
|
|
- `run_platform.sh --plan-only` — syntax valid (unchanged from phase 17).
|
|
**PASS.**
|
|
- Both workflow YAMLs are valid YAML, parseable. **PASS.**
|
|
- Workflows are byte-identical (diff confirms). **PASS.**
|
|
|
|
## Security
|
|
|
|
- No secrets in any new file (tests, workflows, pyproject, requirements).
|
|
**PASS.**
|
|
- CI pipelines do not use any AWS credentials — `--check-only` is fully
|
|
offline. **PASS.**
|
|
|
|
## Quality
|
|
|
|
- pyproject.toml has pytest config (testpaths, markers, addopts).
|
|
**PASS.**
|
|
- requirements-test.txt pins all test deps. **PASS.**
|
|
- Test suite covers all 4 platform components (adapter, confidence
|
|
signal, checkov adapter, outbox writer) + pipeline integration.
|
|
**PASS.**
|
|
- Both workflows run 3 stages: lint, test, check-only. **PASS.**
|
|
- README updated with "Test the platform" section + CI/CD documentation.
|
|
**PASS.**
|
|
|
|
## Verdict
|
|
|
|
**VERIFY PASS** — all four layers pass. 90 offline tests, no AWS
|
|
required for CI. |