Skip to content

stability: implement full findings remediation matrix - #36

Merged
tonyredondo merged 9 commits into
mainfrom
audit/remediate-findings-2026-02-19
Feb 19, 2026
Merged

stability: implement full findings remediation matrix#36
tonyredondo merged 9 commits into
mainfrom
audit/remediate-findings-2026-02-19

Conversation

@tonyredondo

@tonyredondo tonyredondo commented Feb 19, 2026

Copy link
Copy Markdown
Member

Summary

  • Implemented the full remediation plan across all waves (security/correctness, examples/tests, CI/docs, targeted maintenance, and maintainability refactors).
  • Added governance and release hardening (.github/workflows/release.yml, .pre-commit-config.yaml, .editorconfig, CHANGELOG.md) plus CI checks for Buildifier, gofmt, fixture JSON validity, parser parity, and template linting.
  • Restored PowerShell template parse validation in CI (tools/dev/lint_uploader_templates.py --skip-shellcheck) so the PowerShell lane validates parser correctness again.
  • Per follow-up cleanup request, removed findings/audit markdown artifacts from the repo: docs/FINDINGS_REMEDIATION_CHECKLIST.md and docs/AUDIT_FINDINGS_CLOSURE.md.

Test plan

  • ./bazelw test //tools/...
  • ./bazelw test //examples/...
  • cd modules/go && ../../bazelw test //... --override_module=datadog-rules-test-optimization=../..
  • python3 tools/dev/check_module_versions.py
  • python3 tools/core/schemas/sync_agentless_schema.py --check
  • python3 tools/dev/lint_uploader_templates.py --skip-shellcheck
  • ./tools/tests/integration/run_mock_server_tests.sh

Apply all validated remediation waves across core sync/uploader tooling, examples, CI, and docs, including branch-safe refactors for large files and a complete closure checklist for FINDINGS1/FINDINGS2 IDs.
@tonyredondo
tonyredondo requested a review from a team as a code owner February 19, 2026 13:23
Add a shell shebang for shared integration helpers and adjust template linting behavior so CI no longer fails in the PowerShell lane due parser invocation issues.
Limit buildifier enforcement to Starlark files changed in the PR diff to avoid failing on unrelated pre-existing formatting debt while still gating modified files.
Normalize escaped find parentheses before shellcheck and switch buildifier diff selection to two-dot comparison so shallow PR clones still produce changed-file lists.
Normalize formatting on changed Starlark sources so the shell-lint buildifier gate passes consistently in CI.
Use braced variable concatenation in regex builder snippets so shellcheck no longer misinterprets bracket patterns as array expansion.
Use powershell-specific template normalization that preserves `${var}` interpolation and re-enable parser validation in the PowerShell lint lane.
Drop the generated findings remediation and audit closure markdown files from the repository per cleanup request so they are not tracked in the PR payload.
Restore the OIDC subject and repository claim patterns for rules_test_optimization_tests so dd-octo-sts authentication succeeds in the external test repository CI jobs.
@tonyredondo
tonyredondo merged commit 816b4a6 into main Feb 19, 2026
18 checks passed
@tonyredondo
tonyredondo deleted the audit/remediate-findings-2026-02-19 branch February 19, 2026 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant