Skip to content

Run Lib dependency checks as read-only pull request jobs - #10162

Merged
youknowone merged 1 commit into
RustPython:mainfrom
youknowdot:run-lib-deps-as-read-only-pr
Dec 4, 2026
Merged

youknowone merged 1 commit into
RustPython:mainfrom
youknowdot:run-lib-deps-as-read-only-pr

Conversation

@youknowdot

Copy link
Copy Markdown
Contributor

Lib dependency reports have repeatedly returned startup_failure before any runner job since Dec 3 UTC (for example #10160's run). That is consistent with GitHub's Dec 2 default-pull_request_target restriction; repository policy details weren't available to confirm the specific rule.

Run the existing analysis on pull_request instead. The job has only contents: read, still runs updater code from the trusted base SHA, and uses the PR's Lib/ as data. No organization or repository settings need to be weakened.

The report moves from sticky comments to the run's job summary; oversized reports remain available as artifacts. Locally verified the real #10158 Lib diff with the pinned CPython tree, no-change detection, report generation, and the oversized fallback. The hosted end-to-end report still needs a PR with a Lib change.

Refs #9852.

Use the trusted base SHA for updater code and limit PR content to Lib. Report to the job summary and keep oversized output as an artifact without requiring PR write permission.

Refs: RustPython#9852

Assisted-by: Codex:GPT-6.2
@coderabbitai

coderabbitai Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Caution

Review failed

The pull request is closed.

  • 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

@youknowone
youknowone marked this pull request as ready for review December 4, 2026 02:18
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-04T02:29:52.025245Z 876fff3 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@youknowone
youknowone enabled auto-merge (squash) December 4, 2026 02:19
@youknowone
youknowone merged commit 14946ec into RustPython:main Dec 4, 2026
20 of 21 checks passed
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.

2 participants