Closes #1795 - Support building and developing in a devcontainer#1791
Closes #1795 - Support building and developing in a devcontainer#1791Spitfire1900 wants to merge 3 commits intopingdotgg:mainfrom
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
.devcontainer/devcontainer.json
Outdated
| }, | ||
| "postCreateCommand": { | ||
| "install-deps": "apt-get update && apt-get install -y libfuse2 libnotify4 libnss3 libxss1 libasound2 libatk-bridge2.0-0 libgtk-3-0 libx11-xcb1 libxrandr2 libgbm1 libpango-1.0-0 libcairo2", | ||
| "bun-install": "bun install --backend=copyfile --from-lockfile" |
There was a problem hiding this comment.
symlink support is not-supported within devcontainers
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f96f00b. Configure here.
f96f00b to
7818b48
Compare
ApprovabilityVerdict: Approved Adds devcontainer configuration for development environments with no runtime impact. Changes are limited to a new devcontainer.json and a gitignore entry - purely developer tooling that doesn't affect production behavior. You can customize Macroscope's approvability policy. Learn more. |

What Changed
I added .devcontainer/devcontainer.json to run the project within an instance of VSCode using Dev Container features
Why
I don't want to mutate my local environment to do development work on T3Code and this should also add support to doing Development work on GitHub Codespaces.
You are able to connect directly to the web instance of T3Code using bun run dev:web in the container and connecting to http://127.0.0.1:5733/ on the host machine.
UI Changes
Checklist
Note
Low Risk
Low risk: adds optional local dev tooling (
.devcontainer) and a new ignored build artifact path, without changing runtime or application logic.Overview
Adds a
.devcontainer/devcontainer.jsonto support developing/building the repo in a VS Code Dev Container/Codespaces using Debian Bookworm with Bun, Node.js 24, and Python 3.12, plus a post-createbun installstep and a recommended VS Code extension.Updates
.gitignoreto excludesquashfs-root/(SquashFS extraction artifacts) from version control.Reviewed by Cursor Bugbot for commit c387fa4. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add devcontainer configuration for building and developing the project
Adds devcontainer.json with a Debian bookworm base image, Bun, Node.js v24 (with node-gyp dependencies), and Python 3.12. The post-create command runs
bun installwith the copyfile backend and a frozen lockfile, and the oxc VS Code extension is installed automatically. Also addssquashfs-root/to .gitignore.Macroscope summarized c387fa4.