Skip to content

Add website preview for all pull requests with GitHub Codespaces integration #1033

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

Merged
merged 7 commits into from
May 21, 2025

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented May 20, 2025

Website Preview for Pull Requests

This PR implements automatic website previews for all pull requests, making it easier for non-technical contributors to visualize and review changes to the website without needing to set up a local development environment.

Key Features

1. GitHub Codespaces Integration

  • Added .devcontainer configuration for one-click development environment setup
  • Included recommended VS Code extensions for Hugo website development
  • Configured debug settings to easily run the Hugo server with a single click

2. Automatic PR Preview Deployment

  • Added GitHub workflow that builds and deploys a preview for each PR
  • Each PR gets a unique preview URL that updates automatically when changes are pushed
  • Preview links are automatically added as comments to the PR

3. Documentation for Non-Technical Users

  • Updated README.md with simple Codespaces instructions
  • Created detailed CODESPACES.md guide with step-by-step instructions
  • Added PR template that informs contributors about the preview feature

How to Use

For Non-Technical Contributors:

  1. Click the "Code" button and select the "Codespaces" tab
  2. Click "Create codespace on master"
  3. Once loaded, press F5 or use the Run and Debug panel to start the Hugo server
  4. View the website in your browser and make changes

For Pull Request Reviews:
Wait for the "PR Preview" workflow to complete and a comment will be added with a link to view the website with the PR changes applied.

Fixes #1028.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@Copilot Copilot AI changed the title [WIP] Website preview in all pull requests Add website preview for all pull requests with GitHub Codespaces integration May 20, 2025
@Copilot Copilot AI requested a review from yuhattor May 20, 2025 07:11
@yuhattor
Copy link
Member

hey Copilot, could you check this? When running the apps, the error occured. we need hugo binary and set up them at the devcontainer file

Can't find Node.js binary "hugo": path does not exist. Make sure Node.js is installed and in your PATH, or set the "runtimeExecutable" in your launch.json

Copy link
Contributor Author

Copilot AI commented May 20, 2025

hey Copilot, could you check this? When running the apps, the error occured. we need hugo binary and set up them at the devcontainer file

Can't find Node.js binary "hugo": path does not exist. Ma...

I've fixed the issue with the Hugo binary in Codespaces. The problem was that launch.json was configured to use Hugo as a Node.js binary, but Hugo isn't a Node.js application. I've changed launch.json to use a shell configuration instead of node, and improved the devcontainer.json to verify Hugo is properly installed during environment setup. The changes are in commit 7e6b92d.

@yuhattor
Copy link
Member

Please fix the following errors

This codespace is currently running in recovery mode due to a configuration error. Please review the creation logs, update your dev container configuration as needed, and run the "Rebuild Container" command to rectify.

Details

2025-05-20 07:22:45.736Z: Host information
2025-05-20 07:22:45.737Z: ----------------
2025-05-20 07:22:45.737Z: OS: Ubuntu 22.04.5 LTS (stable release)
2025-05-20 07:22:45.737Z: Image details: https://github.com/github/codespaces-host-images/blob/main/README.md
2025-05-20 07:22:45.737Z: ----------------

=================================================================================
2025-05-20 07:22:45.747Z: Configuration starting...
2025-05-20 07:22:45.766Z: Cloning...

=================================================================================
2025-05-20 07:23:10.324Z: Creating container...
2025-05-20 07:23:10.993Z: $ devcontainer up --id-label Type=codespaces --workspace-folder /var/lib/docker/codespacemount/workspace/innersourcecommons.org --mount type=bind,source=/.codespaces/agent/mount/cache,target=/vscode --user-data-folder /var/lib/docker/codespacemount/.persistedshare --container-data-folder .vscode-remote/data/Machine --container-system-data-folder /var/vscode-remote --log-level trace --log-format json --update-remote-user-uid-default never --mount-workspace-git-root false --omit-config-remote-env-from-metadata --skip-non-blocking-commands --skip-post-create --config "/var/lib/docker/codespacemount/workspace/innersourcecommons.org/.devcontainer/devcontainer.json" --override-config /root/.codespaces/shared/merged_devcontainer.json --default-user-env-probe loginInteractiveShell --container-session-data-folder /workspaces/.codespaces/.persistedshare/devcontainers-cli/cache --secrets-file /root/.codespaces/shared/user-secrets-envs.json
2025-05-20 07:23:10.993Z: @devcontainers/cli 0.76.0. Node.js v18.20.8. linux 6.8.0-1027-azure x64.
2025-05-20 07:23:15.456Z: Resolving Feature dependencies for 'ghcr.io/devcontainers/features/git:1'...
2025-05-20 07:23:16.603Z: Soft-dependency 'ghcr.io/devcontainers/features/common-utils' is not required. Removing from installation order...
2025-05-20 07:23:16.900Z: Files to omit: ''
2025-05-20 07:23:16.927Z: $base-0.133.1 --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -f /tmp/devcontainercli-root/container-features/0.76.0-1747725795449/Dockerfile.extended -t vsc-innersourcecommons.org-0cd983ace2e2a5db5f36a52964e57b53f6c85204d6f7a1440ecf1ad6ebe762ce-features /var/lib/docker/codespacemount/.persistedshare/empty-folder
2025-05-20 07:23:17.719Z: #0 building with "default" instance using docker driver

#1 [internal] load .dockerignore
2025-05-20 07:23:17.724Z: #1 transferring context: 2B done
#1 DONE 0.1s

#2 [internal] load build definition from Dockerfile.extended
#2 transferring dockerfile: 2.90kB done
#2 DONE 0.1s

#3 resolve image config for docker.io/docker/dockerfile:1.4
2025-05-20 07:23:18.494Z: #3 ...2025-05-20 07:23:18.496Z:

#4 [auth] docker/dockerfile:pull token for registry-1.docker.io
2025-05-20 07:23:18.496Z: #4 DONE 0.0s
2025-05-20 07:23:18.643Z:
#3 resolve image config for docker.io/docker/dockerfile:1.4
2025-05-20 07:23:20.302Z: #3 DONE 2.7s
2025-05-20 07:23:20.427Z:
2025-05-20 07:23:20.428Z: #5 docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc
#5 resolve docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc 0.0s done
#5 sha256:ad87fb03593d1b71f9a1cfc1406c4aafcb253b1dabebf569768d6e6166836f34 528B / 528B done
#5 sha256:1e8a16826fd1c80a63fa6817a9c7284c94e40cded14a9b0d0d3722356efa47bd 2.37kB / 2.37kB done
#5 sha256:1328b32c40fca9bcf9d70d8eccb72eb873d1124d72dadce04db8badbe7b08546 0B / 9.94MB 0.1s
#5 sha256:9ba7531bd80fb0a858632727cf7a112fbfd19b17e94c4e84ced81e24ef1a0dbc 2.00kB / 2.00kB done
2025-05-20 07:23:20.634Z: #5 sha256:1328b32c40fca9bcf9d70d8eccb72eb873d1124d72dadce04db8badbe7b08546 8.39MB / 9.94MB 0.3s2025-05-20 07:23:20.635Z:
2025-05-20 07:23:20.823Z: #5 sha256:1328b32c40fca9bcf9d70d8eccb72eb873d1124d72dadce04db8badbe7b08546 9.94MB / 9.94MB 0.5s done
2025-05-20 07:23:20.953Z: #5 extracting sha256:1328b32c40fca9bcf9d70d8eccb72eb873d1124d72dadce04db8badbe7b08546 0.1s
2025-05-20 07:23:21.058Z: #5 extracting sha256:1328b32c40fca9bcf9d70d8eccb72eb873d1124d72dadce04db8badbe7b08546 0.2s done
2025-05-20 07:23:22.076Z: #5 DONE 1.8s
2025-05-20 07:23:22.404Z:
#6 [context dev_containers_feature_content_source] load .dockerignore
#6 transferring dev_containers_feature_content_source: 2B done
#6 DONE 0.0s

