ci: harden OSS leak checks#628
Conversation
|
Droid finished @jonathanhaaswriter's task —— View job I validated all three candidates against the diff and surrounding code, and each one points to a real regression introduced by this PR. The leak-check changes weaken coverage in two places, and the Jira fixture rewrite breaks both SDK Jira test suites by expecting the wrong tenant segment in generated URNs. |
ebccd94 to
14e301c
Compare
|
Droid finished @jonathanhaaswriter's task —— View job I validated the empty candidate set against the full PR diff and the previously risky leak-check and Jira fixture areas, and I did not find any remaining high-confidence, line-anchored issues to post. The diff now looks like coordinated fixture sanitization with matching test updates. |
14e301c to
5016be8
Compare
|
Droid finished @jonathanhaaswriter's task —— View job I validated both candidates against the full diff and surrounding behavior. One candidate is a real security regression introduced by this PR, while the dotted-ref issue is pre-existing behavior on an unchanged line and should not be posted as a PR comment. |
5016be8 to
96bb510
Compare
|
Droid finished @jonathanhaaswriter's task —— View job I validated both candidates against the full diff and surrounding code. Both are real, non-duplicate issues: the new inline-allow escape hatch still fails the repo's own local pre-commit flow, and the GitHub fixture now mixes |
96bb510 to
205ace1
Compare
|
Droid finished @jonathanhaaswriter's task —— View job I validated both candidates against the full diff and surrounding code. Both are real, non-duplicate regressions: the public leak-pattern file now republishes Writer-specific literals that the scanners skip, and the VulnView token-url test no longer exercises the token URL validation path. |
205ace1 to
e4dfe9d
Compare
|
Droid finished @jonathanhaaswriter's task —— View job Validated 1 review candidate for PR #628. Approved 1 comment for posting. The leak-check hardening is mostly sound, but the new shared git-diff helpers still include repository-root |
e4dfe9d to
885a8ce
Compare
|
Droid finished @jonathanhaaswriter's task —— View job I validated both GCP fixture candidates against the full diff and surrounding source behavior. Both point to real, non-duplicate regressions: the service-account discovery and IAM role-assignment fixtures no longer match the live GCP source after this PR's sanitization updates. |
Co-authored-by: Repo Agent <agent@writer.com>
|
Droid finished @jonathanhaaswriter's task —— View job Validated 1 review candidate for PR #628. Approved 1 comment for posting. I validated the candidate against the full PR diff and surrounding code. The fixture sanitization is mostly consistent, but this test still asserts against the old |
Co-authored-by: Repo Agent <agent@writer.com>
|
Droid finished @jonathanhaaswriter's task —— View job Phase 2 Validation CompleteValidated The candidate identified a real inline-allow CI bypass concern, but it duplicates an existing posted security finding, so no additional batched review comments were submitted. Artifact written to |
Summary\n- expand OSS leak deny patterns and add inline allow handling\n- syntheticize public fixtures away from Writer-specific domains, tenants, and runtime IDs\n- add arch coverage for required leak-pattern categories\n\n## Validation\n- go test ./...\n- make lint check-structural check-structural-test check-arch oss-audit\n- ./scripts/leak_check.sh staged\n- ./scripts/leak_check.sh range origin/main...HEAD\n- actionlint .github/workflows/release.yml\n- git diff --cached --check