Skip to content

[codex] make project advisory comments nonblocking - #239

Merged
Vilin97 merged 1 commit into
mainfrom
fix/project-advisory-comment-errors
Jun 28, 2026
Merged

Vilin97 merged 1 commit into
mainfrom
fix/project-advisory-comment-errors

Conversation

@Vilin97

@Vilin97 Vilin97 commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

Fixes the project advisory comment workflow so a GitHub comment-write failure does not fail CI. The workflow is documented as advisory-only, but PRs without an existing advisory comment were failing when gh api could not create the sticky comment.

The change also prints the underlying gh stdout/stderr before re-raising, so future failures show the actual GitHub API error rather than only a Python traceback.

Validation

  • uv run --group test pytest tests/test_pr_advisory.py
  • uv run ruff check lean_pool/pr_advisory.py tests/test_pr_advisory.py
  • git diff --check

Copilot AI review requested due to automatic review settings June 28, 2026 16:57

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Vilin97
Vilin97 merged commit 4961ceb into main Jun 28, 2026
5 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