#7 [internal] load metadata for docker.io/hugomods/hugo:base-0.133.1
2025-05-20 07:23:23.095Z: #7 ...

#8 [auth] hugomods/hugo:pull token for registry-1.docker.io
#8 DONE 0.0s
2025-05-20 07:23:23.246Z:
#7 [internal] load metadata for docker.io/hugomods/hugo:base-0.133.1
2025-05-20 07:23:24.380Z: #7 DONE 2.1s
2025-05-20 07:23:24.641Z:
#9 [context dev_containers_feature_content_source] load from client
#9 transferring dev_containers_feature_content_source: 37.99kB done
#9 DONE 0.0s

#10 [dev_containers_feature_content_normalize 1/3] FROM docker.io/hugomods/hugo:base-0.133.1@sha256:ca1b445276ed9a8e3d7e9fe7b3dca6ff7e21392b485339d555961c71855c4941
#10 resolve docker.io/hugomods/hugo:base-0.133.1@sha256:ca1b445276ed9a8e3d7e9fe7b3dca6ff7e21392b485339d555961c71855c4941 0.0s done
2025-05-20 07:23:24.641Z: #10 sha256:894132d5c1bc401d9f55cc956f4c4832b751d9d5e8cdf84c4d2f2944f0c734c0 2.10kB / 2.10kB done
#10 sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 0B / 3.62MB 0.1s
#10 sha256:45691e23375ae1be0f57e26a5ff90e0f418b6a5ac0659846ec1fe3b784bd98f9 0B / 1.06MB 0.1s
#10 sha256:900637902c1a94f80ccecf4fbf51ef7028976b9375ca800ff1dd4143cdbaf117 0B / 292.00kB 0.1s
#10 sha256:ca1b445276ed9a8e3d7e9fe7b3dca6ff7e21392b485339d555961c71855c4941 1.61kB / 1.61kB done
#10 sha256:6d5ddf59f6323e6f2f62b31f56bf0a3727a3ee0ad9cba230f29d1ec17365f3e2 1.43kB / 1.43kB done
2025-05-20 07:23:24.844Z: #10 sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 2.10MB / 3.62MB 0.3s
2025-05-20 07:23:24.948Z: #10 sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 3.62MB / 3.62MB 0.4s done
#10 sha256:a80f799cffa5db3bffdacd0a494dbeec794b0b667d1318f0814818fdb02676db 0B / 52.90MB 0.4s
2025-05-20 07:23:25.081Z: #10 extracting sha256:c6a83fedfae6ed8a4f5f7cbb6a7b6f1c1ec3d86fea8cb9e5ba2e5e6673fde9f6 0.1s done
2025-05-20 07:23:25.191Z: #10 sha256:45691e23375ae1be0f57e26a5ff90e0f418b6a5ac0659846ec1fe3b784bd98f9 1.06MB / 1.06MB 0.6s done
#10 sha256:b233e85583408ba2c448a44a5627afe8305733a7cff4867caab628f0b70d833c 0B / 306B 0.6s
#10 extracting sha256:45691e23375ae1be0f57e26a5ff90e0f418b6a5ac0659846ec1fe3b784bd98f9
2025-05-20 07:23:25.343Z: #10 sha256:900637902c1a94f80ccecf4fbf51ef7028976b9375ca800ff1dd4143cdbaf117 292.00kB / 292.00kB 0.8s
#10 sha256:a80f799cffa5db3bffdacd0a494dbeec794b0b667d1318f0814818fdb02676db 7.34MB / 52.90MB 0.8s
#10 extracting sha256:45691e23375ae1be0f57e26a5ff90e0f418b6a5ac0659846ec1fe3b784bd98f9 0.1s done
2025-05-20 07:23:25.442Z: #10 sha256:a80f799cffa5db3bffdacd0a494dbeec794b0b667d1318f0814818fdb02676db 22.02MB / 52.90MB 0.9s
#10 sha256:b233e85583408ba2c448a44a5627afe8305733a7cff4867caab628f0b70d833c 306B / 306B 0.9s
2025-05-20 07:23:25.642Z: #10 sha256:900637902c1a94f80ccecf4fbf51ef7028976b9375ca800ff1dd4143cdbaf117 292.00kB / 292.00kB 1.1s done
#10 sha256:a80f799cffa5db3bffdacd0a494dbeec794b0b667d1318f0814818fdb02676db 50.25MB / 52.90MB 1.1s
#10 sha256:b233e85583408ba2c448a44a5627afe8305733a7cff4867caab628f0b70d833c 306B / 306B 1.1s done
#10 sha256:e6402af7c69aef8a0ef705a1b16d12f6b7abb94ea45f7b78526bad34f7fd5a3f 0B / 93B 1.1s
2025-05-20 07:23:25.843Z: #10 sha256:a80f799cffa5db3bffdacd0a494dbeec794b0b667d1318f0814818fdb02676db 52.90MB / 52.90MB 1.3s
#10 extracting sha256:900637902c1a94f80ccecf4fbf51ef7028976b9375ca800ff1dd4143cdbaf117
2025-05-20 07:23:26.043Z: #10 sha256:e6402af7c69aef8a0ef705a1b16d12f6b7abb94ea45f7b78526bad34f7fd5a3f 93B / 93B 1.5s
2025-05-20 07:23:26.645Z: #10 sha256:a80f799cffa5db3bffdacd0a494dbeec794b0b667d1318f0814818fdb02676db 52.90MB / 52.90MB 2.1s done2025-05-20 07:23:26.645Z:
2025-05-20 07:23:26.891Z: #10 sha256:e6402af7c69aef8a0ef705a1b16d12f6b7abb94ea45f7b78526bad34f7fd5a3f 93B / 93B 2.1s done
#10 extracting sha256:900637902c1a94f80ccecf4fbf51ef7028976b9375ca800ff1dd4143cdbaf117 1.1s done
2025-05-20 07:23:27.826Z: #10 extracting sha256:a80f799cffa5db3bffdacd0a494dbeec794b0b667d1318f0814818fdb02676db
2025-05-20 07:23:29.225Z: #10 extracting sha256:a80f799cffa5db3bffdacd0a494dbeec794b0b667d1318f0814818fdb02676db 1.2s done
2025-05-20 07:23:30.911Z: #10 extracting sha256:b233e85583408ba2c448a44a5627afe8305733a7cff4867caab628f0b70d833c
2025-05-20 07:23:31.106Z: #10 extracting sha256:b233e85583408ba2c448a44a5627afe8305733a7cff4867caab628f0b70d833c done
#10 extracting sha256:e6402af7c69aef8a0ef705a1b16d12f6b7abb94ea45f7b78526bad34f7fd5a3f done
2025-05-20 07:23:31.151Z: #10 DONE 6.6s
2025-05-20 07:23:31.383Z:
#11 [dev_containers_feature_content_normalize 2/3] COPY --from=dev_containers_feature_content_source devcontainer-features.builtin.env /tmp/build-features/
2025-05-20 07:23:31.390Z: #11 DONE 0.1s

