feat(web): improve agent performance, MCP tools, and much more #232
Annotations
10 errors and 1 warning
|
src/features/git/listCommitsApi.test.ts > searchCommits > git log options > should combine all options:
packages/web/src/features/git/listCommitsApi.test.ts#L303
AssertionError: expected "spy" to be called with arguments: [ { maxCount: 25, HEAD: null, …(5) } ]
Received:
1st spy call:
Array [
- Object {
- "--author": "jane@example.com",
- "--grep": "feature",
- "--regexp-ignore-case": null,
- "--since": "2024-01-01",
- "--until": "2024-12-31",
- "HEAD": null,
- "maxCount": 25,
- },
+ Array [
+ "--max-count=25",
+ "--since=2024-01-01",
+ "--until=2024-12-31",
+ "--author=jane@example.com",
+ "--regexp-ignore-case",
+ "--grep=feature",
+ "HEAD",
+ ],
]
Number of calls: 1
❯ src/features/git/listCommitsApi.test.ts:303:32
|
|
src/features/git/listCommitsApi.test.ts > searchCommits > git log options > should add --grep and --regexp-ignore-case when query is provided:
packages/web/src/features/git/listCommitsApi.test.ts#L284
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st spy call:
Array [
- ObjectContaining {
- "--grep": "fix bug",
- "--regexp-ignore-case": null,
- "HEAD": null,
- },
+ Array [
+ "--max-count=50",
+ "--grep=fix bug",
+ "--regexp-ignore-case",
+ "HEAD",
+ ],
]
Number of calls: 1
❯ src/features/git/listCommitsApi.test.ts:284:32
|
|
src/features/git/listCommitsApi.test.ts > searchCommits > git log options > should add --author when author is provided:
packages/web/src/features/git/listCommitsApi.test.ts#L269
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st spy call:
Array [
- ObjectContaining {
- "--author": "john@example.com",
- "--regexp-ignore-case": null,
- "HEAD": null,
- },
+ Array [
+ "--max-count=50",
+ "--author=john@example.com",
+ "--regexp-ignore-case",
+ "HEAD",
+ ],
]
Number of calls: 1
❯ src/features/git/listCommitsApi.test.ts:269:32
|
|
src/features/git/listCommitsApi.test.ts > searchCommits > git log options > should add --until when until is provided:
packages/web/src/features/git/listCommitsApi.test.ts#L255
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st spy call:
Array [
- ObjectContaining {
- "--until": "yesterday",
- "HEAD": null,
- },
+ Array [
+ "--max-count=50",
+ "--until=yesterday",
+ "HEAD",
+ ],
]
Number of calls: 1
❯ src/features/git/listCommitsApi.test.ts:255:32
|
|
src/features/git/listCommitsApi.test.ts > searchCommits > git log options > should add --since when since is provided:
packages/web/src/features/git/listCommitsApi.test.ts#L241
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st spy call:
Array [
- ObjectContaining {
- "--since": "30 days ago",
- "HEAD": null,
- },
+ Array [
+ "--max-count=50",
+ "--since=30 days ago",
+ "HEAD",
+ ],
]
Number of calls: 1
❯ src/features/git/listCommitsApi.test.ts:241:32
|
|
src/features/git/listCommitsApi.test.ts > searchCommits > git log options > should use custom maxCount:
packages/web/src/features/git/listCommitsApi.test.ts#L227
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st spy call:
Array [
- ObjectContaining {
- "HEAD": null,
- "maxCount": 100,
- },
+ Array [
+ "--max-count=100",
+ "HEAD",
+ ],
]
Number of calls: 1
❯ src/features/git/listCommitsApi.test.ts:227:32
|
|
src/features/git/listCommitsApi.test.ts > searchCommits > git log options > should set default maxCount:
packages/web/src/features/git/listCommitsApi.test.ts#L213
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st spy call:
Array [
- ObjectContaining {
- "HEAD": null,
- "maxCount": 50,
- },
+ Array [
+ "--max-count=50",
+ "HEAD",
+ ],
]
Number of calls: 1
❯ src/features/git/listCommitsApi.test.ts:213:32
|
|
src/features/git/listCommitsApi.test.ts > searchCommits > date parsing > should pass parsed dates to git log:
packages/web/src/features/git/listCommitsApi.test.ts#L193
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…} ]
Received:
1st spy call:
Array [
- ObjectContaining {
- "--since": "2024-01-01",
- "--until": "2024-12-31",
- },
+ Array [
+ "--max-count=50",
+ "--since=2024-01-01",
+ "--until=2024-12-31",
+ "HEAD",
+ ],
]
Number of calls: 1
❯ src/features/git/listCommitsApi.test.ts:193:32
|
|
src/features/chat/utils.test.ts > getAnswerPartFromAssistantMessage returns text part when it starts with ANSWER_TAG while streaming:
packages/web/src/features/chat/utils.test.ts#L191
AssertionError: expected { type: 'text', …(1) } to deeply equal { type: 'text', …(1) }
- Expected
+ Received
Object {
- "text": "<!--answer-->This is the answer to your question.",
+ "text": "This is the answer to your question.",
"type": "text",
}
❯ src/features/chat/utils.test.ts:191:20
|
|
src/features/chat/utils.test.ts > getAnswerPartFromAssistantMessage returns text part when it starts with ANSWER_TAG while not streaming:
packages/web/src/features/chat/utils.test.ts#L168
AssertionError: expected { type: 'text', …(1) } to deeply equal { type: 'text', …(1) }
- Expected
+ Received
Object {
- "text": "<!--answer-->This is the answer to your question.",
+ "text": "This is the answer to your question.",
"type": "text",
}
❯ src/features/chat/utils.test.ts:168:20
|
|
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|