Skip to content

chore: set NEXT_PUBLIC_ENABLE_FEATURE_PREVIEW default to true#38362

Open
crazywoola with Copilot wants to merge 3 commits into
mainfrom
copilot/refactor-set-next-public-enable-feature-preview
Open

chore: set NEXT_PUBLIC_ENABLE_FEATURE_PREVIEW default to true#38362
crazywoola with Copilot wants to merge 3 commits into
mainfrom
copilot/refactor-set-next-public-enable-feature-preview

Conversation

Copilot AI commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

Sets NEXT_PUBLIC_ENABLE_FEATURE_PREVIEW default to true across all configuration sources:

  • web/env.ts — Zod schema default
  • web/docker/entrypoint.sh — shell fallback
  • docker/.env.example, docker/envs/core-services/web.env.example, web/.env.example — example configs

From Copilot.

Screenshots

Before After
N/A N/A

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran make lint && make type-check (backend) and cd web && pnpm exec vp staged (frontend) to appease the lint gods

Copilot AI changed the title [WIP] Refactor set NEXT_PUBLIC_ENABLE_FEATURE_PREVIEW default to true chore: set NEXT_PUBLIC_ENABLE_FEATURE_PREVIEW default to true Jul 3, 2026
Copilot AI requested a review from crazywoola July 3, 2026 04:12
@crazywoola crazywoola marked this pull request as ready for review July 3, 2026 04:16
@dosubot dosubot Bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Jul 3, 2026
@github-actions github-actions Bot added the web This relates to changes on the web. label Jul 3, 2026
@codecov

codecov Bot commented Jul 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.28%. Comparing base (f4ec608) to head (f6f00e6).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #38362      +/-   ##
==========================================
- Coverage   85.29%   85.28%   -0.01%     
==========================================
  Files        4989     4989              
  Lines      264000   264036      +36     
  Branches    50097    50115      +18     
==========================================
+ Hits       225166   225192      +26     
- Misses      34419    34429      +10     
  Partials     4415     4415              
Flag Coverage Δ
api 85.51% <ø> (+<0.01%) ⬆️
dify-ui 94.93% <ø> (ø)
web 84.86% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jul 3, 2026
@crazywoola crazywoola enabled auto-merge July 3, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Refactor/Chore] set NEXT_PUBLIC_ENABLE_FEATURE_PREVIEW default to true

2 participants