#12 [dev_containers_feature_content_normalize 3/3] RUN chmod -R 0755 /tmp/build-features/
2025-05-20 07:23:31.743Z: #12 ...

#13 [dev_containers_target_stage 2/5] RUN mkdir -p /tmp/dev-container-features
#13 DONE 0.6s
2025-05-20 07:23:31.878Z:
#12 [dev_containers_feature_content_normalize 3/3] RUN chmod -R 0755 /tmp/build-features/
#12 DONE 0.5s

#14 [dev_containers_target_stage 3/5] COPY --from=dev_containers_feature_content_normalize /tmp/build-features/ /tmp/dev-container-features
#14 DONE 0.1s
2025-05-20 07:23:32.031Z:
#15 [dev_containers_target_stage 4/5] RUN echo "_CONTAINER_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]:[^:]:root:' /etc/passwd || ********) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env && echo "_REMOTE_USER_HOME=$( (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]:[^:]:root:' /etc/passwd || ********) | cut -d: -f6)" >> /tmp/dev-container-features/devcontainer-features.builtin.env
2025-05-20 07:23:32.223Z: #15 DONE 0.3s
2025-05-20 07:23:32.391Z:
#16 [dev_containers_target_stage 5/5] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=git_0,target=/tmp/build-features-src/git_0 cp -ar /tmp/build-features-src/git_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/git_0 && cd /tmp/dev-container-features/git_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/git_0
2025-05-20 07:23:32.560Z: #16 0.331 ===========================================================================
#16 0.331 Feature : Git (from source)
#16 0.331 Description : Install an up-to-date version of Git, built from source as needed. Useful for when you want the latest and greatest features. Auto-detects latest stable version and installs needed dependencies.
#16 0.331 Id : ghcr.io/devcontainers/features/git
#16 0.331 Version : 1.3.3
#16 0.331 Documentation : /devcontainers/features/tree/main/src/git
2025-05-20 07:23:32.563Z: #16 0.331 Options :
#16 0.331 VERSION="os-provided"
#16 0.331 PPA="
"
#16 0.331 ===========================================================================
2025-05-20 07:23:32.664Z: #16 0.339 env: can't execute 'bash': No such file or directory
#16 0.340 ERROR: Feature "Git (from source)" (ghcr.io/devcontainers/features/git) failed to install! Look at the documentation at ********/devcontainers/features/tree/main/src/git for help troubleshooting this error.
#16 ERROR: process "/bin/sh -c cp -ar /tmp/build-features-src/git_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/git_0 && cd /tmp/dev-container-features/git_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/git_0" did not complete successfully: exit code: 127

[dev_containers_target_stage 5/5] RUN --mount=type=bind,from=dev_containers_feature_content_source,source=git_0,target=/tmp/build-features-src/git_0 cp -ar /tmp/build-features-src/git_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/git_0 && cd /tmp/dev-container-features/git_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/git_0:
0.331 Description : Install an up-to-date version of Git, built from source as needed. Useful for when you want the latest and greatest features. Auto-detects latest stable version and installs needed dependencies.2025-05-20 07:23:32.665Z:
0.331 Id : ghcr.io/devcontainers/features/git
0.331 Version : 1.3.3
0.331 Documentation : /devcontainers/features/tree/main/src/git
0.331 Options :
0.331 VERSION="os-provided"
0.331 PPA="
"
0.331 ===========================================================================
0.339 env: can't execute 'bash': No such file or directory
0.340 ERROR: Feature "Git (from source)" (ghcr.io/devcontainers/features/git) failed to install! Look at the documentation at ********/devcontainers/features/tree/main/src/git for help troubleshooting this error.


2025-05-20 07:23:32.667Z: Dockerfile.extended:24

23 |
24 | >>> RUN --mount=type=bind,from=dev_containers_feature_content_source,source=git_0,target=/tmp/build-features-src/git_0
25 | >>> cp -ar /tmp/build-features-src/git_0 /tmp/dev-container-features
26 | >>> && chmod -R 0755 /tmp/dev-container-features/git_0
27 | >>> && cd /tmp/dev-container-features/git_0
28 | >>> && chmod +x ./devcontainer-features-install.sh
29 | >>> && ./devcontainer-features-install.sh
30 | >>> && rm -rf /tmp/dev-container-features/git_0
31 |

ERROR: failed to solve: process "/bin/sh -c cp -ar /tmp/build-features-src/git_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/git_0 && cd /tmp/dev-container-features/git_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/git_0" did not complete successfully: exit code: 127
2025-05-20 07:23:32.674Z: Stop: Run: docker buildx build --load --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.76.0-1747725795449 --build-arg _DEV_CONTAINERS_BASE_IMAGE=hugomods/hugo:base-0.133.1 --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -f /tmp/devcontainercli-root/container-features/0.76.0-1747725795449/Dockerfile.extended -t vsc-innersourcecommons.org-0cd983ace2e2a5db5f36a52964e57b53f6c85204d6f7a1440ecf1ad6ebe762ce-features /var/lib/docker/codespacemount/.persistedshare/empty-folder
2025-05-20 07:23:32.675Z: {"outcome":"error","message":"Command failed: docker buildx build --load --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.76.0-1747725795449 --build-arg _DEV_CONTAINERS_BASE_IMAGE=hugomods/hugo:base-0.133.1 --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -f /tmp/devcontainercli-root/container-features/0.76.0-1747725795449/Dockerfile.extended -t vsc-innersourcecommons.org-0cd983ace2e2a5db5f36a52964e57b53f6c85204d6f7a1440ecf1ad6ebe762ce-features /var/lib/docker/codespacemount/.persistedshare/empty-folder","description":"An error occurred setting up the container."}
2025-05-20 07:23:32.675Z: Error: Command failed: docker buildx build --load --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.76.0-1747725795449 --build-arg _DEV_CONTAINERS_BASE_IMAGE=hugomods/hugo:base-0.133.1 --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -f /tmp/devcontainercli-root/container-features/0.76.0-1747725795449/Dockerfile.extended -t vsc-innersourcecommons.org-0cd983ace2e2a5db5f36a52964e57b53f6c85204d6f7a1440ecf1ad6ebe762ce-features /var/lib/docker/codespacemount/.persistedshare/empty-folder
2025-05-20 07:23:32.676Z: at D6 (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:467:1253)
2025-05-20 07:23:32.676Z: at Ix (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:467:997)
2025-05-20 07:23:32.676Z: at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2025-05-20 07:23:32.677Z: at async Y6 (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:484:3842)
2025-05-20 07:23:32.677Z: at async BC (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:484:4957)
2025-05-20 07:23:32.678Z: at async p7 (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:665:202)
2025-05-20 07:23:32.678Z: at async d7 (/.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:664:14804)
2025-05-20 07:23:32.680Z: at async /.codespaces/agent/bin/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:484:1188
2025-05-20 07:23:32.687Z: devcontainer process exited with exit code 1

