Repository navigation
Conversation
|
Skipping CI for Draft Pull Request. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #23377 +/- ##
========================================
Coverage 51.96% 51.97%
========================================
Files 2911 2914 +3
Lines 183176 183753 +577
========================================
+ Hits 95196 95500 +304
- Misses 79666 79885 +219
- Partials 8314 8368 +54
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🚀 Build Images ReadyImages are ready for commit a61c987. To use with deploy scripts: export MAIN_IMAGE_TAG=5.1.x-234-ga61c9872c6 |
|
/retest |
|
All PipelineRuns for this commit have already succeeded. Use |
sachaudh
left a comment
There was a problem hiding this comment.
Nice, this makes roxie and local UI dev a lot smoother. Looks like the startup in the description hit EMFILE before the dev server came up. Did you get a chance to try it against a roxie cluster once that was sorted?
| and forward all API requests to `https://8.8.8.8:443`. _Note that the protocol (https) is required to | ||
| be set for this option._ | ||
|
|
||
| Note that `roxie` sets `$ROX_BASE_URL` in the environment automatically. |
There was a problem hiding this comment.
Does this only kick in when npm run start runs inside the roxie subshell (or after sourcing the --envrc file)? Someone starting the dev server from another terminal might wonder why it still goes to localhost:8000.
There was a problem hiding this comment.
Yes, added a note that's hopefully helpful.
| ); | ||
|
|
||
| const proxy = proxyWithTarget(process.env.UI_START_TARGET || 'https://localhost:8000'); | ||
| const proxy = proxyWithTarget(process.env.UI_START_TARGET || process.env.ROX_BASE_URL || 'https://localhost:8000'); |
There was a problem hiding this comment.
nit: this line is past Prettier's 100 char width, and since setupProxy.js is in the ESLint ignores it won't get auto-flagged.
|
PTAL @sachaudh |
Description
To make it easier to use roxie when developing UI.
Part of https://redhat.atlassian.net/browse/ROX-37563
User-facing documentation
Testing and quality
Automated testing
How I validated my change
And accessing localhost:3000 works as expected (modulo untrusted cert warning).