Skip to content

Create devcontainer configuration file - #2090

Draft
18488292860-coder wants to merge 2 commits into
progit:mainfrom
18488292860-coder:patch-1
Draft

18488292860-coder wants to merge 2 commits into
progit:mainfrom
18488292860-coder:patch-1

Conversation

@18488292860-coder

@18488292860-coder 18488292860-coder commented Sep 11, 2026 •

Copy link
Copy Markdown

Changes

Context


Note

Low Risk
Adds local/CI-adjacent dev environment configuration only; no application or book build logic changes.

Overview
Adds a Dev Containers setup so contributors can open the repo in a standardized VS Code/Codespaces environment.

The new .devcontainer/devcontainer.json uses the universal devcontainer image with Node 18, Ruby 3.1, and git, pre-installs extensions for AsciiDoc, Ruby, YAML, EditorConfig, and GitLens, and runs a post-create step that installs Ruby gems (via bundle install when a Gemfile is present) and optionally npm install / make deps if those files exist.

Reviewed by Cursor Bugbot for commit 2d1cf26. Bugbot is set up for automated code reviews on this repo. Configure here.

@18488292860-coder 18488292860-coder left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

批准

@18488292860-coder
18488292860-coder marked this pull request as draft September 12, 2026 03:54
@18488292860-coder
18488292860-coder marked this pull request as ready for review October 15, 2026 20:47
@18488292860-coder
18488292860-coder marked this pull request as draft October 15, 2026 20:47

@cursor cursor Bot 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.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 2d1cf26. Configure here.

}
},
"postCreateCommand": "if [ -f Gemfile ]; then gem install bundler && bundle install; fi\nif [ -f package.json ]; then npm install; fi\nif [ -f Makefile ]; then make deps || true; fi",
"remoteUser": "vscode"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Wrong remote user for universal image

High Severity

remoteUser is set to vscode, but mcr.microsoft.com/devcontainers/universal:2 only provides a codespace user. Dev Containers and Codespaces cannot attach as that missing user, so the new environment fails to start.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 2d1cf26. Configure here.

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