Skip to content

Add devcontainer for development - #110

Merged
ZohebShaikh merged 2 commits into
mainfrom
add-devcontainer
Aug 26, 2026
Merged

ZohebShaikh merged 2 commits into
mainfrom
add-devcontainer

Conversation

@ZohebShaikh

@ZohebShaikh ZohebShaikh commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Add devcontainer to make it easier to work on diamond machines

@ZohebShaikh
ZohebShaikh marked this pull request as ready for review August 4, 2026 12:02
@ZohebShaikh
ZohebShaikh requested a review from a team as a code owner August 4, 2026 12:02
@codecov

codecov Bot commented Aug 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.26%. Comparing base (d73b954) to head (aa0c81e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #110   +/-   ##
=======================================
  Coverage   54.26%   54.26%           
=======================================
  Files          14       14           
  Lines         774      774           
=======================================
  Hits          420      420           
  Misses        354      354           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tpoliaw tpoliaw changed the title add devcontainer for development Add devcontainer for development Aug 4, 2026

@tpoliaw tpoliaw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not sure what is needed in a devcontainer but as long as it's not required, go for it.

}
},
"runArgs": [
// Allow the container to access the host X11 display and EPICS CA

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Does glazed need x11 or epics?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is for when you run cargo serve you can access it outside

"--security-opt=label=disable"
],
"workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces,type=bind",
"postStartCommand": "rustup component add --toolchain nightly-x86_64-unknown-linux-gnu rustfmt && rustup component add clippy"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is the full triple needed or is --toolchain nightly enough?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

you would still need clippy

@ZohebShaikh
ZohebShaikh merged commit 8368a6b into main Aug 26, 2026
7 checks passed
@ZohebShaikh
ZohebShaikh deleted the add-devcontainer branch August 26, 2026 13:59
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.

2 participants