-
Notifications
You must be signed in to change notification settings - Fork 5
[UI] Static hostname issue fix (Run-time Placeholder solution) #1770
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
Conversation
|
✅ SLT Targeted Testing: No relevant SLT tests found for the changes in this PR. No testing required. |
|
✅ SLT Targeted Testing: No relevant SLT tests found for the changes in this PR. No testing required. |
|
✅ SLT Targeted Testing: No relevant SLT tests found for the changes in this PR. No testing required. |
|
✅ SLT Targeted Testing: No relevant SLT tests found for the changes in this PR. No testing required. |
|
✅ SLT Targeted Testing: No relevant SLT tests found for the changes in this PR. No testing required. |
* update slatedb to v0.8.2 * use less durable but faster option when put history items * [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com>
* update slatedb to v0.8.2 * use less durable but faster option when put history items * [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com>
* [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com>
* update slatedb to v0.8.2 * use less durable but faster option when put history items * [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com>
* [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com>
* update slatedb to v0.8.2 * use less durable but faster option when put history items * [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com>
* [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com>
* Add ClickBench benchmark + use Embucket experimental build (#1782) * Add missing #[test] attribute to test_make_cors_middleware (#1783) The test function was not being recognized by the test runner because it was missing the #[test] attribute. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com> * api ui queries schema fix (#1789) * feat: add option to disable result caching for Snowflake benchmarks, … (#1786) * feat: add option to disable result caching for Snowflake benchmarks, update logging * feat: improve run type handling and update result paths logic * feat: update path name logic * feat: update path name in get_results_path logic here as well * Update benchmark/benchmark.py Co-authored-by: andheroe <3786879+andheroe@users.noreply.github.com> * feat: make oneliner from previous results_folder logic --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: andheroe <3786879+andheroe@users.noreply.github.com> * docs: update README to clarify caching options for benchmarks (#1797) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * api: UI OpenAPI snake_case schema fix (#1799) * schema fixes + requested changes from pr #1749 * more schema fixes * camelCase * camelCase for ErrorResponse * flaky test * [UI] Codegen rerun, NCU (#1791) * codegen * API_URL env * openapi * ncu * CI: Generate build artifacts (dist.tar) [skip ci] * Basic benchmarking crate (#1784) * Merge lock * Basic benchmarking crate * Basic benchmarking crate * Basic benchmarking crate * Fix readme * Fix versions * Create catalog * Fix clippy * Fix cargo * workflow complete (#1792) * remove `dedicated_executor` (#1772) * Yaro/slatedb durability config2 (#1773) * update slatedb to v0.8.2 * use less durable but faster option when put history items * [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com> * push main into experimental (#1775) * [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: andheroe <3786879+andheroe@users.noreply.github.com> Co-authored-by: Sergei Turukin <rampage644@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Yevhenii Niestierov <123905136+YevheniiNiestierov@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com> Co-authored-by: Artem Osipov <59066880+osipovartem@users.noreply.github.com> Co-authored-by: Yaroslav Litvinov <yaroslav@embucket.com>
* update slatedb to v0.8.2 * use less durable but faster option when put history items * [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com>
* [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com>
* Add ClickBench benchmark + use Embucket experimental build (#1782) * Add missing #[test] attribute to test_make_cors_middleware (#1783) The test function was not being recognized by the test runner because it was missing the #[test] attribute. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com> * api ui queries schema fix (#1789) * feat: add option to disable result caching for Snowflake benchmarks, … (#1786) * feat: add option to disable result caching for Snowflake benchmarks, update logging * feat: improve run type handling and update result paths logic * feat: update path name logic * feat: update path name in get_results_path logic here as well * Update benchmark/benchmark.py Co-authored-by: andheroe <3786879+andheroe@users.noreply.github.com> * feat: make oneliner from previous results_folder logic --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: andheroe <3786879+andheroe@users.noreply.github.com> * docs: update README to clarify caching options for benchmarks (#1797) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * api: UI OpenAPI snake_case schema fix (#1799) * schema fixes + requested changes from pr #1749 * more schema fixes * camelCase * camelCase for ErrorResponse * flaky test * [UI] Codegen rerun, NCU (#1791) * codegen * API_URL env * openapi * ncu * CI: Generate build artifacts (dist.tar) [skip ci] * Basic benchmarking crate (#1784) * Merge lock * Basic benchmarking crate * Basic benchmarking crate * Basic benchmarking crate * Fix readme * Fix versions * Create catalog * Fix clippy * Fix cargo * workflow complete (#1792) * remove `dedicated_executor` (#1772) * Yaro/slatedb durability config2 (#1773) * update slatedb to v0.8.2 * use less durable but faster option when put history items * [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com> * push main into experimental (#1775) * [UI] Static hostname issue fix (Run-time Placeholder solution) (#1770) * CI: Generate build artifacts (dist.tar) [skip ci] --------- Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: andheroe <3786879+andheroe@users.noreply.github.com> Co-authored-by: Sergei Turukin <rampage644@gmail.com> Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Yevhenii Niestierov <123905136+YevheniiNiestierov@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Nikita Striuk <32720808+nikitastryuk@users.noreply.github.com> Co-authored-by: github-actions[bot] <1310417+github-actions[bot]@users.noreply.github.com> Co-authored-by: Artem Osipov <59066880+osipovartem@users.noreply.github.com> Co-authored-by: Yaroslav Litvinov <yaroslav@embucket.com>
The Run-time Placeholder solution involves building frontend with a generic placeholder, like API_URL, in the index.html file. When the Docker container starts, a script reads an environment variable and replaces that placeholder with the actual API URL, allowing you to use the same build artifact for any environment without rebuilding.
docker run --name embucket --rm -p 8080:8080 -p 3000:3000 -e API_URL="https://api.embucket.com" embucket/embucketPart of #1333