Skip to content

fix(#2527): use _CLIENT_ID suffix in variableNameForRole#2532

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/2527-fix-variable-suffix
Open

fix(#2527): use _CLIENT_ID suffix in variableNameForRole#2532
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/2527-fix-variable-suffix

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

The TypeScript port of variableNameForRole in web/admin/src/lib/layers/secrets.ts generated FULLSEND_{ROLE}APP_ID, but the Go backend (internal/layers/secrets.go:187) uses FULLSEND{ROLE}_CLIENT_ID. This mismatch caused the admin UI to check for the wrong GitHub Actions variables and report incorrect missing-variable diagnostics.

Updated the suffix from _APP_ID to _CLIENT_ID and fixed all test expectations in secrets.test.ts to match.

Note: pre-commit could not run due to shellcheck network error (exit 3). Post-script will run it authoritatively.


Closes #2527

Post-script verification

  • Branch is not main/master (agent/2527-fix-variable-suffix)
  • Secret scan passed (gitleaks — 0fb80c941536a21bb26c32be3fbe298dcc67d83b..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

The TypeScript port of variableNameForRole in
web/admin/src/lib/layers/secrets.ts generated
FULLSEND_{ROLE}_APP_ID, but the Go backend
(internal/layers/secrets.go:187) uses
FULLSEND_{ROLE}_CLIENT_ID. This mismatch caused
the admin UI to check for the wrong GitHub Actions
variables and report incorrect missing-variable
diagnostics.

Updated the suffix from _APP_ID to _CLIENT_ID and
fixed all test expectations in secrets.test.ts to
match.

Note: pre-commit could not run due to shellcheck
network error (exit 3). Post-script will run it
authoritatively.

Closes #2527
@github-actions

Copy link
Copy Markdown

E2E tests did not run

E2E tests run automatically for org/repo members and collaborators on pull requests.

For other contributors, a maintainer must add the ok-to-test label after the latest push.

See E2E testing guide for details.

@github-actions

Copy link
Copy Markdown

Site preview

Preview: https://b6628690-site.fullsend-ai.workers.dev

Commit: 4b72576f916229fe9098d2defedce919d743ade8

@fullsend-ai-review

fullsend-ai-review Bot commented Jun 22, 2026

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 8:04 PM UTC · Completed 8:11 PM UTC
Commit: 4b72576 · View workflow run →

@codecov

codecov Bot commented Jun 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fullsend-ai-review

Copy link
Copy Markdown

Looks good to me


Labels: Bug fix in web admin secrets layer aligning TypeScript with Go backend naming

@fullsend-ai-review fullsend-ai-review Bot added ready-for-merge All reviewers approved — ready to merge type/bug Confirmed defect in existing behavior component/install CLI install and app setup labels Jun 22, 2026
@ifireball ifireball added this pull request to the merge queue Jun 24, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/install CLI install and app setup ready-for-merge All reviewers approved — ready to merge type/bug Confirmed defect in existing behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(web-admin): variableNameForRole uses wrong suffix APP_ID vs CLIENT_ID

1 participant