====================================== ERROR ====================================
2025-05-20 07:23:32.701Z: Failed to create container.

2025-05-20 07:23:32.702Z: Error: Command failed: docker buildx build --load --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.76.0-1747725795449 --build-arg _DEV_CONTAINERS_BASE_IMAGE=hugomods/hugo:base-0.133.1 --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp --target dev_containers_target_stage -f /tmp/devcontainercli-root/container-features/0.76.0-1747725795449/Dockerfile.extended -t vsc-innersourcecommons.org-0cd983ace2e2a5db5f36a52964e57b53f6c85204d6f7a1440ecf1ad6ebe762ce-features /var/lib/docker/codespacemount/.persistedshare/empty-folder
2025-05-20 07:23:32.710Z: Error code: 1302 (UnifiedContainersErrorFatalCreatingContainer)

====================================== ERROR ====================================
2025-05-20 07:23:32.731Z: Container creation failed.

2025-05-20 07:23:32.747Z:

===================================== WARNING ===================================
2025-05-20 07:23:32.748Z: Creating recovery container.

=================================================================================
2025-05-20 07:24:40.839Z: Creating container...
2025-05-20 07:24:40.909Z: $ devcontainer up --id-label Type=codespaces --workspace-folder /var/lib/docker/codespacemount/workspace/innersourcecommons.org --mount type=bind,source=/.codespaces/agent/mount/cache,target=/vscode --user-data-folder /var/lib/docker/codespacemount/.persistedshare --container-data-folder .vscode-remote/data/Machine --container-system-data-folder /var/vscode-remote --log-level trace --log-format json --update-remote-user-uid-default never --mount-workspace-git-root false --omit-config-remote-env-from-metadata --skip-non-blocking-commands --skip-post-create --config "/var/lib/docker/codespacemount/workspace/innersourcecommons.org/.devcontainer/devcontainer.json" --override-config /root/.codespaces/shared/merged_devcontainer.json --default-user-env-probe loginInteractiveShell --container-session-data-folder /workspaces/.codespaces/.persistedshare/devcontainers-cli/cache --secrets-file /root/.codespaces/shared/user-secrets-envs.json
2025-05-20 07:24:41.171Z: @devcontainers/cli 0.76.0. Node.js v18.20.8. linux 6.8.0-1027-azure x64.
2025-05-20 07:24:41.767Z: $alpine -c echo Container started
2025-05-20 07:24:41.802Z: Unable to find image 'mcr.microsoft.com/devcontainers/base:alpine' locally
2025-05-20 07:24:41.932Z: alpine: 2025-05-20 07:24:41.934Z: Pulling from devcontainers/base
2025-05-20 07:24:41.977Z:
�[1A�[2K
f18232174bc9: Pulling fs layer
�[1B
�[1A�[2K
2e9ec98d14e7: Pulling fs layer
�[1B
�[1A�[2K
b6c499bbf48d: Pulling fs layer
�[1B
�[1A�[2K
4fd91584d0e1: Pulling fs layer
�[1B
�[1A�[2K
0f235374f898: Pulling fs layer
�[1B
�[1A�[2K
dfe14fed64e2: Pulling fs layer
�[1B
�[1A�[2K
6f5daa875ea6: Pulling fs layer
�[1B�[4A�[2K
4fd91584d0e1: Waiting
�[4B�[3A�[2K
0f235374f898: Waiting
�[3B�[2A�[2K
dfe14fed64e2: Waiting
�[2B�[1A�[2K
6f5daa875ea6: Waiting
�[1B2025-05-20 07:24:42.018Z: �[7A�[2K2025-05-20 07:24:42.020Z:
f18232174bc9: Downloading 48.35kB/3.642MB
�[7B2025-05-20 07:24:42.042Z: �[5A�[2K
b6c499bbf48d: Downloading 135B/135B
�[5B2025-05-20 07:24:42.044Z: �[5A2025-05-20 07:24:42.045Z: �[2K
b6c499bbf48d: Verifying Checksum
�[5B2025-05-20 07:24:42.048Z: �[5A2025-05-20 07:24:42.048Z: �[2K
b6c499bbf48d: Download complete
�[5B2025-05-20 07:24:42.049Z: �[6A�[2K
2e9ec98d14e7: Downloading 412B/412B
�[6B�[6A�[2K
2e9ec98d14e7: Verifying Checksum
�[6B�[6A�[2K
2e9ec98d14e7: Download complete
�[6B2025-05-20 07:24:42.066Z: �[7A�[2K2025-05-20 07:24:42.067Z:
f18232174bc9: Verifying Checksum
�[7B�[7A�[2K
2025-05-20 07:24:42.067Z: f18232174bc9: Download complete
�[7B2025-05-20 07:24:42.070Z: �[7A�[2K
f18232174bc9: Extracting 65.54kB/3.642MB
2025-05-20 07:24:42.075Z: �[7B2025-05-20 07:24:42.128Z: �[3A�[2K
0f235374f898: Downloading 233B/233B
�[3B�[3A�[2K
0f235374f898: Verifying Checksum
�[3B�[3A�[2K
0f235374f898: Download complete
�[3B2025-05-20 07:24:42.128Z: �[4A�[2K
4fd91584d0e1: Downloading 223B/223B
�[4B�[4A�[2K
4fd91584d0e1: Verifying Checksum
�[4B�[4A�[2K
4fd91584d0e1: Download complete
�[4B2025-05-20 07:24:42.153Z: �[2A�[2K
dfe14fed64e2: Downloading 538.7kB/241.1MB
�[2B2025-05-20 07:24:42.182Z: �[7A2025-05-20 07:24:42.186Z: �[2K2025-05-20 07:24:42.186Z:
f18232174bc9: Extracting 786.4kB/3.642MB
�[7B2025-05-20 07:24:42.226Z: �[1A2025-05-20 07:24:42.226Z: �[2K
6f5daa875ea6: Downloading 456.8kB/44.3MB
�[1B2025-05-20 07:24:42.257Z: �[2A2025-05-20 07:24:42.260Z: �[2K2025-05-20 07:24:42.260Z:
dfe14fed64e2: Downloading 13.5MB/241.1MB
�[2B2025-05-20 07:24:42.310Z: �[7A2025-05-20 07:24:42.313Z: �[2K
f18232174bc9: Extracting 1.638MB/3.642MB
�[7B2025-05-20 07:24:42.338Z: �[1A�[2K
6f5daa875ea6: Downloading 9.159MB/44.3MB
2025-05-20 07:24:42.338Z: �[1B2025-05-20 07:24:42.360Z: �[2A�[2K
2025-05-20 07:24:42.361Z: dfe14fed64e2: Downloading 27.02MB/241.1MB
�[2B2025-05-20 07:24:42.413Z: �[7A2025-05-20 07:24:42.414Z: �[2K
f18232174bc9: Extracting 2.818MB/3.642MB
�[7B2025-05-20 07:24:42.431Z: �[1A�[2K
6f5daa875ea6: Downloading 21.54MB/44.3MB
�[1B2025-05-20 07:24:42.459Z: �[7A2025-05-20 07:24:42.461Z: �[2K
f18232174bc9: Extracting 3.642MB/3.642MB
�[7B�[7A�[2K
f18232174bc9: Extracting 3.642MB/3.642MB
�[7B2025-05-20 07:24:42.487Z: �[2A�[2K
dfe14fed64e2: Downloading 33.51MB/241.1MB
�[2B2025-05-20 07:24:42.541Z: �[1A2025-05-20 07:24:42.542Z: �[2K
6f5daa875ea6: Downloading 32.1MB/44.3MB
�[1B2025-05-20 07:24:42.596Z: �[2A�[2K
dfe14fed64e2: Downloading 41.07MB/241.1MB
�[2B2025-05-20 07:24:42.652Z: �[1A�[2K
6f5daa875ea6: Downloading 39.9MB/44.3MB
�[1B2025-05-20 07:24:42.666Z: �[7A�[2K
f18232174bc9: 2025-05-20 07:24:42.666Z: Pull complete
�[7B2025-05-20 07:24:42.668Z: �[1A2025-05-20 07:24:42.668Z: �[2K2025-05-20 07:24:42.668Z:
6f5daa875ea6: Verifying Checksum
�[1B2025-05-20 07:24:42.669Z: �[1A�[2K
2025-05-20 07:24:42.669Z: 6f5daa875ea6: Download complete
�[1B2025-05-20 07:24:42.695Z: �[6A�[2K
2e9ec98d14e7: Extracting 412B/412B
�[6B�[6A�[2K
2e9ec98d14e7: Extracting 412B/412B
�[6B2025-05-20 07:24:42.701Z: �[2A�[2K
dfe14fed64e2: Downloading 54.59MB/241.1MB
�[2B2025-05-20 07:24:42.822Z: �[2A�[2K
dfe14fed64e2: Downloading 64.86MB/241.1MB
�[2B2025-05-20 07:24:42.921Z: �[2A�[2K2025-05-20 07:24:42.922Z:
dfe14fed64e2: Downloading 75.68MB/241.1MB
2025-05-20 07:24:42.922Z: �[2B2025-05-20 07:24:43.015Z: �[2A�[2K2025-05-20 07:24:43.018Z:
dfe14fed64e2: Downloading 85.41MB/241.1MB
�[2B2025-05-20 07:24:43.115Z: �[2A�[2K
dfe14fed64e2: Downloading 102.2MB/241.1MB
�[2B2025-05-20 07:24:43.237Z: �[2A�[2K
dfe14fed64e2: Downloading 117.3MB/241.1MB
�[2B2025-05-20 07:24:43.321Z: �[2A�[2K
dfe14fed64e2: Downloading 129.2MB/241.1MB
�[2B2025-05-20 07:24:43.424Z: �[2A2025-05-20 07:24:43.425Z: �[2K
dfe14fed64e2: Downloading 145.4MB/241.1MB
�[2B2025-05-20 07:24:43.526Z: �[2A�[2K
dfe14fed64e2: Downloading 161.1MB/241.1MB
�[2B2025-05-20 07:24:43.625Z: �[2A2025-05-20 07:24:43.629Z: �[2K
dfe14fed64e2: Downloading 177.9MB/241.1MB
�[2B2025-05-20 07:24:43.731Z: �[2A2025-05-20 07:24:43.733Z: �[2K
dfe14fed64e2: Downloading 189.8MB/241.1MB
�[2B2025-05-20 07:24:43.832Z: �[2A�[2K
dfe14fed64e2: Downloading 202.7MB/241.1MB
�[2B2025-05-20 07:24:43.937Z: �[2A�[2K
dfe14fed64e2: Downloading 218.4MB/241.1MB
�[2B2025-05-20 07:24:44.036Z: �[2A�[2K2025-05-20 07:24:44.038Z:
dfe14fed64e2: Downloading 233MB/241.1MB
�[2B2025-05-20 07:24:44.085Z: �[2A�[2K
dfe14fed64e2: Verifying Checksum
�[2B�[2A�[2K
dfe14fed64e2: Download complete
�[2B2025-05-20 07:24:45.806Z: �[6A2025-05-20 07:24:45.806Z: �[2K
2e9ec98d14e7: 2025-05-20 07:24:45.807Z: Pull complete
�[6B2025-05-20 07:24:45.811Z: �[5A�[2K
b6c499bbf48d: 2025-05-20 07:24:45.811Z: Extracting 135B/135B
�[5B�[5A�[2K
b6c499bbf48d: Extracting 135B/135B
�[5B2025-05-20 07:24:47.616Z: �[5A�[2K
b6c499bbf48d: Pull complete
�[5B2025-05-20 07:24:47.620Z: �[4A2025-05-20 07:24:47.622Z: �[2K
4fd91584d0e1: Extracting 223B/223B
�[4B2025-05-20 07:24:47.623Z: �[4A�[2K
4fd91584d0e1: Extracting 223B/223B
�[4B2025-05-20 07:24:47.651Z: �[4A�[2K
4fd91584d0e1: Pull complete
�[4B2025-05-20 07:24:47.659Z: �[3A�[2K
0f235374f898: Extracting 233B/233B
�[3B2025-05-20 07:24:47.660Z: �[3A�[2K
0f235374f898: Extracting 233B/233B
�[3B2025-05-20 07:24:47.691Z: �[3A�[2K
0f235374f898: Pull complete
�[3B2025-05-20 07:24:47.728Z: �[2A2025-05-20 07:24:47.730Z: �[2K
dfe14fed64e2: Extracting 557.1kB/241.1MB
�[2B2025-05-20 07:24:47.836Z: �[2A2025-05-20 07:24:47.840Z: �[2K
dfe14fed64e2: Extracting 2.228MB/241.1MB
�[2B2025-05-20 07:24:47.944Z: �[2A2025-05-20 07:24:47.944Z: �[2K
dfe14fed64e2: Extracting 5.571MB/241.1MB
�[2B2025-05-20 07:24:48.046Z: �[2A2025-05-20 07:24:48.048Z: �[2K
dfe14fed64e2: Extracting 8.913MB/241.1MB
�[2B2025-05-20 07:24:48.185Z: �[2A�[2K
dfe14fed64e2: Extracting 13.37MB/241.1MB
�[2B2025-05-20 07:24:48.288Z: �[2A�[2K
dfe14fed64e2: Extracting 16.15MB/241.1MB
�[2B2025-05-20 07:24:48.391Z: �[2A�[2K2025-05-20 07:24:48.392Z:
dfe14fed64e2: Extracting 19.5MB/241.1MB
�[2B2025-05-20 07:24:48.500Z: �[2A�[2K
dfe14fed64e2: Extracting 21.73MB/241.1MB
�[2B2025-05-20 07:24:48.607Z: �[2A�[2K2025-05-20 07:24:48.607Z:
dfe14fed64e2: Extracting 23.4MB/241.1MB
�[2B2025-05-20 07:24:48.785Z: �[2A�[2K
dfe14fed64e2: Extracting 24.51MB/241.1MB
�[2B2025-05-20 07:24:48.979Z: �[2A�[2K
dfe14fed64e2: 2025-05-20 07:24:48.980Z: Extracting 25.07MB/241.1MB
�[2B2025-05-20 07:24:49.107Z: �[2A�[2K
dfe14fed64e2: Extracting 25.62MB/241.1MB
�[2B2025-05-20 07:24:49.256Z: �[2A2025-05-20 07:24:49.259Z: �[2K
dfe14fed64e2: 2025-05-20 07:24:49.261Z: Extracting 26.18MB/241.1MB
�[2B2025-05-20 07:24:49.415Z: �[2A�[2K
dfe14fed64e2: 2025-05-20 07:24:49.416Z: Extracting 26.74MB/241.1MB
�[2B2025-05-20 07:24:49.613Z: �[2A2025-05-20 07:24:49.614Z: �[2K
dfe14fed64e2: Extracting 30.08MB/241.1MB
�[2B2025-05-20 07:24:49.718Z: �[2A2025-05-20 07:24:49.719Z: �[2K
dfe14fed64e2: Extracting 30.64MB/241.1MB
�[2B2025-05-20 07:24:49.819Z: �[2A�[2K
2025-05-20 07:24:49.820Z: dfe14fed64e2: Extracting 32.87MB/241.1MB
�[2B2025-05-20 07:24:49.926Z: �[2A�[2K
dfe14fed64e2: 2025-05-20 07:24:49.927Z: Extracting 36.77MB/241.1MB
�[2B2025-05-20 07:24:50.039Z: �[2A�[2K
dfe14fed64e2: Extracting 40.11MB/241.1MB
�[2B2025-05-20 07:24:50.140Z: �[2A2025-05-20 07:24:50.141Z: �[2K
dfe14fed64e2: Extracting 43.45MB/241.1MB
�[2B2025-05-20 07:24:50.247Z: �[2A2025-05-20 07:24:50.249Z: �[2K
dfe14fed64e2: Extracting 46.24MB/241.1MB
�[2B2025-05-20 07:24:50.364Z: �[2A�[2K2025-05-20 07:24:50.365Z:
dfe14fed64e2: Extracting 49.58MB/241.1MB
�[2B2025-05-20 07:24:50.483Z: �[2A2025-05-20 07:24:50.484Z: �[2K
dfe14fed64e2: Extracting 52.36MB/241.1MB
�[2B2025-05-20 07:24:50.614Z: �[2A�[2K
dfe14fed64e2: Extracting 54.03MB/241.1MB
�[2B2025-05-20 07:24:50.765Z: �[2A�[2K
dfe14fed64e2: Extracting 56.26MB/241.1MB
�[2B2025-05-20 07:24:50.866Z: �[2A�[2K
dfe14fed64e2: Extracting 57.93MB/241.1MB
�[2B2025-05-20 07:24:51.019Z: �[2A�[2K
dfe14fed64e2: Extracting 60.16MB/241.1MB
�[2B2025-05-20 07:24:51.150Z: �[2A�[2K
dfe14fed64e2: Extracting 62.39MB/241.1MB
�[2B2025-05-20 07:24:51.254Z: �[2A�[2K
dfe14fed64e2: Extracting 64.62MB/241.1MB
�[2B2025-05-20 07:24:51.368Z: �[2A�[2K
dfe14fed64e2: Extracting 69.63MB/241.1MB
�[2B2025-05-20 07:24:51.469Z: �[2A2025-05-20 07:24:51.469Z: �[2K
dfe14fed64e2: Extracting 75.2MB/241.1MB
�[2B2025-05-20 07:24:51.587Z: �[2A�[2K
dfe14fed64e2: Extracting 81.33MB/241.1MB
�[2B2025-05-20 07:24:51.687Z: �[2A2025-05-20 07:24:51.687Z: �[2K
dfe14fed64e2: Extracting 89.13MB/241.1MB
�[2B2025-05-20 07:24:51.806Z: �[2A2025-05-20 07:24:51.807Z: �[2K
dfe14fed64e2: Extracting 96.93MB/241.1MB
�[2B2025-05-20 07:24:51.903Z: �[2A�[2K
dfe14fed64e2: Extracting 99.16MB/241.1MB
�[2B2025-05-20 07:24:52.039Z: �[2A�[2K
dfe14fed64e2: Extracting 101.4MB/241.1MB
�[2B2025-05-20 07:24:52.161Z: �[2A2025-05-20 07:24:52.162Z: �[2K
dfe14fed64e2: Extracting 103.1MB/241.1MB
�[2B2025-05-20 07:24:52.263Z: �[2A�[2K
dfe14fed64e2: Extracting 106.4MB/241.1MB
�[2B2025-05-20 07:24:52.370Z: �[2A2025-05-20 07:24:52.371Z: �[2K
dfe14fed64e2: Extracting 111.4MB/241.1MB
�[2B2025-05-20 07:24:52.481Z: �[2A2025-05-20 07:24:52.481Z: �[2K
dfe14fed64e2: Extracting 114.8MB/241.1MB
�[2B2025-05-20 07:24:52.760Z: �[2A�[2K
dfe14fed64e2: Extracting 115.9MB/241.1MB
�[2B2025-05-20 07:24:52.890Z: �[2A2025-05-20 07:24:52.892Z: �[2K
dfe14fed64e2: 2025-05-20 07:24:52.892Z: Extracting 118.7MB/241.1MB
�[2B2025-05-20 07:24:53.064Z: �[2A2025-05-20 07:24:53.069Z: �[2K
dfe14fed64e2: Extracting 120.3MB/241.1MB
�[2B2025-05-20 07:24:53.175Z: �[2A2025-05-20 07:24:53.178Z: �[2K2025-05-20 07:24:53.179Z:
dfe14fed64e2: Extracting 121.4MB/241.1MB
�[2B2025-05-20 07:24:53.297Z: �[2A�[2K
dfe14fed64e2: Extracting 122MB/241.1MB
�[2B2025-05-20 07:24:53.460Z: �[2A�[2K
2025-05-20 07:24:53.460Z: dfe14fed64e2: Extracting 123.1MB/241.1MB
�[2B2025-05-20 07:24:53.591Z: �[2A�[2K
dfe14fed64e2: Extracting 123.7MB/241.1MB
�[2B2025-05-20 07:24:53.702Z: �[2A2025-05-20 07:24:53.704Z: �[2K
dfe14fed64e2: Extracting 124.8MB/241.1MB
�[2B2025-05-20 07:24:53.820Z: �[2A�[2K
dfe14fed64e2: Extracting 127.6MB/241.1MB
2025-05-20 07:24:53.821Z: �[2B2025-05-20 07:24:53.943Z: �[2A�[2K
dfe14fed64e2: Extracting 130.4MB/241.1MB
�[2B2025-05-20 07:24:54.093Z: �[2A�[2K
dfe14fed64e2: Extracting 132.6MB/241.1MB
�[2B2025-05-20 07:24:54.215Z: �[2A�[2K2025-05-20 07:24:54.217Z:
dfe14fed64e2: Extracting 134.8MB/241.1MB
�[2B2025-05-20 07:24:54.359Z: �[2A�[2K
dfe14fed64e2: Extracting 137.6MB/241.1MB
�[2B2025-05-20 07:24:54.459Z: �[2A�[2K
dfe14fed64e2: Extracting 139.8MB/241.1MB
�[2B2025-05-20 07:24:54.577Z: �[2A�[2K
dfe14fed64e2: Extracting 143.2MB/241.1MB
�[2B2025-05-20 07:24:54.686Z: �[2A�[2K
dfe14fed64e2: Extracting 145.4MB/241.1MB
�[2B2025-05-20 07:24:54.818Z: �[2A�[2K
dfe14fed64e2: Extracting 148.2MB/241.1MB
�[2B2025-05-20 07:24:54.928Z: �[2A�[2K
dfe14fed64e2: Extracting 150.4MB/241.1MB
�[2B2025-05-20 07:24:55.052Z: �[2A�[2K
dfe14fed64e2: Extracting 153.7MB/241.1MB
�[2B2025-05-20 07:24:55.173Z: �[2A�[2K
dfe14fed64e2: Extracting 156.5MB/241.1MB
�[2B2025-05-20 07:24:55.280Z: �[2A2025-05-20 07:24:55.280Z: �[2K
dfe14fed64e2: Extracting 159.3MB/241.1MB
�[2B2025-05-20 07:24:55.391Z: �[2A�[2K
dfe14fed64e2: Extracting 162.7MB/241.1MB
�[2B2025-05-20 07:24:55.510Z: �[2A�[2K
dfe14fed64e2: Extracting 165.4MB/241.1MB
�[2B2025-05-20 07:24:55.625Z: �[2A�[2K
dfe14fed64e2: Extracting 168.2MB/241.1MB
�[2B2025-05-20 07:24:55.754Z: �[2A�[2K
dfe14fed64e2: Extracting 170.5MB/241.1MB
�[2B2025-05-20 07:24:56.288Z: �[2A2025-05-20 07:24:56.290Z: �[2K
dfe14fed64e2: Extracting 172.1MB/241.1MB
�[2B2025-05-20 07:24:56.389Z: �[2A�[2K
dfe14fed64e2: Extracting 176.6MB/241.1MB
�[2B2025-05-20 07:24:56.493Z: �[2A�[2K
2025-05-20 07:24:56.494Z: dfe14fed64e2: Extracting 180.5MB/241.1MB
�[2B2025-05-20 07:24:56.613Z: �[2A2025-05-20 07:24:56.615Z: �[2K
dfe14fed64e2: Extracting 184.4MB/241.1MB
�[2B2025-05-20 07:24:56.723Z: �[2A2025-05-20 07:24:56.724Z: �[2K
dfe14fed64e2: Extracting 191.6MB/241.1MB
�[2B2025-05-20 07:24:56.826Z: �[2A�[2K
dfe14fed64e2: Extracting 198.9MB/241.1MB
�[2B2025-05-20 07:24:56.931Z: �[2A�[2K
dfe14fed64e2: Extracting 205.6MB/241.1MB
�[2B2025-05-20 07:24:57.037Z: �[2A�[2K2025-05-20 07:24:57.037Z:
dfe14fed64e2: Extracting 213.4MB/241.1MB
�[2B2025-05-20 07:24:57.148Z: �[2A�[2K
dfe14fed64e2: Extracting 221.2MB/241.1MB
�[2B2025-05-20 07:24:57.249Z: �[2A�[2K
2025-05-20 07:24:57.250Z: dfe14fed64e2: Extracting 228.4MB/241.1MB
�[2B2025-05-20 07:24:57.404Z: �[2A�[2K
dfe14fed64e2: Extracting 230.6MB/241.1MB
�[2B2025-05-20 07:24:57.531Z: �[2A�[2K
dfe14fed64e2: Extracting 232.3MB/241.1MB
�[2B2025-05-20 07:24:57.676Z: �[2A�[2K
dfe14fed64e2: Extracting 233.4MB/241.1MB
�[2B2025-05-20 07:24:57.983Z: �[2A�[2K
dfe14fed64e2: Extracting 234.5MB/241.1MB
�[2B2025-05-20 07:24:58.136Z: �[2A�[2K
dfe14fed64e2: Extracting 235.1MB/241.1MB
2025-05-20 07:24:58.136Z: �[2B2025-05-20 07:24:58.264Z: �[2A�[2K2025-05-20 07:24:58.265Z:
dfe14fed64e2: Extracting 236.2MB/241.1MB
�[2B2025-05-20 07:24:58.497Z: �[2A�[2K
dfe14fed64e2: Extracting 236.7MB/241.1MB
�[2B2025-05-20 07:24:58.610Z: �[2A�[2K
dfe14fed64e2: Extracting 237.9MB/241.1MB
�[2B2025-05-20 07:24:58.844Z: �[2A2025-05-20 07:24:58.845Z: �[2K
dfe14fed64e2: Extracting 238.4MB/241.1MB
�[2B2025-05-20 07:25:02.459Z: �[2A�[2K
dfe14fed64e2: Extracting 239MB/241.1MB
�[2B2025-05-20 07:25:02.471Z: �[2A�[2K
dfe14fed64e2: Extracting 241.1MB/241.1MB
�[2B2025-05-20 07:25:04.185Z: �[2A�[2K
dfe14fed64e2: Pull complete
�[2B2025-05-20 07:25:04.213Z: �[1A2025-05-20 07:25:04.214Z: �[2K
6f5daa875ea6: Extracting 458.8kB/44.3MB
�[1B2025-05-20 07:25:04.317Z: �[1A�[2K
6f5daa875ea6: Extracting 2.294MB/44.3MB
�[1B2025-05-20 07:25:04.474Z: �[1A�[2K
6f5daa875ea6: 2025-05-20 07:25:04.475Z: Extracting 5.046MB/44.3MB
�[1B2025-05-20 07:25:04.601Z: �[1A2025-05-20 07:25:04.602Z: �[2K
6f5daa875ea6: Extracting 5.505MB/44.3MB
�[1B2025-05-20 07:25:04.709Z: �[1A�[2K
6f5daa875ea6: Extracting 8.258MB/44.3MB
�[1B2025-05-20 07:25:04.809Z: �[1A2025-05-20 07:25:04.809Z: �[2K
6f5daa875ea6: Extracting 11.93MB/44.3MB
�[1B2025-05-20 07:25:05.007Z: �[1A2025-05-20 07:25:05.008Z: �[2K
6f5daa875ea6: Extracting 12.85MB/44.3MB
�[1B2025-05-20 07:25:05.109Z: �[1A�[2K
6f5daa875ea6: Extracting 15.14MB/44.3MB
�[1B2025-05-20 07:25:05.216Z: �[1A�[2K
6f5daa875ea6: Extracting 20.64MB/44.3MB
�[1B2025-05-20 07:25:05.331Z: �[1A�[2K
6f5daa875ea6: Extracting 26.61MB/44.3MB
�[1B2025-05-20 07:25:05.563Z: �[1A2025-05-20 07:25:05.564Z: �[2K
6f5daa875ea6: Extracting 29.82MB/44.3MB
�[1B2025-05-20 07:25:05.668Z: �[1A�[2K
6f5daa875ea6: Extracting 30.28MB/44.3MB
�[1B2025-05-20 07:25:05.810Z: �[1A�[2K2025-05-20 07:25:05.810Z:
6f5daa875ea6: Extracting 31.2MB/44.3MB
�[1B2025-05-20 07:25:05.931Z: �[1A2025-05-20 07:25:05.931Z: �[2K
6f5daa875ea6: Extracting 31.65MB/44.3MB
�[1B2025-05-20 07:25:06.120Z: �[1A2025-05-20 07:25:06.120Z: �[2K
6f5daa875ea6: 2025-05-20 07:25:06.121Z: Extracting 32.57MB/44.3MB
�[1B2025-05-20 07:25:06.223Z: �[1A�[2K
6f5daa875ea6: Extracting 33.49MB/44.3MB
�[1B2025-05-20 07:25:06.427Z: �[1A�[2K
2025-05-20 07:25:06.427Z: 6f5daa875ea6: Extracting 36.7MB/44.3MB
�[1B2025-05-20 07:25:06.539Z: �[1A2025-05-20 07:25:06.539Z: �[2K
6f5daa875ea6: Extracting 38.54MB/44.3MB
�[1B2025-05-20 07:25:06.685Z: �[1A�[2K
6f5daa875ea6: 2025-05-20 07:25:06.686Z: Extracting 40.37MB/44.3MB
�[1B2025-05-20 07:25:06.816Z: �[1A2025-05-20 07:25:06.816Z: �[2K
6f5daa875ea6: Extracting 41.29MB/44.3MB
�[1B2025-05-20 07:25:07.019Z: �[1A�[2K
6f5daa875ea6: Extracting 42.21MB/44.3MB
2025-05-20 07:25:07.020Z: �[1B2025-05-20 07:25:07.102Z: �[1A�[2K
6f5daa875ea6: Extracting 44.3MB/44.3MB
�[1B2025-05-20 07:25:08.635Z: �[1A�[2K
6f5daa875ea6: Pull complete
�[1B2025-05-20 07:25:08.643Z: Digest: sha256:f39c9e54a784f203c1a0a33ba1950b54a789b4a02d50e90dfbde880ba451733b
2025-05-20 07:25:08.648Z: Status: Downloaded newer image for mcr.microsoft.com/devcontainers/base:alpine2025-05-20 07:25:08.649Z:
2025-05-20 07:25:08.802Z: Container started
2025-05-20 07:25:08.988Z: Outcome: success User: vscode WorkspaceFolder: /workspaces/innersourcecommons.org
2025-05-20 07:25:08.993Z: devcontainer process exited with exit code 0

=================================================================================
2025-05-20 07:25:09.442Z: Running blocking commands...
2025-05-20 07:25:09.482Z: $ devcontainer up --id-label Type=codespaces --workspace-folder /var/lib/docker/codespacemount/workspace/innersourcecommons.org --mount type=bind,source=/.codespaces/agent/mount/cache,target=/vscode --user-data-folder /var/lib/docker/codespacemount/.persistedshare --container-data-folder .vscode-remote/data/Machine --container-system-data-folder /var/vscode-remote --log-level trace --log-format json --update-remote-user-uid-default never --mount-workspace-git-root false --omit-config-remote-env-from-metadata --skip-non-blocking-commands --expect-existing-container --config "/var/lib/docker/codespacemount/workspace/innersourcecommons.org/.devcontainer/devcontainer.json" --override-config /root/.codespaces/shared/merged_devcontainer.json --default-user-env-probe loginInteractiveShell --container-session-data-folder /workspaces/.codespaces/.persistedshare/devcontainers-cli/cache --secrets-file /root/.codespaces/shared/user-secrets-envs.json
2025-05-20 07:25:09.710Z: @devcontainers/cli 0.76.0. Node.js v18.20.8. linux 6.8.0-1027-azure x64.
2025-05-20 07:25:10.044Z: Outcome: success User: vscode WorkspaceFolder: /workspaces/innersourcecommons.org
2025-05-20 07:25:10.053Z: devcontainer process exited with exit code 0

=================================================================================
2025-05-20 07:25:10.086Z: Configuring codespace...

=================================================================================
2025-05-20 07:25:10.086Z: Finished configuring codespace.

Copy link
Contributor Author

Copilot AI commented May 20, 2025

Please fix the following errors

This codespace is currently running in recovery mode due to a configuration error. Please review the creation logs, update your dev container configuration as needed...

I've fixed the Codespaces configuration error in commit 1ed2cfd. The issue was with the base container image and Hugo installation. I've made these changes:

  1. Switched to a standard Ubuntu base image instead of the Hugo-specific image
  2. Added explicit Hugo installation using the official .deb package
  3. Changed the user from 'root' to 'vscode' which is more compatible with Codespaces
  4. Added Node.js which is needed for the website development
  5. Updated the troubleshooting documentation with instructions for recovering from container errors

The container should now build properly without going into recovery mode.

@yuhattor
Copy link
Member

It looks pretty awesome, but there're some issues.

debug doesn't show up

In the debug section on left pain, didn't show up. It only shows blank window. please set up properly

Actions

You don't need to deploy it everytime.

  - name: Deploy PR Preview
    uses: rossjrw/pr-preview-action@v1
    with:
      source-dir: ./public/
      preview-branch: gh-pages
      umbrella-dir: pr-preview
      action: auto

You don't need to use peter-evans' extension. you should use github cli to do so.
Also, you need to leave a comment about "how to review on GitHub Codespaces", and you should point the proper procedure documentation.

  - name: Find Comment
    uses: peter-evans/find-comment@v1
    id: fc
    with:
      issue-number: ${{ github.event.pull_request.number }}
      comment-author: 'github-actions[bot]'
      body-includes: "Preview this PR"

  - name: Create or Update Comment
    uses: peter-evans/create-or-update-comment@v1
    with:
      comment-id: ${{ steps.fc.outputs.comment-id }}
      issue-number: ${{ github.event.pull_request.number }}
      body: |
        ### :rocket: Preview this PR
        
        You can view a preview of the website changes at:
        https://innersourcecommons.github.io/innersourcecommons.org/pr-preview/pr-${{ github.event.pull_request.number }}/
        
        This preview will be updated automatically as you make changes to the PR.
        
        _Note: The preview may take a few moments to deploy after changes are pushed._
      edit-mode: replace

Copy link
Contributor Author

Copilot AI commented May 20, 2025

It looks pretty awesome, but there're some issues.

debug doesn't show up

...

I've made the following changes to fix both issues in commit f0bd049:

  1. Fixed debug section not showing up:

    • Updated launch.json to use pwa-node type instead of shell
    • Added tasks.json with pre-launch check
    • Added JavaScript debugging extension to devcontainer.json
  2. Improved GitHub Actions workflow:

    • Replaced rossjrw/pr-preview-action with direct git commands
    • Replaced peter-evans extensions with GitHub CLI
    • Added Codespaces review instructions in the PR comment
    • Added link to the CODESPACES.md documentation

The debug panel should now properly display the "Hugo Server" configuration, and the PR preview workflow is more efficient using GitHub CLI.

Copy link
Contributor

@rrrutledge rrrutledge left a comment

Choose a reason for hiding this comment

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

Functionality works. We can merge what's here. As a follow-on, let's see if we can get it to start the site automatically and put a link to the running site as a comment in the pull request. Not sure if this setup is possible with codespaces. Or if we just need branch deployment of github pages?

@yuhattor yuhattor marked this pull request as ready for review May 21, 2025 04:43
@yuhattor yuhattor requested a review from a team as a code owner May 21, 2025 04:43
@yuhattor
Copy link
Member

For now, I will merge it

@yuhattor yuhattor merged commit dc793d2 into master May 21, 2025
1 of 2 checks passed
@yuhattor yuhattor deleted the copilot/fix-1028 branch May 21, 2025 04:43
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.

Website preview in all pull requests
3 participants