Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
f1a6fc4
feat(web-shell): share HTML artifacts through the OSS publisher
qqqys Aug 19, 2026
03f9870
feat(web-shell): let the share dialog set a public domain for the link
qqqys Aug 19, 2026
fa917a2
feat(web-shell): add managed artifact sharing
qqqys Aug 25, 2026
34173f1
Merge remote-tracking branch 'upstream/main' into feat/artifact-share
qqqys Aug 25, 2026
3063685
fix(cli): update artifact settings import after main merge
qqqys Aug 25, 2026
b16bdcd
fix(webui): scope artifact sharing to active workspace
qqqys Aug 25, 2026
bba81a3
Merge remote-tracking branch 'upstream/main' into feat/artifact-share
Aug 25, 2026
73381f8
fix(cli): fix artifact sharing test failures and review findings (#10…
qwen-code-dev-bot Aug 25, 2026
1f6c187
fix(cli): complete AppContainer SubagentManager mock for AgentTool st…
qwen-code-dev-bot Aug 25, 2026
e34a6cf
Merge branch 'main' into feat/artifact-share
qwen-code-dev-bot Aug 26, 2026
a0035e3
Merge branch 'main' into feat/artifact-share
qqqys Aug 26, 2026
09747eb
Merge branch 'main' into feat/artifact-share
qwen-code-dev-bot Aug 26, 2026
4ab71b5
Merge branch 'main' into feat/artifact-share
qwen-code-dev-bot Aug 26, 2026
f4eab1b
fix(cli): harden artifact sharing env scrubbing and Netlify setup (#1…
qwen-code-dev-bot Aug 27, 2026
74e1489
fix(core): repair telemetry-swap test mock missing getToolRegistry (#…
qwen-code-dev-bot Aug 27, 2026
7330ba5
Merge branch 'main' into feat/artifact-share
qwen-code-dev-bot Aug 27, 2026
b2f4c82
Merge remote-tracking branch 'upstream/main' into feat/artifact-share
qqqys Aug 28, 2026
de76d60
fix(web-shell): close the round-6 review findings on artifact sharing
qqqys Aug 28, 2026
7d2f844
Merge remote-tracking branch 'upstream/main' into feat/artifact-share
qqqys Aug 28, 2026
8f3ccb8
Merge branch 'main' into feat/artifact-share
qwen-code-dev-bot Aug 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix(cli): complete AppContainer SubagentManager mock for AgentTool st…
…artup (#10024)
  • Loading branch information
qwen-code-dev-bot committed Aug 25, 2026
commit 1f6c187741f0eebe4b15f1839fee67daed48bad5
23 changes: 23 additions & 0 deletions packages/cli/src/ui/AppContainer.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ import {
type Config,
makeFakeConfig,
SendMessageType,
ToolNames,
type GeminiClient,
type GoalTurnHost,
type SubagentManager,
Expand Down Expand Up @@ -463,6 +464,7 @@ describe('AppContainer State Management', () => {
addChangeListener: vi.fn(),
loadSubagent: vi.fn(),
createSubagent: vi.fn(),
getAvailableModelGrades: vi.fn().mockReturnValue(new Map()),
};
vi.spyOn(mockConfig, 'getSubagentManager').mockReturnValue(
mockSubagentManager as SubagentManager,
Expand Down Expand Up @@ -874,6 +876,27 @@ describe('AppContainer State Management', () => {
);
}).not.toThrow();
});

it('boots AgentTool from the SubagentManager mock without unhandled rejections', async () => {
// AppContainer renders call the real Config.initialize(), whose
// warmAll() instantiates AgentTool against this file's mock; a mock
// method missing there rejects refreshSubagents() unhandled and fails
// the run on the Linux lanes.
const unhandled: unknown[] = [];
const onUnhandled = (reason: unknown) => unhandled.push(reason);
process.on('unhandledRejection', onUnhandled);
try {
await mockConfig.initialize();
const agentTool = await mockConfig
.getToolRegistry()
.ensureTool(ToolNames.AGENT);
expect(agentTool).toBeDefined();
await new Promise((resolve) => setTimeout(resolve, 100));
} finally {
process.removeListener('unhandledRejection', onUnhandled);
}
expect(unhandled).toEqual([]);
});
});

describe('Context Providers', () => {
Expand Down
Loading