Upgrade Echo and implement dynamic CORS middleware with Air hot reloading#2774
Merged
rossnelson merged 2 commits intomainfrom Jun 17, 2025
Merged
Upgrade Echo and implement dynamic CORS middleware with Air hot reloading#2774rossnelson merged 2 commits intomainfrom
rossnelson merged 2 commits intomainfrom
Conversation
…ding - Upgrade Echo from v4.9.1 to v4.13.4 to resolve security vulnerabilities - Remove vulnerable golang-jwt dependency through Echo upgrade - Add custom CORS middleware with runtime configuration evaluation - Implement unsafeAllowAllOrigins config for development environments - Add Air hot reloading for Go development with automatic installation - Add verbose mode support via UI_SERVER_VERBOSE environment variable - Update documentation with CORS configuration and security warnings
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Contributor
andrewzamojc
left a comment
There was a problem hiding this comment.
Looks pretty good. I left a couple questions.
Alex-Tideman
approved these changes
Jun 17, 2025
hferentschik
pushed a commit
to DataDog/temporalio-ui
that referenced
this pull request
Mar 12, 2026
…ding (temporalio#2774) - Upgrade Echo from v4.9.1 to v4.13.4 to resolve security vulnerabilities - Remove vulnerable golang-jwt dependency through Echo upgrade - Add custom CORS middleware with runtime configuration evaluation - Implement unsafeAllowAllOrigins config for development environments - Add Air hot reloading for Go development with automatic installation - Add verbose mode support via UI_SERVER_VERBOSE environment variable - Update documentation with CORS configuration and security warnings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description & motivation 💭
This PR addresses CORS issues by upgrading Echo and implementing a dynamic CORS middleware system, while also adding Air hot reloading for improved development experience.
The CORS error:
Key Changes:
unsafeAllowAllOriginsconfig option for flexible development environmentsScreenshots (if applicable) 📸
Air hot reload and verbose mode:

Design Considerations 🎨
Testing 🧪
How was this tested 👻
Steps for others to test: 🚶🏽♂️🚶🏽♀️
Test CORS Security:
unsafeAllowAllOrigins: falseand verify only allowed origins workunsafeAllowAllOrigins: trueand verify any origin is acceptedTest Hot Reloading:
pnpm devin development modeUI_SERVER_VERBOSE=true pnpm devto see detailed logsTest E2E Mode:
Checklists
Draft Checklist
Merge Checklist
Docs
Any docs updates needed?
Depends on: https://github.com/temporalio/saas-components/pull/1930