Skip to content

fix(ci): batch main CodeQL scans on weekly schedule - #115

Merged
vincentkoc merged 1 commit into
mainfrom
fix/codeql-weekly-policy-20261103
Nov 3, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/codeql-weekly-policy-20261103

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Keep main CodeQL analysis on the existing Monday 06:17 UTC schedule instead of starting another native scan on every push. All PRs retain their existing scans; PR supersession remains enabled while active scheduled scans can finish. No manual trigger is added. .ci-policy.md explains the cadence.

Full Swift manual builds, JavaScript/Actions analysis, pins, permissions, ordinary CI, and release gates are unchanged.

Validation: scoped actionlint, whitespace checks, and four release-caller contract tests passed. Independent review and autoreview found no actionable issues. Exact-head native CI and all three CodeQL analyses passed, including completed result uploads.

@clawsweeper

clawsweeper Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@vincentkoc
vincentkoc marked this pull request as ready for review November 3, 2026 12:26
@clawsweeper clawsweeper Bot added clawsweeper:intake:feature Preliminary submission classification; full source review pending. P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:feature Preliminary submission classification; full source review pending. labels Nov 3, 2026
@clawsweeper

clawsweeper Bot commented Nov 3, 2026

Copy link
Copy Markdown

Codex review: needs maintainer review before merge.

What this changes

Run main CodeQL scans weekly, retain PR scans, and prevent scheduled scans from being canceled.

Example: A change lands on main on Tuesday, November 3, 2026.

  • Before: The push starts another three-language CodeQL analysis.
  • After: The next scheduled main analysis is Monday, November 9, at 06:17 UTC; PR analysis remains enabled.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Focused, correct workflow maintenance with accepted direction, preserved release compatibility, and no actionable findings.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored workflow maintenance PR is outside the ordinary contributor proof gate; exact-head checks support retained PR execution, while scheduled execution has not been demonstrated.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Complete
User problem: Maintainers spend native runner capacity repeating main analysis after changes already analyzed in PRs.
Reason: The maintainer-authored direction accepts delayed main analysis in exchange for batching, while retaining all PR scans and language coverage.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR makes an authorized CI policy change absent from main. No actionable patch defects found; exact-head Swift CodeQL remains in progress.

Priority: P3
Reviewed head: ba6a26e05ef43b4be654a9ab226ab3060277229d

Before merge

None.

Findings

None.

Agent review details

How this fits together

GitHub events trigger the CodeQL workflow, which analyzes Swift, JavaScript/TypeScript, and Actions and uploads security results; ordinary CI and release validation are separate workflows.

flowchart TD
  A[Pull request event] --> C[CodeQL workflow]
  B[Monday schedule] --> C
  C --> D[Three language analyses]
  D --> E[Security results]
  F[Main push] --> G[Ordinary CI]
  G --> H[Release validation]
Loading

Technical review

Best possible solution:

Retain the focused cadence and concurrency changes while preserving the existing analysis, CI, and release owners.

Do we have a high-confidence way to reproduce the issue?

This changes intentional CI policy rather than repairing a reproduced runtime bug; current main source confirms push-triggered scans and unconditional cancellation.

Is this the best way to solve the issue?

The existing workflow is the correct owner: changing its trigger and concurrency settings implements the requested policy without parallel machinery.

AGENTS.md: not found in the target repository.

Codex review notes: model internal, reasoning medium; reviewed against 136b79b86355.

Provenance checked

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

  • Exact introduced change: The pinned diff removes only the main push trigger, separates concurrency groups by event and PR number or ref, preserves PR cancellation, and adds policy and changelog text; all analysis steps remain intact. (.github/workflows/codeql.yml:4, ba6a26e05ef4)
  • Recorded owner direction: The MEMBER-authored PR explicitly chooses Monday 06:17 UTC main analysis, retains PR scans, and accepts batching between changes; this settles the cadence decision without another owner approval. (.ci-policy.md:1, ba6a26e05ef4)
  • Original workflow intent and feature history: ci: pin tooling and streamline verified builds #86 introduced the versioned workflow to replace default setup while retaining all three languages and an explicit Swift build. Subsequent toolchain and action updates also belong to steipete. Local follow-history reaches an unavailable creation-parent object; the original workflow blob and GitHub commit metadata independently verify its addition. (.github/workflows/codeql.yml:6, 136b79b86355)
  • Release dependency boundary: The unchanged release caller executes openclaw/release-workflows at v1 and accepts push-event CI evidence, making that dependency's release-check contract relevant to the claim that release gates remain unchanged. (.github/workflows/release.yml:41, ba6a26e05ef4)
  • Release checks do not require a named CodeQL run: The v1 release validator checks available independent CI evidence and rejects non-green results; it does not require a named CodeQL workflow. Main push CI remains enabled in remindctl. The dependency tree contains no AGENTS.md. (.github/workflows/release-swift-cli.yml:534, 9d81ab3d2877)
  • Exact-head validation and discussion: Native CI, docs, Actions analysis, and JavaScript/TypeScript analysis succeeded on the reviewed head; Swift analysis is still running. Full comments contain only review-status notices, and no human review adds another requirement. (ba6a26e05ef4)

Likely related people:

  • Peter Steinberger: Raw commit d272180 adds .github/workflows/codeql.yml:8 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: d27218000139; files: .github/workflows/codeql.yml)

Labels

Label changes:

  • add P3: This is a small, owner-approved CI scheduling adjustment with no application behavior change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This is a small, owner-approved CI scheduling adjustment with no application behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed November 3, 2026, 7:40 AM ET / 12:40 UTC.

@vincentkoc
vincentkoc merged commit 6d89f38 into main Nov 3, 2026
14 checks passed
@vincentkoc
vincentkoc deleted the fix/codeql-weekly-policy-20261103 branch November 3, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P3 Low-risk cleanup, docs, polish, ergonomics, or speculative feature. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant