Skip to content

ci: fix tao udeps environment - #14

Merged
OlympusLedgerOrg merged 4 commits into
devfrom
codex/fix-tao-udeps-libadwaita
Aug 3, 2026
Merged

ci: fix tao udeps environment#14
OlympusLedgerOrg merged 4 commits into
devfrom
codex/fix-tao-udeps-libadwaita

Conversation

@OlympusLedgerOrg

@OlympusLedgerOrg OlympusLedgerOrg commented Jul 20, 2026

Copy link
Copy Markdown
Owner

Fixes the dev Udeps failure for ./ports/tao by installing libadwaita-1-dev, which is required when cargo udeps runs with --all-features. Also pins actions/download-artifact v8.0.1 at its immutable SHA to use the supported Node 24 runtime and clear the deprecation warning.

Validation:

  • repository Prettier check passed
  • git diff --check passed

Failing run: https://github.com/OlympusLedgerOrg/tauri/actions/runs/29767841539

Summary by CodeRabbit

  • Chores
    • Improved workflow reliability by pinning artifact retrieval to a specific revision.
    • Added Linux development support for libadwaita-based builds.
    • Updated workspace configuration to improve consistency and reliability across supported build environments.
    • Refined build tooling safeguards to help ensure stable, reproducible development and release workflows.

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

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

Next review available in: 2 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

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: b5d77fef-075e-436f-9d9f-5c87882f3c39

📥 Commits

Reviewing files that changed from the base of the PR and between 75c57d5 and 467b9ac.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • pnpm-workspace.yaml
📝 Walkthrough

Walkthrough

The udeps workflow now pins its artifact download action and installs libadwaita-1-dev. The pnpm workspace updates brace-expansion and postcss dependency overrides.

Changes

Udeps workflow

Layer / File(s) Summary
Workflow dependency setup
.github/workflows/udeps.yml
The artifact download action uses a pinned commit SHA, and the Ubuntu package list includes libadwaita-1-dev.

Workspace dependency overrides

Layer / File(s) Summary
Package override updates
pnpm-workspace.yaml
The brace-expansion override is raised to 5.0.9, and a postcss override targets versions below 8.5.23.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Suggested reviewers: legend-master

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the primary CI change that fixes the tao Udeps environment.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/fix-tao-udeps-libadwaita

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.

OlympusLedgerOrg and others added 2 commits July 26, 2026 20:18
audit-js is a required check and has been failing on dev since at least
2026-07-30 on 3062a89, for reasons unrelated to the udeps fix here. Every
PR targeting dev inherits it, which is why this one has been red for two
weeks despite touching only .github/workflows/udeps.yml.

Two advisory groups had to be cleared:

- brace-expansion: the override pinned 5.0.7, but GHSA-rgw5-rvv9-x895 and
  its predecessor now require >=5.0.8 and >=5.0.9. Bumped to 5.0.9.
- postcss: <=8.5.17 (high, path traversal in previous source map) and
  <=8.5.22 (moderate, incomplete fix of GHSA-6g55-p6wh-862q). Added a
  postcss@<8.5.23 override.

`pnpm audit` now reports no known vulnerabilities, and prettier is clean on
both changed files.

Note: the postcss override is only needed on this branch. The upstream sync
in #15 pulls newer transitive deps that already resolve postcss >=8.5.23,
so once that lands this entry is redundant and can be dropped. The
brace-expansion bump is the same change #15 carries, so expect a trivial
conflict in pnpm-workspace.yaml / pnpm-lock.yaml between the two -- take
either side for brace-expansion, drop postcss.

@coderabbitai coderabbitai 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.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@pnpm-workspace.yaml`:
- Line 15: Align the Node.js support policy with the brace-expansion@5.0.9
override: update the CLI package’s engine.node declaration and corresponding CI
matrix to Node 20 or >=22, or replace the override with a version compatible
with the currently supported Node floor. Ensure pnpm install --engine-strict
succeeds for every supported Node version.
- Line 18: Update the PostCSS override in the workspace configuration to target
only dependencies compatible with the PostCSS 8 API and peer constraints, rather
than forcing every version below 8.5.23 to 8.5.23. If older consumers cannot use
PostCSS 8, separate their override or handling instead of applying this broad
range.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: ecd1d9cf-b067-490d-a1d9-0c6883fef8e0

📥 Commits

Reviewing files that changed from the base of the PR and between 7cd73a3 and 75c57d5.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • pnpm-workspace.yaml

Comment thread pnpm-workspace.yaml
Comment thread pnpm-workspace.yaml Outdated
Review follow-up. postcss@<8.5.23 was broader than the advisories it
addresses -- GHSA path-traversal is <=8.5.17 and GHSA-fxqj-rqcc-2cmp is
<=8.5.22, both within 8.x -- so the unbounded lower end would have silently
pulled a hypothetical postcss 6/7 consumer across a major boundary. Nothing
in the tree resolves below 8 today, so this is latent rather than an active
break, but the bounded form matches both the advisory range and the
convention already used by the other entries in this block.

Only the recorded override key changes in the lockfile; postcss still
resolves to 8.5.23 and `pnpm audit` still reports no known vulnerabilities.
@OlympusLedgerOrg
OlympusLedgerOrg merged commit 2f17713 into dev Aug 3, 2026
19 checks passed
OlympusLedgerOrg added a commit that referenced this pull request Aug 3, 2026
GHSA-4cwx-7wf7-3272 (high, cross-user information disclosure and parse-time
crash via degenerate private cache directives) and GHSA-8xcm-r25x-g524
(moderate, downstream response desynchronization via the retry interceptor).
Both are >=7.0.0 <7.29.0, patched in 7.29.0. Single path:
crates__tauri-schema-worker>wrangler>miniflare>undici, i.e. build/test
tooling for the schema worker, not the desktop binary or the frontend
bundle.

Pinned as ^7.29.0 rather than a bare >=7.29.0 on purpose: undici 8.x is
released (8.10.0 is latest), so an open-ended lower bound would drag
miniflare across a major. undici now resolves to 7.29.0 and pnpm audit
reports no known vulnerabilities.

These advisories are new drift, not merge fallout -- audit-js was green on
this branch at 45/45 before they were published. Same pattern as the
brace-expansion and postcss bumps.

Note on the postcss override inherited from dev via #14: it is inert here,
because the upstream sync already resolves postcss >=8.5.23 on its own. Left
in place rather than removed, since dropping it is a separate decision from
this sync.
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.

1 participant