Skip to content

DEVOPS-1130: Adding workflow for pixi.diff in PR comments - #233

Open
RomFloreani wants to merge 10 commits into
mainfrom
DEVOPS-1130
Open

RomFloreani wants to merge 10 commits into
mainfrom
DEVOPS-1130

Conversation

@RomFloreani

@RomFloreani RomFloreani commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

DEVOPS-1130 - github workflow that shows diff for changes on pixi.lock

Copilot AI balanced review requested due to automatic review settings September 30, 2026 18:18
@github-actions github-actions Bot changed the title Adding workflow for pixi.diff in PR comments DEVOPS-1130: Adding workflow for pixi.diff in PR comments Sep 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Event handling, git-source parsing, multi-environment reporting, heading nesting, and concurrent comment updates can produce failures or inaccurate reports.

Review effort: Balanced
Findings: 4 Medium severity · 1 Low severity

Open (5)
What changed in this PR

Adds a reusable workflow that reports pixi.lock changes in job summaries and PR comments.

Changes:

  • Computes package differences across commits.
  • Formats dependency changes as Markdown.
  • Creates or updates a persistent PR comment.
File Description
.github/​workflows/​reusable-pixi-lock_diff.yml Adds the lockfile diff and reporting workflow.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/reusable-pixi-lock_diff.yml
Comment thread .github/workflows/reusable-pixi-lock_diff.yml Outdated
Comment thread .github/workflows/reusable-pixi-lock_diff.yml Outdated
Comment thread .github/workflows/reusable-pixi-lock_diff.yml Outdated
Comment thread .github/workflows/reusable-pixi-lock_diff.yml Outdated
@RomFloreani RomFloreani changed the title DEVOPS-1130: Adding workflow for pixi.diff in PR comments [WIP] DEVOPS-1130: Adding workflow for pixi.diff in PR comments Sep 30, 2026
… with a size safety net

- Count changed packages once each: upgraded (major), downgraded, rebuilt (same version), added, removed
- Show the explicit dependency version changes in the comment (collapsed above 15 rows)
- Remove details step by step when the comment exceeds 60000 characters
- Pull requests only: the job summary on push was not used
- Remove the unused environments and merge-dependencies inputs
- Read the PR lock file and manifest from the checkout, only the base lock file from git
- Build the job summary and the PR comment in a single Python step
- One explicit dependency table, including git dependencies with compare links
- Label upgrades as major, minor or patch
@RomFloreani RomFloreani changed the title [WIP] DEVOPS-1130: Adding workflow for pixi.diff in PR comments DEVOPS-1130: Adding workflow for pixi.diff in PR comments Oct 6, 2026
@RomFloreani
RomFloreani requested a review from sebhmg October 6, 2026 14:56
@RomFloreani

Copy link
Copy Markdown
Contributor Author

@sebhmg this PR is ready for Review:
You can see the workflow used here:

@sebhmg sebhmg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

see a couple of suggestions:

  • caching installation of pixi-diff and pixi-diff-to-markdown
  • move inline Python script to a dedicated Python file under a composite action

Comment thread .github/workflows/reusable-pixi-lock_diff.yml
Comment thread .github/workflows/reusable-pixi-lock_diff.yml Outdated
@RomFloreani
RomFloreani requested a review from sebhmg October 16, 2026 20:04
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.

3 participants