Skip to content
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

RSC: Add build step debug logs #10078

Merged
merged 4 commits into from
Feb 29, 2024

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Feb 29, 2024

The RSC build process has three main steps and then three additional steps that are needed, but aren't build steps

  1. analyze
  2. build for client
  3. build for server
  4. copying CSS assets
  5. generate clientEntries mappings
  6. making rw env vars available to server components

When debugging build issues it's sometimes difficult to know which one of those steps it is that breaks. Adding some console log headers will make it easier to see what's going on

@Tobbe Tobbe added this to the RSC milestone Feb 29, 2024
@Tobbe Tobbe added release:chore This PR is a chore (means nothing for users) fixture-ok Override the test project fixture check labels Feb 29, 2024
@Tobbe Tobbe merged commit 571fb25 into redwoodjs:main Feb 29, 2024
39 of 41 checks passed
@Tobbe Tobbe deleted the tobbe-rsc-build-step-debug-logs branch February 29, 2024 07:16
dac09 added a commit to dac09/redwood that referenced this pull request Feb 29, 2024
* 'main' of github.com:redwoodjs/redwood:
  RSC: Fix server build root (redwoodjs#10076)
  chore(release): update changelog
  RSC: Add build step debug logs (redwoodjs#10078)
  fix(deploy): handle server file (redwoodjs#10061)
  RSC: Fix node-loader message typo (redwoodjs#10077)
  chore(release): update changelog
  chore(docs): Add link to SuperTokens auth (redwoodjs#10067)
  chore(release): update changelog
  RSC: chore - upgrade @tobbe.dev/rsc-test to v0.0.5 (redwoodjs#10073)
  chore(.vscode): Enable find inside root __fixtures__ (redwoodjs#10072)
  chore(deps): bump es5-ext from 0.10.62 to 0.10.64 (redwoodjs#10071)
  fix(coherence): update setup command to detect server file (redwoodjs#10060)
@Josh-Walker-GM Josh-Walker-GM modified the milestones: RSC, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixture-ok Override the test project fixture check release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants