-
Notifications
You must be signed in to change notification settings - Fork 0
Prod - April release - Better logging and fix for crashing issue seen in dev #262
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -10,6 +10,8 @@ module.exports = { | |||||
| PORT: process.env.PORT || 3001, | ||||||
| // used to properly set the header response to api calls for services behind a load balancer | ||||||
| API_BASE_URL: process.env.API_BASE_URL || 'http://localhost:3000', | ||||||
| // used for outbound calls to Topcoder platform APIs | ||||||
| TOPCODER_API_URL: process.env.TOPCODER_API_URL || 'https://api.topcoder-dev.com', | ||||||
|
||||||
| TOPCODER_API_URL: process.env.TOPCODER_API_URL || 'https://api.topcoder-dev.com', | |
| TOPCODER_API_URL: process.env.TOPCODER_API_URL || 'https://api.topcoder.com', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmgasper reminder to set this one to ParameterStore in prod & update the ECS task def to pick it up...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| [tools] | ||
| node = "22" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
propagationBlocklistis hard-coded to the dev domain (api.topcoder-dev.com). If this service is pointed at a different Topcoder API host (e.g., prod viaTOPCODER_API_URL), Datadog propagation headers will still be injected and the crash/400s may persist. Consider matching on the standardized-skills path regardless of host (or deriving the host from configuration and supporting both dev/prod).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmgasper there is a point here. We need to capture for prod env too...