Skip to content

Closes #1795 - Support building and developing in a devcontainer#1791

Open
Spitfire1900 wants to merge 3 commits intopingdotgg:mainfrom
Spitfire1900:devcontainer
Open

Closes #1795 - Support building and developing in a devcontainer#1791
Spitfire1900 wants to merge 3 commits intopingdotgg:mainfrom
Spitfire1900:devcontainer

Conversation

@Spitfire1900
Copy link
Copy Markdown

@Spitfire1900 Spitfire1900 commented Apr 6, 2026

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

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes
  • I've successfully ran T3Code web and built the appimage locally.

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.json to 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-create bun install step and a recommended VS Code extension.

Updates .gitignore to exclude squashfs-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 install with the copyfile backend and a frozen lockfile, and the oxc VS Code extension is installed automatically. Also adds squashfs-root/ to .gitignore.

Macroscope summarized c387fa4.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 6, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: a741836b-f686-436b-91d1-32a29fd4c948

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Apr 6, 2026
},
"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"
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.

symlink support is not-supported within devcontainers

Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

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 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.

Reviewed by Cursor Bugbot for commit f96f00b. Configure here.

@Spitfire1900 Spitfire1900 changed the title Support building and developing in a devcontainer Closes #1795 - Support building and developing in a devcontainer Apr 6, 2026
@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp bot commented Apr 6, 2026

Approvability

Verdict: 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.

@juliusmarminge juliusmarminge enabled auto-merge (squash) April 6, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants