Repository navigation
feat(bwopenchamber): add bwopenchamber and bwopencode2 --serve-open #43
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
Open
Stuart B. Wilkins (stuwilkins)
wants to merge
54
commits into
NSLS2:main
Choose a base branch
from
stuwilkins:add_bwopenchamber
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
812c24b
feat(bwopencode2): add --serve to run the web UI server in the sandbox
stuwilkins afa0568
feat(bwopencode2): print a one-time pairing link for --serve
stuwilkins 1f47dff
feat(bwrap): open bwrap's descriptors in a relay before exec
tacaswell 46c1adf
feat(bwrap): run every sandbox in a private network namespace
tacaswell 6cacc54
docs(bwrap): describe the private network namespace
tacaswell 5568370
feat(bwrap): fall back to the host network without pasta
tacaswell 3471dcb
refactor(bwrap): rename --local-net to --share-net
tacaswell 8d9222d
feat(bwrap): stop instead of sharing the host network
tacaswell 75fd847
feat(bwrap): add slirp4netns as a second network backend
tacaswell 8f828bc
docs(bwrap): describe the backend choice and slirp4netns
tacaswell d4acce7
feat(bwopencode2): publish the --serve port in the private network
tacaswell ee7dc8c
fix(bwrap): keep network launch files in a checked runtime directory
tacaswell 5e51225
fix(bwrap): signal only the launcher's own processes on slirp failure
tacaswell 7d24a2f
fix(bwrap): claim publish addresses under a lock
tacaswell c612835
docs(bwrap): describe the backend choice in the library header
tacaswell 580d8aa
refactor(bwrap): remove --net-log FILE
tacaswell b071672
feat(bwrap): always log network sessions and pasta flows to the syste…
tacaswell 4aa3c8c
test(bwrap): add fake network backends to run the launchers
tacaswell 4784f93
fix(bwopencode2): always serve on the user's first publish address
tacaswell 7943d1d
fix(bwrap): forward --host-port to the sandbox's own loopback
tacaswell 3361154
feat(bwrap): condense the network log and name destinations
tacaswell 67717c1
test(bwrap): test the network log condenser and DNS relay
tacaswell a73e6f3
fix(bwrap): log DNS answers before relaying them, split out CNAMEs
tacaswell efb5fad
refactor(bwrap): call the destination's DNS name domain= in the netwo…
tacaswell ff20544
build(lint): run actionlint from pixi instead of building it from source
tacaswell 733cfc1
feat(bwrap): mount the prek cache read-write
tacaswell af19ed6
fix(bwrap): bound network helpers and test regressions
tacaswell ee59027
fix(bwrap): log pasta flows over stderr, not --log-file, for SELinux
tacaswell f5126ee
refactor(bwrap): let the condenser read the netlog FIFO itself
tacaswell d73a2ec
fix(bwrap): run slirp4netns sandboxes under an identity map
tacaswell 2829124
feat(bwrap): log DNS lookups under slirp4netns too
tacaswell 6918ce7
fix(bwrap): drop the untested pasta and bwrap 0.4.0 check
tacaswell 41147bb
docs(bwrap): explain how the network log is written and read
tacaswell c31325c
fix(bwcodex): drop --perms so it works with bwrap 0.4.0
tacaswell e8738f0
Change shell command from sh to bash it test
tacaswell 2d459f1
feat(bwrap): name the user on every network log record
stuwilkins 04e821b
refactor(bwopencode2): run main only when executed
stuwilkins f5a50e2
feat(bwopenchamber): run OpenChamber in the bwrap sandbox
stuwilkins 4a5ff21
fix(bwopencode2): find the library from the sourced file
stuwilkins 16374c4
fix(bwopenchamber): end browser sign-ins with the session, record the…
stuwilkins b1b0fdb
docs(bwopenchamber): the sign-in key is in the agent's environment too
stuwilkins d1c0e5b
fix(bwopenchamber): pin OpenCode with a read-only policy file, make t…
stuwilkins 5235f3e
docs(bw-wrappers): say where the database lock lives with a private n…
stuwilkins bdd3ca6
feat(bwopenchamber): find a Node.js that is new enough, not just the …
stuwilkins 27175e6
fix(db-lock): keep the session lock out of the descriptors the sandbo…
stuwilkins ea869e4
fix(bwopenchamber): prefer the newest versioned node when there is no…
stuwilkins 3dffaba
feat(bwopencode2): add --serve-open and a sign-in block for --serve
stuwilkins dd5d584
fix(bwopencode2): do not hand the --serve-open link to xdg-open witho…
stuwilkins 4339966
docs(bwopencode2): record that only a browser signs in with the --ser…
stuwilkins 69b6259
fix(bwopencode2): keep the launcher's descriptors from the --serve-op…
stuwilkins ae8811d
feat(bwopencode2): make --serve-open work without --serve
stuwilkins 14c78e8
fix(bwopenchamber): refuse a symlinked data directory that contains a…
stuwilkins 67026cb
feat(bwopencode2): short terminal output for --serve-open
stuwilkins 140dd4c
fix(ci): read the actionlint version from pixi, not the pre-commit entry
stuwilkins File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| passt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.