List remote agents in the Builderlab integration - #634
Conversation
Signed-off-by: Jarrod Sibbison <jsibbison@squareup.com>
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
| }>; | ||
|
|
||
| function resultStatus(value: unknown) { | ||
| return typeof value === "string" |
| const status = String(value ?? "") | ||
| .split("_") | ||
| .at(-1); | ||
| if (status === "2" || status === "ACTIVE") return "Active"; |
There was a problem hiding this comment.
why is it doing this mingled status parsing?
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8f30f0df8f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| sign-out, and disposal. | ||
| - `login/` owns the login experience: pending state, cancellation, retry, email | ||
| display, and sign-out. | ||
| - `agents/` lists the signed-in account's remote agents beneath login. Requests |
There was a problem hiding this comment.
Commit d505d094d7c1cce8f1f18f56c1a84130604c87cc has no Signed-off-by trailer, so it violates the repository's per-commit DCO requirement and will not satisfy the hosted DCO check. Re-sign the commit using the verified effective author identity while preserving its actual authorship.
AGENTS.md reference: AGENTS.md:L151-L160
Useful? React with 👍 / 👎.
|
will address as follow ups. |
Shows the signed-in user's Builderlab remote agents in Settings → Integrations -> Builderlab, including names, public keys and status. Just a raw list of agents to be better designed in future.
Listing reuses the existing OAuth session and native host HTTP, with loading, empty, refresh/retry and session-expiry handling; sign-out and navigation discard late results. Agent creation stays on the separate stacked branch.
Validation: