-
Notifications
You must be signed in to change notification settings - Fork 757
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
C3 - fix and update solid #5135
Conversation
🦋 Changeset detectedLatest commit: 439acdc The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8115729272/npm-package-wrangler-5135 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/5135/npm-package-wrangler-5135 Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8115729272/npm-package-wrangler-5135 dev path/to/script.js Additional artifacts:npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8115729272/npm-package-create-cloudflare-5135 --no-auto-update npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8115729272/npm-package-cloudflare-kv-asset-handler-5135 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8115729272/npm-package-miniflare-5135 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8115729272/npm-package-cloudflare-pages-shared-5135 npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/8115729272/npm-package-cloudflare-vitest-pool-workers-5135 Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5135 +/- ##
==========================================
+ Coverage 70.32% 70.37% +0.04%
==========================================
Files 298 298
Lines 15542 15542
Branches 3999 3999
==========================================
+ Hits 10930 10937 +7
+ Misses 4612 4605 -7 |
669facd
to
3a44e9d
Compare
There was a failure for Solid on npm in ubuntu. The logs looked like it had this:
|
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.
If CI goes green then LGTM
I note that there is an upcoming bump of create-solid to 0.5.2? #5098 |
@petebacondarwin thanks a bunch 🙂👍 I've cherry-picked the dependabot PR's commits here, maybe they can even solve the issue at hand 🤞 📿 🙏 |
Bumps [create-solid](https://github.com/solidjs-community/solid-cli) from 0.4.10 to 0.5.2. - [Commits](https://github.com/solidjs-community/solid-cli/commits) --- updated-dependencies: - dependency-name: create-solid dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
7ac2298
to
ef53fec
Compare
nope, no luck 🥲 |
I've actually jumped the gun there 😓 bumping the solid CLI makes the C3 flow different, I feel like it's not worth it to try to solve everything all at once here, so I've reverted back my previous changes |
Note: Solid with npm just doesn't seem to work anymore: solidjs/solid-start#1357 , so we'll have to disable the npm C3 e2e here I think |
I'm merging this PR since the e2e failures are all regarding hono and not related to these changes (and as you can see also unrelated PRs get the same failures: https://github.com/cloudflare/workers-sdk/actions/runs/8138824477/job/22240512824?pr=5140) Hopefully that is fine (I just wanted to get this out of the way and address hono separately) |
What this PR solves / how to test
The C3 solid template is broken now as it seems to rely on an
app.config.(js/ts)
file instead ofvite.config.(js/ts)
as it previously did (see their 0.6.0 release notes).Solid being broken causes our C3 tests to fail as you can see here for example:
https://github.com/cloudflare/workers-sdk/actions/runs/8110680054/job/22168422094?pr=5129#step:4:76
Author has addressed the following