The GitHub Actions job "Build Burr" on burr.git/feat/workspace-server has 
failed.
Run started by GitHub user andreahlert (triggered by andreahlert).

Head commit for run:
0972758bbd2466fe83179992ec34974435f54b44 / AndrĂ© Ahlert <[email protected]>
feat(server): opt-in workspace routes for browsing and running scripts

Adds a /api/v0/workspace router to the tracking server that can browse a
linked directory, read files and run Python scripts with SSE output.
Split out of #687; builder project storage moves to the builder PR.

Since the tracking server has no authentication (SECURITY.md), the routes
are off by default:

- only mounted with `burr --enable-workspace` / BURR_ENABLE_WORKSPACE=true;
  BackendSpec.supports_workspace reflects the setting
- /link and /open only accept directories under BURR_WORKSPACE_ROOTS
  (`--workspace-root`, defaults to the server's working directory), and
  every request re-checks the root so stale links stop working
- project ids are length/character checked on every /link method
- scripts run with sys.executable instead of whatever `python` is on PATH
- the CLI warns when the routes are enabled on a non-loopback host

Also fixes stream_output dropping everything after the first 100ms gap:
asyncio.wait_for cancelled the async generator, closing it. Output is now
pumped through a queue by one reader task per pipe, and a second
concurrent stream of the same process returns 409.

Signed-off-by: AndrĂ© Ahlert <[email protected]>

Report URL: https://github.com/apache/burr/actions/runs/41557836771

With regards,
GitHub Actions via GitBox

Reply via email to