Skip to content

Build and CI maintenance - #428

Open
holodorum wants to merge 4 commits into
kson-org:mainfrom
holodorum:build/ci-maintenance
Open

Build and CI maintenance#428
holodorum wants to merge 4 commits into
kson-org:mainfrom
holodorum:build/ci-maintenance

Conversation

@holodorum

Copy link
Copy Markdown
Collaborator

Four independent build fixes that landed on release/0.3.0

Restrict native-image resource demands

native-image sized its memory allocation from the machine it was running on rather than the resources it was granted on that machine, which was blowing up CI. Restricted to -J-Xmx2560m and --parallelism=2, values known to fit in
the overhead we are granted.

Normalize CRLF in JSONTestSuite when generating

Windows checkouts of the vendored suite use core.autocrlf, which leaked CRLFs into the generated JsonSuiteTest.kt. Normalized to \n at read time so the generated file does not depend on the checkout's line-ending settings.

Run build-python-sdist on a large executor

Bumps the job to resource_class: large.

Run test-python-sdist-macos on Apple silicon

CircleCI retired the Intel macOS fleet, and Xcode 14.2 only existed on Intel, so the job was rejected as having no valid resource class. Moved to Xcode 16.4.0 on m4pro.medium, the same executor as build-macos-arm64.

dmarcotte and others added 4 commits August 27, 2026 13:28
We were blowing up CI because native-image was asking for a memory
allocation based on the machine it was running on, rather than the
resources it was granted on that machine. Restrict to values that
we know will fit in the overhead we are granted.
Windows checkouts of the suite use core.autocrlf, which leaked CRLFs
into the generated JsonSuiteTest.kt.
CircleCI retired the Intel macOS fleet, and Xcode 14.2 only existed on
Intel, so the job was rejected as having no valid resource class. Use
the same executor as build-macos-arm64.
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