Skip to content

ci: avoid duplicate runs and unrelated native rebuilds - #187

Merged
Muneer320 merged 2 commits into
masterfrom
codex/ci-runtime
Nov 17, 2026
Merged

Muneer320 merged 2 commits into
masterfrom
codex/ci-runtime

Conversation

@Muneer320

@Muneer320 Muneer320 commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Changes

PR commits currently trigger both feature-branch push and PR validation. Even prose edits rebuild native apps and packages. This change runs validation on PRs and master, cancels superseded PR runs, and keeps lightweight checks for Markdown-only PRs. Website changes retain package/APT validation; unknown files and workflow changes use full checks.

Remove standalone cargo check calls covered by Clippy, duplicate formatting/documentation checks, and release builds already exercised by package/install jobs. Keep both macOS lifecycle architectures, native tests, packaging, release qualification and all five CodeQL languages. CodeQL skips Markdown-only events while weekly/manual scans remain complete. Existing required check names are preserved, and classifier failures fail required checks.

Validation

  • Actionlint 1.7.12, documentation links, formatting and git diff --check pass.
  • 16 Python tests pass, including prose/website/native/mixed/empty scope selection and installer fixtures.
  • Rust 1.87: 62 tests pass, one subprocess fixture intentionally ignored; all-target/all-feature Clippy passes. The test build supplies the binary used for systemd verification.
  • Hosted full-path validation: all 24 active checks pass; one optional CodeRabbit check skipped. CI and all five CodeQL languages pass on f758c52. Superseded-run cancellation and absence of feature-push duplicates are verified. Prose/website scope selection was checked locally; full master/release paths remain enabled.

On PR #185, CI used about 9m14s of runner execution, with another duplicate push run; the CI workflow took about 14m44s including queues. The Swift CodeQL job alone took 12m32s. Removing duplicate events reduces runner work; prose PRs avoid these native/security builds. Source PRs retain full security scanning, so no fixed end-to-end time is promised.

Closes #186.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c60ca1cb-43eb-432f-a73e-290f0d0d7236
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@Muneer320 Muneer320 added github_actions Pull requests that update GitHub Actions code enhancement New feature or request labels Nov 17, 2026
@Muneer320
Muneer320 merged commit 6ec4f26 into master Nov 17, 2026
25 checks passed
@Muneer320
Muneer320 deleted the codex/ci-runtime branch November 17, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reduce duplicate CI runs and unnecessary rebuilds

1 participant