Skip to content

feat(ci): run issue lifecycle audit - #477

Merged
proerror77 merged 4 commits into
mainfrom
codex/issue-lifecycle-workflow-467
Jul 29, 2026
Merged

proerror77 merged 4 commits into
mainfrom
codex/issue-lifecycle-workflow-467

Conversation

@proerror77

@proerror77 proerror77 commented Jul 29, 2026

Copy link
Copy Markdown
Owner

Issue relationship

Closes #467

Change contract

Run the existing lifecycle auditor as the stable, read-only Issue Lifecycle Audit check from the trusted default branch for pull requests and scheduled/manual repository audits.

Out of scope

Required-check enforcement (#460), PR-head status invalidation after linked-issue edits (#480), historical metadata reconciliation (#459), lifecycle policy changes, issue/PR/label/status mutations, runtime deployment, research logic, and trading behavior.

Dependency / merge order

PR #470 / issue #458 merged first. This branch is rebased on 3aae5ddc7c2a699c3d1b6ff95b1f322f6b8bd7e9; #480 exclusively owns and must canary the authoritative Issue Lifecycle status before #460 enables that required context; this PR intentionally emits only Issue Lifecycle Audit.

Focused validation

  • RED: the contract test rejected pull_request and a workflow that did not validate proposed YAML
  • RED: the contract test rejected the colliding Issue Lifecycle job name before the workflow adopted Issue Lifecycle Audit
  • ruby -c .github/scripts/test-issue-lifecycle-workflow.rb — PASS
  • ruby .github/scripts/test-issue-lifecycle-workflow.rb — PASS
  • ruby .github/scripts/test-issue-lifecycle-workflow.rb .github/workflows/issue-lifecycle.yml — PASS
  • ruby -c .github/scripts/issue-lifecycle-audit.rb — PASS
  • bash .github/scripts/test-issue-lifecycle-audit.sh — PASS
  • actionlint .github/workflows/issue-lifecycle.yml — PASS
  • git diff --check origin/main...HEAD — PASS
  • Independent code review: PASS
  • Scope: 2 files, 107 changed lines

Rollout / rollback impact

Adds the read-only Issue Lifecycle Audit check but does not make it required. Pull-request runs use pull_request_target, execute only default-branch code, fetch the proposed workflow YAML as data, and parse it with the trusted YAML.safe_load contract test before auditing the current PR. Scheduled/manual runs audit live repository metadata and write the result to the step summary. Rollback is a normal revert and does not mutate GitHub issues, statuses, or repository settings.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@proerror77, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 13 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 1d967b1d-a5c0-4175-85d6-c24f11d89379

📥 Commits

Reviewing files that changed from the base of the PR and between 201325f and 3474ea2.

📒 Files selected for processing (2)
  • .github/scripts/test-issue-lifecycle-workflow.rb
  • .github/workflows/issue-lifecycle.yml

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

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c46dacc127

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

Comment thread .github/workflows/issue-lifecycle.yml
Comment thread .github/workflows/issue-lifecycle.yml Outdated
@proerror77
proerror77 force-pushed the codex/issue-lifecycle-workflow-467 branch from c46dacc to d18145a Compare July 29, 2026 13:12
@proerror77
proerror77 force-pushed the codex/issue-lifecycle-workflow-467 branch from 2c30f42 to e76ab42 Compare July 29, 2026 13:46
@proerror77
proerror77 merged commit 24ec466 into main Jul 29, 2026
38 checks passed
@proerror77
proerror77 deleted the codex/issue-lifecycle-workflow-467 branch July 29, 2026 22:12
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.

Run the lifecycle auditor as a read-only GitHub check

1 participant