Skip to content

ci: run workspace-format-check on ubuntu-24.04 - #2359

Open
Nesopie wants to merge 2 commits into
devfrom
fix/workspace-format-check-ubuntu-2404
Open

Nesopie wants to merge 2 commits into
devfrom
fix/workspace-format-check-ubuntu-2404

Conversation

@Nesopie

@Nesopie Nesopie commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #2358. ubuntu-latest now resolves to ubuntu-26.04 (runner image 20261122), which caused both Workspace CI failures on dev:

  1. Default JDK 25, which Kotlin 2.1.0 / Gradle 8.13 can't parse. Fixed by ci: pin JDK 17 for workspace format and test jobs #2358: workspace-test is green on dev (2fbea884).
  2. workspace-format-check still fails. ktlintFormat now succeeds, but kmp-sdk-test-app's format script then runs swiftlint --fix --format, and the SwiftLint 0.57.1 Linux binary fails with libxml2.so.2: cannot open shared object file. Ubuntu 26.04 no longer ships that library.

This PR pins workspace-format-check to ubuntu-24.04, with a TODO to move back once SwiftLint is upgraded.

With the job running end to end again, it flagged two unformatted files on dev: contracts/test/foundry/GovernanceInitAccess.t.sol (from #2352) and scripts/oss/curations.json. They are formatted here with the repo's Prettier config. curations.json parses to exactly the same JSON as on dev.

Evidence

  • dev Workspace CI run 46351340559 (2fbea884): workspace-test success; workspace-format-check fails with swiftlint: error while loading shared libraries: libxml2.so.2.
  • Validation: this PR's own workspace-format-check run.

Follow-up

  • Upgrade SwiftLint in the job and return to ubuntu-latest.

🤖 Generated with Claude Code

ubuntu-latest moved to ubuntu-26.04 (image 20261122). With JDK 17 pinned
(#2358), ktlintFormat now succeeds, but the job then fails in
kmp-sdk-test-app's format script: the SwiftLint 0.57.1 Linux binary cannot
load libxml2.so.2, which 26.04 no longer ships. Pin this job to ubuntu-24.04
until SwiftLint is upgraded.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
self-webview-app Ignored Ignored Preview Nov 30, 2026 4:25am UTC

Request Review

@Nesopie

Nesopie commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 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-11-30T04:36:41.148874Z 6c997f1 Manual request
ℹ️ 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.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The workflow pins workspace-format-check to ubuntu-24.04. The governance test and curation records are reformatted without changes to their values or checks.

Changes: Workspace format-check runner

Layer / File(s) Summary
Pin the format-check runner
.github/workflows/workspace-ci.yml
The job uses ubuntu-24.04. Comments state that SwiftLint 0.57.1 requires libxml2.so.2, which is unavailable on ubuntu-26.04, and note a planned return to ubuntu-latest after a SwiftLint upgrade.

Governance test formatting

Layer / File(s) Summary
Reformat initializer and revert assertions
contracts/test/foundry/GovernanceInitAccess.t.sol
The initializer calldata, role assertions, and expected unauthorized-account error encoding are reformatted. Their arguments and checks remain unchanged.

Curation record formatting

Layer / File(s) Summary
Reformat curation records
scripts/oss/curations.json
The records use indented, multiline JSON formatting. Their fields and values remain unchanged.

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

Merge Risk: Minimal · up to 6c997

This PR pins the format-check job to Ubuntu 24.04 so SwiftLint keeps working, and reformats two files without changing their content. It poses little production risk and looks ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "ci: run workspace-format-check on ubuntu-24.04" matches the main change. The raw summary shows the workspace-format-check job in .github/workflows/workspace-ci.yml moves from ubuntu-latest …
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.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title "ci: run workspace-format-check on ubuntu-24.04" matches the main change. The raw summary shows the workspace-format-check job in .github/workflows/workspace-ci.yml moves from ubuntu-latest to ubuntu-24.04 because SwiftLint 0.57.1 needs libxml2.so.2, which ubuntu-26.04 no longer ships. The title is specific, concise, and conveys the primary change. The formatting edits to the Foundry test and curations.json are secondary and do not need to appear in the title.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between a2f23df and 6c997f1.

Files selected for processing: 2

  • contracts/test/foundry/GovernanceInitAccess.t.sol
  • scripts/oss/curations.json

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: a2f23dfdb2

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

With the format job able to run again, it reports two unformatted files on
dev: contracts/test/foundry/GovernanceInitAccess.t.sol (from #2352) and
scripts/oss/curations.json. Formatting only; curations.json parses to the
same JSON.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Nesopie
Nesopie deployed to development November 30, 2026 04:26 — with GitHub Actions Active
@Nesopie

Nesopie commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 6c997f17a9

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

This branch was successfully deployed

1 active deployment
development — 6c997f17 Deployed Nov 30, 2026 by Nesopie via test_contracts #2989
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