Skip to content

Fix preview errors#416

Merged
ghengeveld merged 2 commits intonextfrom
fix-preview
Mar 26, 2026
Merged

Fix preview errors#416
ghengeveld merged 2 commits intonextfrom
fix-preview

Conversation

@JReinhold
Copy link
Copy Markdown
Contributor

  1. Remove redundant /preview and /manager export entries from package.json, as they were causing the preview entries to be loaded twice because it is also set in the previewAnnotations preset.
  2. Move constants derived from process.env to a separate file, as it caused process.env to make its way into the preview entry, which breaks everything.

@JReinhold JReinhold requested a review from ghengeveld March 26, 2026 09:47
@JReinhold JReinhold self-assigned this Mar 26, 2026
@JReinhold JReinhold added bug Classification: Something isn't working patch Auto: Increment the patch version when merged release Auto: Create a `latest` release when merged labels Mar 26, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 26, 2026

Codecov Report

❌ Patch coverage is 0% with 11 lines in your changes missing coverage. Please review.
✅ Project coverage is 6.50%. Comparing base (dd30efd) to head (9a956a3).

Files with missing lines Patch % Lines
src/env.ts 0.00% 6 Missing and 1 partial ⚠️
src/utils/graphQLClient.tsx 0.00% 2 Missing ⚠️
src/preset.ts 0.00% 1 Missing ⚠️
src/utils/requestAccessToken.ts 0.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##            next    #416      +/-   ##
========================================
- Coverage   6.54%   6.50%   -0.05%     
========================================
  Files        165     166       +1     
  Lines      14161   14164       +3     
  Branches     305     305              
========================================
- Hits         927     921       -6     
- Misses     13155   13163       +8     
- Partials      79      80       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ghengeveld ghengeveld merged commit 28e7c37 into next Mar 26, 2026
7 of 12 checks passed
@ghengeveld ghengeveld deleted the fix-preview branch March 26, 2026 09:51
@JReinhold JReinhold moved this to Done in Core Team Projects Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Classification: Something isn't working patch Auto: Increment the patch version when merged release Auto: Create a `latest` release when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants