Implement Workflow Activity vNext - #3189
Conversation
|
Standalone workbench correction pushed in What changed:
Focused verification:
Real browser verification against the remote backend:
The full frontend suite, full typecheck, and production build were not run locally under the incremental frontend policy; GitHub CI owns full verification. A four-file Biome |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## feat/2026-08-04_workflow-activity-vnext #3189 +/- ##
===========================================================================
- Coverage 84.56% 84.55% -0.02%
===========================================================================
Files 1503 1503
Lines 140015 140015
Branches 17180 17180
===========================================================================
- Hits 118409 118384 -25
- Misses 13740 13765 +25
Partials 7866 7866
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Settings layout refinementCommit Problem and solution
Local verification
Browser verification
The remote AI settings response still fails authoritative DTO decoding because PR #3189 remains Draft. Design baseline PR #3187 was not modified. |
Settings decode follow-upThe remote API represents the system default as Focused verification
|
Workflow and Activity filter alignmentCommit
Focused local verification
Real browser verificationVerified at
The full frontend suite, package-wide TypeScript/lint, and production build were not run locally under the machine-wide incremental frontend policy; GitHub CI owns full verification. PR #3189 remains Draft with no auto-merge. PR #3187 was not modified. |
Workflow Activity vNext user-path QA follow-upCommit: User-path result
Additional fixes from QA:
Local verification
PR remains Draft. Design baseline PR #3187 was not modified. |
Incremental verification: committed-only editor fallbackFix
Local verification
Visual alignment follow-up was split to P2 issue #3194 and is not part of this commit. |
Functional verification updateCommit: Implemented
Local verification
Real browser verificationAuthenticated Chrome against the remote backend verified:
The remote proxy briefly returned ECONNRESET for workspace and draft requests during the first reload; a later retry loaded the same real Workflow successfully. PR remains Draft. |
Workflow Studio canvas follow-up (
|
AI service inventory follow-upProblem and solutionThe vNext Settings page filtered This follow-up now passes the complete API Affected paths
Local verification
Design baseline
Commit: |
Real browser verification for
|
Local verification
|
|
CI fix validation for commit
The complete frontend test suite and production build were not run locally; GitHub CI owns those full checks. |
fad9adf
into
feat/2026-08-04_workflow-activity-vnext
Problem and solution
Workflow Activity vNext needs a production implementation of the approved 17-frame design and UP-00 through UP-16 without changing existing console routes or inventing backend facts.
This PR adds an isolated workbench under
/scopes/:scopeId/workflow-activity-vnextwith real workflow creation/editing, receipt-bound draft observation, Activity summaries and detail, run recovery, account/settings surfaces, authentication reuse, and bilingual locale support.The latest follow-up also audits the entire vNext user interface for backend concepts leaking into primary product copy:
Technical details.apps/aevatar-console-web/AGENTS.mdprevents runtime, transport, storage, consistency, raw-ID, and endpoint terminology from returning to default user surfaces.All implementation and test changes are confined to
apps/aevatar-console-web/. Existing Workflow, Run, Settings, Studio, Team, Login, Callback, redirect, session, menu, and locale routes are unchanged.Real API and identity boundaries
studioApiscoped draft, committed fallback, parse/serialize, save, and draft-run endpoints.POST /api/workflow/runs/fork; returned receipt identifiers stay diagnostic and are never treated as an observatoryrunId.memberId,workflowId,definitionActorId,publishedServiceId,runId, and fork receipt identities remain distinct.Local verification
pnpm exec jest src/locales/catalog.test.ts src/pages/workflow-activity-vnext/activity/ActivityPage.test.tsx src/pages/workflow-activity-vnext/activity/RunDetailPage.test.tsx src/pages/workflow-activity-vnext/index.test.tsx --runInBand- 4 suites, 31 tests passed.pnpm exec biome check <16 explicit vNext files>- 16 files checked, no fixes needed.git diff --check- passed.python3 docs/design-baselines/workflow-activity-vnext/verify-baseline.py- SHA30e74d7b410ae72c4c91432355436679033679c54c10b1702908435b001577de, 17/17 frames, byte-identical generator output, PASS.Real browser verification
Verified against the running frontend at
http://localhost:5173using the signed-in session and real remote backend data:ad-hoc-chatandservice-invokerendered as Chat and Service; raw run IDs, state versions, read-model copy, and query-limit copy were absent.1440x1000, tablet1024x900, and mobile390x844had no page-level horizontal overflow; mobile switched to a stacked activity layout.Technical detailsdisclosure.routeKindisunspecifiedand the nullablemodelSelectionfield is omitted; the signed-in browser session rendersSystem defaultwithout a fallback.Remaining backend capability gaps
newRunActorId, not an observatoryrunId; only general Activity navigation is safe.runIdorstateVersion; stream end does not establish Activity completion.definitionActorId; workflow filtering then remains explicitly unavailable.publishedServiceIdis available; Publish and published execution remain unavailable.This PR remains intentionally Draft. It does not modify, ready, auto-merge, or merge design baseline PR #3187.
Table scrolling follow-up
Focused verification for commit
a0da670c8:pnpm exec jest --findRelatedTests src/pages/workflow-activity-vnext/TableScrollRegion.tsx src/pages/workflow-activity-vnext/activity/ActivityPage.tsx src/pages/workflow-activity-vnext/activity/RunDetailPage.tsx src/pages/workflow-activity-vnext/styles.ts src/pages/workflow-activity-vnext/workflows/WorkflowsPage.tsx --runInBand- 3 suites, 24 tests passed.pnpm exec biome check src/pages/workflow-activity-vnext/TableScrollRegion.tsx src/pages/workflow-activity-vnext/activity/ActivityPage.test.tsx src/pages/workflow-activity-vnext/activity/ActivityPage.tsx src/pages/workflow-activity-vnext/activity/RunDetailPage.test.tsx src/pages/workflow-activity-vnext/activity/RunDetailPage.tsx src/pages/workflow-activity-vnext/index.test.tsx src/pages/workflow-activity-vnext/styles.ts src/pages/workflow-activity-vnext/workflows/WorkflowsPage.tsx- 8 files checked, no fixes needed.git diff --check- passed.1440x900, tablet834x1112, mobile390x844; no page-level horizontal overflow. Desktop sticky header position remained unchanged after scrolling the table to its maximumscrollTop=124; mobile used labeled stacked records without nested table scrolling.NyxID visual alignment (#3194)
This latest implementation supersedes the older mobile card/stacked-record styling notes above. The user paths, APIs, identity boundaries, authentication, localization, and real-data behavior remain unchanged.
Focused verification
pnpm exec jest --runInBand --runTestsByPath src/pages/workflow-activity-vnext/index.test.tsx src/pages/workflow-activity-vnext/activity/ActivityPage.test.tsx src/pages/workflow-activity-vnext/activity/RunDetailPage.test.tsx- 3 suites, 43 tests passed.pnpm exec jest --runInBand --runTestsByPath src/pages/workflow-activity-vnext/index.test.tsx- 1 suite, 32 tests passed.pnpm exec biome lint src/app.tsx- changed application provider file passed without fixes.pnpm exec biome check <12 explicit Workflow Activity vNext files>- 12 files checked, no fixes needed.bash tools/ci/test_stability_guards.sh- passed.bash tools/docs/lint.sh- 87 files checked, 0 errors.python3 apps/aevatar-console-web/docs/design-baselines/workflow-activity-vnext/verify-baseline.py- SHA30e74d7b410ae72c4c91432355436679033679c54c10b1702908435b001577de, 17/17 frames, byte-identical generator output, PASS.git diff --check- passed.Real browser evidence
Verified all vNext pages against the running signed-in app and real remote data at
1440x900,834x1112, and390x844.document.documentElement.scrollWidth === clientWidth.558px / 4232pxscroll region.568px clientWidth / 720px scrollWidthwith no page overflow; the editor title/actions did not overlap.table-rowsemantics and measured356px clientWidth / 720px scrollWidth; the 240px menu drawer opened correctly.358px clientWidth / 456px scrollWidth / 32px height, keeping overflow local.Full frontend tests, package-wide lint/typecheck, and the production build were not run locally under the incremental frontend policy. GitHub CI owns full verification.
Closes #3194