Skip to content

feat: add --workspace-status-json to boardwalkd to generate JSON status for all workspaces#229

Merged
asullivan-blze merged 2 commits intomainfrom
feat/service-token-and-workspace-status
Mar 16, 2026
Merged

feat: add --workspace-status-json to boardwalkd to generate JSON status for all workspaces#229
asullivan-blze merged 2 commits intomainfrom
feat/service-token-and-workspace-status

Conversation

@asullivan-blze
Copy link
Copy Markdown
Contributor

What and why?

Adds a boardwalkd flag --workspace-status-json to enable the route
/api/workspaces/status to provide a JSON object containing the status
for all known workspaces.

This could, for example, feed into a secondary monitoring system, allowing
the status of Boardwalk to be centrally monitored by a NOC team, for
example.

How was this tested?

The full make test suite passes, and verified that http://localhost:8888/api/workspaces/status produced the desired result.

Example of --workspace-status-json behavior

Checklist

  • Have you updated the version in the [project] section of
    the pyproject.toml file (if applicable)?

bzlo and others added 2 commits March 14, 2026 00:39
Adds a static service token mechanism for machine-to-machine API access
without browser-based login or token expiry. When --service-token (or
BOARDWALKD_SERVICE_TOKEN env var) is set, requests bearing that value in
the boardwalk-api-token header authenticate as service@boardwalk.

Also adds GET /api/workspaces/status, a read-only endpoint that returns
all workspace names, details, semaphores, and last-seen timestamps for
monitoring integrations.

Made-with: Cursor
Adds a boardwalkd flag `--workspace-status-json` to enable the route
/api/workspaces/status to provide a JSON object containing the status
for all known workspaces.

This can, for example, feed into a secondary monitoring system, allowing
the status of Boardwalk to be centrally monitored by a NOC team, for
example.

Co-authored-by: lorelei@backblaze.com
Copy link
Copy Markdown
Contributor

@bzlo bzlo left a comment

Choose a reason for hiding this comment

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

lgtm!! thank you!!!

Copy link
Copy Markdown

@agouldingbb agouldingbb left a comment

Choose a reason for hiding this comment

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

LGTM

@asullivan-blze asullivan-blze merged commit ccf0a2e into main Mar 16, 2026
7 checks passed
@asullivan-blze asullivan-blze deleted the feat/service-token-and-workspace-status branch March 16, 2026 20:09
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.

3 participants