Repository navigation
A call a sandbox's config marks as asked now waits for your answer instead of failing, and tags, releases and ref deletions always ask. Sentry credentials reach only the orgs they name, devsandbox ps lists instances like the dashboard, and terminal questions are answered from a list. Existing sentry credentials need their orgs, with the sentry feature 1.3.0.
Added
-
Permission requests: an asked scope waits for your answer instead of failing. A call needing a scope in a sandbox's
access.<kind>.ask(or one in no scope of an unfenced claim) is now held, up to the claim'shold(2 minutes by default), while you answer from the dashboard's modal, the desktop popup ordevsandbox access pending|approve|deny:--for once(the default),instance(this instance until itsrm) oralways(a rule on the credential incredentials.toml, which you can also write by hand). A deny is kept, so a retrying agent is refused at once;devsandbox access revoke R-…drops a kept answer or rule. An agent refused while a request is pending can rundevsbd access wait R-…in the sandbox and retry once it's answered. An instance gets at most three open requests, so volume can't wear you down.devsandbox access pending devsandbox access approve R-7Q2M9XK4TB0D --for instance
-
Tags, releases and ref deletions always ask. With gh's claim, deleting a branch, creating, moving or deleting a tag (REST
git/refsor GraphQLcreateRef/updateRef/deleteRef) and publishing a release are asked every time, on each tag or ref, even when the scope allows them (creating or moving a branch isn't): answered once or for this instance on that one target, never always, and no rule opens them. A draft release isn't asked until it's published, so gh's draft-then-publish is one question. Pushes over git aren't asked yet.
Changed
-
Sentry credentials reach only the orgs they name. A Sentry token spans every org its account is in; now a
sentrycredential names the orgs sandboxes may use, withdevsandbox login --org <slug>(repeatable, each checked with the token), and the broker refuses calls naming any other org, by slug or id. The org list sentry gets shows only those orgs, andaccess.sentry.orgsin a sandbox's config narrows it further. A credential naming none has every org call refused, so an existingsentrycredential needs its orgs: log in a new one under a new name (devsandbox login sentry-my-org --feature ghcr.io/devsandboxes/features/sentry:1 --org my-org) or addorgs = ["my-org"]to its entry incredentials.toml. Needs the sentry feature 1.3.0, which also drops the routes that listed other orgs' projects and app installations.[sandbox.web.access.sentry] orgs = ["my-org"]
-
devsandbox pslists sandbox instances, like the dashboard. One row per instance with its sandbox, status, uptime and CPU/memory (plus PROFILE when one has a profile, MACHINE when machines are registered, their rows included);-aadds stopped ones. Services are indevsandbox services ls.ps --jsonprints whatstatus --jsondid, sostatsandstatusare gone, and so are thecontainers.list/containers.statsAPI methods (and the npm package'sstats()/status();ps()returns the snapshot).devsandbox ps -a
-
The dashboard's Detail panel keeps what a build said. An instance's warnings and notes from its last
run,rebuildorstart(the identity summary, the GitHub fence, everywarning:) stay on it and show under its details, next to whether the browser sandbox is on and its GitHub fence. The details lay out in two columns when they fit. -
Terminal questions are answered from a list. Every yes/no and menu on a TTY (
login's claim review, machine trust,rm, the identity question) is a list you pick from, defaulting to the safe answer, so a stray key can't approve.loginshows a claim as a folded tree of routes and scopes, and asks which login method to use when several work instead of picking one silently.
Fixed
- VS Code no longer hands a claimed sandbox your logins when it can avoid it.
devsandbox vscodeand the dashboard'sostartcodewithout your ssh-agent or git credential helper for an instance with a credential claim, and open it without asking when no other VS Code window could leak them (checked on Linux). Otherwise the dashboard now asks before opening, and:codetakes--allow-credential-leaklike the CLI. - A misspelled top-level table is an error:
[sandboxx.web]used to load
as an empty config with no warning; nowdevsandboxnames the unknown
table, as it already did for unknown keys inside a sandbox.
Commits
- f524850 docs(ps): archive the ps-daemon plan, its content now lives in snapshot-and-json
- 60db185 fix(ps): read the daemon's federated snapshot like the dashboard, since a local collection plus per-machine calls skipped the merge's rules and the poll's cached stats
- 3c44075 docs(prompts): close the terminal prompts plan, its content now lives in cli-prompts and the credentials reference
- 29e72e3 feat(prompts): answer every cli yes/no and menu from a list, so machine trust, rm and the identity question read like login's and default to the safe answer
- 506b0c8 feat(login): ask which login method to use on a terminal when several work, since the silent pick hid that a browser or paste login was there
- 0d0d8f5 feat(login): review a claim as a folded tree and answer approve/refuse from a list, so never routes and scopes read at a glance and a stray key can't approve
- f1577df feat(ask): select, fold and review prompts redrawn in place on a tty, so questions can show folded details and take a picked answer instead of a typed y/N
- 5e94871 docs(prompts): plan styled, foldable, pick-from-list tty prompts
- 8d7bdb3 feat(tui): keep a build's warnings and notes on the instance and show them in a two-column detail, since they were lost once the build log scrolled by
- dadaa35 feat(ps): list sandbox instances with their usage like the dashboard, since a raw container listing plus separate stats and status verbs said less with more commands
- f55a539 fix(vscode): start code without the ssh-agent and git credential helper for a claimed instance, and let the dashboard open one anyway like the cli
- 08889c0 feat(broker): ask a person for tags, releases and ref deletions whatever the scope allows, since no rule should publish for them
- d238f50 feat(devsbd): access wait blocks on a permission request, so an agent retries its call once it's answered
- 76a0b0b feat(tui): a modal answers permission requests as they open, and a desktop popup names the command, so a held call needn't time out
- 81a8aa9 feat(access): pending, approve and deny answer permission requests from the terminal
- 8084400 feat(api): list and answer permission requests over access.pending and access.decide, local clients only
- 1f9e5f8 feat(broker): keep this-instance, always and deny answers, so an answered ask isn't asked again
- 88865ed feat(broker): hold an asked call for its permission request instead of refusing it, so an answer lets it through
- f206473 docs(broker): split permission requests into what's built now and what waits on pushes, links and agents
- 4a7c96d feat(sentry): follow features/sentry 1.3.0's org fence, checked end to end, so existing credentials learn they need orgs
- 727f9db feat(login): --org names a sentry credential's orgs, checked with the token, and access ls shows them, since a credential naming none has its org routes refused
- e5b0985 feat(broker): enforce the org fence and cut org lists to it, so a sentry token reaches only the orgs its credential names
- 731ee26 feat(credentials): a claim can fence an org path variable, so a credential and a config can name the orgs it reaches
- 1ca365c docs(sentry): plan the org fence, since the shipped claim's tokens reach every org the account is in
- fc2f518 docs(credentials): record what 0.11.0 shipped with: sentry's claim spans orgs, the broker is http/1.1 only, drains cut broker streams
- 3ca4b57 fix(config): refuse an unknown top-level table, so a typo like [sandboxx] isn't silently ignored
- 3028a4b docs(site): close the site refresh and release plan