github-issue-tower-defence-management 1.120.0 → 1.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +6 -8
- package/bin/adapter/entry-points/cli/index.js +8 -14
- package/bin/adapter/entry-points/cli/index.js.map +1 -1
- package/bin/adapter/entry-points/cli/projectConfig.js +0 -6
- package/bin/adapter/entry-points/cli/projectConfig.js.map +1 -1
- package/bin/adapter/entry-points/handlers/GetStoryObjectMapUseCaseHandler.js +6 -12
- package/bin/adapter/entry-points/handlers/GetStoryObjectMapUseCaseHandler.js.map +1 -1
- package/bin/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.js +3 -10
- package/bin/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.js.map +1 -1
- package/bin/adapter/entry-points/handlers/machineStatusWriter.js +23 -19
- package/bin/adapter/entry-points/handlers/machineStatusWriter.js.map +1 -1
- package/bin/adapter/entry-points/handlers/situationFileWriter.js.map +1 -1
- package/bin/adapter/entry-points/handlers/staleTmuxSessionCleaner.js +1 -2
- package/bin/adapter/entry-points/handlers/staleTmuxSessionCleaner.js.map +1 -1
- package/bin/adapter/repositories/LocalStorageCacheRepository.js +25 -0
- package/bin/adapter/repositories/LocalStorageCacheRepository.js.map +1 -1
- package/bin/adapter/repositories/ProcHostMetricsRepository.js +10 -5
- package/bin/adapter/repositories/ProcHostMetricsRepository.js.map +1 -1
- package/bin/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.js +119 -59
- package/bin/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.js.map +1 -1
- package/bin/adapter/repositories/issue/GraphqlProjectItemRepository.js +12 -3
- package/bin/adapter/repositories/issue/GraphqlProjectItemRepository.js.map +1 -1
- package/bin/domain/usecases/GetStoryObjectMapUseCase.js +1 -1
- package/bin/domain/usecases/GetStoryObjectMapUseCase.js.map +1 -1
- package/bin/domain/usecases/HandleScheduledEventUseCase.js +1 -8
- package/bin/domain/usecases/HandleScheduledEventUseCase.js.map +1 -1
- package/bin/domain/usecases/NotifyFinishedIssuePreparationUseCase.js +2 -2
- package/bin/domain/usecases/NotifyFinishedIssuePreparationUseCase.js.map +1 -1
- package/bin/domain/usecases/RevertNotReadyReviewQueueIssueUseCase.js +1 -1
- package/bin/domain/usecases/RevertNotReadyReviewQueueIssueUseCase.js.map +1 -1
- package/bin/domain/usecases/RevertOrphanedPreparationUseCase.js +1 -1
- package/bin/domain/usecases/RevertOrphanedPreparationUseCase.js.map +1 -1
- package/bin/domain/usecases/SetupTowerDefenceProjectUseCase.js +1 -1
- package/bin/domain/usecases/SetupTowerDefenceProjectUseCase.js.map +1 -1
- package/bin/domain/usecases/StaleTmuxSessionKillUseCase.js +1 -1
- package/bin/domain/usecases/StaleTmuxSessionKillUseCase.js.map +1 -1
- package/bin/domain/usecases/StartPreparationUseCase.js +1 -1
- package/bin/domain/usecases/StartPreparationUseCase.js.map +1 -1
- package/package.json +1 -1
- package/src/adapter/entry-points/cli/index.test.ts +0 -5
- package/src/adapter/entry-points/cli/index.ts +16 -17
- package/src/adapter/entry-points/cli/projectConfig.ts +0 -8
- package/src/adapter/entry-points/handlers/GetStoryObjectMapUseCaseHandler.test.ts +4 -25
- package/src/adapter/entry-points/handlers/GetStoryObjectMapUseCaseHandler.ts +4 -7
- package/src/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.test.ts +2 -25
- package/src/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.ts +2 -4
- package/src/adapter/entry-points/handlers/machineStatusWriter.test.ts +29 -11
- package/src/adapter/entry-points/handlers/machineStatusWriter.ts +30 -19
- package/src/adapter/entry-points/handlers/situationFileWriter.test.ts +0 -5
- package/src/adapter/entry-points/handlers/situationFileWriter.ts +0 -1
- package/src/adapter/entry-points/handlers/staleTmuxSessionCleaner.test.ts +0 -5
- package/src/adapter/entry-points/handlers/staleTmuxSessionCleaner.ts +1 -9
- package/src/adapter/repositories/LocalStorageCacheRepository.test.ts +75 -0
- package/src/adapter/repositories/LocalStorageCacheRepository.ts +24 -0
- package/src/adapter/repositories/ProcHostMetricsRepository.test.ts +29 -8
- package/src/adapter/repositories/ProcHostMetricsRepository.ts +10 -6
- package/src/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.test.ts +198 -47
- package/src/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.ts +160 -81
- package/src/adapter/repositories/issue/GraphqlProjectItemRepository.ts +23 -3
- package/src/domain/usecases/GetStoryObjectMapUseCase.test.ts +7 -12
- package/src/domain/usecases/GetStoryObjectMapUseCase.ts +1 -5
- package/src/domain/usecases/HandleScheduledEventUseCase.test.ts +8 -24
- package/src/domain/usecases/HandleScheduledEventUseCase.ts +6 -17
- package/src/domain/usecases/NotifyFinishedIssuePreparationUseCase.ts +4 -8
- package/src/domain/usecases/RevertNotReadyReviewQueueIssueUseCase.test.ts +35 -42
- package/src/domain/usecases/RevertNotReadyReviewQueueIssueUseCase.ts +1 -5
- package/src/domain/usecases/RevertOrphanedPreparationUseCase.test.ts +32 -32
- package/src/domain/usecases/RevertOrphanedPreparationUseCase.ts +1 -5
- package/src/domain/usecases/SetupTowerDefenceProjectUseCase.test.ts +17 -4
- package/src/domain/usecases/SetupTowerDefenceProjectUseCase.ts +1 -4
- package/src/domain/usecases/StaleTmuxSessionKillUseCase.test.ts +1 -7
- package/src/domain/usecases/StaleTmuxSessionKillUseCase.ts +1 -5
- package/src/domain/usecases/StartPreparationUseCase.test.ts +1 -94
- package/src/domain/usecases/StartPreparationUseCase.ts +2 -5
- package/src/domain/usecases/adapter-interfaces/IssueRepository.ts +3 -10
- package/types/adapter/entry-points/cli/projectConfig.d.ts +0 -1
- package/types/adapter/entry-points/cli/projectConfig.d.ts.map +1 -1
- package/types/adapter/entry-points/function/getStoryObjectMap.d.ts +1 -1
- package/types/adapter/entry-points/handlers/GetStoryObjectMapUseCaseHandler.d.ts +1 -1
- package/types/adapter/entry-points/handlers/GetStoryObjectMapUseCaseHandler.d.ts.map +1 -1
- package/types/adapter/entry-points/handlers/HandleScheduledEventUseCaseHandler.d.ts.map +1 -1
- package/types/adapter/entry-points/handlers/machineStatusWriter.d.ts +1 -0
- package/types/adapter/entry-points/handlers/machineStatusWriter.d.ts.map +1 -1
- package/types/adapter/entry-points/handlers/situationFileWriter.d.ts +0 -1
- package/types/adapter/entry-points/handlers/situationFileWriter.d.ts.map +1 -1
- package/types/adapter/entry-points/handlers/staleTmuxSessionCleaner.d.ts +0 -1
- package/types/adapter/entry-points/handlers/staleTmuxSessionCleaner.d.ts.map +1 -1
- package/types/adapter/repositories/LocalStorageCacheRepository.d.ts +2 -0
- package/types/adapter/repositories/LocalStorageCacheRepository.d.ts.map +1 -1
- package/types/adapter/repositories/ProcHostMetricsRepository.d.ts +1 -1
- package/types/adapter/repositories/ProcHostMetricsRepository.d.ts.map +1 -1
- package/types/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.d.ts +22 -7
- package/types/adapter/repositories/issue/ApiV3CheerioRestIssueRepository.d.ts.map +1 -1
- package/types/adapter/repositories/issue/GraphqlProjectItemRepository.d.ts +2 -1
- package/types/adapter/repositories/issue/GraphqlProjectItemRepository.d.ts.map +1 -1
- package/types/domain/usecases/GetStoryObjectMapUseCase.d.ts +0 -1
- package/types/domain/usecases/GetStoryObjectMapUseCase.d.ts.map +1 -1
- package/types/domain/usecases/HandleScheduledEventUseCase.d.ts +0 -1
- package/types/domain/usecases/HandleScheduledEventUseCase.d.ts.map +1 -1
- package/types/domain/usecases/NotifyFinishedIssuePreparationUseCase.d.ts.map +1 -1
- package/types/domain/usecases/RevertNotReadyReviewQueueIssueUseCase.d.ts +0 -1
- package/types/domain/usecases/RevertNotReadyReviewQueueIssueUseCase.d.ts.map +1 -1
- package/types/domain/usecases/RevertOrphanedPreparationUseCase.d.ts +0 -1
- package/types/domain/usecases/RevertOrphanedPreparationUseCase.d.ts.map +1 -1
- package/types/domain/usecases/SetupTowerDefenceProjectUseCase.d.ts.map +1 -1
- package/types/domain/usecases/StaleTmuxSessionKillUseCase.d.ts +0 -1
- package/types/domain/usecases/StaleTmuxSessionKillUseCase.d.ts.map +1 -1
- package/types/domain/usecases/StartPreparationUseCase.d.ts +0 -1
- package/types/domain/usecases/StartPreparationUseCase.d.ts.map +1 -1
- package/types/domain/usecases/adapter-interfaces/IssueRepository.d.ts +4 -3
- package/types/domain/usecases/adapter-interfaces/IssueRepository.d.ts.map +1 -1
|
@@ -155,7 +155,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
155
155
|
utilizationPercentageThreshold: 90,
|
|
156
156
|
allowedIssueAuthors: ['testuser'],
|
|
157
157
|
codexHomeCandidates: null,
|
|
158
|
-
allowIssueCacheMinutes: 0,
|
|
159
158
|
labelsAsLlmAgentName: null,
|
|
160
159
|
});
|
|
161
160
|
expect(mockIssueRepository.updateStatus.mock.calls).toHaveLength(1);
|
|
@@ -222,7 +221,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
222
221
|
utilizationPercentageThreshold: 90,
|
|
223
222
|
allowedIssueAuthors: ['testuser'],
|
|
224
223
|
codexHomeCandidates: null,
|
|
225
|
-
allowIssueCacheMinutes: 0,
|
|
226
224
|
labelsAsLlmAgentName: null,
|
|
227
225
|
});
|
|
228
226
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(1);
|
|
@@ -281,7 +279,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
281
279
|
utilizationPercentageThreshold: 90,
|
|
282
280
|
allowedIssueAuthors: ['testuser'],
|
|
283
281
|
codexHomeCandidates: null,
|
|
284
|
-
allowIssueCacheMinutes: 0,
|
|
285
282
|
labelsAsLlmAgentName: null,
|
|
286
283
|
});
|
|
287
284
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(1);
|
|
@@ -330,7 +327,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
330
327
|
utilizationPercentageThreshold: 90,
|
|
331
328
|
allowedIssueAuthors: ['testuser'],
|
|
332
329
|
codexHomeCandidates: null,
|
|
333
|
-
allowIssueCacheMinutes: 0,
|
|
334
330
|
labelsAsLlmAgentName: null,
|
|
335
331
|
});
|
|
336
332
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(0);
|
|
@@ -381,7 +377,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
381
377
|
utilizationPercentageThreshold: 90,
|
|
382
378
|
allowedIssueAuthors: ['testuser'],
|
|
383
379
|
codexHomeCandidates: null,
|
|
384
|
-
allowIssueCacheMinutes: 0,
|
|
385
380
|
labelsAsLlmAgentName: null,
|
|
386
381
|
});
|
|
387
382
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(0);
|
|
@@ -431,7 +426,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
431
426
|
utilizationPercentageThreshold: 90,
|
|
432
427
|
allowedIssueAuthors: ['testuser'],
|
|
433
428
|
codexHomeCandidates: null,
|
|
434
|
-
allowIssueCacheMinutes: 0,
|
|
435
429
|
labelsAsLlmAgentName: null,
|
|
436
430
|
});
|
|
437
431
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(0);
|
|
@@ -500,7 +494,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
500
494
|
utilizationPercentageThreshold: 90,
|
|
501
495
|
allowedIssueAuthors: ['testuser'],
|
|
502
496
|
codexHomeCandidates: null,
|
|
503
|
-
allowIssueCacheMinutes: 0,
|
|
504
497
|
labelsAsLlmAgentName: null,
|
|
505
498
|
});
|
|
506
499
|
expect(mockIssueRepository.closePullRequest).toHaveBeenCalledWith(
|
|
@@ -592,7 +585,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
592
585
|
utilizationPercentageThreshold: 90,
|
|
593
586
|
allowedIssueAuthors: ['testuser'],
|
|
594
587
|
codexHomeCandidates: null,
|
|
595
|
-
allowIssueCacheMinutes: 0,
|
|
596
588
|
labelsAsLlmAgentName: null,
|
|
597
589
|
});
|
|
598
590
|
expect(mockIssueRepository.closePullRequest).toHaveBeenCalledWith(
|
|
@@ -657,7 +649,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
657
649
|
utilizationPercentageThreshold: 90,
|
|
658
650
|
allowedIssueAuthors: ['testuser'],
|
|
659
651
|
codexHomeCandidates: null,
|
|
660
|
-
allowIssueCacheMinutes: 0,
|
|
661
652
|
labelsAsLlmAgentName: null,
|
|
662
653
|
});
|
|
663
654
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(0);
|
|
@@ -702,7 +693,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
702
693
|
utilizationPercentageThreshold: 90,
|
|
703
694
|
allowedIssueAuthors: ['testuser'],
|
|
704
695
|
codexHomeCandidates: null,
|
|
705
|
-
allowIssueCacheMinutes: 0,
|
|
706
696
|
labelsAsLlmAgentName: null,
|
|
707
697
|
});
|
|
708
698
|
// Both awaiting issues should be updated (forward iteration: url1 first, then url2)
|
|
@@ -760,7 +750,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
760
750
|
utilizationPercentageThreshold: 90,
|
|
761
751
|
allowedIssueAuthors: ['testuser'],
|
|
762
752
|
codexHomeCandidates: null,
|
|
763
|
-
allowIssueCacheMinutes: 0,
|
|
764
753
|
labelsAsLlmAgentName: null,
|
|
765
754
|
});
|
|
766
755
|
// Loop doesn't run because we're already at max (6 >= 6)
|
|
@@ -796,7 +785,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
796
785
|
utilizationPercentageThreshold: 90,
|
|
797
786
|
allowedIssueAuthors: ['testuser'],
|
|
798
787
|
codexHomeCandidates: null,
|
|
799
|
-
allowIssueCacheMinutes: 0,
|
|
800
788
|
labelsAsLlmAgentName: null,
|
|
801
789
|
});
|
|
802
790
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(1);
|
|
@@ -842,7 +830,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
842
830
|
utilizationPercentageThreshold: 90,
|
|
843
831
|
allowedIssueAuthors: ['testuser'],
|
|
844
832
|
codexHomeCandidates: null,
|
|
845
|
-
allowIssueCacheMinutes: 0,
|
|
846
833
|
labelsAsLlmAgentName: null,
|
|
847
834
|
});
|
|
848
835
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(1);
|
|
@@ -888,7 +875,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
888
875
|
utilizationPercentageThreshold: 90,
|
|
889
876
|
allowedIssueAuthors: ['testuser'],
|
|
890
877
|
codexHomeCandidates: null,
|
|
891
|
-
allowIssueCacheMinutes: 0,
|
|
892
878
|
labelsAsLlmAgentName: null,
|
|
893
879
|
});
|
|
894
880
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(1);
|
|
@@ -934,7 +920,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
934
920
|
utilizationPercentageThreshold: 90,
|
|
935
921
|
allowedIssueAuthors: ['testuser'],
|
|
936
922
|
codexHomeCandidates: null,
|
|
937
|
-
allowIssueCacheMinutes: 0,
|
|
938
923
|
labelsAsLlmAgentName: null,
|
|
939
924
|
});
|
|
940
925
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(1);
|
|
@@ -980,7 +965,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
980
965
|
utilizationPercentageThreshold: 90,
|
|
981
966
|
allowedIssueAuthors: ['testuser'],
|
|
982
967
|
codexHomeCandidates: null,
|
|
983
|
-
allowIssueCacheMinutes: 0,
|
|
984
968
|
labelsAsLlmAgentName: null,
|
|
985
969
|
});
|
|
986
970
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(1);
|
|
@@ -1026,7 +1010,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1026
1010
|
utilizationPercentageThreshold: 90,
|
|
1027
1011
|
allowedIssueAuthors: ['testuser'],
|
|
1028
1012
|
codexHomeCandidates: null,
|
|
1029
|
-
allowIssueCacheMinutes: 0,
|
|
1030
1013
|
labelsAsLlmAgentName: null,
|
|
1031
1014
|
});
|
|
1032
1015
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(1);
|
|
@@ -1075,7 +1058,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1075
1058
|
utilizationPercentageThreshold: 90,
|
|
1076
1059
|
allowedIssueAuthors: ['testuser'],
|
|
1077
1060
|
codexHomeCandidates: null,
|
|
1078
|
-
allowIssueCacheMinutes: 0,
|
|
1079
1061
|
labelsAsLlmAgentName: null,
|
|
1080
1062
|
});
|
|
1081
1063
|
expect(consoleErrorSpy).toHaveBeenCalledWith(
|
|
@@ -1124,7 +1106,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1124
1106
|
utilizationPercentageThreshold: 90,
|
|
1125
1107
|
allowedIssueAuthors: ['testuser'],
|
|
1126
1108
|
codexHomeCandidates: null,
|
|
1127
|
-
allowIssueCacheMinutes: 0,
|
|
1128
1109
|
labelsAsLlmAgentName: null,
|
|
1129
1110
|
});
|
|
1130
1111
|
expect(consoleErrorSpy).toHaveBeenCalledWith(
|
|
@@ -1175,7 +1156,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1175
1156
|
utilizationPercentageThreshold: 90,
|
|
1176
1157
|
allowedIssueAuthors: ['testuser'],
|
|
1177
1158
|
codexHomeCandidates: null,
|
|
1178
|
-
allowIssueCacheMinutes: 0,
|
|
1179
1159
|
labelsAsLlmAgentName: null,
|
|
1180
1160
|
});
|
|
1181
1161
|
// No issues are in 'Awaiting Workspace' status, so no updates should happen
|
|
@@ -1211,7 +1191,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1211
1191
|
utilizationPercentageThreshold: 90,
|
|
1212
1192
|
allowedIssueAuthors: ['testuser'],
|
|
1213
1193
|
codexHomeCandidates: null,
|
|
1214
|
-
allowIssueCacheMinutes: 0,
|
|
1215
1194
|
labelsAsLlmAgentName: null,
|
|
1216
1195
|
});
|
|
1217
1196
|
expect(mockIssueRepository.updateStatus.mock.calls).toHaveLength(3);
|
|
@@ -1246,7 +1225,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1246
1225
|
utilizationPercentageThreshold: 90,
|
|
1247
1226
|
allowedIssueAuthors: ['testuser'],
|
|
1248
1227
|
codexHomeCandidates: null,
|
|
1249
|
-
allowIssueCacheMinutes: 0,
|
|
1250
1228
|
labelsAsLlmAgentName: null,
|
|
1251
1229
|
});
|
|
1252
1230
|
expect(mockIssueRepository.updateStatus.mock.calls).toHaveLength(6);
|
|
@@ -1308,7 +1286,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1308
1286
|
utilizationPercentageThreshold: 90,
|
|
1309
1287
|
allowedIssueAuthors: ['testuser'],
|
|
1310
1288
|
codexHomeCandidates: null,
|
|
1311
|
-
allowIssueCacheMinutes: 0,
|
|
1312
1289
|
labelsAsLlmAgentName: null,
|
|
1313
1290
|
});
|
|
1314
1291
|
|
|
@@ -1379,7 +1356,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1379
1356
|
utilizationPercentageThreshold: 90,
|
|
1380
1357
|
allowedIssueAuthors: ['testuser'],
|
|
1381
1358
|
codexHomeCandidates: null,
|
|
1382
|
-
allowIssueCacheMinutes: 0,
|
|
1383
1359
|
labelsAsLlmAgentName: null,
|
|
1384
1360
|
});
|
|
1385
1361
|
|
|
@@ -1444,7 +1420,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1444
1420
|
utilizationPercentageThreshold: 90,
|
|
1445
1421
|
allowedIssueAuthors: ['testuser'],
|
|
1446
1422
|
codexHomeCandidates: null,
|
|
1447
|
-
allowIssueCacheMinutes: 0,
|
|
1448
1423
|
labelsAsLlmAgentName: null,
|
|
1449
1424
|
});
|
|
1450
1425
|
|
|
@@ -1493,7 +1468,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1493
1468
|
utilizationPercentageThreshold: 90,
|
|
1494
1469
|
allowedIssueAuthors: ['testuser'],
|
|
1495
1470
|
codexHomeCandidates: null,
|
|
1496
|
-
allowIssueCacheMinutes: 0,
|
|
1497
1471
|
labelsAsLlmAgentName: null,
|
|
1498
1472
|
});
|
|
1499
1473
|
|
|
@@ -1549,7 +1523,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1549
1523
|
utilizationPercentageThreshold: 90,
|
|
1550
1524
|
allowedIssueAuthors: ['testuser'],
|
|
1551
1525
|
codexHomeCandidates: null,
|
|
1552
|
-
allowIssueCacheMinutes: 0,
|
|
1553
1526
|
labelsAsLlmAgentName: null,
|
|
1554
1527
|
});
|
|
1555
1528
|
|
|
@@ -1608,7 +1581,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1608
1581
|
utilizationPercentageThreshold: 90,
|
|
1609
1582
|
allowedIssueAuthors: ['testuser'],
|
|
1610
1583
|
codexHomeCandidates: null,
|
|
1611
|
-
allowIssueCacheMinutes: 0,
|
|
1612
1584
|
labelsAsLlmAgentName: null,
|
|
1613
1585
|
});
|
|
1614
1586
|
|
|
@@ -1657,7 +1629,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1657
1629
|
utilizationPercentageThreshold: 90,
|
|
1658
1630
|
allowedIssueAuthors: ['testuser'],
|
|
1659
1631
|
codexHomeCandidates: null,
|
|
1660
|
-
allowIssueCacheMinutes: 0,
|
|
1661
1632
|
labelsAsLlmAgentName: null,
|
|
1662
1633
|
});
|
|
1663
1634
|
|
|
@@ -1706,7 +1677,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1706
1677
|
utilizationPercentageThreshold: 90,
|
|
1707
1678
|
allowedIssueAuthors: ['testuser'],
|
|
1708
1679
|
codexHomeCandidates: null,
|
|
1709
|
-
allowIssueCacheMinutes: 0,
|
|
1710
1680
|
labelsAsLlmAgentName: null,
|
|
1711
1681
|
});
|
|
1712
1682
|
|
|
@@ -1755,7 +1725,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1755
1725
|
utilizationPercentageThreshold: 90,
|
|
1756
1726
|
allowedIssueAuthors: ['testuser'],
|
|
1757
1727
|
codexHomeCandidates: null,
|
|
1758
|
-
allowIssueCacheMinutes: 0,
|
|
1759
1728
|
labelsAsLlmAgentName: null,
|
|
1760
1729
|
});
|
|
1761
1730
|
|
|
@@ -1810,7 +1779,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1810
1779
|
utilizationPercentageThreshold: 90,
|
|
1811
1780
|
allowedIssueAuthors: ['user1', 'user2'],
|
|
1812
1781
|
codexHomeCandidates: null,
|
|
1813
|
-
allowIssueCacheMinutes: 0,
|
|
1814
1782
|
labelsAsLlmAgentName: null,
|
|
1815
1783
|
});
|
|
1816
1784
|
|
|
@@ -1859,7 +1827,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1859
1827
|
utilizationPercentageThreshold: 90,
|
|
1860
1828
|
allowedIssueAuthors: null,
|
|
1861
1829
|
codexHomeCandidates: null,
|
|
1862
|
-
allowIssueCacheMinutes: 0,
|
|
1863
1830
|
labelsAsLlmAgentName: null,
|
|
1864
1831
|
});
|
|
1865
1832
|
|
|
@@ -1897,7 +1864,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1897
1864
|
utilizationPercentageThreshold: 90,
|
|
1898
1865
|
allowedIssueAuthors: [],
|
|
1899
1866
|
codexHomeCandidates: null,
|
|
1900
|
-
allowIssueCacheMinutes: 0,
|
|
1901
1867
|
labelsAsLlmAgentName: null,
|
|
1902
1868
|
});
|
|
1903
1869
|
|
|
@@ -1935,7 +1901,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1935
1901
|
utilizationPercentageThreshold: 90,
|
|
1936
1902
|
allowedIssueAuthors: ['dependabot[bot]'],
|
|
1937
1903
|
codexHomeCandidates: null,
|
|
1938
|
-
allowIssueCacheMinutes: 0,
|
|
1939
1904
|
labelsAsLlmAgentName: null,
|
|
1940
1905
|
});
|
|
1941
1906
|
|
|
@@ -1973,7 +1938,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
1973
1938
|
utilizationPercentageThreshold: 90,
|
|
1974
1939
|
allowedIssueAuthors: ['owner'],
|
|
1975
1940
|
codexHomeCandidates: null,
|
|
1976
|
-
allowIssueCacheMinutes: 0,
|
|
1977
1941
|
labelsAsLlmAgentName: null,
|
|
1978
1942
|
});
|
|
1979
1943
|
|
|
@@ -2020,7 +1984,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2020
1984
|
utilizationPercentageThreshold: 90,
|
|
2021
1985
|
allowedIssueAuthors: ['user1', 'user2'],
|
|
2022
1986
|
codexHomeCandidates: null,
|
|
2023
|
-
allowIssueCacheMinutes: 0,
|
|
2024
1987
|
labelsAsLlmAgentName: null,
|
|
2025
1988
|
});
|
|
2026
1989
|
|
|
@@ -2061,7 +2024,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2061
2024
|
utilizationPercentageThreshold: 90,
|
|
2062
2025
|
allowedIssueAuthors: ['user1'],
|
|
2063
2026
|
codexHomeCandidates: null,
|
|
2064
|
-
allowIssueCacheMinutes: 0,
|
|
2065
2027
|
labelsAsLlmAgentName: null,
|
|
2066
2028
|
});
|
|
2067
2029
|
|
|
@@ -2099,7 +2061,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2099
2061
|
utilizationPercentageThreshold: 90,
|
|
2100
2062
|
allowedIssueAuthors: ['testuser'],
|
|
2101
2063
|
codexHomeCandidates: null,
|
|
2102
|
-
allowIssueCacheMinutes: 0,
|
|
2103
2064
|
labelsAsLlmAgentName: null,
|
|
2104
2065
|
});
|
|
2105
2066
|
|
|
@@ -2148,7 +2109,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2148
2109
|
utilizationPercentageThreshold: 90,
|
|
2149
2110
|
allowedIssueAuthors: ['testuser'],
|
|
2150
2111
|
codexHomeCandidates: [],
|
|
2151
|
-
allowIssueCacheMinutes: 0,
|
|
2152
2112
|
labelsAsLlmAgentName: null,
|
|
2153
2113
|
});
|
|
2154
2114
|
|
|
@@ -2197,7 +2157,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2197
2157
|
utilizationPercentageThreshold: 90,
|
|
2198
2158
|
allowedIssueAuthors: ['testuser'],
|
|
2199
2159
|
codexHomeCandidates: ['.codex-dev1'],
|
|
2200
|
-
allowIssueCacheMinutes: 0,
|
|
2201
2160
|
labelsAsLlmAgentName: null,
|
|
2202
2161
|
});
|
|
2203
2162
|
|
|
@@ -2266,7 +2225,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2266
2225
|
utilizationPercentageThreshold: 90,
|
|
2267
2226
|
allowedIssueAuthors: ['testuser'],
|
|
2268
2227
|
codexHomeCandidates: ['.codex-dev1', '.codex-dev2'],
|
|
2269
|
-
allowIssueCacheMinutes: 0,
|
|
2270
2228
|
labelsAsLlmAgentName: null,
|
|
2271
2229
|
});
|
|
2272
2230
|
|
|
@@ -2332,7 +2290,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2332
2290
|
utilizationPercentageThreshold: 90,
|
|
2333
2291
|
allowedIssueAuthors: ['testuser'],
|
|
2334
2292
|
codexHomeCandidates: null,
|
|
2335
|
-
allowIssueCacheMinutes: 0,
|
|
2336
2293
|
labelsAsLlmAgentName: null,
|
|
2337
2294
|
});
|
|
2338
2295
|
|
|
@@ -2392,7 +2349,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2392
2349
|
utilizationPercentageThreshold: 90,
|
|
2393
2350
|
allowedIssueAuthors: ['testuser'],
|
|
2394
2351
|
codexHomeCandidates: null,
|
|
2395
|
-
allowIssueCacheMinutes: 0,
|
|
2396
2352
|
labelsAsLlmAgentName: null,
|
|
2397
2353
|
});
|
|
2398
2354
|
|
|
@@ -2404,7 +2360,7 @@ describe('StartPreparationUseCase', () => {
|
|
|
2404
2360
|
consoleErrorSpy.mockRestore();
|
|
2405
2361
|
});
|
|
2406
2362
|
|
|
2407
|
-
it('should
|
|
2363
|
+
it('should call getStoryObjectMap with the resolved project', async () => {
|
|
2408
2364
|
mockProjectRepository.getByUrl.mockResolvedValue(mockProject);
|
|
2409
2365
|
mockIssueRepository.getStoryObjectMap.mockResolvedValue(
|
|
2410
2366
|
createMockStoryObjectMap([]),
|
|
@@ -2421,13 +2377,11 @@ describe('StartPreparationUseCase', () => {
|
|
|
2421
2377
|
utilizationPercentageThreshold: 90,
|
|
2422
2378
|
allowedIssueAuthors: ['testuser'],
|
|
2423
2379
|
codexHomeCandidates: null,
|
|
2424
|
-
allowIssueCacheMinutes: 5,
|
|
2425
2380
|
labelsAsLlmAgentName: null,
|
|
2426
2381
|
});
|
|
2427
2382
|
|
|
2428
2383
|
expect(mockIssueRepository.getStoryObjectMap).toHaveBeenCalledWith(
|
|
2429
2384
|
expect.objectContaining({ id: 'project-1' }),
|
|
2430
|
-
5,
|
|
2431
2385
|
);
|
|
2432
2386
|
});
|
|
2433
2387
|
|
|
@@ -2469,7 +2423,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2469
2423
|
utilizationPercentageThreshold: 90,
|
|
2470
2424
|
allowedIssueAuthors: ['testuser'],
|
|
2471
2425
|
codexHomeCandidates: null,
|
|
2472
|
-
allowIssueCacheMinutes: 0,
|
|
2473
2426
|
labelsAsLlmAgentName: null,
|
|
2474
2427
|
});
|
|
2475
2428
|
|
|
@@ -2522,7 +2475,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2522
2475
|
utilizationPercentageThreshold: 90,
|
|
2523
2476
|
allowedIssueAuthors: ['testuser'],
|
|
2524
2477
|
codexHomeCandidates: null,
|
|
2525
|
-
allowIssueCacheMinutes: 0,
|
|
2526
2478
|
labelsAsLlmAgentName: null,
|
|
2527
2479
|
});
|
|
2528
2480
|
|
|
@@ -2613,7 +2565,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2613
2565
|
utilizationPercentageThreshold: 90,
|
|
2614
2566
|
allowedIssueAuthors: ['testuser'],
|
|
2615
2567
|
codexHomeCandidates: null,
|
|
2616
|
-
allowIssueCacheMinutes: 0,
|
|
2617
2568
|
labelsAsLlmAgentName: null,
|
|
2618
2569
|
});
|
|
2619
2570
|
|
|
@@ -2671,7 +2622,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2671
2622
|
utilizationPercentageThreshold: 90,
|
|
2672
2623
|
allowedIssueAuthors: ['testuser'],
|
|
2673
2624
|
codexHomeCandidates: null,
|
|
2674
|
-
allowIssueCacheMinutes: 0,
|
|
2675
2625
|
labelsAsLlmAgentName: null,
|
|
2676
2626
|
});
|
|
2677
2627
|
|
|
@@ -2747,7 +2697,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2747
2697
|
utilizationPercentageThreshold: 90,
|
|
2748
2698
|
allowedIssueAuthors: ['testuser'],
|
|
2749
2699
|
codexHomeCandidates: null,
|
|
2750
|
-
allowIssueCacheMinutes: 0,
|
|
2751
2700
|
labelsAsLlmAgentName: null,
|
|
2752
2701
|
});
|
|
2753
2702
|
|
|
@@ -2826,7 +2775,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2826
2775
|
utilizationPercentageThreshold: 90,
|
|
2827
2776
|
allowedIssueAuthors: ['testuser'],
|
|
2828
2777
|
codexHomeCandidates: null,
|
|
2829
|
-
allowIssueCacheMinutes: 0,
|
|
2830
2778
|
labelsAsLlmAgentName: null,
|
|
2831
2779
|
});
|
|
2832
2780
|
|
|
@@ -2904,7 +2852,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2904
2852
|
utilizationPercentageThreshold: 90,
|
|
2905
2853
|
allowedIssueAuthors: ['testuser'],
|
|
2906
2854
|
codexHomeCandidates: null,
|
|
2907
|
-
allowIssueCacheMinutes: 0,
|
|
2908
2855
|
labelsAsLlmAgentName: null,
|
|
2909
2856
|
});
|
|
2910
2857
|
|
|
@@ -2979,7 +2926,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
2979
2926
|
utilizationPercentageThreshold: 90,
|
|
2980
2927
|
allowedIssueAuthors: ['testuser'],
|
|
2981
2928
|
codexHomeCandidates: null,
|
|
2982
|
-
allowIssueCacheMinutes: 0,
|
|
2983
2929
|
labelsAsLlmAgentName: null,
|
|
2984
2930
|
});
|
|
2985
2931
|
|
|
@@ -3067,7 +3013,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3067
3013
|
utilizationPercentageThreshold: 90,
|
|
3068
3014
|
allowedIssueAuthors: ['testuser'],
|
|
3069
3015
|
codexHomeCandidates: null,
|
|
3070
|
-
allowIssueCacheMinutes: 0,
|
|
3071
3016
|
labelsAsLlmAgentName: null,
|
|
3072
3017
|
});
|
|
3073
3018
|
|
|
@@ -3134,7 +3079,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3134
3079
|
utilizationPercentageThreshold: 90,
|
|
3135
3080
|
allowedIssueAuthors: ['testuser'],
|
|
3136
3081
|
codexHomeCandidates: null,
|
|
3137
|
-
allowIssueCacheMinutes: 0,
|
|
3138
3082
|
labelsAsLlmAgentName: null,
|
|
3139
3083
|
});
|
|
3140
3084
|
|
|
@@ -3202,7 +3146,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3202
3146
|
utilizationPercentageThreshold: 90,
|
|
3203
3147
|
allowedIssueAuthors: ['testuser'],
|
|
3204
3148
|
codexHomeCandidates: null,
|
|
3205
|
-
allowIssueCacheMinutes: 0,
|
|
3206
3149
|
labelsAsLlmAgentName: null,
|
|
3207
3150
|
});
|
|
3208
3151
|
|
|
@@ -3272,7 +3215,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3272
3215
|
utilizationPercentageThreshold: 90,
|
|
3273
3216
|
allowedIssueAuthors: ['testuser'],
|
|
3274
3217
|
codexHomeCandidates: null,
|
|
3275
|
-
allowIssueCacheMinutes: 0,
|
|
3276
3218
|
labelsAsLlmAgentName: null,
|
|
3277
3219
|
});
|
|
3278
3220
|
|
|
@@ -3345,7 +3287,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3345
3287
|
utilizationPercentageThreshold: 90,
|
|
3346
3288
|
allowedIssueAuthors: ['testuser'],
|
|
3347
3289
|
codexHomeCandidates: null,
|
|
3348
|
-
allowIssueCacheMinutes: 0,
|
|
3349
3290
|
labelsAsLlmAgentName: null,
|
|
3350
3291
|
});
|
|
3351
3292
|
|
|
@@ -3460,7 +3401,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3460
3401
|
utilizationPercentageThreshold: 90,
|
|
3461
3402
|
allowedIssueAuthors: ['testuser'],
|
|
3462
3403
|
codexHomeCandidates: null,
|
|
3463
|
-
allowIssueCacheMinutes: 0,
|
|
3464
3404
|
labelsAsLlmAgentName: null,
|
|
3465
3405
|
});
|
|
3466
3406
|
|
|
@@ -3546,7 +3486,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3546
3486
|
utilizationPercentageThreshold: 90,
|
|
3547
3487
|
allowedIssueAuthors: ['testuser'],
|
|
3548
3488
|
codexHomeCandidates: null,
|
|
3549
|
-
allowIssueCacheMinutes: 0,
|
|
3550
3489
|
labelsAsLlmAgentName: null,
|
|
3551
3490
|
});
|
|
3552
3491
|
|
|
@@ -3607,7 +3546,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3607
3546
|
utilizationPercentageThreshold: 90,
|
|
3608
3547
|
allowedIssueAuthors: ['testuser'],
|
|
3609
3548
|
codexHomeCandidates: null,
|
|
3610
|
-
allowIssueCacheMinutes: 0,
|
|
3611
3549
|
labelsAsLlmAgentName: null,
|
|
3612
3550
|
});
|
|
3613
3551
|
|
|
@@ -3674,7 +3612,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3674
3612
|
utilizationPercentageThreshold: 90,
|
|
3675
3613
|
allowedIssueAuthors: ['testuser'],
|
|
3676
3614
|
codexHomeCandidates: null,
|
|
3677
|
-
allowIssueCacheMinutes: 0,
|
|
3678
3615
|
labelsAsLlmAgentName: null,
|
|
3679
3616
|
});
|
|
3680
3617
|
|
|
@@ -3741,7 +3678,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3741
3678
|
utilizationPercentageThreshold: 90,
|
|
3742
3679
|
allowedIssueAuthors: ['testuser'],
|
|
3743
3680
|
codexHomeCandidates: null,
|
|
3744
|
-
allowIssueCacheMinutes: 0,
|
|
3745
3681
|
labelsAsLlmAgentName: null,
|
|
3746
3682
|
});
|
|
3747
3683
|
|
|
@@ -3808,7 +3744,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3808
3744
|
utilizationPercentageThreshold: 90,
|
|
3809
3745
|
allowedIssueAuthors: ['testuser'],
|
|
3810
3746
|
codexHomeCandidates: null,
|
|
3811
|
-
allowIssueCacheMinutes: 0,
|
|
3812
3747
|
labelsAsLlmAgentName: null,
|
|
3813
3748
|
});
|
|
3814
3749
|
|
|
@@ -3878,7 +3813,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3878
3813
|
utilizationPercentageThreshold: 90,
|
|
3879
3814
|
allowedIssueAuthors: ['testuser'],
|
|
3880
3815
|
codexHomeCandidates: null,
|
|
3881
|
-
allowIssueCacheMinutes: 0,
|
|
3882
3816
|
labelsAsLlmAgentName: null,
|
|
3883
3817
|
});
|
|
3884
3818
|
|
|
@@ -3926,7 +3860,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3926
3860
|
utilizationPercentageThreshold: 90,
|
|
3927
3861
|
allowedIssueAuthors: ['testuser'],
|
|
3928
3862
|
codexHomeCandidates: null,
|
|
3929
|
-
allowIssueCacheMinutes: 0,
|
|
3930
3863
|
labelsAsLlmAgentName: null,
|
|
3931
3864
|
});
|
|
3932
3865
|
|
|
@@ -3996,7 +3929,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
3996
3929
|
utilizationPercentageThreshold: 90,
|
|
3997
3930
|
allowedIssueAuthors: ['testuser'],
|
|
3998
3931
|
codexHomeCandidates: null,
|
|
3999
|
-
allowIssueCacheMinutes: 0,
|
|
4000
3932
|
labelsAsLlmAgentName: null,
|
|
4001
3933
|
});
|
|
4002
3934
|
|
|
@@ -4066,7 +3998,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
4066
3998
|
utilizationPercentageThreshold: 90,
|
|
4067
3999
|
allowedIssueAuthors: ['testuser'],
|
|
4068
4000
|
codexHomeCandidates: null,
|
|
4069
|
-
allowIssueCacheMinutes: 0,
|
|
4070
4001
|
labelsAsLlmAgentName: null,
|
|
4071
4002
|
});
|
|
4072
4003
|
|
|
@@ -4136,7 +4067,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
4136
4067
|
utilizationPercentageThreshold: 90,
|
|
4137
4068
|
allowedIssueAuthors: ['testuser'],
|
|
4138
4069
|
codexHomeCandidates: null,
|
|
4139
|
-
allowIssueCacheMinutes: 0,
|
|
4140
4070
|
labelsAsLlmAgentName: null,
|
|
4141
4071
|
});
|
|
4142
4072
|
|
|
@@ -4214,7 +4144,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
4214
4144
|
utilizationPercentageThreshold: 90,
|
|
4215
4145
|
allowedIssueAuthors: ['testuser'],
|
|
4216
4146
|
codexHomeCandidates: null,
|
|
4217
|
-
allowIssueCacheMinutes: 0,
|
|
4218
4147
|
labelsAsLlmAgentName: null,
|
|
4219
4148
|
});
|
|
4220
4149
|
|
|
@@ -4292,7 +4221,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
4292
4221
|
utilizationPercentageThreshold: 90,
|
|
4293
4222
|
allowedIssueAuthors: ['testuser'],
|
|
4294
4223
|
codexHomeCandidates: null,
|
|
4295
|
-
allowIssueCacheMinutes: 0,
|
|
4296
4224
|
labelsAsLlmAgentName: null,
|
|
4297
4225
|
});
|
|
4298
4226
|
|
|
@@ -4375,7 +4303,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
4375
4303
|
utilizationPercentageThreshold: 90,
|
|
4376
4304
|
allowedIssueAuthors: ['testuser'],
|
|
4377
4305
|
codexHomeCandidates: null,
|
|
4378
|
-
allowIssueCacheMinutes: 0,
|
|
4379
4306
|
labelsAsLlmAgentName: null,
|
|
4380
4307
|
});
|
|
4381
4308
|
|
|
@@ -4487,7 +4414,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
4487
4414
|
utilizationPercentageThreshold: 90,
|
|
4488
4415
|
allowedIssueAuthors: ['testuser'],
|
|
4489
4416
|
codexHomeCandidates: null,
|
|
4490
|
-
allowIssueCacheMinutes: 0,
|
|
4491
4417
|
labelsAsLlmAgentName: null,
|
|
4492
4418
|
});
|
|
4493
4419
|
|
|
@@ -4563,7 +4489,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
4563
4489
|
utilizationPercentageThreshold: 90,
|
|
4564
4490
|
allowedIssueAuthors: ['testuser'],
|
|
4565
4491
|
codexHomeCandidates: null,
|
|
4566
|
-
allowIssueCacheMinutes: 0,
|
|
4567
4492
|
labelsAsLlmAgentName: null,
|
|
4568
4493
|
});
|
|
4569
4494
|
|
|
@@ -4636,7 +4561,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
4636
4561
|
utilizationPercentageThreshold: 90,
|
|
4637
4562
|
allowedIssueAuthors: ['testuser'],
|
|
4638
4563
|
codexHomeCandidates: null,
|
|
4639
|
-
allowIssueCacheMinutes: 0,
|
|
4640
4564
|
labelsAsLlmAgentName: null,
|
|
4641
4565
|
});
|
|
4642
4566
|
|
|
@@ -4684,7 +4608,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
4684
4608
|
utilizationPercentageThreshold: 90,
|
|
4685
4609
|
allowedIssueAuthors: ['testuser'],
|
|
4686
4610
|
codexHomeCandidates: null,
|
|
4687
|
-
allowIssueCacheMinutes: 0,
|
|
4688
4611
|
labelsAsLlmAgentName: params.labelsAsLlmAgentName,
|
|
4689
4612
|
});
|
|
4690
4613
|
expect(mockLocalCommandRunner.runCommand.mock.calls).toHaveLength(1);
|
|
@@ -4831,7 +4754,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
4831
4754
|
utilizationPercentageThreshold: 90,
|
|
4832
4755
|
allowedIssueAuthors: ['testuser'],
|
|
4833
4756
|
codexHomeCandidates: null,
|
|
4834
|
-
allowIssueCacheMinutes: 0,
|
|
4835
4757
|
labelsAsLlmAgentName: null,
|
|
4836
4758
|
});
|
|
4837
4759
|
|
|
@@ -4898,7 +4820,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
4898
4820
|
utilizationPercentageThreshold: 90,
|
|
4899
4821
|
allowedIssueAuthors: ['testuser'],
|
|
4900
4822
|
codexHomeCandidates: null,
|
|
4901
|
-
allowIssueCacheMinutes: 0,
|
|
4902
4823
|
labelsAsLlmAgentName: null,
|
|
4903
4824
|
});
|
|
4904
4825
|
|
|
@@ -4957,7 +4878,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
4957
4878
|
utilizationPercentageThreshold: 90,
|
|
4958
4879
|
allowedIssueAuthors: ['testuser'],
|
|
4959
4880
|
codexHomeCandidates: null,
|
|
4960
|
-
allowIssueCacheMinutes: 0,
|
|
4961
4881
|
labelsAsLlmAgentName: null,
|
|
4962
4882
|
});
|
|
4963
4883
|
|
|
@@ -5012,7 +4932,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5012
4932
|
utilizationPercentageThreshold: 90,
|
|
5013
4933
|
allowedIssueAuthors: ['testuser'],
|
|
5014
4934
|
codexHomeCandidates: null,
|
|
5015
|
-
allowIssueCacheMinutes: 0,
|
|
5016
4935
|
labelsAsLlmAgentName: null,
|
|
5017
4936
|
});
|
|
5018
4937
|
|
|
@@ -5067,7 +4986,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5067
4986
|
utilizationPercentageThreshold: 90,
|
|
5068
4987
|
allowedIssueAuthors: ['testuser'],
|
|
5069
4988
|
codexHomeCandidates: null,
|
|
5070
|
-
allowIssueCacheMinutes: 0,
|
|
5071
4989
|
labelsAsLlmAgentName: null,
|
|
5072
4990
|
});
|
|
5073
4991
|
|
|
@@ -5123,7 +5041,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5123
5041
|
utilizationPercentageThreshold: 90,
|
|
5124
5042
|
allowedIssueAuthors: ['testuser'],
|
|
5125
5043
|
codexHomeCandidates: null,
|
|
5126
|
-
allowIssueCacheMinutes: 0,
|
|
5127
5044
|
labelsAsLlmAgentName: null,
|
|
5128
5045
|
});
|
|
5129
5046
|
|
|
@@ -5204,7 +5121,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5204
5121
|
utilizationPercentageThreshold: 90,
|
|
5205
5122
|
allowedIssueAuthors: ['testuser'],
|
|
5206
5123
|
codexHomeCandidates: null,
|
|
5207
|
-
allowIssueCacheMinutes: 0,
|
|
5208
5124
|
labelsAsLlmAgentName: null,
|
|
5209
5125
|
});
|
|
5210
5126
|
|
|
@@ -5272,7 +5188,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5272
5188
|
utilizationPercentageThreshold: 90,
|
|
5273
5189
|
allowedIssueAuthors: ['testuser'],
|
|
5274
5190
|
codexHomeCandidates: null,
|
|
5275
|
-
allowIssueCacheMinutes: 0,
|
|
5276
5191
|
labelsAsLlmAgentName: null,
|
|
5277
5192
|
});
|
|
5278
5193
|
|
|
@@ -5332,7 +5247,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5332
5247
|
utilizationPercentageThreshold: 90,
|
|
5333
5248
|
allowedIssueAuthors: ['testuser'],
|
|
5334
5249
|
codexHomeCandidates: null,
|
|
5335
|
-
allowIssueCacheMinutes: 0,
|
|
5336
5250
|
labelsAsLlmAgentName: null,
|
|
5337
5251
|
});
|
|
5338
5252
|
|
|
@@ -5388,7 +5302,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5388
5302
|
utilizationPercentageThreshold: 90,
|
|
5389
5303
|
allowedIssueAuthors: ['testuser'],
|
|
5390
5304
|
codexHomeCandidates: null,
|
|
5391
|
-
allowIssueCacheMinutes: 0,
|
|
5392
5305
|
labelsAsLlmAgentName: null,
|
|
5393
5306
|
});
|
|
5394
5307
|
|
|
@@ -5450,7 +5363,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5450
5363
|
utilizationPercentageThreshold: 90,
|
|
5451
5364
|
allowedIssueAuthors: ['testuser'],
|
|
5452
5365
|
codexHomeCandidates: null,
|
|
5453
|
-
allowIssueCacheMinutes: 0,
|
|
5454
5366
|
labelsAsLlmAgentName: null,
|
|
5455
5367
|
});
|
|
5456
5368
|
|
|
@@ -5512,7 +5424,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5512
5424
|
utilizationPercentageThreshold: 90,
|
|
5513
5425
|
allowedIssueAuthors: ['testuser'],
|
|
5514
5426
|
codexHomeCandidates: null,
|
|
5515
|
-
allowIssueCacheMinutes: 0,
|
|
5516
5427
|
labelsAsLlmAgentName: null,
|
|
5517
5428
|
});
|
|
5518
5429
|
|
|
@@ -5573,7 +5484,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5573
5484
|
utilizationPercentageThreshold: 90,
|
|
5574
5485
|
allowedIssueAuthors: ['testuser'],
|
|
5575
5486
|
codexHomeCandidates: null,
|
|
5576
|
-
allowIssueCacheMinutes: 0,
|
|
5577
5487
|
labelsAsLlmAgentName: null,
|
|
5578
5488
|
});
|
|
5579
5489
|
|
|
@@ -5634,7 +5544,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5634
5544
|
utilizationPercentageThreshold: 90,
|
|
5635
5545
|
allowedIssueAuthors: ['testuser'],
|
|
5636
5546
|
codexHomeCandidates: null,
|
|
5637
|
-
allowIssueCacheMinutes: 0,
|
|
5638
5547
|
labelsAsLlmAgentName: null,
|
|
5639
5548
|
});
|
|
5640
5549
|
|
|
@@ -5689,7 +5598,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5689
5598
|
utilizationPercentageThreshold: 90,
|
|
5690
5599
|
allowedIssueAuthors: ['testuser'],
|
|
5691
5600
|
codexHomeCandidates: null,
|
|
5692
|
-
allowIssueCacheMinutes: 0,
|
|
5693
5601
|
labelsAsLlmAgentName: null,
|
|
5694
5602
|
});
|
|
5695
5603
|
|
|
@@ -5756,7 +5664,6 @@ describe('StartPreparationUseCase', () => {
|
|
|
5756
5664
|
utilizationPercentageThreshold: 90,
|
|
5757
5665
|
allowedIssueAuthors: ['testuser'],
|
|
5758
5666
|
codexHomeCandidates: null,
|
|
5759
|
-
allowIssueCacheMinutes: 0,
|
|
5760
5667
|
labelsAsLlmAgentName: null,
|
|
5761
5668
|
});
|
|
5762
5669
|
|