Skip to content

Commit b0ce019

Browse files
Merge remote-tracking branch 'origin/main' into HEAD
2 parents b97bdcf + da8cc59 commit b0ce019

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎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)