Skip to content

ci: include OpenVSCode web assets in GHCR image - #15

Merged
tariqsaidofficial merged 1 commit into
mainfrom
wpcodespace-ghcr-web-assets-fix
Jun 17, 2026
Merged

tariqsaidofficial merged 1 commit into
mainfrom
wpcodespace-ghcr-web-assets-fix

Conversation

@tariqsaidofficial

Copy link
Copy Markdown
Member

Fixes the WPCodeSpace OpenVSCode GHCR image assembly so the published image includes browser web client assets.

Problem:

  • The previously published image starts and responds over HTTP.
  • Visual verification shows a blank page.
  • Container logs show missing web assets:
    • /opt/openvscode-server/out/vs/code/browser/workbench/workbench.css
    • /opt/openvscode-server/out/nls.messages.js

Changes:

  • Copy repository build output out/. into the Docker image context.
  • Fail early if repository out/ is missing.
  • Validate required web assets in the Docker context.
  • Validate required web assets inside the built image.
  • Extend smoke test to fail on missing asset logs.
  • Add direct curl checks for required browser assets.

Preserved:

  • No pull_request trigger.
  • No latest tag.
  • Immutable tags only.
  • YAML-safe Dockerfile generation.
  • Generated bundle guard.

Local validation:

  • YAML parsed successfully.
  • No pull_request or latest match.
  • Workflow-only diff.
  • git diff --check passed.

@tariqsaidofficial
tariqsaidofficial merged commit 58782d9 into main Jun 17, 2026
6 of 18 checks passed
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.

1 participant