Skip to content

ci: set ALLOW_FAKE_TRANSLATE=true for translation e2e#999

Merged
renemadsen merged 1 commit into
stablefrom
ci/allow-fake-translate-flag
Jun 11, 2026
Merged

ci: set ALLOW_FAKE_TRANSLATE=true for translation e2e#999
renemadsen merged 1 commit into
stablefrom
ci/allow-fake-translate-flag

Conversation

@renemadsen

Copy link
Copy Markdown
Member

Adds the ALLOW_FAKE_TRANSLATE=true opt-in env to the backend-pn playwright docker run (both pr + master workflows), ahead of gating the FAKE_TRANSLATE_E2E sentinel in TranslationService.

No-op until the backend code change lands — the env is currently ignored. This must merge before the eform-angular-frontend code change so shard m keeps passing once the sentinel requires the flag.

See spec 2026-06-11-translation-real-apikey-prod-design.md.

🤖 Generated with Claude Code

Prepares for gating the FAKE_TRANSLATE_E2E sentinel behind an explicit opt-in
env so it can never fire in production. No-op until the backend code change
lands (the env is currently ignored by TranslationService).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 11, 2026 12:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the plugin’s GitHub Actions CI workflows to pass an opt-in environment variable (ALLOW_FAKE_TRANSLATE=true) into the Playwright test Docker container, preparing CI for an upcoming backend change that will gate the FAKE_TRANSLATE_E2E sentinel behind this flag.

Changes:

  • Add -e ALLOW_FAKE_TRANSLATE=true to the docker run invocation in the PR workflow Playwright job.
  • Add -e ALLOW_FAKE_TRANSLATE=true to the docker run invocation in the master workflow Playwright job.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/dotnet-core-pr.yml Passes ALLOW_FAKE_TRANSLATE=true into the Playwright-test container during PR CI runs.
.github/workflows/dotnet-core-master.yml Passes ALLOW_FAKE_TRANSLATE=true into the Playwright-test container during master CI runs.

@renemadsen renemadsen merged commit 8bcd28e into stable Jun 11, 2026
27 checks passed
@renemadsen renemadsen deleted the ci/allow-fake-translate-flag branch June 11, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants