Skip to content

Commit da8cc59

Browse files
fix(ci): repair main after merge burst
Rename leftover fakeProvider to fakePullRequestProvider, replace the removed encodeScanCache in the advisor usage test, and drop an issue number from a ClaudeAdapterV2 comment that lint rejects. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 35c1210 commit da8cc59

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎apps/server/src/orchestration-v2/Adapters/ClaudeAdapterV2.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4216,7 +4216,7 @@ function claudeTaskString(value: unknown, key: string): string | undefined {
42164216
}
42174217

42184218
// A Claude Code mod can hold a tool call until the user acts in its terminal
4219-
// pane. T3 cannot provide the requested pane interaction (#17531).
4219+
// pane. T3 cannot provide the requested pane interaction.
42204220
// Passive panes never request focus and keep working.
42214221
function claudeFocusRequestedPanePlugin(message: SDKMessage): string | null {
42224222
if (message.type !== "system" || claudeTaskField(message, "subtype") !== "ui_panes") return null;

‎apps/server/src/pullRequest/PullRequestService.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2204,7 +2204,7 @@ it.effect("a refresh or a finished turn drops the provider's own change request
22042204
}),
22052205
],
22062206
providers: [
2207-
fakeProvider(SourceControlProviderKind.make("gitlab"), {
2207+
fakePullRequestProvider(SourceControlProviderKind.make("gitlab"), {
22082208
forgetChangeRequestReads: (scope) => Effect.sync(() => void forgotten.push(scope)),
22092209
}),
22102210
],
@@ -2241,7 +2241,7 @@ it.effect("a read during a refresh cannot keep the provider's old change request
22412241
}),
22422242
],
22432243
providers: [
2244-
fakeProvider(SourceControlProviderKind.make("gitlab"), {
2244+
fakePullRequestProvider(SourceControlProviderKind.make("gitlab"), {
22452245
getChangeRequest: () =>
22462246
Effect.sync(() => {
22472247
held ??= hostTitle;

‎apps/server/src/usage/usageScanCache.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ describe("scan cache round trip", () => {
251251

252252
it("re-parses a Claude transcript cached before advisor usage was counted", () => {
253253
const original = cacheWith([["/claude.jsonl", 100, [record()]]]);
254-
const v9 = { ...encodeScanCache(original), version: 9 };
254+
const v9 = { ...JSON.parse(makeScanCacheWriter()(original, {})), version: 9 };
255255

256256
const restored = decodeScanCache(JSON.parse(JSON.stringify(v9)), TEST_FORMAT_MAP);
257257
expect(restored.get("/claude.jsonl")).toEqual({

0 commit comments

Comments
 (0)