[codex] stabilize CI baseline by restoring tools and guarding external deps #4
Reference in New Issue
Block a user
Delete Branch "codex/killlife-ci-baseline-fix-issue-3"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Pourquoi
Stabiliser la baseline CI (issue #3) pour éviter les faux échecs sur des PR docs/outillage.
Closes #3
Problèmes traités
tools/api,tools/evidence, etc.).pytestabsente dans workflow badges.cyclonedx-bom,gitleaks,trufflehog,slsa-generator,cosign) causant des FAILs systématiques.badgesexécuté aussi sur PR (instable selon permissions token).Changements
tools/api/run_contract_tests.pytools/evidence/validate_evidence_pack.pytools/community/check_health.pytools/accessibility/a11y_linter.pytools/security/check_policy.pytools/ai/validate_model.pytools/benchmarks/run_benchmarks.pytools/hil/run_hil_tests.pybadges.yml: installcoverage+pytest, gestion code 5 (no tests), push badge limité àpushsurmain.api_contract.yml: setup Python + exécutionpython3.community/evidence/incident/model/performance_hil: usage explicitepython3.sbom_validation.yml,secret_scan.yml,supply_chain.yml: fallback JSONskippedsi commande externe indisponible, pour garder un signal exploitable sans FAIL baseline systématique.Validation locale
Impact
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
5d72787cfeℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
@@ -23,0 +31,4 @@trivy sbom docs/sbom-cyclonedx.json --format json --output docs/sbom-trivy-report.jsonelseecho '{"status":"skipped","reason":"trivy missing"}' > docs/sbom-trivy-report.jsonfiThis step still runs
trivy sbom docs/sbom-cyclonedx.jsonwhenevertrivyis present, even if the previous CycloneDX step wrote a fallback{"status":"skipped",...}file becausecyclonedx-bomis missing. In environments where Trivy is installed but CycloneDX is not (for example, partially provisioned self-hosted runners), the scan consumes a non-SBOM placeholder and can fail the job, which breaks the commit’s goal of making external-tool availability non-fatal.Useful? React with 👍 / 👎.
Superseded by merged PR #2 (commit
42c0702), which already stabilizes the CI baseline and closes issue #3. Closing this duplicate branch to keep history clean.Pull request closed