Skip to content

feat(console-web): strengthen team action handoffs#662

Merged
potter-sun merged 1 commit into
devfrom
feat/2026-05-14_console-web-team-action-loop
May 15, 2026
Merged

feat(console-web): strengthen team action handoffs#662
potter-sun merged 1 commit into
devfrom
feat/2026-05-14_console-web-team-action-loop

Conversation

@potter-sun
Copy link
Copy Markdown
Collaborator

Problem

Team Detail could surface attention states, but the handoff from attention to action was still incomplete. Waiting or failed runs did not preserve the concrete run identity when opening Runs, and binding/deployment actions were not available from the top Team operation loop.

Solution

  • Add runId support to buildRuntimeRunsHref so Team and other callers can deep-link into the exact run context.
  • Preserve run context from Team Detail playback handoffs and Teams Home runtime shortcuts.
  • Make the Team Detail run action label reflect blocked/degraded states.
  • Add top-level Team Detail actions for Governance bindings and Deployments with scope/service/revision/deployment context.
  • Cover Team -> Runs and Team -> Platform handoffs with regression tests.

Impact Paths

  • apps/aevatar-console-web/src/pages/teams/detail.tsx
  • apps/aevatar-console-web/src/pages/teams/home.tsx
  • apps/aevatar-console-web/src/pages/teams/components/TeamDetailChrome.tsx
  • apps/aevatar-console-web/src/shared/navigation/runtimeRoutes.ts

Verification

  • npm --prefix apps/aevatar-console-web run test -- --runInBand src/pages/teams/home.test.tsx src/pages/teams/detail.test.tsx src/pages/teams/runtime/teamRuntimeLens.test.ts src/shared/navigation/teamRoutes.test.ts src/shared/navigation/runtimeRoutes.test.ts
  • npm --prefix apps/aevatar-console-web run tsc
  • npm --prefix apps/aevatar-console-web run build
  • git diff --check

Closes #656

@codecov
Copy link
Copy Markdown

codecov Bot commented May 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.13%. Comparing base (195bb0b) to head (797e282).

@@            Coverage Diff             @@
##              dev     #662      +/-   ##
==========================================
- Coverage   72.13%   72.13%   -0.01%     
==========================================
  Files        1261     1261              
  Lines       91065    91065              
  Branches    11924    11924              
==========================================
- Hits        65691    65687       -4     
- Misses      20675    20676       +1     
- Partials     4699     4702       +3     
Flag Coverage Δ
ci 72.13% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@potter-sun potter-sun marked this pull request as ready for review May 14, 2026 15:24
@potter-sun potter-sun requested a review from AbigailDeng as a code owner May 14, 2026 15:24
@potter-sun potter-sun merged commit e77e3e8 into dev May 15, 2026
13 checks passed
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.

feat(console-web): strengthen Team operations loop from attention to action

1 participant