-
Notifications
You must be signed in to change notification settings - Fork 0
March 2026 Prod Release #7
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
7119f89
87bca52
a7d9727
7e3e378
3c43d6e
1919dee
df968ec
b32254f
bdbcb10
a4d61e0
a048818
f977b4b
f3744aa
c854018
b168d71
334a029
34a8664
8d970f7
c90c1e2
e3f0af2
149a31b
b56d778
6acde83
286ecdf
da06ac8
e9b3aab
31174c8
714e636
377b9c2
945e56e
e15bbb9
a67ce77
812ac82
40ecc40
e77c2d5
30ec7f7
bc020f1
4066b1b
b43995e
86c7a31
9caf043
b5e2433
dc1b0a3
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 |
|---|---|---|
|
|
@@ -12,15 +12,19 @@ AUTH0_PROXY_SERVER_URL="https://auth0proxy.topcoder-dev.com" | |
| AUTH0_CLIENT_ID="" | ||
| AUTH0_CLIENT_SECRET="" | ||
|
|
||
| # Kafka Event Bus | ||
| # Bus API client configuration (via tc-bus-api-wrapper) | ||
| # KAFKA_URL is retained only for compatibility with shared env packs; | ||
| # current wrapper initialization does not use it. | ||
| KAFKA_URL="localhost:9092" | ||
| KAFKA_ERROR_TOPIC="common.error.reporting" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [❗❗ |
||
| KAFKA_CLIENT_CERT="" | ||
| KAFKA_CLIENT_CERT_KEY="" | ||
| BUSAPI_URL="https://api.topcoder-dev.com/v5" | ||
|
|
||
| # Project event topics (only active topics) | ||
| # Project event topics | ||
| KAFKA_PROJECT_CREATED_TOPIC="project.created" | ||
| KAFKA_PROJECT_UPDATED_TOPIC="project.updated" | ||
| KAFKA_PROJECT_BILLING_ACCOUNT_UPDATED_TOPIC="project.action.billingAccount.update" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [❗❗ |
||
| KAFKA_PROJECT_DELETED_TOPIC="project.deleted" | ||
| KAFKA_PROJECT_MEMBER_ADDED_TOPIC="project.member.added" | ||
| KAFKA_PROJECT_MEMBER_REMOVED_TOPIC="project.member.removed" | ||
|
|
@@ -55,9 +59,17 @@ INVITE_EMAIL_SECTION_TITLE="" | |
| COPILOT_PORTAL_URL="" | ||
| WORK_MANAGER_URL="" | ||
| ACCOUNTS_APP_URL="" | ||
| # Dedicated project-invite templates: | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [❗❗ |
||
| # - known user (Join/Decline flow): SENDGRID_PROJECT_INVITATION_KNOWN_USER_TEMPLATE_ID | ||
| # - unknown email (Register flow): SENDGRID_PROJECT_INVITATION_UNKNOWN_USER_TEMPLATE_ID | ||
| # Legacy fallback for both invite types: | ||
| SENDGRID_TEMPLATE_PROJECT_MEMBER_INVITED="" | ||
| SENDGRID_PROJECT_INVITATION_KNOWN_USER_TEMPLATE_ID="" | ||
| SENDGRID_PROJECT_INVITATION_UNKNOWN_USER_TEMPLATE_ID="" | ||
| SENDGRID_TEMPLATE_COPILOT_ALREADY_PART_OF_PROJECT="" | ||
| SENDGRID_TEMPLATE_INFORM_PM_COPILOT_APPLICATION_ACCEPTED="" | ||
| SENDGRID_TEMPLATE_COPILOT_REQUEST_CREATED="" | ||
| COPILOTS_SLACK_EMAIL="" | ||
| UNIQUE_GMAIL_VALIDATION=false | ||
|
|
||
| # API Configuration | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| name: AI PR Reviewer | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: | ||
| - opened | ||
| - synchronize | ||
| permissions: | ||
| pull-requests: write | ||
| jobs: | ||
| tc-ai-pr-review: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout Repo | ||
| uses: actions/checkout@v3 | ||
|
|
||
| - name: TC AI PR Reviewer | ||
| uses: topcoder-platform/tc-ai-pr-reviewer@master | ||
| with: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # The GITHUB_TOKEN is there by default so you just need to keep it like it is and not necessarily need to add it as secret as it will throw an error. [More Details](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret) | ||
| LAB45_API_KEY: ${{ secrets.LAB45_API_KEY }} | ||
| exclude: '**/*.json, **/*.md, **/*.jpg, **/*.png, **/*.jpeg, **/*.bmp, **/*.webp' # Optional: exclude patterns separated by commas | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [💡 |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| name: Trivy Scanner | ||
|
|
||
| permissions: | ||
| contents: read | ||
| security-events: write | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - dev | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| trivy-scan: | ||
| name: Use Trivy | ||
| runs-on: ubuntu-24.04 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [ |
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Run Trivy scanner in repo mode | ||
| uses: aquasecurity/trivy-action@0.34.0 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [ |
||
| with: | ||
| scan-type: fs | ||
| ignore-unfixed: true | ||
| format: sarif | ||
| output: trivy-results.sarif | ||
| severity: CRITICAL,HIGH,UNKNOWN | ||
| scanners: vuln,secret,misconfig,license | ||
| github-pat: ${{ secrets.GITHUB_TOKEN }} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [ |
||
|
|
||
| - name: Upload Trivy scan results to GitHub Security tab | ||
| uses: github/codeql-action/upload-sarif@v3 | ||
| with: | ||
| sarif_file: trivy-results.sarif | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,7 @@ | |
|
|
||
| FROM node:22.13.1-alpine | ||
|
|
||
| RUN apk add --no-cache bash | ||
| RUN apk add --no-cache bash git | ||
| RUN apk update | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [ |
||
|
|
||
| ARG RESET_DB_ARG=false | ||
|
|
@@ -17,4 +17,4 @@ RUN npm install pnpm -g | |
| RUN pnpm install | ||
| RUN pnpm run build | ||
| RUN chmod +x appStartUp.sh | ||
| CMD ./appStartUp.sh | ||
| CMD ./appStartUp.sh | ||
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.
[⚠️
maintainability]The comment indicates that
KAFKA_URLis retained only for compatibility and is not used by the current wrapper initialization. Consider removing this variable if it's truly unused to avoid confusion and reduce maintenance overhead.