-
Notifications
You must be signed in to change notification settings - Fork 676
ci: consistent UUIDs, Blacksmith runner, script rename & caching #7244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Scalar References End to End Test ResultsDetails
Important These tests include snapshots that may need to be updated if there are intentional changes to the UI components. To update the snapshots run |
Scalar Components Snapshot Test ResultsDetails
|
Scalar CDN Snapshot Diff ResultsDetails
Failed teststest/snapshots-cdn/snapshot.e2e.ts › Diff with CDN - Stripe Important These tests detect visual differences between the current PR and the latest CDN build which means they may be affected by other changes in They can help determine if the changes in the PR are causing any unexpected visual regressions but may be less helpful in isolating the exact cause. For more details see the readme. |
70325ce to
5b32d66
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Version Extraction Missing for Maven Publish Job
The java-webjar-publish job's "Set version in pom.xml" step uses an undefined $VERSION environment variable for the mvn versions:set command. This job is missing the step to extract the version from package.json and set it as an environment variable, which other publish jobs include. This causes the Maven command to fail.
.github/workflows/ci.yml#L1323-L1327
scalar/.github/workflows/ci.yml
Lines 1323 to 1327 in 5b32d66
| - if: steps.changed-files.outputs.java_webjar_package_any_changed == 'true' | |
| name: Set version in pom.xml (using the version from package.json) | |
| working-directory: integrations/java/webjar | |
| run: mvn versions:set -DnewVersion=$VERSION -DgenerateBackupPoms=false | |
| - if: steps.changed-files.outputs.java_webjar_package_any_changed == 'true' |
d1a9b8c to
16c5301
Compare
16c5301 to
8120bfb
Compare
This PR:
CI=1occurrences as the CI variable is always true.standalone.jstoscalar.jsbefore uploading the artifact.Checklist
I've gone through the following:
pnpm changeset).Note
Renames and standardizes the JS artifact to
scalar.js, unifies UUID generation withuuidgen, and adds NuGet/Maven caching and lockfiles with related CI updates across Docker, .NET, Rust, and Java pipelines..github/workflows/ci.yml):standalone.jswithscalar.js(copy + upload) and update all download/paths indocker,.NET,rust, andjava-webjarjobs.scalar.jswhere applicable.uuidgenconsistently forDEPLOY_IDacross jobs.blacksmith-2vcpu-ubuntu-2204.mvn) for test/build/publish; enableactions/setup-javacache.actions/setup-dotnetcaching with lockfiles; setNUGET_PACKAGESand use artifactscalar.jsin packaging workflows.integrations/dotnet/Directory.Build.props: EnableRestorePackagesWithLockFileand locked mode in CI.packages.lock.jsonacross .NET projects/tests to support deterministic restore and caching.biome.json: Excludepackages.lock.jsonfrom processing.Written by Cursor Bugbot for commit 5b32d66. Configure here.