You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/03 06:36:53 UTC

[PR] [ISSUE #802] Disable mock mode for production builds [rocketmq-dashboard]

Aias00 opened a new pull request, #803:
URL: https://github.com/apache/rocketmq-dashboard/pull/803

   ### What changed
   
   This PR changes `web/.env.production` so production builds use real backend APIs by default:
   
   ```env
   VITE_USE_MOCK=false
   ```
   
   Local development mock mode remains available through `web/.env` or explicit deployment overrides.
   
   ### Why
   
   Production-like builds should not default to mock data. Keeping mock mode enabled in production can show simulated resources and successful control-plane actions without backend interaction.
   
   Fixes #802.
   
   ### Verification
   
   ```bash
   npm run build
   ```
   
   Result: build completed successfully. Vite reported only the existing large chunk warning.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE #802] Disable mock mode for production builds [rocketmq-dashboard]

Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 closed pull request #803: [ISSUE #802] Disable mock mode for production builds
URL: https://github.com/apache/rocketmq-dashboard/pull/803


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE #802] Disable mock mode for production builds [rocketmq-dashboard]

Posted by "Aias00 (via GitHub)" <gi...@apache.org>.
Aias00 commented on PR #803:
URL: https://github.com/apache/rocketmq-dashboard/pull/803#issuecomment-5175210512

   Superseded by consolidated PR #936, which contains this change and has passing checks. Closing this narrower PR to keep review focused.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org