Skip to content

feat(accounts): add dashboard action for account force-probe#895

Merged
Soju06 merged 6 commits into
mainfrom
codex-lb-issue677-force-probe-dashboard
Jun 7, 2026
Merged

feat(accounts): add dashboard action for account force-probe#895
Soju06 merged 6 commits into
mainfrom
codex-lb-issue677-force-probe-dashboard

Conversation

@Komzpa

@Komzpa Komzpa commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Wire the existing per-account probe backend endpoint (POST /api/accounts/{accountId}/probe) into the Accounts dashboard.
  • Add the frontend schema/client method, mutation, and MSW handler coverage for force-probe.
  • Add a Force probe button to the account detail action surface while preserving the newer routing policy, Trusted Access, limit warm-up, and upstream proxy controls from current main.
  • Refresh account list, account trends, per-account trend detail, and dashboard queries after a successful force-probe.
  • Keep Force probe disabled for paused, deactivated, and re-auth-required accounts that the backend rejects.

Stack relationship

Closes #677

Validation

  • uv run openspec validate add-account-probe-endpoint --strict
  • cd frontend && bun run test src/features/accounts/components/account-actions.test.tsx src/features/accounts/components/account-detail.test.tsx src/features/accounts/hooks/use-accounts.test.ts src/features/accounts/schemas.test.ts src/test/mocks/handler-coverage.test.ts
  • cd frontend && bun run test src/features/accounts/components/accounts-page.test.tsx
  • cd frontend && bun run test:coverage
  • cd frontend && bun run typecheck
  • cd frontend && bun run lint

Current head: 6aec65730b15f4a934db0daf6c3ed5e14a4d8fb4
GitHub CI: pending on current head after the test-fixture fix push.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 98f141a0d2

ℹ️ 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".

Comment thread frontend/src/features/accounts/hooks/use-accounts.ts Outdated
Comment thread frontend/src/features/accounts/components/account-actions.tsx Outdated
@Soju06 Soju06 added 🤖 codex: needs work [@codex review] raised an issue and removed 🤖 codex: needs work [@codex review] raised an issue labels Jun 3, 2026
@Soju06

Soju06 commented Jun 3, 2026

Copy link
Copy Markdown
Owner

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 018e3cd5e7

ℹ️ 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".

Comment thread frontend/src/features/accounts/components/account-actions.tsx Outdated
@Soju06 Soju06 added the 🤖 codex: needs work [@codex review] raised an issue label Jun 3, 2026
@Soju06

Soju06 commented Jun 3, 2026

Copy link
Copy Markdown
Owner

@codex review

@Soju06 Soju06 removed the 🤖 codex: needs work [@codex review] raised an issue label Jun 3, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9ac3b5899d

ℹ️ 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".

Comment thread openspec/changes/add-account-probe-endpoint/proposal.md
@Soju06 Soju06 added the 🤖 codex: needs work [@codex review] raised an issue label Jun 3, 2026
@Komzpa Komzpa removed the 🤖 codex: needs work [@codex review] raised an issue label Jun 3, 2026
@Komzpa

Komzpa commented Jun 3, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep them coming!

ℹ️ 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".

@Soju06 Soju06 added 🤖 codex: ok [@codex review] says no issues found. and removed 🤖 codex: ok [@codex review] says no issues found. labels Jun 3, 2026
@Komzpa Komzpa force-pushed the codex-lb-issue677-force-probe-dashboard branch from d8e547c to 6a3fd23 Compare June 4, 2026 17:55
@Komzpa

Komzpa commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

ℹ️ 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".

@Soju06 Soju06 added the 🤖 codex: ok [@codex review] says no issues found. label Jun 4, 2026
@Soju06 Soju06 merged commit 72222c5 into main Jun 7, 2026
28 checks passed
@Soju06 Soju06 deleted the codex-lb-issue677-force-probe-dashboard branch June 7, 2026 08:25
@Soju06 Soju06 mentioned this pull request Jun 16, 2026
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖 codex: ok [@codex review] says no issues found.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(dashboard): per-account force-probe action to wake upstream limiter after reset events

2 participants