* fix(server): preserve provider subagent messages The provider SDK defaults to forwarding only child tool activity, which leaves the nested timeline without the child response. Request the full nested transcript so provider subagent panes retain both sides of the conversation. * fix(app): correct project status badge test imports
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
import { test } from "./support/fixtures";
|
|
import {
|
|
expandStatusProject,
|
|
expectCollapsedProjectStatus,
|
|
expectProjectStatusHidden,
|
|
expectWorkspaceStatus,
|
|
openAndCollapseStatusProject,
|
|
seedStatusProject,
|
|
startNeedsInputWorkspace,
|
|
startWorkingWorkspace,
|
|
} from "./helpers/project-status-badge";
|
|
|
|
test("a collapsed project surfaces its most urgent hidden workspace status", async ({ page }) => {
|
|
test.setTimeout(120_000);
|
|
const project = await seedStatusProject();
|
|
|
|
try {
|
|
await openAndCollapseStatusProject(page, project);
|
|
await expectProjectStatusHidden(page, project);
|
|
|
|
await startWorkingWorkspace(project);
|
|
await expectCollapsedProjectStatus(page, project, "Working");
|
|
|
|
await startNeedsInputWorkspace(project);
|
|
await expectCollapsedProjectStatus(page, project, "Needs input");
|
|
|
|
await expandStatusProject(page, project);
|
|
await expectProjectStatusHidden(page, project);
|
|
await expectWorkspaceStatus(page, "Working workspace", "running");
|
|
await expectWorkspaceStatus(page, "Needs input workspace", "needs_input");
|
|
} finally {
|
|
await project.seed.cleanup().catch(() => undefined);
|
|
}
|
|
});
|