Skip to content

Remove website JavaScript build login#5434

Merged
shai-almog merged 1 commit into
masterfrom
fix-website-free-js-builds
Jul 22, 2026
Merged

Remove website JavaScript build login#5434
shai-almog merged 1 commit into
masterfrom
fix-website-free-js-builds

Conversation

@shai-almog

Copy link
Copy Markdown
Collaborator

Summary

  • remove the obsolete Keycloak token exchange and Java preference seeding from website JavaScript builds
  • build Initializr and Playground unconditionally through the free local ParparVM target in website CI
  • validate both generated JavaScript bundles without depending on CN1_USER or CN1_TOKEN secrets

Root cause

The website workflow still attempted to log in before building its JavaScript apps. Keycloak has been taken down, so that stale request now fails with HTTP 522 even though ParparVM JavaScript builds are free and no longer require authentication.

Impact

Website builds no longer depend on the retired authentication service. Initializr, Playground, and Skin Designer use the existing local ParparVM build path without credentials.

Validation

  • bash -n scripts/website/build.sh
  • parsed .github/workflows/website-docs.yml with Ruby YAML
  • git diff --check
  • confirmed no Keycloak, CN1_USER/CN1_TOKEN, or token-seeding references remain in the website build path
  • full website build delegated to this PR's CI as requested

Copilot AI review requested due to automatic review settings July 22, 2026 05:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Removes the obsolete website CI/login path for JavaScript builds by deleting Keycloak token exchange and CN1 credential seeding, and switching the website workflow to always build/validate the Initializr and Playground bundles via the local ParparVM JavaScript target (no secrets required).

Changes:

  • Removed CN1_USER/CN1_TOKEN handling and Keycloak token exchange logic from the website build script.
  • Made Initializr and Playground inclusion unconditional when set to auto, and removed token-seeding steps from the JS app build flow.
  • Updated the website workflow to always build/validate Initializr and Playground outputs without credential-gated checks.

Reviewed changes

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

File Description
scripts/website/build.sh Removes credential-based gating and Keycloak/token-seeding logic so JS apps build via the local ParparVM path without login.
.github/workflows/website-docs.yml Drops secrets wiring and always validates generated Initializr/Playground JS bundle outputs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown
Contributor

Cloudflare Preview

@shai-almog
shai-almog merged commit 54278a9 into master Jul 22, 2026
12 checks passed
@shai-almog
shai-almog deleted the fix-website-free-js-builds branch July 22, 2026 05:25
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