@empiricalrun/playwright-utils 0.60.2 โ 0.60.3
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 +12 -0
- package/dist/api-worker-client.d.ts +1 -0
- package/dist/api-worker-client.d.ts.map +1 -1
- package/dist/generated/api-worker-openapi.d.ts +1111 -661
- package/dist/generated/api-worker-openapi.d.ts.map +1 -1
- package/dist/reporter/attachment-cleanup.d.ts.map +1 -1
- package/dist/reporter/attachment-cleanup.js +11 -4
- package/dist/reporter/lifecycle-events.d.ts.map +1 -1
- package/dist/reporter/lifecycle-events.js +4 -0
- package/dist/reporter/parity-utils.d.ts.map +1 -1
- package/dist/reporter/parity-utils.js +4 -1
- package/dist/telemetry.d.ts +6 -0
- package/dist/telemetry.d.ts.map +1 -1
- package/dist/telemetry.js +37 -9
- package/dist/test/expect/visual.d.ts.map +1 -1
- package/dist/test/expect/visual.js +2 -2
- package/package.json +6 -6
- package/upstream-oracle/README.md +1 -1
|
@@ -160,7 +160,7 @@ export interface paths {
|
|
|
160
160
|
};
|
|
161
161
|
/**
|
|
162
162
|
* ๐ค List Slack share targets for a run
|
|
163
|
-
* @description Lists Slack destinations for sharing this run's triage content: reply targets for channels with an existing run notification thread, plus
|
|
163
|
+
* @description Lists Slack destinations for sharing this run's triage content: reply targets for channels with an existing run notification thread, plus active channels accessible to the project's organization for a new message.
|
|
164
164
|
*/
|
|
165
165
|
get: operations["listTestRunShareTargets"];
|
|
166
166
|
put?: never;
|
|
@@ -442,7 +442,11 @@ export interface paths {
|
|
|
442
442
|
path?: never;
|
|
443
443
|
cookie?: never;
|
|
444
444
|
};
|
|
445
|
-
|
|
445
|
+
/**
|
|
446
|
+
* โ๏ธ Get a test run's delegated triage session
|
|
447
|
+
* @description Returns the newest delegated triage session whose source exactly matches the test run. Per-test fix sessions are excluded.
|
|
448
|
+
*/
|
|
449
|
+
get: operations["getTestRunTriageSession"];
|
|
446
450
|
put?: never;
|
|
447
451
|
/**
|
|
448
452
|
* โ๏ธ Delegate a test run to triage
|
|
@@ -1070,46 +1074,6 @@ export interface paths {
|
|
|
1070
1074
|
patch?: never;
|
|
1071
1075
|
trace?: never;
|
|
1072
1076
|
};
|
|
1073
|
-
"/api/slack/link": {
|
|
1074
|
-
parameters: {
|
|
1075
|
-
query?: never;
|
|
1076
|
-
header?: never;
|
|
1077
|
-
path?: never;
|
|
1078
|
-
cookie?: never;
|
|
1079
|
-
};
|
|
1080
|
-
get?: never;
|
|
1081
|
-
put?: never;
|
|
1082
|
-
/**
|
|
1083
|
-
* Slack /empirical slash command
|
|
1084
|
-
* @description Handles the /empirical slash command directly from Slack (verified by the Slack request signature): opens the project-subscription modal or returns usage text. Responds with text/plain โ a non-empty body is shown to the invoking user; an empty body means a modal opened.
|
|
1085
|
-
*/
|
|
1086
|
-
post: operations["slackLinkWebhook"];
|
|
1087
|
-
delete?: never;
|
|
1088
|
-
options?: never;
|
|
1089
|
-
head?: never;
|
|
1090
|
-
patch?: never;
|
|
1091
|
-
trace?: never;
|
|
1092
|
-
};
|
|
1093
|
-
"/api/slack/channels": {
|
|
1094
|
-
parameters: {
|
|
1095
|
-
query?: never;
|
|
1096
|
-
header?: never;
|
|
1097
|
-
path?: never;
|
|
1098
|
-
cookie?: never;
|
|
1099
|
-
};
|
|
1100
|
-
/**
|
|
1101
|
-
* ๐ค List Slack channels
|
|
1102
|
-
* @description Lists the Slack channel subscriptions for the scoped project, optionally validated against Slack.
|
|
1103
|
-
*/
|
|
1104
|
-
get: operations["listSlackChannels"];
|
|
1105
|
-
put?: never;
|
|
1106
|
-
post?: never;
|
|
1107
|
-
delete?: never;
|
|
1108
|
-
options?: never;
|
|
1109
|
-
head?: never;
|
|
1110
|
-
patch?: never;
|
|
1111
|
-
trace?: never;
|
|
1112
|
-
};
|
|
1113
1077
|
"/api/slack/files/{file_id}": {
|
|
1114
1078
|
parameters: {
|
|
1115
1079
|
query?: never;
|
|
@@ -1234,28 +1198,64 @@ export interface paths {
|
|
|
1234
1198
|
patch?: never;
|
|
1235
1199
|
trace?: never;
|
|
1236
1200
|
};
|
|
1237
|
-
"/api/slack/channels
|
|
1201
|
+
"/api/v2/slack/channels": {
|
|
1238
1202
|
parameters: {
|
|
1239
1203
|
query?: never;
|
|
1240
1204
|
header?: never;
|
|
1241
1205
|
path?: never;
|
|
1242
1206
|
cookie?: never;
|
|
1243
1207
|
};
|
|
1244
|
-
|
|
1208
|
+
/**
|
|
1209
|
+
* ๐ค ๐งช List canonical Slack channels
|
|
1210
|
+
* @description Lists active Slack channels registered for the scoped project's organization. Reporter configuration is intentionally not part of this resource.
|
|
1211
|
+
*/
|
|
1212
|
+
get: operations["listSlackChannelsV2"];
|
|
1245
1213
|
put?: never;
|
|
1246
1214
|
post?: never;
|
|
1215
|
+
delete?: never;
|
|
1216
|
+
options?: never;
|
|
1217
|
+
head?: never;
|
|
1218
|
+
patch?: never;
|
|
1219
|
+
trace?: never;
|
|
1220
|
+
};
|
|
1221
|
+
"/api/v2/slack/channels/{id}/refresh": {
|
|
1222
|
+
parameters: {
|
|
1223
|
+
query?: never;
|
|
1224
|
+
header?: never;
|
|
1225
|
+
path?: never;
|
|
1226
|
+
cookie?: never;
|
|
1227
|
+
};
|
|
1228
|
+
get?: never;
|
|
1229
|
+
put?: never;
|
|
1247
1230
|
/**
|
|
1248
|
-
*
|
|
1249
|
-
* @description
|
|
1231
|
+
* ๐ค ๐งช Refresh a canonical Slack channel's name
|
|
1232
|
+
* @description Re-reads the channel from Slack and stores its current name when it changed. The canonical channel ID is stable, so environment reporter configs are unaffected. Access problems are reported in the validation result rather than as an error.
|
|
1250
1233
|
*/
|
|
1251
|
-
|
|
1234
|
+
post: operations["refreshSlackChannelV2"];
|
|
1235
|
+
delete?: never;
|
|
1252
1236
|
options?: never;
|
|
1253
1237
|
head?: never;
|
|
1238
|
+
patch?: never;
|
|
1239
|
+
trace?: never;
|
|
1240
|
+
};
|
|
1241
|
+
"/api/v2/slack/channels/validate": {
|
|
1242
|
+
parameters: {
|
|
1243
|
+
query?: never;
|
|
1244
|
+
header?: never;
|
|
1245
|
+
path?: never;
|
|
1246
|
+
cookie?: never;
|
|
1247
|
+
};
|
|
1254
1248
|
/**
|
|
1255
|
-
*
|
|
1256
|
-
* @description
|
|
1249
|
+
* ๐ค ๐งช Validate canonical Slack channels
|
|
1250
|
+
* @description Checks every active channel registered for the scoped project's organization against Slack. Validation is read-only and verifies bot access and the stored channel name.
|
|
1257
1251
|
*/
|
|
1258
|
-
|
|
1252
|
+
get: operations["validateSlackChannelsV2"];
|
|
1253
|
+
put?: never;
|
|
1254
|
+
post?: never;
|
|
1255
|
+
delete?: never;
|
|
1256
|
+
options?: never;
|
|
1257
|
+
head?: never;
|
|
1258
|
+
patch?: never;
|
|
1259
1259
|
trace?: never;
|
|
1260
1260
|
};
|
|
1261
1261
|
"/api/slack/teams": {
|
|
@@ -1743,7 +1743,7 @@ export interface paths {
|
|
|
1743
1743
|
put?: never;
|
|
1744
1744
|
/**
|
|
1745
1745
|
* ๐ค Proxy a GitHub API request
|
|
1746
|
-
* @description Forwards an authenticated request to the GitHub API via the main App installation and returns the GitHub response verbatim. Sandbox-delegation principals are additionally constrained by per-session proxy rules.
|
|
1746
|
+
* @description Forwards an authenticated request to the GitHub API via the main App installation and returns the GitHub response verbatim. Merging a pull request with `merge_method` `squash` or `rebase` is rejected; only merge commits are allowed. Other writes to a project's default or protected branches are refused, as git-worker refuses the equivalent push. Project API keys are read-only. Sandbox-delegation principals are additionally constrained by per-session proxy rules.
|
|
1747
1747
|
*/
|
|
1748
1748
|
post: operations["githubProxy"];
|
|
1749
1749
|
delete?: never;
|
|
@@ -2102,7 +2102,7 @@ export interface paths {
|
|
|
2102
2102
|
};
|
|
2103
2103
|
/**
|
|
2104
2104
|
* โ๏ธ Get a cumulative diff
|
|
2105
|
-
* @description Returns the cumulative diff from the
|
|
2105
|
+
* @description Returns the cumulative diff from the project's default branch to the given head SHA.
|
|
2106
2106
|
*/
|
|
2107
2107
|
get: operations["getChatSessionCumulativeDiff"];
|
|
2108
2108
|
put?: never;
|
|
@@ -2267,46 +2267,6 @@ export interface paths {
|
|
|
2267
2267
|
patch?: never;
|
|
2268
2268
|
trace?: never;
|
|
2269
2269
|
};
|
|
2270
|
-
"/api/chat-sessions/{id}/sandbox/files": {
|
|
2271
|
-
parameters: {
|
|
2272
|
-
query?: never;
|
|
2273
|
-
header?: never;
|
|
2274
|
-
path?: never;
|
|
2275
|
-
cookie?: never;
|
|
2276
|
-
};
|
|
2277
|
-
/**
|
|
2278
|
-
* โ๏ธ List sandbox files
|
|
2279
|
-
* @description Walks the sandbox file tree under `path` (default /repo). Super-admin only.
|
|
2280
|
-
*/
|
|
2281
|
-
get: operations["listChatSessionSandboxFiles"];
|
|
2282
|
-
put?: never;
|
|
2283
|
-
post?: never;
|
|
2284
|
-
delete?: never;
|
|
2285
|
-
options?: never;
|
|
2286
|
-
head?: never;
|
|
2287
|
-
patch?: never;
|
|
2288
|
-
trace?: never;
|
|
2289
|
-
};
|
|
2290
|
-
"/api/chat-sessions/{id}/sandbox/files/content": {
|
|
2291
|
-
parameters: {
|
|
2292
|
-
query?: never;
|
|
2293
|
-
header?: never;
|
|
2294
|
-
path?: never;
|
|
2295
|
-
cookie?: never;
|
|
2296
|
-
};
|
|
2297
|
-
/**
|
|
2298
|
-
* โ๏ธ Read a sandbox file
|
|
2299
|
-
* @description Reads a single sandbox file as text or an inline image data URI. Super-admin only.
|
|
2300
|
-
*/
|
|
2301
|
-
get: operations["getChatSessionSandboxFileContent"];
|
|
2302
|
-
put?: never;
|
|
2303
|
-
post?: never;
|
|
2304
|
-
delete?: never;
|
|
2305
|
-
options?: never;
|
|
2306
|
-
head?: never;
|
|
2307
|
-
patch?: never;
|
|
2308
|
-
trace?: never;
|
|
2309
|
-
};
|
|
2310
2270
|
"/api/chat-sessions/{id}/sandbox/health": {
|
|
2311
2271
|
parameters: {
|
|
2312
2272
|
query?: never;
|
|
@@ -2347,26 +2307,6 @@ export interface paths {
|
|
|
2347
2307
|
patch?: never;
|
|
2348
2308
|
trace?: never;
|
|
2349
2309
|
};
|
|
2350
|
-
"/api/chat-sessions/{id}/sandbox/session-file": {
|
|
2351
|
-
parameters: {
|
|
2352
|
-
query?: never;
|
|
2353
|
-
header?: never;
|
|
2354
|
-
path?: never;
|
|
2355
|
-
cookie?: never;
|
|
2356
|
-
};
|
|
2357
|
-
/**
|
|
2358
|
-
* โ๏ธ Download the agent session file
|
|
2359
|
-
* @description Streams the sandbox agent's session.jsonl as a file download.
|
|
2360
|
-
*/
|
|
2361
|
-
get: operations["getChatSessionSandboxSessionFile"];
|
|
2362
|
-
put?: never;
|
|
2363
|
-
post?: never;
|
|
2364
|
-
delete?: never;
|
|
2365
|
-
options?: never;
|
|
2366
|
-
head?: never;
|
|
2367
|
-
patch?: never;
|
|
2368
|
-
trace?: never;
|
|
2369
|
-
};
|
|
2370
2310
|
"/api/chat-sessions/{id}/snapshot": {
|
|
2371
2311
|
parameters: {
|
|
2372
2312
|
query?: never;
|
|
@@ -2476,7 +2416,7 @@ export interface paths {
|
|
|
2476
2416
|
};
|
|
2477
2417
|
/**
|
|
2478
2418
|
* โ๏ธ List branches the sandbox may not push to
|
|
2479
|
-
* @description Returns the project's
|
|
2419
|
+
* @description Returns the project's configured protected branches. The sandbox git proxy blocks pushes to these. The session is derived from the sandbox-delegation principal.
|
|
2480
2420
|
*/
|
|
2481
2421
|
get: operations["getChatSessionSandboxProtectedBranches"];
|
|
2482
2422
|
put?: never;
|
|
@@ -2496,7 +2436,7 @@ export interface paths {
|
|
|
2496
2436
|
};
|
|
2497
2437
|
/**
|
|
2498
2438
|
* โ๏ธ List chat-session creators
|
|
2499
|
-
* @description Returns the distinct users who created chat sessions in scope, enriched with Supabase user details.
|
|
2439
|
+
* @description Returns the distinct users who created chat sessions in scope that were updated in the last 30 days, enriched with Supabase user details.
|
|
2500
2440
|
*/
|
|
2501
2441
|
get: operations["listChatSessionUsers"];
|
|
2502
2442
|
put?: never;
|
|
@@ -2650,7 +2590,7 @@ export interface paths {
|
|
|
2650
2590
|
put?: never;
|
|
2651
2591
|
/**
|
|
2652
2592
|
* โ๏ธ Share a failure group's diagnosis
|
|
2653
|
-
* @description Posts this group's diagnosis to a chosen Slack destination, with a link back to the failure group. The diagnosis and header are read from the stored group, never the client. A thread reply must belong to a run in this project;
|
|
2593
|
+
* @description Posts this group's diagnosis to a chosen Slack destination, with a link back to the failure group. The diagnosis and header are read from the stored group, never the client. A thread reply must belong to a run in this project; the channel must be accessible to the project's organization.
|
|
2654
2594
|
*/
|
|
2655
2595
|
post: operations["shareFailureGroup"];
|
|
2656
2596
|
delete?: never;
|
|
@@ -2719,6 +2659,26 @@ export interface paths {
|
|
|
2719
2659
|
patch?: never;
|
|
2720
2660
|
trace?: never;
|
|
2721
2661
|
};
|
|
2662
|
+
"/api/github/branches": {
|
|
2663
|
+
parameters: {
|
|
2664
|
+
query?: never;
|
|
2665
|
+
header?: never;
|
|
2666
|
+
path?: never;
|
|
2667
|
+
cookie?: never;
|
|
2668
|
+
};
|
|
2669
|
+
/**
|
|
2670
|
+
* Search repository branches
|
|
2671
|
+
* @description Searches branch names server-side through GitHub and returns a bounded result set.
|
|
2672
|
+
*/
|
|
2673
|
+
get: operations["searchRepositoryBranches"];
|
|
2674
|
+
put?: never;
|
|
2675
|
+
post?: never;
|
|
2676
|
+
delete?: never;
|
|
2677
|
+
options?: never;
|
|
2678
|
+
head?: never;
|
|
2679
|
+
patch?: never;
|
|
2680
|
+
trace?: never;
|
|
2681
|
+
};
|
|
2722
2682
|
"/api/github/commit/diff": {
|
|
2723
2683
|
parameters: {
|
|
2724
2684
|
query?: never;
|
|
@@ -2862,7 +2822,7 @@ export interface paths {
|
|
|
2862
2822
|
put?: never;
|
|
2863
2823
|
/**
|
|
2864
2824
|
* โ๏ธ Merge a pull request
|
|
2865
|
-
* @description
|
|
2825
|
+
* @description Merges an open, mergeable pull request with a merge commit.
|
|
2866
2826
|
*/
|
|
2867
2827
|
post: operations["mergePullRequest"];
|
|
2868
2828
|
delete?: never;
|
|
@@ -2931,6 +2891,26 @@ export interface paths {
|
|
|
2931
2891
|
patch?: never;
|
|
2932
2892
|
trace?: never;
|
|
2933
2893
|
};
|
|
2894
|
+
"/api/github/reporter-app/deliveries": {
|
|
2895
|
+
parameters: {
|
|
2896
|
+
query?: never;
|
|
2897
|
+
header?: never;
|
|
2898
|
+
path?: never;
|
|
2899
|
+
cookie?: never;
|
|
2900
|
+
};
|
|
2901
|
+
/**
|
|
2902
|
+
* โ๏ธ List reporter deliveries
|
|
2903
|
+
* @description Lists the check runs and PR comments the reporter App delivered for a project, newest first. Each row is the latest state of one check run (per test run) or one PR comment (per PR + environment).
|
|
2904
|
+
*/
|
|
2905
|
+
get: operations["listReporterDeliveries"];
|
|
2906
|
+
put?: never;
|
|
2907
|
+
post?: never;
|
|
2908
|
+
delete?: never;
|
|
2909
|
+
options?: never;
|
|
2910
|
+
head?: never;
|
|
2911
|
+
patch?: never;
|
|
2912
|
+
trace?: never;
|
|
2913
|
+
};
|
|
2934
2914
|
"/api/github/reporter-app/events": {
|
|
2935
2915
|
parameters: {
|
|
2936
2916
|
query?: never;
|
|
@@ -3911,6 +3891,26 @@ export interface paths {
|
|
|
3911
3891
|
patch?: never;
|
|
3912
3892
|
trace?: never;
|
|
3913
3893
|
};
|
|
3894
|
+
"/api/memories/activity": {
|
|
3895
|
+
parameters: {
|
|
3896
|
+
query?: never;
|
|
3897
|
+
header?: never;
|
|
3898
|
+
path?: never;
|
|
3899
|
+
cookie?: never;
|
|
3900
|
+
};
|
|
3901
|
+
/**
|
|
3902
|
+
* ๐ก๏ธ ๐งช Memory activity across projects
|
|
3903
|
+
* @description Returns every memory across all projects (soft-deleted included, content omitted) with edit statistics from its version history, plus daily create/edit/delete counts per project.
|
|
3904
|
+
*/
|
|
3905
|
+
get: operations["listMemoryActivity"];
|
|
3906
|
+
put?: never;
|
|
3907
|
+
post?: never;
|
|
3908
|
+
delete?: never;
|
|
3909
|
+
options?: never;
|
|
3910
|
+
head?: never;
|
|
3911
|
+
patch?: never;
|
|
3912
|
+
trace?: never;
|
|
3913
|
+
};
|
|
3914
3914
|
"/api/metrics/project-last-7-days": {
|
|
3915
3915
|
parameters: {
|
|
3916
3916
|
query?: never;
|
|
@@ -4408,7 +4408,7 @@ export interface paths {
|
|
|
4408
4408
|
};
|
|
4409
4409
|
/**
|
|
4410
4410
|
* โ๏ธ List recent branches
|
|
4411
|
-
* @description Lists recent branches with test-run activity
|
|
4411
|
+
* @description Lists recent branches with test-run activity.
|
|
4412
4412
|
*/
|
|
4413
4413
|
get: operations["listProjectBranches"];
|
|
4414
4414
|
put?: never;
|
|
@@ -4519,6 +4519,46 @@ export interface paths {
|
|
|
4519
4519
|
patch?: never;
|
|
4520
4520
|
trace?: never;
|
|
4521
4521
|
};
|
|
4522
|
+
"/api/projects/{id}/repo-settings-check": {
|
|
4523
|
+
parameters: {
|
|
4524
|
+
query?: never;
|
|
4525
|
+
header?: never;
|
|
4526
|
+
path?: never;
|
|
4527
|
+
cookie?: never;
|
|
4528
|
+
};
|
|
4529
|
+
/**
|
|
4530
|
+
* โ๏ธ Check test repository settings
|
|
4531
|
+
* @description Checks the project's GitHub repository (or a repo transfer destination) against the settings Empirical needs: merge commits only, app access, matching default branch, and no rulesets blocking Empirical's branches.
|
|
4532
|
+
*/
|
|
4533
|
+
get: operations["checkProjectRepoSettings"];
|
|
4534
|
+
put?: never;
|
|
4535
|
+
post?: never;
|
|
4536
|
+
delete?: never;
|
|
4537
|
+
options?: never;
|
|
4538
|
+
head?: never;
|
|
4539
|
+
patch?: never;
|
|
4540
|
+
trace?: never;
|
|
4541
|
+
};
|
|
4542
|
+
"/api/projects/{id}/repo-settings-check/fix": {
|
|
4543
|
+
parameters: {
|
|
4544
|
+
query?: never;
|
|
4545
|
+
header?: never;
|
|
4546
|
+
path?: never;
|
|
4547
|
+
cookie?: never;
|
|
4548
|
+
};
|
|
4549
|
+
get?: never;
|
|
4550
|
+
put?: never;
|
|
4551
|
+
/**
|
|
4552
|
+
* ๐ก๏ธ Fix test repository merge settings
|
|
4553
|
+
* @description For repositories owned by empirical-run only: turns on merge commits and turns off squash and rebase merging, then returns the re-checked result. Rulesets are reported, never changed.
|
|
4554
|
+
*/
|
|
4555
|
+
post: operations["fixProjectRepoSettings"];
|
|
4556
|
+
delete?: never;
|
|
4557
|
+
options?: never;
|
|
4558
|
+
head?: never;
|
|
4559
|
+
patch?: never;
|
|
4560
|
+
trace?: never;
|
|
4561
|
+
};
|
|
4522
4562
|
"/api/projects/{id}/test-cases-sync/trigger": {
|
|
4523
4563
|
parameters: {
|
|
4524
4564
|
query?: never;
|
|
@@ -5223,6 +5263,26 @@ export interface paths {
|
|
|
5223
5263
|
patch?: never;
|
|
5224
5264
|
trace?: never;
|
|
5225
5265
|
};
|
|
5266
|
+
"/api/v1/telemetry/track": {
|
|
5267
|
+
parameters: {
|
|
5268
|
+
query?: never;
|
|
5269
|
+
header?: never;
|
|
5270
|
+
path?: never;
|
|
5271
|
+
cookie?: never;
|
|
5272
|
+
};
|
|
5273
|
+
get?: never;
|
|
5274
|
+
put?: never;
|
|
5275
|
+
/**
|
|
5276
|
+
* Track a telemetry event
|
|
5277
|
+
* @description Records a test-run telemetry event for the scoped project. Delivery is best-effort.
|
|
5278
|
+
*/
|
|
5279
|
+
post: operations["trackTelemetryEvent"];
|
|
5280
|
+
delete?: never;
|
|
5281
|
+
options?: never;
|
|
5282
|
+
head?: never;
|
|
5283
|
+
patch?: never;
|
|
5284
|
+
trace?: never;
|
|
5285
|
+
};
|
|
5226
5286
|
"/api/v2/projects/{id}/usage": {
|
|
5227
5287
|
parameters: {
|
|
5228
5288
|
query?: never;
|
|
@@ -6309,10 +6369,8 @@ export interface components {
|
|
|
6309
6369
|
repo_host: "github" | "pierre_code_storage";
|
|
6310
6370
|
/** @description Default branch of the repository. */
|
|
6311
6371
|
default_branch: string;
|
|
6312
|
-
/** @description
|
|
6313
|
-
|
|
6314
|
-
/** @description Branches kept across runs. */
|
|
6315
|
-
persistent_branches: string[];
|
|
6372
|
+
/** @description Branches that may not be pushed to through Empirical. Always includes the default branch. */
|
|
6373
|
+
protected_branches: string[];
|
|
6316
6374
|
/** @description Whether email reporting is enabled. */
|
|
6317
6375
|
has_email_reporting: boolean | null;
|
|
6318
6376
|
/**
|
|
@@ -6369,10 +6427,8 @@ export interface components {
|
|
|
6369
6427
|
repo_host: "github" | "pierre_code_storage";
|
|
6370
6428
|
/** @description Default branch of the repository. */
|
|
6371
6429
|
default_branch: string;
|
|
6372
|
-
/** @description
|
|
6373
|
-
|
|
6374
|
-
/** @description Branches kept across runs. */
|
|
6375
|
-
persistent_branches: string[];
|
|
6430
|
+
/** @description Branches that may not be pushed to through Empirical. Always includes the default branch. */
|
|
6431
|
+
protected_branches: string[];
|
|
6376
6432
|
/** @description Whether email reporting is enabled. */
|
|
6377
6433
|
has_email_reporting: boolean | null;
|
|
6378
6434
|
/**
|
|
@@ -6493,15 +6549,13 @@ export interface components {
|
|
|
6493
6549
|
ProjectBranchesResponse: {
|
|
6494
6550
|
/** @description Response payload. */
|
|
6495
6551
|
data: {
|
|
6496
|
-
/** @description Recent branches with run
|
|
6497
|
-
branches: components["schemas"]["
|
|
6552
|
+
/** @description Recent branches with test-run activity. */
|
|
6553
|
+
branches: components["schemas"]["RecentBranch"][];
|
|
6498
6554
|
/** @description Total matching branches. */
|
|
6499
6555
|
total: number;
|
|
6500
|
-
/** @description Configured persistent branches. */
|
|
6501
|
-
persistent_branches: components["schemas"]["PersistentBranch"][];
|
|
6502
6556
|
};
|
|
6503
6557
|
};
|
|
6504
|
-
|
|
6558
|
+
RecentBranch: {
|
|
6505
6559
|
/** @description Branch name. */
|
|
6506
6560
|
name: string;
|
|
6507
6561
|
/** @description ID of the latest test run on the branch. */
|
|
@@ -6514,34 +6568,6 @@ export interface components {
|
|
|
6514
6568
|
run_count: number;
|
|
6515
6569
|
/** @description GitHub actor of the latest run. */
|
|
6516
6570
|
latest_github_actor: string | null;
|
|
6517
|
-
/** @description Branch status. */
|
|
6518
|
-
status: string;
|
|
6519
|
-
/** @description Diff vs the default branch, if the branch is persistent. */
|
|
6520
|
-
diff: {
|
|
6521
|
-
/** @description Commits ahead of default. */
|
|
6522
|
-
ahead: number;
|
|
6523
|
-
/** @description Commits behind default. */
|
|
6524
|
-
behind: number;
|
|
6525
|
-
/** @description Files changed vs default. */
|
|
6526
|
-
files_changed: number;
|
|
6527
|
-
} | null;
|
|
6528
|
-
/** @description Always null (reserved). */
|
|
6529
|
-
merge_request: unknown;
|
|
6530
|
-
};
|
|
6531
|
-
PersistentBranch: {
|
|
6532
|
-
/** @description Branch name. */
|
|
6533
|
-
name: string;
|
|
6534
|
-
/** @description Whether the branch exists on GitHub. */
|
|
6535
|
-
exists: boolean;
|
|
6536
|
-
/** @description Diff vs the default branch, if it exists. */
|
|
6537
|
-
diff: {
|
|
6538
|
-
/** @description Commits ahead of default. */
|
|
6539
|
-
ahead: number;
|
|
6540
|
-
/** @description Commits behind default. */
|
|
6541
|
-
behind: number;
|
|
6542
|
-
/** @description Files changed vs default. */
|
|
6543
|
-
files_changed: number;
|
|
6544
|
-
} | null;
|
|
6545
6571
|
};
|
|
6546
6572
|
RepoExistsResponse: {
|
|
6547
6573
|
/** @description Response payload. */
|
|
@@ -6558,6 +6584,39 @@ export interface components {
|
|
|
6558
6584
|
exists: boolean;
|
|
6559
6585
|
};
|
|
6560
6586
|
};
|
|
6587
|
+
RepoSettingsCheckResponse: {
|
|
6588
|
+
/** @description Response payload. */
|
|
6589
|
+
data: {
|
|
6590
|
+
repo: {
|
|
6591
|
+
owner: string;
|
|
6592
|
+
name: string;
|
|
6593
|
+
html_url: string;
|
|
6594
|
+
};
|
|
6595
|
+
checks: components["schemas"]["RepoSettingsCheck"][];
|
|
6596
|
+
/** @description True when the repo is owned by empirical-run and its merge settings need fixing; `POST โฆ/fix` then applies them. */
|
|
6597
|
+
can_auto_fix: boolean;
|
|
6598
|
+
};
|
|
6599
|
+
};
|
|
6600
|
+
RepoSettingsCheck: {
|
|
6601
|
+
/** @description Stable check id. */
|
|
6602
|
+
id: string;
|
|
6603
|
+
/**
|
|
6604
|
+
* @description `error`: Empirical breaks without it. `warning`: recommended. `info`: for awareness.
|
|
6605
|
+
* @enum {string}
|
|
6606
|
+
*/
|
|
6607
|
+
level: "error" | "warning" | "info";
|
|
6608
|
+
/**
|
|
6609
|
+
* @description `unknown` when GitHub didn't let the Empirical app read what the check needs.
|
|
6610
|
+
* @enum {string}
|
|
6611
|
+
*/
|
|
6612
|
+
status: "pass" | "fail" | "unknown";
|
|
6613
|
+
/** @description What was found, e.g. "Squash merging is on". Worded the same way whether the check passes or fails. */
|
|
6614
|
+
title: string;
|
|
6615
|
+
/** @description Why it matters, or what couldn't be read. */
|
|
6616
|
+
detail: string;
|
|
6617
|
+
/** @description Where to change it in GitHub, in plain language. */
|
|
6618
|
+
fix_hint: string | null;
|
|
6619
|
+
};
|
|
6561
6620
|
TestCasesSyncTriggeredResponse: {
|
|
6562
6621
|
/** @description Response payload. */
|
|
6563
6622
|
data: {
|
|
@@ -6588,8 +6647,6 @@ export interface components {
|
|
|
6588
6647
|
updated_at: string;
|
|
6589
6648
|
/** @description Owning project ID. */
|
|
6590
6649
|
project_id: number;
|
|
6591
|
-
/** @description Base branch name. */
|
|
6592
|
-
base_branch: string;
|
|
6593
6650
|
/** @description Session mode (e.g. chat). */
|
|
6594
6651
|
mode: string;
|
|
6595
6652
|
/** @description Origin of the session. */
|
|
@@ -6648,10 +6705,8 @@ export interface components {
|
|
|
6648
6705
|
repo_host: "github" | "pierre_code_storage";
|
|
6649
6706
|
/** @description Default branch of the repository. */
|
|
6650
6707
|
default_branch: string;
|
|
6651
|
-
/** @description
|
|
6652
|
-
|
|
6653
|
-
/** @description Branches kept across runs. */
|
|
6654
|
-
persistent_branches: string[];
|
|
6708
|
+
/** @description Branches that may not be pushed to through Empirical. Always includes the default branch. */
|
|
6709
|
+
protected_branches: string[];
|
|
6655
6710
|
/** @description Whether email reporting is enabled. */
|
|
6656
6711
|
has_email_reporting: boolean | null;
|
|
6657
6712
|
/**
|
|
@@ -6944,10 +6999,6 @@ export interface components {
|
|
|
6944
6999
|
repo_host: "github" | "pierre_code_storage";
|
|
6945
7000
|
/** @description Default branch name. */
|
|
6946
7001
|
default_branch: string;
|
|
6947
|
-
/** @description Whether branch-based environments are enabled. */
|
|
6948
|
-
has_branching_enabled: boolean | null;
|
|
6949
|
-
/** @description Branches kept warm/persistent. */
|
|
6950
|
-
persistent_branches: string[];
|
|
6951
7002
|
/** @description Whether email reporting is enabled. */
|
|
6952
7003
|
has_email_reporting: boolean | null;
|
|
6953
7004
|
/**
|
|
@@ -7326,8 +7377,6 @@ export interface components {
|
|
|
7326
7377
|
updated_at: string;
|
|
7327
7378
|
/** @description Project ID. */
|
|
7328
7379
|
project_id: number;
|
|
7329
|
-
/** @description Branch this session forks. */
|
|
7330
|
-
base_branch: string;
|
|
7331
7380
|
/** @description Session mode (e.g. `chat`). */
|
|
7332
7381
|
mode: string;
|
|
7333
7382
|
/** @description Source surface (e.g. `request`). */
|
|
@@ -7433,8 +7482,6 @@ export interface components {
|
|
|
7433
7482
|
updated_at: string;
|
|
7434
7483
|
/** @description Project ID. */
|
|
7435
7484
|
project_id: number;
|
|
7436
|
-
/** @description Branch this session forks. */
|
|
7437
|
-
base_branch: string;
|
|
7438
7485
|
/** @description Session mode (e.g. `chat`). */
|
|
7439
7486
|
mode: string;
|
|
7440
7487
|
/** @description Source surface (e.g. `request`). */
|
|
@@ -7488,8 +7535,6 @@ export interface components {
|
|
|
7488
7535
|
updated_at: string;
|
|
7489
7536
|
/** @description Project ID. */
|
|
7490
7537
|
project_id: number;
|
|
7491
|
-
/** @description Branch this session forks. */
|
|
7492
|
-
base_branch: string;
|
|
7493
7538
|
/** @description Session mode (e.g. `chat`). */
|
|
7494
7539
|
mode: string;
|
|
7495
7540
|
/** @description Source surface (e.g. `request`). */
|
|
@@ -7746,6 +7791,24 @@ export interface components {
|
|
|
7746
7791
|
*/
|
|
7747
7792
|
on_conflict: "cancel" | "wait";
|
|
7748
7793
|
} | null;
|
|
7794
|
+
/** @description Reporter configuration for runs in this environment. */
|
|
7795
|
+
reporter_config: {
|
|
7796
|
+
/**
|
|
7797
|
+
* @description Reporter config schema version. Always `1`.
|
|
7798
|
+
* @enum {number}
|
|
7799
|
+
*/
|
|
7800
|
+
schema_version: 1;
|
|
7801
|
+
/** @description Reporters for this environment, at most one per `reporter_type`. Replaces the stored list on write; an empty array disables notifications. */
|
|
7802
|
+
reporters: {
|
|
7803
|
+
/**
|
|
7804
|
+
* @description Reporter kind. `slack_run_status` posts run status updates to Slack channels; it is the only kind accepted today.
|
|
7805
|
+
* @enum {string}
|
|
7806
|
+
*/
|
|
7807
|
+
reporter_type: "slack_run_status";
|
|
7808
|
+
/** @description Registered Slack channel ids from `GET /api/v2/slack/channels` (the numeric `id`, not the Slack `Cโฆ` channel id). Must belong to the project's organization and not be archived. Deduplicated and sorted on save. */
|
|
7809
|
+
slack_channel_ids: number[];
|
|
7810
|
+
}[];
|
|
7811
|
+
};
|
|
7749
7812
|
/** @description ISO 8601 timestamp. */
|
|
7750
7813
|
created_at: string | null;
|
|
7751
7814
|
/** @description ISO 8601 timestamp. */
|
|
@@ -7778,6 +7841,24 @@ export interface components {
|
|
|
7778
7841
|
*/
|
|
7779
7842
|
on_conflict: "cancel" | "wait";
|
|
7780
7843
|
} | null;
|
|
7844
|
+
/** @description Reporter configuration for the environment. Slack channel ids must be active registered channels of the project's organization (GET /api/v2/slack/channels). */
|
|
7845
|
+
reporter_config?: {
|
|
7846
|
+
/**
|
|
7847
|
+
* @description Reporter config schema version. Always `1`.
|
|
7848
|
+
* @enum {number}
|
|
7849
|
+
*/
|
|
7850
|
+
schema_version: 1;
|
|
7851
|
+
/** @description Reporters for this environment, at most one per `reporter_type`. Replaces the stored list on write; an empty array disables notifications. */
|
|
7852
|
+
reporters: {
|
|
7853
|
+
/**
|
|
7854
|
+
* @description Reporter kind. `slack_run_status` posts run status updates to Slack channels; it is the only kind accepted today.
|
|
7855
|
+
* @enum {string}
|
|
7856
|
+
*/
|
|
7857
|
+
reporter_type: "slack_run_status";
|
|
7858
|
+
/** @description Registered Slack channel ids from `GET /api/v2/slack/channels` (the numeric `id`, not the Slack `Cโฆ` channel id). Must belong to the project's organization and not be archived. Deduplicated and sorted on save. */
|
|
7859
|
+
slack_channel_ids: number[];
|
|
7860
|
+
}[];
|
|
7861
|
+
};
|
|
7781
7862
|
};
|
|
7782
7863
|
EnvironmentSyncResponse: {
|
|
7783
7864
|
/** @description Response payload. */
|
|
@@ -7816,9 +7897,27 @@ export interface components {
|
|
|
7816
7897
|
*/
|
|
7817
7898
|
on_conflict: "cancel" | "wait";
|
|
7818
7899
|
} | null;
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7900
|
+
/** @description Reporter configuration for the environment. Slack channel ids must be active registered channels of the project's organization (GET /api/v2/slack/channels). */
|
|
7901
|
+
reporter_config?: {
|
|
7902
|
+
/**
|
|
7903
|
+
* @description Reporter config schema version. Always `1`.
|
|
7904
|
+
* @enum {number}
|
|
7905
|
+
*/
|
|
7906
|
+
schema_version: 1;
|
|
7907
|
+
/** @description Reporters for this environment, at most one per `reporter_type`. Replaces the stored list on write; an empty array disables notifications. */
|
|
7908
|
+
reporters: {
|
|
7909
|
+
/**
|
|
7910
|
+
* @description Reporter kind. `slack_run_status` posts run status updates to Slack channels; it is the only kind accepted today.
|
|
7911
|
+
* @enum {string}
|
|
7912
|
+
*/
|
|
7913
|
+
reporter_type: "slack_run_status";
|
|
7914
|
+
/** @description Registered Slack channel ids from `GET /api/v2/slack/channels` (the numeric `id`, not the Slack `Cโฆ` channel id). Must belong to the project's organization and not be archived. Deduplicated and sorted on save. */
|
|
7915
|
+
slack_channel_ids: number[];
|
|
7916
|
+
}[];
|
|
7917
|
+
};
|
|
7918
|
+
};
|
|
7919
|
+
EnvironmentDeleteResponse: {
|
|
7920
|
+
/** @description Always true on success. */
|
|
7822
7921
|
success: boolean;
|
|
7823
7922
|
};
|
|
7824
7923
|
EnvironmentVariableListResponse: {
|
|
@@ -7929,6 +8028,48 @@ export interface components {
|
|
|
7929
8028
|
/** @description ISO 8601 timestamp when the memory was soft-deleted, or null if live. */
|
|
7930
8029
|
deleted_at: string | null;
|
|
7931
8030
|
};
|
|
8031
|
+
MemoryActivityResponse: {
|
|
8032
|
+
/** @description Response payload. */
|
|
8033
|
+
data: {
|
|
8034
|
+
memories: components["schemas"]["MemoryActivity"][];
|
|
8035
|
+
daily: components["schemas"]["MemoryActivityDay"][];
|
|
8036
|
+
};
|
|
8037
|
+
};
|
|
8038
|
+
MemoryActivity: {
|
|
8039
|
+
id: number;
|
|
8040
|
+
project_id: number;
|
|
8041
|
+
name: string | null;
|
|
8042
|
+
description: string | null;
|
|
8043
|
+
source: string | null;
|
|
8044
|
+
/** @description Chat session the memory was created in, if any. */
|
|
8045
|
+
source_chat_session_id: number | null;
|
|
8046
|
+
/** @description Length of the current content in characters. */
|
|
8047
|
+
content_length: number;
|
|
8048
|
+
/** @description ISO 8601 timestamp. */
|
|
8049
|
+
created_at: string;
|
|
8050
|
+
/** @description ISO 8601 timestamp. */
|
|
8051
|
+
updated_at: string;
|
|
8052
|
+
/** @description ISO 8601 timestamp of the soft delete, or null if live. */
|
|
8053
|
+
deleted_at: string | null;
|
|
8054
|
+
/** @description Total versions, including the initial create (v1). */
|
|
8055
|
+
version_count: number;
|
|
8056
|
+
/** @description Edits (versions after v1) in the last 7 days. */
|
|
8057
|
+
edits_7d: number;
|
|
8058
|
+
/** @description Edits (versions after v1) in the last 30 days. */
|
|
8059
|
+
edits_30d: number;
|
|
8060
|
+
/** @description Distinct chat sessions that edited the memory after v1. */
|
|
8061
|
+
edit_session_count: number;
|
|
8062
|
+
/** @description ISO 8601 timestamp of the latest edit, or null if never edited. */
|
|
8063
|
+
last_edited_at: string | null;
|
|
8064
|
+
};
|
|
8065
|
+
MemoryActivityDay: {
|
|
8066
|
+
/** @description UTC day, YYYY-MM-DD. */
|
|
8067
|
+
date: string;
|
|
8068
|
+
project_id: number;
|
|
8069
|
+
created: number;
|
|
8070
|
+
edited: number;
|
|
8071
|
+
deleted: number;
|
|
8072
|
+
};
|
|
7932
8073
|
MemoryResponse: {
|
|
7933
8074
|
/** @description Response payload. */
|
|
7934
8075
|
data: {
|
|
@@ -8142,84 +8283,6 @@ export interface components {
|
|
|
8142
8283
|
/** @description Raw Slack auth.test result. */
|
|
8143
8284
|
data?: unknown;
|
|
8144
8285
|
};
|
|
8145
|
-
SlackChannelListResponse: {
|
|
8146
|
-
/** @description Slack channels for the project. */
|
|
8147
|
-
data: {
|
|
8148
|
-
/** @description The project's Slack channels. */
|
|
8149
|
-
channels: components["schemas"]["SlackChannel"][];
|
|
8150
|
-
};
|
|
8151
|
-
};
|
|
8152
|
-
SlackChannel: {
|
|
8153
|
-
/** @description Channel subscription ID. */
|
|
8154
|
-
id: number;
|
|
8155
|
-
/** @description Slack channel ID. */
|
|
8156
|
-
channel_id: string;
|
|
8157
|
-
/** @description Slack channel name. */
|
|
8158
|
-
channel_name: string | null;
|
|
8159
|
-
/** @description Slack workspace (team) ID. */
|
|
8160
|
-
team_id: string | null;
|
|
8161
|
-
/** @description Whether the channel filters by environment. */
|
|
8162
|
-
is_env_specific: boolean | null;
|
|
8163
|
-
/** @description Environments this channel is subscribed to. */
|
|
8164
|
-
subscribed_environments: string[];
|
|
8165
|
-
/** @description ISO 8601 creation timestamp. */
|
|
8166
|
-
created_at: string;
|
|
8167
|
-
/** @description ISO 8601 update timestamp. */
|
|
8168
|
-
updated_at: string;
|
|
8169
|
-
/** @description Slack validation result, present when requested. */
|
|
8170
|
-
slack_channel_validation?: {
|
|
8171
|
-
/** @description Whether the channel is usable. */
|
|
8172
|
-
ok: boolean;
|
|
8173
|
-
/** @description Slack channel ID. */
|
|
8174
|
-
channel_id: string;
|
|
8175
|
-
/** @description Whether the bot is a member of the channel. */
|
|
8176
|
-
is_member?: boolean;
|
|
8177
|
-
/** @description Machine-readable validation error code. */
|
|
8178
|
-
error_code?: string;
|
|
8179
|
-
/** @description Human-readable validation message. */
|
|
8180
|
-
message?: string;
|
|
8181
|
-
};
|
|
8182
|
-
};
|
|
8183
|
-
SlackChannelMutationResponse: {
|
|
8184
|
-
/** @description Human-readable status message. */
|
|
8185
|
-
message: string;
|
|
8186
|
-
/** @description The updated channel. */
|
|
8187
|
-
channel: {
|
|
8188
|
-
/** @description Channel subscription ID. */
|
|
8189
|
-
id: number;
|
|
8190
|
-
/** @description Slack channel ID. */
|
|
8191
|
-
channel_id: string;
|
|
8192
|
-
/** @description Slack channel name. */
|
|
8193
|
-
channel_name: string | null;
|
|
8194
|
-
/** @description Slack workspace (team) ID. */
|
|
8195
|
-
team_id: string | null;
|
|
8196
|
-
/** @description Whether the channel filters by environment. */
|
|
8197
|
-
is_env_specific: boolean | null;
|
|
8198
|
-
/** @description Environments this channel is subscribed to. */
|
|
8199
|
-
subscribed_environments: string[];
|
|
8200
|
-
/** @description ISO 8601 creation timestamp. */
|
|
8201
|
-
created_at: string;
|
|
8202
|
-
/** @description ISO 8601 update timestamp. */
|
|
8203
|
-
updated_at: string;
|
|
8204
|
-
/** @description Slack validation result, present when requested. */
|
|
8205
|
-
slack_channel_validation?: {
|
|
8206
|
-
/** @description Whether the channel is usable. */
|
|
8207
|
-
ok: boolean;
|
|
8208
|
-
/** @description Slack channel ID. */
|
|
8209
|
-
channel_id: string;
|
|
8210
|
-
/** @description Whether the bot is a member of the channel. */
|
|
8211
|
-
is_member?: boolean;
|
|
8212
|
-
/** @description Machine-readable validation error code. */
|
|
8213
|
-
error_code?: string;
|
|
8214
|
-
/** @description Human-readable validation message. */
|
|
8215
|
-
message?: string;
|
|
8216
|
-
};
|
|
8217
|
-
};
|
|
8218
|
-
};
|
|
8219
|
-
SlackChannelDeleteResponse: {
|
|
8220
|
-
/** @description Human-readable status message. */
|
|
8221
|
-
message: string;
|
|
8222
|
-
};
|
|
8223
8286
|
SlackTeamListResponse: {
|
|
8224
8287
|
/** @description Response payload. */
|
|
8225
8288
|
data: {
|
|
@@ -8565,6 +8628,8 @@ export interface components {
|
|
|
8565
8628
|
value: string | number | boolean | (string | number | boolean)[];
|
|
8566
8629
|
}[];
|
|
8567
8630
|
userIds: string[];
|
|
8631
|
+
/** @enum {string} */
|
|
8632
|
+
category?: "executor" | "user";
|
|
8568
8633
|
};
|
|
8569
8634
|
};
|
|
8570
8635
|
};
|
|
@@ -8649,8 +8714,6 @@ export interface components {
|
|
|
8649
8714
|
updated_at: string;
|
|
8650
8715
|
/** @description Owning project ID. */
|
|
8651
8716
|
project_id: number;
|
|
8652
|
-
/** @description Base branch name. */
|
|
8653
|
-
base_branch: string;
|
|
8654
8717
|
/** @description Session mode (e.g. chat). */
|
|
8655
8718
|
mode: string;
|
|
8656
8719
|
/** @description Origin of the session. */
|
|
@@ -8929,48 +8992,19 @@ export interface components {
|
|
|
8929
8992
|
};
|
|
8930
8993
|
};
|
|
8931
8994
|
};
|
|
8932
|
-
SandboxFilesList: {
|
|
8933
|
-
/** @description Root path the tree was walked from. */
|
|
8934
|
-
path: string;
|
|
8935
|
-
/** @description Relative file paths under the root. */
|
|
8936
|
-
paths: string[];
|
|
8937
|
-
};
|
|
8938
|
-
SandboxFilesError: {
|
|
8939
|
-
/** @description Human-readable error message. */
|
|
8940
|
-
error: string;
|
|
8941
|
-
/** @description Path the walk was attempted on. */
|
|
8942
|
-
path: string;
|
|
8943
|
-
};
|
|
8944
|
-
SandboxFileContent: {
|
|
8945
|
-
/** @description Path of the file that was read. */
|
|
8946
|
-
path: string;
|
|
8947
|
-
/**
|
|
8948
|
-
* @description Kind of content returned.
|
|
8949
|
-
* @enum {string}
|
|
8950
|
-
*/
|
|
8951
|
-
type: "image" | "text";
|
|
8952
|
-
/** @description Data URI for image files (present when type is image). */
|
|
8953
|
-
image_data?: string;
|
|
8954
|
-
/** @description Decoded text content (present when type is text). */
|
|
8955
|
-
content?: string;
|
|
8956
|
-
};
|
|
8957
|
-
SandboxFileContentError: {
|
|
8958
|
-
/** @description Path of the requested file, or null. */
|
|
8959
|
-
path: string | null;
|
|
8960
|
-
/**
|
|
8961
|
-
* @description Always 'error' for this response.
|
|
8962
|
-
* @enum {string}
|
|
8963
|
-
*/
|
|
8964
|
-
type: "error";
|
|
8965
|
-
/** @description Human-readable error message. */
|
|
8966
|
-
error: string;
|
|
8967
|
-
};
|
|
8968
8995
|
SubscribeChatSessionResponse: {
|
|
8969
8996
|
data: {
|
|
8970
8997
|
already_waiting: boolean;
|
|
8971
8998
|
subscription_id?: number;
|
|
8972
8999
|
};
|
|
8973
9000
|
};
|
|
9001
|
+
GithubBranchSearchResponse: {
|
|
9002
|
+
/** @description Response payload. */
|
|
9003
|
+
data: {
|
|
9004
|
+
/** @description Matching branch names, capped by `limit`. */
|
|
9005
|
+
branches: string[];
|
|
9006
|
+
};
|
|
9007
|
+
};
|
|
8974
9008
|
GithubCommitDiffResponse: {
|
|
8975
9009
|
/** @description Response payload. */
|
|
8976
9010
|
data: {
|
|
@@ -9099,6 +9133,44 @@ export interface components {
|
|
|
9099
9133
|
installation?: unknown;
|
|
9100
9134
|
};
|
|
9101
9135
|
};
|
|
9136
|
+
GhReporterDeliveriesResponse: {
|
|
9137
|
+
/** @description Response payload. */
|
|
9138
|
+
data: {
|
|
9139
|
+
check_runs: components["schemas"]["GhReporterCheckRunDelivery"][];
|
|
9140
|
+
pr_comments: components["schemas"]["GhReporterPrCommentDelivery"][];
|
|
9141
|
+
};
|
|
9142
|
+
};
|
|
9143
|
+
GhReporterCheckRunDelivery: {
|
|
9144
|
+
id: number;
|
|
9145
|
+
test_run_id: number;
|
|
9146
|
+
environment_name: string | null;
|
|
9147
|
+
repo_owner: string;
|
|
9148
|
+
repo_name: string;
|
|
9149
|
+
head_sha: string | null;
|
|
9150
|
+
/** @description Null when GitHub never accepted the check run. */
|
|
9151
|
+
check_run_id: number | null;
|
|
9152
|
+
check_run_url: string | null;
|
|
9153
|
+
status: string | null;
|
|
9154
|
+
conclusion: string | null;
|
|
9155
|
+
/** @description Error from the most recent delivery attempt; cleared on success. */
|
|
9156
|
+
last_error: string | null;
|
|
9157
|
+
created_at: string;
|
|
9158
|
+
updated_at: string;
|
|
9159
|
+
};
|
|
9160
|
+
GhReporterPrCommentDelivery: {
|
|
9161
|
+
id: number;
|
|
9162
|
+
environment_name: string | null;
|
|
9163
|
+
repo_owner: string;
|
|
9164
|
+
repo_name: string;
|
|
9165
|
+
pr_number: number;
|
|
9166
|
+
comment_id: number;
|
|
9167
|
+
comment_url: string | null;
|
|
9168
|
+
last_test_run_id: number | null;
|
|
9169
|
+
last_status: string | null;
|
|
9170
|
+
last_error: string | null;
|
|
9171
|
+
created_at: string;
|
|
9172
|
+
updated_at: string;
|
|
9173
|
+
};
|
|
9102
9174
|
GhReporterWebhookAck: {
|
|
9103
9175
|
/** @description Response payload. */
|
|
9104
9176
|
data: {
|
|
@@ -9661,6 +9733,29 @@ export interface components {
|
|
|
9661
9733
|
/** @description Cost of output tokens. */
|
|
9662
9734
|
cost_output: number | null;
|
|
9663
9735
|
};
|
|
9736
|
+
TelemetryTrackResponse: {
|
|
9737
|
+
/** @description Response payload. */
|
|
9738
|
+
data: {
|
|
9739
|
+
/** @enum {boolean} */
|
|
9740
|
+
ok: true;
|
|
9741
|
+
};
|
|
9742
|
+
};
|
|
9743
|
+
TelemetryTrackRequest: {
|
|
9744
|
+
/**
|
|
9745
|
+
* @description Event name. Only test-run events are accepted.
|
|
9746
|
+
* @enum {string}
|
|
9747
|
+
*/
|
|
9748
|
+
name: "git.clone_build" | "llm_response_generated" | "overlay.dismissed" | "test_worker.interrupted" | "test_worker.segment.report_download" | "test_worker.segment.report_merge_and_upload" | "test_worker.segment.report_upload" | "test_worker.segment.tests_execute";
|
|
9749
|
+
/** @description Event properties, forwarded as-is. */
|
|
9750
|
+
properties: {
|
|
9751
|
+
[key: string]: unknown;
|
|
9752
|
+
};
|
|
9753
|
+
/**
|
|
9754
|
+
* Format: date-time
|
|
9755
|
+
* @description When the event happened (ISO 8601). Default now.
|
|
9756
|
+
*/
|
|
9757
|
+
timestamp?: string;
|
|
9758
|
+
};
|
|
9664
9759
|
AnalyticsTestCasesV2Response: {
|
|
9665
9760
|
/** @description Response payload. */
|
|
9666
9761
|
data: {
|
|
@@ -9830,6 +9925,94 @@ export interface components {
|
|
|
9830
9925
|
environment_id: number | null;
|
|
9831
9926
|
environment_name: string | null;
|
|
9832
9927
|
};
|
|
9928
|
+
SlackChannelListV2Response: {
|
|
9929
|
+
data: {
|
|
9930
|
+
channels: components["schemas"]["SlackChannelV2"][];
|
|
9931
|
+
};
|
|
9932
|
+
};
|
|
9933
|
+
SlackChannelV2: {
|
|
9934
|
+
/** @description Canonical Slack channel ID. */
|
|
9935
|
+
id: number;
|
|
9936
|
+
/** @description Organization scope ID. */
|
|
9937
|
+
org_id: number;
|
|
9938
|
+
/** @description Slack app installation ID, or null for the shared default installation. */
|
|
9939
|
+
slack_app_install_id: number | null;
|
|
9940
|
+
/**
|
|
9941
|
+
* @description Credential source used to access the Slack workspace.
|
|
9942
|
+
* @enum {string}
|
|
9943
|
+
*/
|
|
9944
|
+
installation_source: "default" | "org";
|
|
9945
|
+
/** @description Slack workspace (team) ID. */
|
|
9946
|
+
team_id: string;
|
|
9947
|
+
/** @description Slack channel ID. */
|
|
9948
|
+
channel_id: string;
|
|
9949
|
+
/** @description Last known Slack channel name. */
|
|
9950
|
+
channel_name: string | null;
|
|
9951
|
+
/** @description ISO 8601 archival timestamp. */
|
|
9952
|
+
archived_at: string | null;
|
|
9953
|
+
/** @description ISO 8601 creation timestamp. */
|
|
9954
|
+
created_at: string;
|
|
9955
|
+
/** @description ISO 8601 update timestamp. */
|
|
9956
|
+
updated_at: string;
|
|
9957
|
+
};
|
|
9958
|
+
SlackChannelValidationListV2Response: {
|
|
9959
|
+
data: {
|
|
9960
|
+
channels: components["schemas"]["ValidatedSlackChannelV2"][];
|
|
9961
|
+
};
|
|
9962
|
+
};
|
|
9963
|
+
ValidatedSlackChannelV2: {
|
|
9964
|
+
/** @description Canonical Slack channel ID. */
|
|
9965
|
+
id: number;
|
|
9966
|
+
/** @description Organization scope ID. */
|
|
9967
|
+
org_id: number;
|
|
9968
|
+
/** @description Slack app installation ID, or null for the shared default installation. */
|
|
9969
|
+
slack_app_install_id: number | null;
|
|
9970
|
+
/**
|
|
9971
|
+
* @description Credential source used to access the Slack workspace.
|
|
9972
|
+
* @enum {string}
|
|
9973
|
+
*/
|
|
9974
|
+
installation_source: "default" | "org";
|
|
9975
|
+
/** @description Slack workspace (team) ID. */
|
|
9976
|
+
team_id: string;
|
|
9977
|
+
/** @description Slack channel ID. */
|
|
9978
|
+
channel_id: string;
|
|
9979
|
+
/** @description Last known Slack channel name. */
|
|
9980
|
+
channel_name: string | null;
|
|
9981
|
+
/** @description ISO 8601 archival timestamp. */
|
|
9982
|
+
archived_at: string | null;
|
|
9983
|
+
/** @description ISO 8601 creation timestamp. */
|
|
9984
|
+
created_at: string;
|
|
9985
|
+
/** @description ISO 8601 update timestamp. */
|
|
9986
|
+
updated_at: string;
|
|
9987
|
+
/** @description Live Slack validation result. */
|
|
9988
|
+
slack_channel_validation: {
|
|
9989
|
+
/** @description Whether the bot can read the channel and its stored name matches Slack. */
|
|
9990
|
+
ok: boolean;
|
|
9991
|
+
/** @description Slack channel ID. */
|
|
9992
|
+
channel_id: string;
|
|
9993
|
+
/** @description Whether the bot can read the channel through Slack. */
|
|
9994
|
+
can_access: boolean;
|
|
9995
|
+
/** @description Whether the bot can read the channel. */
|
|
9996
|
+
is_member?: boolean;
|
|
9997
|
+
/** @description Current channel name returned by Slack. */
|
|
9998
|
+
current_channel_name?: string | null;
|
|
9999
|
+
/** @description Whether the stored channel name matches Slack's current name. */
|
|
10000
|
+
channel_name_matches?: boolean;
|
|
10001
|
+
/** @description Machine-readable validation failure code. */
|
|
10002
|
+
error_code?: string;
|
|
10003
|
+
/** @description Human-readable validation result. */
|
|
10004
|
+
message?: string;
|
|
10005
|
+
};
|
|
10006
|
+
};
|
|
10007
|
+
SlackChannelRefreshV2Response: {
|
|
10008
|
+
data: {
|
|
10009
|
+
channel: components["schemas"]["ValidatedSlackChannelV2"];
|
|
10010
|
+
/** @description Whether the stored channel name was replaced with Slack's current name. */
|
|
10011
|
+
renamed: boolean;
|
|
10012
|
+
/** @description Channel name stored before the refresh. */
|
|
10013
|
+
previous_channel_name: string | null;
|
|
10014
|
+
};
|
|
10015
|
+
};
|
|
9833
10016
|
TestCaseTagsResponse: {
|
|
9834
10017
|
/** @description Distinct tags across the project's test cases. */
|
|
9835
10018
|
tags: string[];
|
|
@@ -10009,6 +10192,8 @@ export interface components {
|
|
|
10009
10192
|
id: number;
|
|
10010
10193
|
/** @description Current state of the test run. */
|
|
10011
10194
|
state: string;
|
|
10195
|
+
/** @description Normalized error code when branch resolution or execution failed. */
|
|
10196
|
+
error_code: string | null;
|
|
10012
10197
|
/** @description Git branch being tested. */
|
|
10013
10198
|
test_run_branch: string;
|
|
10014
10199
|
/** @description ISO 8601 timestamp when the run was created. */
|
|
@@ -10023,6 +10208,52 @@ export interface components {
|
|
|
10023
10208
|
*/
|
|
10024
10209
|
on_conflict: "cancel" | "wait";
|
|
10025
10210
|
} | null;
|
|
10211
|
+
/** @description Requested, resolved, and executed test-repository code. */
|
|
10212
|
+
test_code: {
|
|
10213
|
+
requested: {
|
|
10214
|
+
branch: string;
|
|
10215
|
+
/** @enum {string} */
|
|
10216
|
+
source: "explicit" | "build" | "project_default" | "legacy";
|
|
10217
|
+
/** @enum {string} */
|
|
10218
|
+
if_missing: "error" | "use_default" | "create";
|
|
10219
|
+
};
|
|
10220
|
+
resolved: {
|
|
10221
|
+
branch: string | null;
|
|
10222
|
+
sha: string | null;
|
|
10223
|
+
/** @enum {string|null} */
|
|
10224
|
+
fallback_reason: "requested_branch_missing" | null;
|
|
10225
|
+
};
|
|
10226
|
+
execution: {
|
|
10227
|
+
ref: string | null;
|
|
10228
|
+
sha: string | null;
|
|
10229
|
+
/** @enum {string|null} */
|
|
10230
|
+
ref_kind: "branch" | "temporary_merge" | null;
|
|
10231
|
+
};
|
|
10232
|
+
merge_base: {
|
|
10233
|
+
branch: string;
|
|
10234
|
+
sha: string | null;
|
|
10235
|
+
} | null;
|
|
10236
|
+
/** @enum {string} */
|
|
10237
|
+
resolution_status: "resolved" | "branch_missing" | "merge_conflict" | "provider_error";
|
|
10238
|
+
resolution_error_code: string | null;
|
|
10239
|
+
} | null;
|
|
10240
|
+
/** @description The `trigger` the run was created with, or null when none was sent. */
|
|
10241
|
+
trigger: {
|
|
10242
|
+
/**
|
|
10243
|
+
* @description Event that produced the run.
|
|
10244
|
+
* @enum {string}
|
|
10245
|
+
*/
|
|
10246
|
+
event: "pull_request";
|
|
10247
|
+
/** @description Pull request under test. */
|
|
10248
|
+
pull_request: {
|
|
10249
|
+
/** @description Pull request number in the application repository. */
|
|
10250
|
+
number?: number;
|
|
10251
|
+
/** @description Head branch. */
|
|
10252
|
+
head: string;
|
|
10253
|
+
/** @description Base branch. */
|
|
10254
|
+
base: string;
|
|
10255
|
+
};
|
|
10256
|
+
} | null;
|
|
10026
10257
|
};
|
|
10027
10258
|
};
|
|
10028
10259
|
};
|
|
@@ -10031,18 +10262,16 @@ export interface components {
|
|
|
10031
10262
|
environment: string;
|
|
10032
10263
|
/** @description Build information to associate with the test run. */
|
|
10033
10264
|
build?: {
|
|
10034
|
-
/** @description Deprecated. URL of the deployed build being tested. Passed to tests as the `BUILD_URL` environment variable, unless `BUILD_URL` is set in `environment_variables_overrides`. Set `BUILD_URL` there directly instead. */
|
|
10035
|
-
url?: string;
|
|
10036
10265
|
/** @description Git branch name of the build. */
|
|
10037
10266
|
branch?: string;
|
|
10038
10267
|
/** @description Git commit SHA of the build. */
|
|
10039
10268
|
commit?: string;
|
|
10040
|
-
/** @description URL to the commit (e.g., GitHub commit link). */
|
|
10041
|
-
commit_url?: string;
|
|
10042
10269
|
/** @description Source repository in owner/name format (e.g., acme/web). */
|
|
10043
10270
|
repo?: string;
|
|
10044
|
-
/** @description
|
|
10045
|
-
|
|
10271
|
+
/** @description Legacy commit URL accepted only to infer build.repo for older callers. */
|
|
10272
|
+
commit_url?: string;
|
|
10273
|
+
/** @description Legacy build URL forwarded as BUILD_URL for allowlisted projects. */
|
|
10274
|
+
url?: string;
|
|
10046
10275
|
};
|
|
10047
10276
|
/** @description Custom key-value pairs to associate with the test run. Values must be strings or numbers. */
|
|
10048
10277
|
metadata?: {
|
|
@@ -10059,8 +10288,25 @@ export interface components {
|
|
|
10059
10288
|
tags?: string[];
|
|
10060
10289
|
/** @description Specific test case ids (Playwright per-project `test.id`) to run. Only these tests will be executed. */
|
|
10061
10290
|
test_case_ids?: string[];
|
|
10062
|
-
/** @description
|
|
10291
|
+
/** @description Existing test-repository branch to run. A missing explicit branch creates an errored run; Empirical never creates it. May be supplied alongside `build`, which describes the application code under test. */
|
|
10063
10292
|
branch?: string;
|
|
10293
|
+
/** @description The application pull request under test, for pre-merge runs. The run uses the test-repository branch named `pull_request.head`, merged into the project default branch. If no such branch exists, it uses the default branch. An explicit `branch` takes precedence. */
|
|
10294
|
+
trigger?: {
|
|
10295
|
+
/**
|
|
10296
|
+
* @description Event that produced the run.
|
|
10297
|
+
* @enum {string}
|
|
10298
|
+
*/
|
|
10299
|
+
event: "pull_request";
|
|
10300
|
+
/** @description Pull request under test. */
|
|
10301
|
+
pull_request: {
|
|
10302
|
+
/** @description Pull request number in the application repository. */
|
|
10303
|
+
number?: number;
|
|
10304
|
+
/** @description Head branch. */
|
|
10305
|
+
head: string;
|
|
10306
|
+
/** @description Base branch. */
|
|
10307
|
+
base: string;
|
|
10308
|
+
};
|
|
10309
|
+
};
|
|
10064
10310
|
/** @description Concurrency group and policy for this run. Runs in the same group (within the project) are limited to one in progress; `on_conflict` says what this run does when the group already has an active run: `cancel` cancels it and starts now, `wait` queues behind it (a newer waiting run replaces an older one). Omit to use the project's legacy concurrency setting; `null` for no limit. */
|
|
10065
10311
|
concurrency?: {
|
|
10066
10312
|
/** @description Free-form group key, scoped to the project, e.g. `production`, `staging/acme/web@feat-x`, or a build URL. */
|
|
@@ -10346,7 +10592,7 @@ export interface components {
|
|
|
10346
10592
|
data: {
|
|
10347
10593
|
/** @description Reply targets for channels that already have a run notification thread. */
|
|
10348
10594
|
thread_targets: components["schemas"]["TriageShareTarget"][];
|
|
10349
|
-
/** @description New-message targets for
|
|
10595
|
+
/** @description New-message targets for active Slack channels accessible to the organization. */
|
|
10350
10596
|
channel_targets: components["schemas"]["TriageShareTarget"][];
|
|
10351
10597
|
};
|
|
10352
10598
|
};
|
|
@@ -10434,6 +10680,52 @@ export interface components {
|
|
|
10434
10680
|
run_ended_at: string | null;
|
|
10435
10681
|
/** @description URL to download the Playwright JSON report for this run. */
|
|
10436
10682
|
summary_url: string | null;
|
|
10683
|
+
/** @description Branch-resolution provenance. Null only for historical runs created before provenance was recorded. */
|
|
10684
|
+
test_code: {
|
|
10685
|
+
requested: {
|
|
10686
|
+
branch: string;
|
|
10687
|
+
/** @enum {string} */
|
|
10688
|
+
source: "explicit" | "build" | "project_default" | "legacy";
|
|
10689
|
+
/** @enum {string} */
|
|
10690
|
+
if_missing: "error" | "use_default" | "create";
|
|
10691
|
+
};
|
|
10692
|
+
resolved: {
|
|
10693
|
+
branch: string | null;
|
|
10694
|
+
sha: string | null;
|
|
10695
|
+
/** @enum {string|null} */
|
|
10696
|
+
fallback_reason: "requested_branch_missing" | null;
|
|
10697
|
+
};
|
|
10698
|
+
execution: {
|
|
10699
|
+
ref: string | null;
|
|
10700
|
+
sha: string | null;
|
|
10701
|
+
/** @enum {string|null} */
|
|
10702
|
+
ref_kind: "branch" | "temporary_merge" | null;
|
|
10703
|
+
};
|
|
10704
|
+
merge_base: {
|
|
10705
|
+
branch: string;
|
|
10706
|
+
sha: string | null;
|
|
10707
|
+
} | null;
|
|
10708
|
+
/** @enum {string} */
|
|
10709
|
+
resolution_status: "resolved" | "branch_missing" | "merge_conflict" | "provider_error";
|
|
10710
|
+
resolution_error_code: string | null;
|
|
10711
|
+
} | null;
|
|
10712
|
+
/** @description The `trigger` the run was created with, or null when none was sent. */
|
|
10713
|
+
trigger: {
|
|
10714
|
+
/**
|
|
10715
|
+
* @description Event that produced the run.
|
|
10716
|
+
* @enum {string}
|
|
10717
|
+
*/
|
|
10718
|
+
event: "pull_request";
|
|
10719
|
+
/** @description Pull request under test. */
|
|
10720
|
+
pull_request: {
|
|
10721
|
+
/** @description Pull request number in the application repository. */
|
|
10722
|
+
number?: number;
|
|
10723
|
+
/** @description Head branch. */
|
|
10724
|
+
head: string;
|
|
10725
|
+
/** @description Base branch. */
|
|
10726
|
+
base: string;
|
|
10727
|
+
};
|
|
10728
|
+
} | null;
|
|
10437
10729
|
};
|
|
10438
10730
|
IngestTestCaseRunEndEventResponse: {
|
|
10439
10731
|
/** @description Empty acknowledgement payload. */
|
|
@@ -10669,10 +10961,10 @@ export interface components {
|
|
|
10669
10961
|
/** @description Full test line, e.g. `[chromium] โบ a.spec.ts โบ title`. */
|
|
10670
10962
|
name: string;
|
|
10671
10963
|
/**
|
|
10672
|
-
* @description Whether the scheduled test has run yet.
|
|
10964
|
+
* @description Whether the scheduled test has run yet. `retrying` means at least one attempt is in but retries are outstanding; its result fields are provisional until it flips to `ran`.
|
|
10673
10965
|
* @enum {string}
|
|
10674
10966
|
*/
|
|
10675
|
-
status: "ran" | "pending";
|
|
10967
|
+
status: "ran" | "retrying" | "pending";
|
|
10676
10968
|
/** @description Ledger row ID. */
|
|
10677
10969
|
id?: number;
|
|
10678
10970
|
/** @description Shard the row belongs to, or null when unsharded. */
|
|
@@ -10755,6 +11047,12 @@ export interface components {
|
|
|
10755
11047
|
/** @description Log line text. */
|
|
10756
11048
|
message: string;
|
|
10757
11049
|
};
|
|
11050
|
+
GetTestRunTriageSessionResponse: {
|
|
11051
|
+
/** @description Response payload. */
|
|
11052
|
+
data: {
|
|
11053
|
+
chat_session: components["schemas"]["ChatSession"] & unknown;
|
|
11054
|
+
};
|
|
11055
|
+
};
|
|
10758
11056
|
TestRunTriageSessionResponse: {
|
|
10759
11057
|
/** @description Response payload. */
|
|
10760
11058
|
data: {
|
|
@@ -10959,7 +11257,6 @@ export interface components {
|
|
|
10959
11257
|
build_url: string | null;
|
|
10960
11258
|
build_branch: string | null;
|
|
10961
11259
|
commit: string | null;
|
|
10962
|
-
commit_url: string | null;
|
|
10963
11260
|
repo: string | null;
|
|
10964
11261
|
error_code: string | null;
|
|
10965
11262
|
cancellation_reason: string | null;
|
|
@@ -10980,10 +11277,12 @@ export interface components {
|
|
|
10980
11277
|
/** @description ID of the parent test run. */
|
|
10981
11278
|
test_run_id: string;
|
|
10982
11279
|
/**
|
|
10983
|
-
* @description Outcome of the case.
|
|
11280
|
+
* @description Outcome of the case. Provisional while `is_retrying` is true.
|
|
10984
11281
|
* @enum {string}
|
|
10985
11282
|
*/
|
|
10986
11283
|
status: "passed" | "failed" | "flaky" | "skipped";
|
|
11284
|
+
/** @description True when the case has retries outstanding: `status`, `retries` and `retry_details` reflect only the attempts so far. Only returned with `include_retrying=true`. */
|
|
11285
|
+
is_retrying: boolean;
|
|
10987
11286
|
/** @description Run-time path `[file, ...suites, title]`. */
|
|
10988
11287
|
nesting: string[];
|
|
10989
11288
|
/** @description Playwright project the case ran under. */
|
|
@@ -11105,10 +11404,12 @@ export interface components {
|
|
|
11105
11404
|
/** @description ID of the parent test run. */
|
|
11106
11405
|
test_run_id: string;
|
|
11107
11406
|
/**
|
|
11108
|
-
* @description Outcome of the case.
|
|
11407
|
+
* @description Outcome of the case. Provisional while `is_retrying` is true.
|
|
11109
11408
|
* @enum {string}
|
|
11110
11409
|
*/
|
|
11111
11410
|
status: "passed" | "failed" | "flaky" | "skipped";
|
|
11411
|
+
/** @description True when the case has retries outstanding: `status`, `retries` and `retry_details` reflect only the attempts so far. Only returned with `include_retrying=true`. */
|
|
11412
|
+
is_retrying: boolean;
|
|
11112
11413
|
/** @description Run-time path `[file, ...suites, title]`. */
|
|
11113
11414
|
nesting: string[];
|
|
11114
11415
|
/** @description Playwright project the case ran under. */
|
|
@@ -11219,6 +11520,8 @@ export interface components {
|
|
|
11219
11520
|
id: number;
|
|
11220
11521
|
title: string | null;
|
|
11221
11522
|
} | null;
|
|
11523
|
+
/** @description For a pending run held back by its concurrency group (on_conflict=wait), the in-progress run it is waiting on. Null when the run is not pending or nothing blocks it. */
|
|
11524
|
+
waiting_on_test_run_id: number | null;
|
|
11222
11525
|
/** @description First page of ledger-sourced cases, ordered failed โ flaky โ others so the default 'failed' filter and the failure-first list render correctly on first paint. Shipped inline so the list renders without waiting on a fetch. The client refetches the full set. */
|
|
11223
11526
|
ledger_cases: components["schemas"]["TestRunCase"][];
|
|
11224
11527
|
/** @description Total ledger case count for the run, so the client knows how much the inline first page is truncating. */
|
|
@@ -11274,6 +11577,35 @@ export interface components {
|
|
|
11274
11577
|
test_run_branch: string;
|
|
11275
11578
|
/** @description Head commit SHA of the test repo. */
|
|
11276
11579
|
test_run_head_sha: string | null;
|
|
11580
|
+
/** @description Structured test-code provenance. Null for runs created before provenance capture shipped. */
|
|
11581
|
+
test_code: {
|
|
11582
|
+
requested: {
|
|
11583
|
+
branch: string;
|
|
11584
|
+
/** @enum {string} */
|
|
11585
|
+
source: "explicit" | "build" | "project_default" | "legacy";
|
|
11586
|
+
/** @enum {string} */
|
|
11587
|
+
if_missing: "error" | "use_default" | "create";
|
|
11588
|
+
};
|
|
11589
|
+
resolved: {
|
|
11590
|
+
branch: string | null;
|
|
11591
|
+
sha: string | null;
|
|
11592
|
+
/** @enum {string|null} */
|
|
11593
|
+
fallback_reason: "requested_branch_missing" | null;
|
|
11594
|
+
};
|
|
11595
|
+
execution: {
|
|
11596
|
+
ref: string | null;
|
|
11597
|
+
sha: string | null;
|
|
11598
|
+
/** @enum {string|null} */
|
|
11599
|
+
ref_kind: "branch" | "temporary_merge" | null;
|
|
11600
|
+
};
|
|
11601
|
+
merge_base: {
|
|
11602
|
+
branch: string;
|
|
11603
|
+
sha: string | null;
|
|
11604
|
+
} | null;
|
|
11605
|
+
/** @enum {string} */
|
|
11606
|
+
resolution_status: "resolved" | "branch_missing" | "merge_conflict" | "provider_error";
|
|
11607
|
+
resolution_error_code: string | null;
|
|
11608
|
+
} | null;
|
|
11277
11609
|
/** @description URL of the Playwright JSON report. */
|
|
11278
11610
|
summary_url: string | null;
|
|
11279
11611
|
/** @description Whether reporters fire for this run. */
|
|
@@ -11302,8 +11634,6 @@ export interface components {
|
|
|
11302
11634
|
commit: string | null;
|
|
11303
11635
|
/** @description Build branch name. */
|
|
11304
11636
|
branch: string | null;
|
|
11305
|
-
/** @description URL of the build commit. */
|
|
11306
|
-
commit_url: string | null;
|
|
11307
11637
|
/** @description Build repository in `org/repo` form. */
|
|
11308
11638
|
repo: string | null;
|
|
11309
11639
|
/** @description Git branch of the build. */
|
|
@@ -11353,17 +11683,22 @@ export interface components {
|
|
|
11353
11683
|
*/
|
|
11354
11684
|
on_conflict: "cancel" | "wait";
|
|
11355
11685
|
} | null;
|
|
11356
|
-
/** @description
|
|
11357
|
-
|
|
11358
|
-
/** @description Pull request number. */
|
|
11359
|
-
number: number;
|
|
11360
|
-
/** @description Pull request URL. */
|
|
11361
|
-
url: string;
|
|
11686
|
+
/** @description The `trigger` the run was created with, or null when none was sent. */
|
|
11687
|
+
trigger: {
|
|
11362
11688
|
/**
|
|
11363
|
-
* @description
|
|
11689
|
+
* @description Event that produced the run.
|
|
11364
11690
|
* @enum {string}
|
|
11365
11691
|
*/
|
|
11366
|
-
|
|
11692
|
+
event: "pull_request";
|
|
11693
|
+
/** @description Pull request under test. */
|
|
11694
|
+
pull_request: {
|
|
11695
|
+
/** @description Pull request number in the application repository. */
|
|
11696
|
+
number?: number;
|
|
11697
|
+
/** @description Head branch. */
|
|
11698
|
+
head: string;
|
|
11699
|
+
/** @description Base branch. */
|
|
11700
|
+
base: string;
|
|
11701
|
+
};
|
|
11367
11702
|
} | null;
|
|
11368
11703
|
/** @description Resolved details for the user that created the run. */
|
|
11369
11704
|
created_by_user_detail: {
|
|
@@ -12231,7 +12566,7 @@ export interface operations {
|
|
|
12231
12566
|
"application/json": components["schemas"]["CreateTestRunResponse"];
|
|
12232
12567
|
};
|
|
12233
12568
|
};
|
|
12234
|
-
/** @description Invalid request, unknown environment,
|
|
12569
|
+
/** @description Invalid request, unknown environment, pierre code-storage repo, or the project could not be resolved. */
|
|
12235
12570
|
400: {
|
|
12236
12571
|
headers: {
|
|
12237
12572
|
[name: string]: unknown;
|
|
@@ -12240,6 +12575,15 @@ export interface operations {
|
|
|
12240
12575
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
12241
12576
|
};
|
|
12242
12577
|
};
|
|
12578
|
+
/** @description The organisation has an overdue invoice. */
|
|
12579
|
+
402: {
|
|
12580
|
+
headers: {
|
|
12581
|
+
[name: string]: unknown;
|
|
12582
|
+
};
|
|
12583
|
+
content: {
|
|
12584
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
12585
|
+
};
|
|
12586
|
+
};
|
|
12243
12587
|
/** @description Project not found or not accessible. */
|
|
12244
12588
|
404: {
|
|
12245
12589
|
headers: {
|
|
@@ -12307,7 +12651,7 @@ export interface operations {
|
|
|
12307
12651
|
query?: never;
|
|
12308
12652
|
header?: never;
|
|
12309
12653
|
path: {
|
|
12310
|
-
/** @description Test run ID. */
|
|
12654
|
+
/** @description Test run database ID. */
|
|
12311
12655
|
id: number;
|
|
12312
12656
|
};
|
|
12313
12657
|
cookie?: never;
|
|
@@ -12396,7 +12740,7 @@ export interface operations {
|
|
|
12396
12740
|
query?: never;
|
|
12397
12741
|
header?: never;
|
|
12398
12742
|
path: {
|
|
12399
|
-
/** @description
|
|
12743
|
+
/** @description Test run database ID. */
|
|
12400
12744
|
id: number;
|
|
12401
12745
|
};
|
|
12402
12746
|
cookie?: never;
|
|
@@ -12450,7 +12794,7 @@ export interface operations {
|
|
|
12450
12794
|
query?: never;
|
|
12451
12795
|
header?: never;
|
|
12452
12796
|
path: {
|
|
12453
|
-
/** @description
|
|
12797
|
+
/** @description Test run database ID. */
|
|
12454
12798
|
id: number;
|
|
12455
12799
|
};
|
|
12456
12800
|
cookie?: never;
|
|
@@ -12479,6 +12823,15 @@ export interface operations {
|
|
|
12479
12823
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
12480
12824
|
};
|
|
12481
12825
|
};
|
|
12826
|
+
/** @description The organisation has an overdue invoice. */
|
|
12827
|
+
402: {
|
|
12828
|
+
headers: {
|
|
12829
|
+
[name: string]: unknown;
|
|
12830
|
+
};
|
|
12831
|
+
content: {
|
|
12832
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
12833
|
+
};
|
|
12834
|
+
};
|
|
12482
12835
|
/** @description Source test run or environment not found. */
|
|
12483
12836
|
404: {
|
|
12484
12837
|
headers: {
|
|
@@ -12537,7 +12890,7 @@ export interface operations {
|
|
|
12537
12890
|
query?: never;
|
|
12538
12891
|
header?: never;
|
|
12539
12892
|
path: {
|
|
12540
|
-
/** @description Test run ID. */
|
|
12893
|
+
/** @description Test run database ID. */
|
|
12541
12894
|
id: number;
|
|
12542
12895
|
};
|
|
12543
12896
|
cookie?: never;
|
|
@@ -12578,7 +12931,7 @@ export interface operations {
|
|
|
12578
12931
|
query?: never;
|
|
12579
12932
|
header?: never;
|
|
12580
12933
|
path: {
|
|
12581
|
-
/** @description Test run ID. */
|
|
12934
|
+
/** @description Test run database ID. */
|
|
12582
12935
|
id: number;
|
|
12583
12936
|
};
|
|
12584
12937
|
cookie?: never;
|
|
@@ -12664,7 +13017,7 @@ export interface operations {
|
|
|
12664
13017
|
query?: never;
|
|
12665
13018
|
header?: never;
|
|
12666
13019
|
path: {
|
|
12667
|
-
/** @description
|
|
13020
|
+
/** @description External run_id of the test run. */
|
|
12668
13021
|
id: number;
|
|
12669
13022
|
};
|
|
12670
13023
|
cookie?: never;
|
|
@@ -12709,7 +13062,7 @@ export interface operations {
|
|
|
12709
13062
|
};
|
|
12710
13063
|
header?: never;
|
|
12711
13064
|
path: {
|
|
12712
|
-
/** @description Test run
|
|
13065
|
+
/** @description Test run database ID. */
|
|
12713
13066
|
id: number;
|
|
12714
13067
|
};
|
|
12715
13068
|
cookie?: never;
|
|
@@ -12750,7 +13103,7 @@ export interface operations {
|
|
|
12750
13103
|
query?: never;
|
|
12751
13104
|
header?: never;
|
|
12752
13105
|
path: {
|
|
12753
|
-
/** @description Test run
|
|
13106
|
+
/** @description Test run database ID. */
|
|
12754
13107
|
id: number;
|
|
12755
13108
|
};
|
|
12756
13109
|
cookie?: never;
|
|
@@ -12766,6 +13119,15 @@ export interface operations {
|
|
|
12766
13119
|
"application/json": components["schemas"]["TestRunManifestTestsResponse"];
|
|
12767
13120
|
};
|
|
12768
13121
|
};
|
|
13122
|
+
/** @description Invalid database test run ID. */
|
|
13123
|
+
400: {
|
|
13124
|
+
headers: {
|
|
13125
|
+
[name: string]: unknown;
|
|
13126
|
+
};
|
|
13127
|
+
content: {
|
|
13128
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
13129
|
+
};
|
|
13130
|
+
};
|
|
12769
13131
|
/** @description Test run not found. */
|
|
12770
13132
|
404: {
|
|
12771
13133
|
headers: {
|
|
@@ -12782,7 +13144,7 @@ export interface operations {
|
|
|
12782
13144
|
query?: never;
|
|
12783
13145
|
header?: never;
|
|
12784
13146
|
path: {
|
|
12785
|
-
/** @description
|
|
13147
|
+
/** @description External run_id of the test run. */
|
|
12786
13148
|
id: number;
|
|
12787
13149
|
};
|
|
12788
13150
|
cookie?: never;
|
|
@@ -12904,7 +13266,7 @@ export interface operations {
|
|
|
12904
13266
|
query?: never;
|
|
12905
13267
|
header?: never;
|
|
12906
13268
|
path: {
|
|
12907
|
-
/** @description Test run
|
|
13269
|
+
/** @description Test run database ID. */
|
|
12908
13270
|
id: number;
|
|
12909
13271
|
};
|
|
12910
13272
|
cookie?: never;
|
|
@@ -12920,8 +13282,8 @@ export interface operations {
|
|
|
12920
13282
|
"application/json": components["schemas"]["TestRunShardsResponse"];
|
|
12921
13283
|
};
|
|
12922
13284
|
};
|
|
12923
|
-
/** @description
|
|
12924
|
-
|
|
13285
|
+
/** @description Invalid database test run ID. */
|
|
13286
|
+
400: {
|
|
12925
13287
|
headers: {
|
|
12926
13288
|
[name: string]: unknown;
|
|
12927
13289
|
};
|
|
@@ -12929,9 +13291,18 @@ export interface operations {
|
|
|
12929
13291
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
12930
13292
|
};
|
|
12931
13293
|
};
|
|
12932
|
-
|
|
12933
|
-
|
|
12934
|
-
|
|
13294
|
+
/** @description Test run not found. */
|
|
13295
|
+
404: {
|
|
13296
|
+
headers: {
|
|
13297
|
+
[name: string]: unknown;
|
|
13298
|
+
};
|
|
13299
|
+
content: {
|
|
13300
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
13301
|
+
};
|
|
13302
|
+
};
|
|
13303
|
+
};
|
|
13304
|
+
};
|
|
13305
|
+
getTestRunShardAssignedTests: {
|
|
12935
13306
|
parameters: {
|
|
12936
13307
|
query?: never;
|
|
12937
13308
|
header?: never;
|
|
@@ -13056,7 +13427,7 @@ export interface operations {
|
|
|
13056
13427
|
query?: never;
|
|
13057
13428
|
header?: never;
|
|
13058
13429
|
path: {
|
|
13059
|
-
/** @description
|
|
13430
|
+
/** @description External run_id of the test run. */
|
|
13060
13431
|
id: number;
|
|
13061
13432
|
};
|
|
13062
13433
|
cookie?: never;
|
|
@@ -13088,7 +13459,7 @@ export interface operations {
|
|
|
13088
13459
|
query?: never;
|
|
13089
13460
|
header?: never;
|
|
13090
13461
|
path: {
|
|
13091
|
-
/** @description
|
|
13462
|
+
/** @description Test run database ID. */
|
|
13092
13463
|
id: number;
|
|
13093
13464
|
};
|
|
13094
13465
|
cookie?: never;
|
|
@@ -13142,7 +13513,7 @@ export interface operations {
|
|
|
13142
13513
|
query?: never;
|
|
13143
13514
|
header?: never;
|
|
13144
13515
|
path: {
|
|
13145
|
-
/** @description
|
|
13516
|
+
/** @description External run_id of the test run. */
|
|
13146
13517
|
id: number;
|
|
13147
13518
|
};
|
|
13148
13519
|
cookie?: never;
|
|
@@ -13178,12 +13549,53 @@ export interface operations {
|
|
|
13178
13549
|
};
|
|
13179
13550
|
};
|
|
13180
13551
|
};
|
|
13552
|
+
getTestRunTriageSession: {
|
|
13553
|
+
parameters: {
|
|
13554
|
+
query?: never;
|
|
13555
|
+
header?: never;
|
|
13556
|
+
path: {
|
|
13557
|
+
/** @description Test run database ID. */
|
|
13558
|
+
id: number;
|
|
13559
|
+
};
|
|
13560
|
+
cookie?: never;
|
|
13561
|
+
};
|
|
13562
|
+
requestBody?: never;
|
|
13563
|
+
responses: {
|
|
13564
|
+
/** @description The newest triage session, if one exists. */
|
|
13565
|
+
200: {
|
|
13566
|
+
headers: {
|
|
13567
|
+
[name: string]: unknown;
|
|
13568
|
+
};
|
|
13569
|
+
content: {
|
|
13570
|
+
"application/json": components["schemas"]["GetTestRunTriageSessionResponse"];
|
|
13571
|
+
};
|
|
13572
|
+
};
|
|
13573
|
+
/** @description Invalid database test run ID. */
|
|
13574
|
+
400: {
|
|
13575
|
+
headers: {
|
|
13576
|
+
[name: string]: unknown;
|
|
13577
|
+
};
|
|
13578
|
+
content: {
|
|
13579
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
13580
|
+
};
|
|
13581
|
+
};
|
|
13582
|
+
/** @description Test run not found or inaccessible. */
|
|
13583
|
+
404: {
|
|
13584
|
+
headers: {
|
|
13585
|
+
[name: string]: unknown;
|
|
13586
|
+
};
|
|
13587
|
+
content: {
|
|
13588
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
13589
|
+
};
|
|
13590
|
+
};
|
|
13591
|
+
};
|
|
13592
|
+
};
|
|
13181
13593
|
createTestRunTriageSession: {
|
|
13182
13594
|
parameters: {
|
|
13183
13595
|
query?: never;
|
|
13184
13596
|
header?: never;
|
|
13185
13597
|
path: {
|
|
13186
|
-
/** @description
|
|
13598
|
+
/** @description Test run database ID. */
|
|
13187
13599
|
id: number;
|
|
13188
13600
|
};
|
|
13189
13601
|
cookie?: never;
|
|
@@ -13199,6 +13611,15 @@ export interface operations {
|
|
|
13199
13611
|
"application/json": components["schemas"]["TestRunTriageSessionResponse"];
|
|
13200
13612
|
};
|
|
13201
13613
|
};
|
|
13614
|
+
/** @description Invalid database test run ID. */
|
|
13615
|
+
400: {
|
|
13616
|
+
headers: {
|
|
13617
|
+
[name: string]: unknown;
|
|
13618
|
+
};
|
|
13619
|
+
content: {
|
|
13620
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
13621
|
+
};
|
|
13622
|
+
};
|
|
13202
13623
|
/** @description Test run not found or inaccessible. */
|
|
13203
13624
|
404: {
|
|
13204
13625
|
headers: {
|
|
@@ -13215,7 +13636,7 @@ export interface operations {
|
|
|
13215
13636
|
query?: never;
|
|
13216
13637
|
header?: never;
|
|
13217
13638
|
path: {
|
|
13218
|
-
/** @description
|
|
13639
|
+
/** @description Test run database ID. */
|
|
13219
13640
|
id: number;
|
|
13220
13641
|
};
|
|
13221
13642
|
cookie?: never;
|
|
@@ -13638,7 +14059,7 @@ export interface operations {
|
|
|
13638
14059
|
"application/json": components["schemas"]["EnvironmentResponse"];
|
|
13639
14060
|
};
|
|
13640
14061
|
};
|
|
13641
|
-
/** @description Invalid request,
|
|
14062
|
+
/** @description Invalid request, the slug already exists, or reporter_config names an unknown Slack channel id. */
|
|
13642
14063
|
400: {
|
|
13643
14064
|
headers: {
|
|
13644
14065
|
[name: string]: unknown;
|
|
@@ -13733,7 +14154,7 @@ export interface operations {
|
|
|
13733
14154
|
"application/json": components["schemas"]["Environment"];
|
|
13734
14155
|
};
|
|
13735
14156
|
};
|
|
13736
|
-
/** @description Invalid request,
|
|
14157
|
+
/** @description Invalid request, the slug already exists, or reporter_config names an unknown Slack channel id. */
|
|
13737
14158
|
400: {
|
|
13738
14159
|
headers: {
|
|
13739
14160
|
[name: string]: unknown;
|
|
@@ -14864,85 +15285,6 @@ export interface operations {
|
|
|
14864
15285
|
};
|
|
14865
15286
|
};
|
|
14866
15287
|
};
|
|
14867
|
-
slackLinkWebhook: {
|
|
14868
|
-
parameters: {
|
|
14869
|
-
query?: never;
|
|
14870
|
-
header?: never;
|
|
14871
|
-
path?: never;
|
|
14872
|
-
cookie?: never;
|
|
14873
|
-
};
|
|
14874
|
-
requestBody?: {
|
|
14875
|
-
content: {
|
|
14876
|
-
"application/x-www-form-urlencoded": {
|
|
14877
|
-
/** @description Slack channel ID. */
|
|
14878
|
-
channel_id: string;
|
|
14879
|
-
/** @description Slack channel name. */
|
|
14880
|
-
channel_name: string;
|
|
14881
|
-
/** @description Slack workspace (team) ID. */
|
|
14882
|
-
team_id: string;
|
|
14883
|
-
/** @description Slack trigger ID for opening a modal. */
|
|
14884
|
-
trigger_id: string;
|
|
14885
|
-
/**
|
|
14886
|
-
* @description Text passed to the /empirical slash command.
|
|
14887
|
-
* @default
|
|
14888
|
-
*/
|
|
14889
|
-
text?: string;
|
|
14890
|
-
};
|
|
14891
|
-
};
|
|
14892
|
-
};
|
|
14893
|
-
responses: {
|
|
14894
|
-
/** @description Slash command response shown to the invoking user; empty body when a modal was opened. */
|
|
14895
|
-
200: {
|
|
14896
|
-
headers: {
|
|
14897
|
-
[name: string]: unknown;
|
|
14898
|
-
};
|
|
14899
|
-
content: {
|
|
14900
|
-
"text/plain": string;
|
|
14901
|
-
};
|
|
14902
|
-
};
|
|
14903
|
-
/** @description Invalid request. */
|
|
14904
|
-
400: {
|
|
14905
|
-
headers: {
|
|
14906
|
-
[name: string]: unknown;
|
|
14907
|
-
};
|
|
14908
|
-
content: {
|
|
14909
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
14910
|
-
};
|
|
14911
|
-
};
|
|
14912
|
-
};
|
|
14913
|
-
};
|
|
14914
|
-
listSlackChannels: {
|
|
14915
|
-
parameters: {
|
|
14916
|
-
query?: {
|
|
14917
|
-
/** @description When `true`, validate each channel against Slack. */
|
|
14918
|
-
validate_slack?: "true" | "false";
|
|
14919
|
-
};
|
|
14920
|
-
header?: never;
|
|
14921
|
-
path?: never;
|
|
14922
|
-
cookie?: never;
|
|
14923
|
-
};
|
|
14924
|
-
requestBody?: never;
|
|
14925
|
-
responses: {
|
|
14926
|
-
/** @description The project's Slack channels. */
|
|
14927
|
-
200: {
|
|
14928
|
-
headers: {
|
|
14929
|
-
[name: string]: unknown;
|
|
14930
|
-
};
|
|
14931
|
-
content: {
|
|
14932
|
-
"application/json": components["schemas"]["SlackChannelListResponse"];
|
|
14933
|
-
};
|
|
14934
|
-
};
|
|
14935
|
-
/** @description Invalid request. */
|
|
14936
|
-
400: {
|
|
14937
|
-
headers: {
|
|
14938
|
-
[name: string]: unknown;
|
|
14939
|
-
};
|
|
14940
|
-
content: {
|
|
14941
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
14942
|
-
};
|
|
14943
|
-
};
|
|
14944
|
-
};
|
|
14945
|
-
};
|
|
14946
15288
|
getSlackFileMetadata: {
|
|
14947
15289
|
parameters: {
|
|
14948
15290
|
query?: never;
|
|
@@ -15457,102 +15799,74 @@ export interface operations {
|
|
|
15457
15799
|
};
|
|
15458
15800
|
};
|
|
15459
15801
|
};
|
|
15460
|
-
|
|
15802
|
+
listSlackChannelsV2: {
|
|
15461
15803
|
parameters: {
|
|
15462
15804
|
query?: never;
|
|
15463
15805
|
header?: never;
|
|
15464
|
-
path
|
|
15465
|
-
/** @description Channel subscription ID. */
|
|
15466
|
-
id: number;
|
|
15467
|
-
};
|
|
15806
|
+
path?: never;
|
|
15468
15807
|
cookie?: never;
|
|
15469
15808
|
};
|
|
15470
15809
|
requestBody?: never;
|
|
15471
15810
|
responses: {
|
|
15472
|
-
/** @description The
|
|
15811
|
+
/** @description The organization's active Slack channels. */
|
|
15473
15812
|
200: {
|
|
15474
15813
|
headers: {
|
|
15475
15814
|
[name: string]: unknown;
|
|
15476
15815
|
};
|
|
15477
15816
|
content: {
|
|
15478
|
-
"application/json": components["schemas"]["
|
|
15479
|
-
};
|
|
15480
|
-
};
|
|
15481
|
-
/** @description Invalid request. */
|
|
15482
|
-
400: {
|
|
15483
|
-
headers: {
|
|
15484
|
-
[name: string]: unknown;
|
|
15485
|
-
};
|
|
15486
|
-
content: {
|
|
15487
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
15488
|
-
};
|
|
15489
|
-
};
|
|
15490
|
-
/** @description Channel not found. */
|
|
15491
|
-
404: {
|
|
15492
|
-
headers: {
|
|
15493
|
-
[name: string]: unknown;
|
|
15494
|
-
};
|
|
15495
|
-
content: {
|
|
15496
|
-
"application/json": {
|
|
15497
|
-
/** @description Error message. */
|
|
15498
|
-
error: string;
|
|
15499
|
-
};
|
|
15817
|
+
"application/json": components["schemas"]["SlackChannelListV2Response"];
|
|
15500
15818
|
};
|
|
15501
15819
|
};
|
|
15502
15820
|
};
|
|
15503
15821
|
};
|
|
15504
|
-
|
|
15822
|
+
refreshSlackChannelV2: {
|
|
15505
15823
|
parameters: {
|
|
15506
15824
|
query?: never;
|
|
15507
15825
|
header?: never;
|
|
15508
15826
|
path: {
|
|
15509
|
-
/** @description
|
|
15827
|
+
/** @description Canonical Slack channel ID. */
|
|
15510
15828
|
id: number;
|
|
15511
15829
|
};
|
|
15512
15830
|
cookie?: never;
|
|
15513
15831
|
};
|
|
15514
|
-
requestBody?:
|
|
15515
|
-
content: {
|
|
15516
|
-
"application/json": {
|
|
15517
|
-
/** @description Environments this channel is subscribed to. */
|
|
15518
|
-
subscribed_environments?: string[];
|
|
15519
|
-
/** @description Whether the channel filters by environment. */
|
|
15520
|
-
is_env_specific?: boolean;
|
|
15521
|
-
};
|
|
15522
|
-
};
|
|
15523
|
-
};
|
|
15832
|
+
requestBody?: never;
|
|
15524
15833
|
responses: {
|
|
15525
|
-
/** @description The
|
|
15834
|
+
/** @description The channel after the refresh, with live validation. */
|
|
15526
15835
|
200: {
|
|
15527
15836
|
headers: {
|
|
15528
15837
|
[name: string]: unknown;
|
|
15529
15838
|
};
|
|
15530
15839
|
content: {
|
|
15531
|
-
"application/json": components["schemas"]["
|
|
15840
|
+
"application/json": components["schemas"]["SlackChannelRefreshV2Response"];
|
|
15532
15841
|
};
|
|
15533
15842
|
};
|
|
15534
|
-
/** @description
|
|
15535
|
-
|
|
15843
|
+
/** @description Channel not found in the scoped project's organization. */
|
|
15844
|
+
404: {
|
|
15536
15845
|
headers: {
|
|
15537
15846
|
[name: string]: unknown;
|
|
15538
15847
|
};
|
|
15539
15848
|
content: {
|
|
15540
|
-
"application/json": components["schemas"]["ErrorResponse"]
|
|
15541
|
-
/** @description Error message. */
|
|
15542
|
-
error: string;
|
|
15543
|
-
};
|
|
15849
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
15544
15850
|
};
|
|
15545
15851
|
};
|
|
15546
|
-
|
|
15547
|
-
|
|
15852
|
+
};
|
|
15853
|
+
};
|
|
15854
|
+
validateSlackChannelsV2: {
|
|
15855
|
+
parameters: {
|
|
15856
|
+
query?: never;
|
|
15857
|
+
header?: never;
|
|
15858
|
+
path?: never;
|
|
15859
|
+
cookie?: never;
|
|
15860
|
+
};
|
|
15861
|
+
requestBody?: never;
|
|
15862
|
+
responses: {
|
|
15863
|
+
/** @description The organization's active Slack channels with live validation results. */
|
|
15864
|
+
200: {
|
|
15548
15865
|
headers: {
|
|
15549
15866
|
[name: string]: unknown;
|
|
15550
15867
|
};
|
|
15551
15868
|
content: {
|
|
15552
|
-
"application/json":
|
|
15553
|
-
/** @description Error message. */
|
|
15554
|
-
error: string;
|
|
15555
|
-
};
|
|
15869
|
+
"application/json": components["schemas"]["SlackChannelValidationListV2Response"];
|
|
15556
15870
|
};
|
|
15557
15871
|
};
|
|
15558
15872
|
};
|
|
@@ -16507,10 +16821,12 @@ export interface operations {
|
|
|
16507
16821
|
per_page?: number;
|
|
16508
16822
|
/** @description Row order. `scheduled` (default) is manifest order โ stable for a finished run. `recent` is most-recently-completed first, for the live view of an active run. */
|
|
16509
16823
|
order?: "scheduled" | "recent";
|
|
16824
|
+
/** @description When `true`, also returns cases that have reported at least one attempt but still have retries outstanding, marked `is_retrying: true`. Their `status` is provisional (from the attempts so far) and can change when the remaining retries land. Defaults to `false`. */
|
|
16825
|
+
include_retrying?: "true" | "false";
|
|
16510
16826
|
};
|
|
16511
16827
|
header?: never;
|
|
16512
16828
|
path: {
|
|
16513
|
-
/** @description Test run ID. */
|
|
16829
|
+
/** @description Test run database ID. */
|
|
16514
16830
|
id: number;
|
|
16515
16831
|
};
|
|
16516
16832
|
cookie?: never;
|
|
@@ -16548,10 +16864,13 @@ export interface operations {
|
|
|
16548
16864
|
};
|
|
16549
16865
|
getTestRunCase: {
|
|
16550
16866
|
parameters: {
|
|
16551
|
-
query?:
|
|
16867
|
+
query?: {
|
|
16868
|
+
/** @description When `true`, also returns cases that have reported at least one attempt but still have retries outstanding, marked `is_retrying: true`. Their `status` is provisional (from the attempts so far) and can change when the remaining retries land. Defaults to `false`. */
|
|
16869
|
+
include_retrying?: "true" | "false";
|
|
16870
|
+
};
|
|
16552
16871
|
header?: never;
|
|
16553
16872
|
path: {
|
|
16554
|
-
/** @description Test run ID. */
|
|
16873
|
+
/** @description Test run database ID. */
|
|
16555
16874
|
id: number;
|
|
16556
16875
|
/** @description Playwright test ID (`pw_test_id`) of the case. */
|
|
16557
16876
|
case_id: string;
|
|
@@ -16918,7 +17237,7 @@ export interface operations {
|
|
|
16918
17237
|
entity_type: string;
|
|
16919
17238
|
/** @description Exact entity id, or null when this trigger matches every entity. */
|
|
16920
17239
|
entity_id: string | null;
|
|
16921
|
-
/** @description Optional payload equality filters. Keys must be allowed for the selected event in the canonical event catalog. */
|
|
17240
|
+
/** @description Optional payload equality filters. Keys must be allowed for the selected event in the canonical event catalog, and enum-like fields only accept the values the event emits. */
|
|
16922
17241
|
payload_filter: {
|
|
16923
17242
|
[key: string]: string | number | boolean | unknown;
|
|
16924
17243
|
};
|
|
@@ -16965,7 +17284,7 @@ export interface operations {
|
|
|
16965
17284
|
event_type: string;
|
|
16966
17285
|
/** @description Exact canonical entity id to match. Omit on create, or set null on update, to match every entity. */
|
|
16967
17286
|
entity_id?: string;
|
|
16968
|
-
/** @description Optional payload equality filters. Keys must be allowed for the selected event in the canonical event catalog. */
|
|
17287
|
+
/** @description Optional payload equality filters. Keys must be allowed for the selected event in the canonical event catalog, and enum-like fields only accept the values the event emits. */
|
|
16969
17288
|
payload_filter?: {
|
|
16970
17289
|
[key: string]: string | number | boolean | unknown;
|
|
16971
17290
|
};
|
|
@@ -16996,7 +17315,7 @@ export interface operations {
|
|
|
16996
17315
|
entity_type: string;
|
|
16997
17316
|
/** @description Exact entity id, or null when this trigger matches every entity. */
|
|
16998
17317
|
entity_id: string | null;
|
|
16999
|
-
/** @description Optional payload equality filters. Keys must be allowed for the selected event in the canonical event catalog. */
|
|
17318
|
+
/** @description Optional payload equality filters. Keys must be allowed for the selected event in the canonical event catalog, and enum-like fields only accept the values the event emits. */
|
|
17000
17319
|
payload_filter: {
|
|
17001
17320
|
[key: string]: string | number | boolean | unknown;
|
|
17002
17321
|
};
|
|
@@ -17070,7 +17389,7 @@ export interface operations {
|
|
|
17070
17389
|
entity_type: string;
|
|
17071
17390
|
/** @description Exact entity id, or null when this trigger matches every entity. */
|
|
17072
17391
|
entity_id: string | null;
|
|
17073
|
-
/** @description Optional payload equality filters. Keys must be allowed for the selected event in the canonical event catalog. */
|
|
17392
|
+
/** @description Optional payload equality filters. Keys must be allowed for the selected event in the canonical event catalog, and enum-like fields only accept the values the event emits. */
|
|
17074
17393
|
payload_filter: {
|
|
17075
17394
|
[key: string]: string | number | boolean | unknown;
|
|
17076
17395
|
};
|
|
@@ -17145,7 +17464,7 @@ export interface operations {
|
|
|
17145
17464
|
event_type?: string;
|
|
17146
17465
|
/** @description Exact canonical entity id to match. Omit on create, or set null on update, to match every entity. */
|
|
17147
17466
|
entity_id?: string | null;
|
|
17148
|
-
/** @description Optional payload equality filters. Keys must be allowed for the selected event in the canonical event catalog. */
|
|
17467
|
+
/** @description Optional payload equality filters. Keys must be allowed for the selected event in the canonical event catalog, and enum-like fields only accept the values the event emits. */
|
|
17149
17468
|
payload_filter?: {
|
|
17150
17469
|
[key: string]: string | number | boolean | unknown;
|
|
17151
17470
|
};
|
|
@@ -17176,7 +17495,7 @@ export interface operations {
|
|
|
17176
17495
|
entity_type: string;
|
|
17177
17496
|
/** @description Exact entity id, or null when this trigger matches every entity. */
|
|
17178
17497
|
entity_id: string | null;
|
|
17179
|
-
/** @description Optional payload equality filters. Keys must be allowed for the selected event in the canonical event catalog. */
|
|
17498
|
+
/** @description Optional payload equality filters. Keys must be allowed for the selected event in the canonical event catalog, and enum-like fields only accept the values the event emits. */
|
|
17180
17499
|
payload_filter: {
|
|
17181
17500
|
[key: string]: string | number | boolean | unknown;
|
|
17182
17501
|
};
|
|
@@ -17246,7 +17565,7 @@ export interface operations {
|
|
|
17246
17565
|
"application/json": unknown;
|
|
17247
17566
|
};
|
|
17248
17567
|
};
|
|
17249
|
-
/** @description A proxy rule rejected the request, or GitHub returned a client error. */
|
|
17568
|
+
/** @description A proxy rule rejected the request (including a squash or rebase PR merge), or GitHub returned a client error. */
|
|
17250
17569
|
400: {
|
|
17251
17570
|
headers: {
|
|
17252
17571
|
[name: string]: unknown;
|
|
@@ -17255,7 +17574,7 @@ export interface operations {
|
|
|
17255
17574
|
"application/json": components["schemas"]["GithubProxyError"];
|
|
17256
17575
|
};
|
|
17257
17576
|
};
|
|
17258
|
-
/** @description The target repository is blocked, or a sandbox proxy rule forbade the request. */
|
|
17577
|
+
/** @description The target repository is blocked, the request writes to a protected branch, a project API key attempted a write, or a sandbox proxy rule forbade the request. */
|
|
17259
17578
|
403: {
|
|
17260
17579
|
headers: {
|
|
17261
17580
|
[name: string]: unknown;
|
|
@@ -17836,6 +18155,8 @@ export interface operations {
|
|
|
17836
18155
|
page?: number;
|
|
17837
18156
|
/** @description Items per page. Default 10. */
|
|
17838
18157
|
per_page?: number;
|
|
18158
|
+
/** @description Optional Manager sidebar category: executor sessions, or all non-manager/non-executor user-facing sessions. */
|
|
18159
|
+
category?: "executor" | "user";
|
|
17839
18160
|
/** @description Comma-separated project IDs to include. */
|
|
17840
18161
|
project_ids?: string;
|
|
17841
18162
|
/** @description Comma-separated project IDs to exclude. */
|
|
@@ -17897,6 +18218,7 @@ export interface operations {
|
|
|
17897
18218
|
source?: string | null;
|
|
17898
18219
|
source_identifier?: string | null;
|
|
17899
18220
|
model?: string | null;
|
|
18221
|
+
/** @description Deprecated. Sessions start on the project default branch; a different branch is added to `message` as an instruction to work from it. */
|
|
17900
18222
|
base_branch?: string | null;
|
|
17901
18223
|
created_by?: string | null;
|
|
17902
18224
|
};
|
|
@@ -18580,6 +18902,15 @@ export interface operations {
|
|
|
18580
18902
|
"application/json": components["schemas"]["ErrorResponse"];
|
|
18581
18903
|
};
|
|
18582
18904
|
};
|
|
18905
|
+
/** @description Billing admission denied. */
|
|
18906
|
+
402: {
|
|
18907
|
+
headers: {
|
|
18908
|
+
[name: string]: unknown;
|
|
18909
|
+
};
|
|
18910
|
+
content: {
|
|
18911
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18912
|
+
};
|
|
18913
|
+
};
|
|
18583
18914
|
/** @description Chat session not found. */
|
|
18584
18915
|
404: {
|
|
18585
18916
|
headers: {
|
|
@@ -18692,12 +19023,9 @@ export interface operations {
|
|
|
18692
19023
|
};
|
|
18693
19024
|
};
|
|
18694
19025
|
};
|
|
18695
|
-
|
|
19026
|
+
getChatSessionSandboxHealth: {
|
|
18696
19027
|
parameters: {
|
|
18697
|
-
query?:
|
|
18698
|
-
/** @description Absolute path inside the sandbox. */
|
|
18699
|
-
path?: string;
|
|
18700
|
-
};
|
|
19028
|
+
query?: never;
|
|
18701
19029
|
header?: never;
|
|
18702
19030
|
path: {
|
|
18703
19031
|
/** @description Chat session ID. */
|
|
@@ -18707,31 +19035,22 @@ export interface operations {
|
|
|
18707
19035
|
};
|
|
18708
19036
|
requestBody?: never;
|
|
18709
19037
|
responses: {
|
|
18710
|
-
/** @description
|
|
19038
|
+
/** @description Sandbox health. */
|
|
18711
19039
|
200: {
|
|
18712
19040
|
headers: {
|
|
18713
19041
|
[name: string]: unknown;
|
|
18714
19042
|
};
|
|
18715
19043
|
content: {
|
|
18716
|
-
"application/json": components["schemas"]["
|
|
19044
|
+
"application/json": components["schemas"]["SandboxHealthResult"];
|
|
18717
19045
|
};
|
|
18718
19046
|
};
|
|
18719
|
-
/** @description
|
|
19047
|
+
/** @description Invalid request. */
|
|
18720
19048
|
400: {
|
|
18721
19049
|
headers: {
|
|
18722
19050
|
[name: string]: unknown;
|
|
18723
19051
|
};
|
|
18724
19052
|
content: {
|
|
18725
|
-
"application/json": components["schemas"]["
|
|
18726
|
-
};
|
|
18727
|
-
};
|
|
18728
|
-
/** @description Forbidden. */
|
|
18729
|
-
403: {
|
|
18730
|
-
headers: {
|
|
18731
|
-
[name: string]: unknown;
|
|
18732
|
-
};
|
|
18733
|
-
content: {
|
|
18734
|
-
"application/json": components["schemas"]["SandboxErrorMessage"];
|
|
19053
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18735
19054
|
};
|
|
18736
19055
|
};
|
|
18737
19056
|
/** @description Sandbox not found. */
|
|
@@ -18743,102 +19062,8 @@ export interface operations {
|
|
|
18743
19062
|
"application/json": components["schemas"]["SandboxErrorMessage"];
|
|
18744
19063
|
};
|
|
18745
19064
|
};
|
|
18746
|
-
|
|
18747
|
-
|
|
18748
|
-
getChatSessionSandboxFileContent: {
|
|
18749
|
-
parameters: {
|
|
18750
|
-
query?: {
|
|
18751
|
-
/** @description Absolute path inside the sandbox. */
|
|
18752
|
-
path?: string;
|
|
18753
|
-
};
|
|
18754
|
-
header?: never;
|
|
18755
|
-
path: {
|
|
18756
|
-
/** @description Chat session ID. */
|
|
18757
|
-
id: number;
|
|
18758
|
-
};
|
|
18759
|
-
cookie?: never;
|
|
18760
|
-
};
|
|
18761
|
-
requestBody?: never;
|
|
18762
|
-
responses: {
|
|
18763
|
-
/** @description File content. */
|
|
18764
|
-
200: {
|
|
18765
|
-
headers: {
|
|
18766
|
-
[name: string]: unknown;
|
|
18767
|
-
};
|
|
18768
|
-
content: {
|
|
18769
|
-
"application/json": components["schemas"]["SandboxFileContent"];
|
|
18770
|
-
};
|
|
18771
|
-
};
|
|
18772
|
-
/** @description Missing path. */
|
|
18773
|
-
400: {
|
|
18774
|
-
headers: {
|
|
18775
|
-
[name: string]: unknown;
|
|
18776
|
-
};
|
|
18777
|
-
content: {
|
|
18778
|
-
"application/json": components["schemas"]["SandboxFileContentError"];
|
|
18779
|
-
};
|
|
18780
|
-
};
|
|
18781
|
-
/** @description Forbidden. */
|
|
18782
|
-
403: {
|
|
18783
|
-
headers: {
|
|
18784
|
-
[name: string]: unknown;
|
|
18785
|
-
};
|
|
18786
|
-
content: {
|
|
18787
|
-
"application/json": components["schemas"]["SandboxFileContentError"];
|
|
18788
|
-
};
|
|
18789
|
-
};
|
|
18790
|
-
/** @description Not found. */
|
|
18791
|
-
404: {
|
|
18792
|
-
headers: {
|
|
18793
|
-
[name: string]: unknown;
|
|
18794
|
-
};
|
|
18795
|
-
content: {
|
|
18796
|
-
"application/json": components["schemas"]["SandboxFileContentError"];
|
|
18797
|
-
};
|
|
18798
|
-
};
|
|
18799
|
-
/** @description File too large. */
|
|
18800
|
-
413: {
|
|
18801
|
-
headers: {
|
|
18802
|
-
[name: string]: unknown;
|
|
18803
|
-
};
|
|
18804
|
-
content: {
|
|
18805
|
-
"application/json": components["schemas"]["SandboxFileContentError"];
|
|
18806
|
-
};
|
|
18807
|
-
};
|
|
18808
|
-
};
|
|
18809
|
-
};
|
|
18810
|
-
getChatSessionSandboxHealth: {
|
|
18811
|
-
parameters: {
|
|
18812
|
-
query?: never;
|
|
18813
|
-
header?: never;
|
|
18814
|
-
path: {
|
|
18815
|
-
/** @description Chat session ID. */
|
|
18816
|
-
id: number;
|
|
18817
|
-
};
|
|
18818
|
-
cookie?: never;
|
|
18819
|
-
};
|
|
18820
|
-
requestBody?: never;
|
|
18821
|
-
responses: {
|
|
18822
|
-
/** @description Sandbox health. */
|
|
18823
|
-
200: {
|
|
18824
|
-
headers: {
|
|
18825
|
-
[name: string]: unknown;
|
|
18826
|
-
};
|
|
18827
|
-
content: {
|
|
18828
|
-
"application/json": components["schemas"]["SandboxHealthResult"];
|
|
18829
|
-
};
|
|
18830
|
-
};
|
|
18831
|
-
/** @description Invalid request. */
|
|
18832
|
-
400: {
|
|
18833
|
-
headers: {
|
|
18834
|
-
[name: string]: unknown;
|
|
18835
|
-
};
|
|
18836
|
-
content: {
|
|
18837
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
18838
|
-
};
|
|
18839
|
-
};
|
|
18840
|
-
/** @description Sandbox not found. */
|
|
18841
|
-
404: {
|
|
19065
|
+
/** @description Sandbox is paused. */
|
|
19066
|
+
409: {
|
|
18842
19067
|
headers: {
|
|
18843
19068
|
[name: string]: unknown;
|
|
18844
19069
|
};
|
|
@@ -18887,75 +19112,25 @@ export interface operations {
|
|
|
18887
19112
|
[name: string]: unknown;
|
|
18888
19113
|
};
|
|
18889
19114
|
content: {
|
|
18890
|
-
"application/json": components["schemas"]["SandboxLifecycleResult"];
|
|
18891
|
-
};
|
|
18892
|
-
};
|
|
18893
|
-
/** @description Invalid request. */
|
|
18894
|
-
400: {
|
|
18895
|
-
headers: {
|
|
18896
|
-
[name: string]: unknown;
|
|
18897
|
-
};
|
|
18898
|
-
content: {
|
|
18899
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
18900
|
-
};
|
|
18901
|
-
};
|
|
18902
|
-
/** @description The session DO rejected the event. */
|
|
18903
|
-
502: {
|
|
18904
|
-
headers: {
|
|
18905
|
-
[name: string]: unknown;
|
|
18906
|
-
};
|
|
18907
|
-
content: {
|
|
18908
|
-
"application/json": components["schemas"]["SandboxLifecycleResult"];
|
|
18909
|
-
};
|
|
18910
|
-
};
|
|
18911
|
-
};
|
|
18912
|
-
};
|
|
18913
|
-
getChatSessionSandboxSessionFile: {
|
|
18914
|
-
parameters: {
|
|
18915
|
-
query?: never;
|
|
18916
|
-
header?: never;
|
|
18917
|
-
path: {
|
|
18918
|
-
/** @description Chat session ID. */
|
|
18919
|
-
id: number;
|
|
18920
|
-
};
|
|
18921
|
-
cookie?: never;
|
|
18922
|
-
};
|
|
18923
|
-
requestBody?: never;
|
|
18924
|
-
responses: {
|
|
18925
|
-
/** @description The session.jsonl file (served as a binary download). */
|
|
18926
|
-
200: {
|
|
18927
|
-
headers: {
|
|
18928
|
-
[name: string]: unknown;
|
|
18929
|
-
};
|
|
18930
|
-
content: {
|
|
18931
|
-
"application/octet-stream": string;
|
|
18932
|
-
};
|
|
18933
|
-
};
|
|
18934
|
-
/** @description Invalid request. */
|
|
18935
|
-
400: {
|
|
18936
|
-
headers: {
|
|
18937
|
-
[name: string]: unknown;
|
|
18938
|
-
};
|
|
18939
|
-
content: {
|
|
18940
|
-
"application/json": components["schemas"]["ErrorResponse"];
|
|
19115
|
+
"application/json": components["schemas"]["SandboxLifecycleResult"];
|
|
18941
19116
|
};
|
|
18942
19117
|
};
|
|
18943
|
-
/** @description
|
|
18944
|
-
|
|
19118
|
+
/** @description Invalid request. */
|
|
19119
|
+
400: {
|
|
18945
19120
|
headers: {
|
|
18946
19121
|
[name: string]: unknown;
|
|
18947
19122
|
};
|
|
18948
19123
|
content: {
|
|
18949
|
-
"application/json": components["schemas"]["
|
|
19124
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
18950
19125
|
};
|
|
18951
19126
|
};
|
|
18952
|
-
/** @description
|
|
18953
|
-
|
|
19127
|
+
/** @description The session DO rejected the event. */
|
|
19128
|
+
502: {
|
|
18954
19129
|
headers: {
|
|
18955
19130
|
[name: string]: unknown;
|
|
18956
19131
|
};
|
|
18957
19132
|
content: {
|
|
18958
|
-
"application/json": components["schemas"]["
|
|
19133
|
+
"application/json": components["schemas"]["SandboxLifecycleResult"];
|
|
18959
19134
|
};
|
|
18960
19135
|
};
|
|
18961
19136
|
};
|
|
@@ -19806,6 +19981,62 @@ export interface operations {
|
|
|
19806
19981
|
};
|
|
19807
19982
|
};
|
|
19808
19983
|
};
|
|
19984
|
+
searchRepositoryBranches: {
|
|
19985
|
+
parameters: {
|
|
19986
|
+
query: {
|
|
19987
|
+
/** @description Repository owner. */
|
|
19988
|
+
owner: string;
|
|
19989
|
+
/** @description Repository name. */
|
|
19990
|
+
repo: string;
|
|
19991
|
+
/** @description Branch-name search text. */
|
|
19992
|
+
query?: string;
|
|
19993
|
+
/** @description Maximum number of matching branches to return. */
|
|
19994
|
+
limit?: number;
|
|
19995
|
+
};
|
|
19996
|
+
header?: never;
|
|
19997
|
+
path?: never;
|
|
19998
|
+
cookie?: never;
|
|
19999
|
+
};
|
|
20000
|
+
requestBody?: never;
|
|
20001
|
+
responses: {
|
|
20002
|
+
/** @description Matching repository branches. */
|
|
20003
|
+
200: {
|
|
20004
|
+
headers: {
|
|
20005
|
+
[name: string]: unknown;
|
|
20006
|
+
};
|
|
20007
|
+
content: {
|
|
20008
|
+
"application/json": components["schemas"]["GithubBranchSearchResponse"];
|
|
20009
|
+
};
|
|
20010
|
+
};
|
|
20011
|
+
/** @description Repository access is blocked. */
|
|
20012
|
+
403: {
|
|
20013
|
+
headers: {
|
|
20014
|
+
[name: string]: unknown;
|
|
20015
|
+
};
|
|
20016
|
+
content: {
|
|
20017
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20018
|
+
};
|
|
20019
|
+
};
|
|
20020
|
+
/** @description Repository not found. */
|
|
20021
|
+
404: {
|
|
20022
|
+
headers: {
|
|
20023
|
+
[name: string]: unknown;
|
|
20024
|
+
};
|
|
20025
|
+
content: {
|
|
20026
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20027
|
+
};
|
|
20028
|
+
};
|
|
20029
|
+
/** @description GitHub rejected the branch search. */
|
|
20030
|
+
502: {
|
|
20031
|
+
headers: {
|
|
20032
|
+
[name: string]: unknown;
|
|
20033
|
+
};
|
|
20034
|
+
content: {
|
|
20035
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20036
|
+
};
|
|
20037
|
+
};
|
|
20038
|
+
};
|
|
20039
|
+
};
|
|
19809
20040
|
getCommitDiff: {
|
|
19810
20041
|
parameters: {
|
|
19811
20042
|
query: {
|
|
@@ -20235,7 +20466,7 @@ export interface operations {
|
|
|
20235
20466
|
"application/json": components["schemas"]["GithubPrMergeResponse"];
|
|
20236
20467
|
};
|
|
20237
20468
|
};
|
|
20238
|
-
/** @description The PR is not open or
|
|
20469
|
+
/** @description The PR is not open, not mergeable, or GitHub refused the merge. */
|
|
20239
20470
|
400: {
|
|
20240
20471
|
headers: {
|
|
20241
20472
|
[name: string]: unknown;
|
|
@@ -20363,6 +20594,49 @@ export interface operations {
|
|
|
20363
20594
|
};
|
|
20364
20595
|
};
|
|
20365
20596
|
};
|
|
20597
|
+
listReporterDeliveries: {
|
|
20598
|
+
parameters: {
|
|
20599
|
+
query: {
|
|
20600
|
+
/** @description Project whose reporter deliveries to list. */
|
|
20601
|
+
project_id: number;
|
|
20602
|
+
/** @description Max rows per delivery kind (newest first). */
|
|
20603
|
+
limit?: number;
|
|
20604
|
+
};
|
|
20605
|
+
header?: never;
|
|
20606
|
+
path?: never;
|
|
20607
|
+
cookie?: never;
|
|
20608
|
+
};
|
|
20609
|
+
requestBody?: never;
|
|
20610
|
+
responses: {
|
|
20611
|
+
/** @description Reporter check runs and PR comments. */
|
|
20612
|
+
200: {
|
|
20613
|
+
headers: {
|
|
20614
|
+
[name: string]: unknown;
|
|
20615
|
+
};
|
|
20616
|
+
content: {
|
|
20617
|
+
"application/json": components["schemas"]["GhReporterDeliveriesResponse"];
|
|
20618
|
+
};
|
|
20619
|
+
};
|
|
20620
|
+
/** @description Project does not belong to an org. */
|
|
20621
|
+
400: {
|
|
20622
|
+
headers: {
|
|
20623
|
+
[name: string]: unknown;
|
|
20624
|
+
};
|
|
20625
|
+
content: {
|
|
20626
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20627
|
+
};
|
|
20628
|
+
};
|
|
20629
|
+
/** @description Project not found. */
|
|
20630
|
+
404: {
|
|
20631
|
+
headers: {
|
|
20632
|
+
[name: string]: unknown;
|
|
20633
|
+
};
|
|
20634
|
+
content: {
|
|
20635
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
20636
|
+
};
|
|
20637
|
+
};
|
|
20638
|
+
};
|
|
20639
|
+
};
|
|
20366
20640
|
receiveReporterGithubEvent: {
|
|
20367
20641
|
parameters: {
|
|
20368
20642
|
query?: never;
|
|
@@ -22887,6 +23161,38 @@ export interface operations {
|
|
|
22887
23161
|
};
|
|
22888
23162
|
};
|
|
22889
23163
|
};
|
|
23164
|
+
listMemoryActivity: {
|
|
23165
|
+
parameters: {
|
|
23166
|
+
query?: {
|
|
23167
|
+
/** @description Window for the `daily` series, in days back from now. Per-memory stats always cover full history. Defaults to 90. */
|
|
23168
|
+
since_days?: number;
|
|
23169
|
+
};
|
|
23170
|
+
header?: never;
|
|
23171
|
+
path?: never;
|
|
23172
|
+
cookie?: never;
|
|
23173
|
+
};
|
|
23174
|
+
requestBody?: never;
|
|
23175
|
+
responses: {
|
|
23176
|
+
/** @description Memory activity. */
|
|
23177
|
+
200: {
|
|
23178
|
+
headers: {
|
|
23179
|
+
[name: string]: unknown;
|
|
23180
|
+
};
|
|
23181
|
+
content: {
|
|
23182
|
+
"application/json": components["schemas"]["MemoryActivityResponse"];
|
|
23183
|
+
};
|
|
23184
|
+
};
|
|
23185
|
+
/** @description Invalid request. */
|
|
23186
|
+
400: {
|
|
23187
|
+
headers: {
|
|
23188
|
+
[name: string]: unknown;
|
|
23189
|
+
};
|
|
23190
|
+
content: {
|
|
23191
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
23192
|
+
};
|
|
23193
|
+
};
|
|
23194
|
+
};
|
|
23195
|
+
};
|
|
22890
23196
|
getProjectMetricsLast7Days: {
|
|
22891
23197
|
parameters: {
|
|
22892
23198
|
query?: never;
|
|
@@ -24052,9 +24358,8 @@ export interface operations {
|
|
|
24052
24358
|
"application/json": {
|
|
24053
24359
|
name?: string;
|
|
24054
24360
|
has_email_reporting?: boolean;
|
|
24055
|
-
has_branching_enabled?: boolean;
|
|
24056
24361
|
default_branch?: string;
|
|
24057
|
-
|
|
24362
|
+
protected_branches?: string[];
|
|
24058
24363
|
/**
|
|
24059
24364
|
* @deprecated
|
|
24060
24365
|
* @description Read-only. Set `concurrency` on the trigger request or `scheduled_concurrency` on the environment instead.
|
|
@@ -24173,8 +24478,6 @@ export interface operations {
|
|
|
24173
24478
|
per_page?: number;
|
|
24174
24479
|
/** @description Look-back window in days (max 365). */
|
|
24175
24480
|
days?: number;
|
|
24176
|
-
/** @description Filter branches by status, or `all`. */
|
|
24177
|
-
status?: string;
|
|
24178
24481
|
};
|
|
24179
24482
|
header?: never;
|
|
24180
24483
|
path: {
|
|
@@ -24411,6 +24714,120 @@ export interface operations {
|
|
|
24411
24714
|
};
|
|
24412
24715
|
};
|
|
24413
24716
|
};
|
|
24717
|
+
checkProjectRepoSettings: {
|
|
24718
|
+
parameters: {
|
|
24719
|
+
query?: {
|
|
24720
|
+
/** @description Check this GitHub owner's repo instead of the project's (e.g. a repo transfer destination). Requires `repo_name`; can't be `empirical-run`. */
|
|
24721
|
+
repo_owner?: string;
|
|
24722
|
+
/** @description Repository name to check, with `repo_owner`. */
|
|
24723
|
+
repo_name?: string;
|
|
24724
|
+
};
|
|
24725
|
+
header?: never;
|
|
24726
|
+
path: {
|
|
24727
|
+
/** @description Project ID. */
|
|
24728
|
+
id: number;
|
|
24729
|
+
};
|
|
24730
|
+
cookie?: never;
|
|
24731
|
+
};
|
|
24732
|
+
requestBody?: never;
|
|
24733
|
+
responses: {
|
|
24734
|
+
/** @description Check results. */
|
|
24735
|
+
200: {
|
|
24736
|
+
headers: {
|
|
24737
|
+
[name: string]: unknown;
|
|
24738
|
+
};
|
|
24739
|
+
content: {
|
|
24740
|
+
"application/json": components["schemas"]["RepoSettingsCheckResponse"];
|
|
24741
|
+
};
|
|
24742
|
+
};
|
|
24743
|
+
/** @description Project has no GitHub repository, or invalid target. */
|
|
24744
|
+
400: {
|
|
24745
|
+
headers: {
|
|
24746
|
+
[name: string]: unknown;
|
|
24747
|
+
};
|
|
24748
|
+
content: {
|
|
24749
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
24750
|
+
};
|
|
24751
|
+
};
|
|
24752
|
+
/** @description Project not found. */
|
|
24753
|
+
404: {
|
|
24754
|
+
headers: {
|
|
24755
|
+
[name: string]: unknown;
|
|
24756
|
+
};
|
|
24757
|
+
content: {
|
|
24758
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
24759
|
+
};
|
|
24760
|
+
};
|
|
24761
|
+
/** @description GitHub request failed. */
|
|
24762
|
+
502: {
|
|
24763
|
+
headers: {
|
|
24764
|
+
[name: string]: unknown;
|
|
24765
|
+
};
|
|
24766
|
+
content: {
|
|
24767
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
24768
|
+
};
|
|
24769
|
+
};
|
|
24770
|
+
};
|
|
24771
|
+
};
|
|
24772
|
+
fixProjectRepoSettings: {
|
|
24773
|
+
parameters: {
|
|
24774
|
+
query?: never;
|
|
24775
|
+
header?: never;
|
|
24776
|
+
path: {
|
|
24777
|
+
/** @description Project ID. */
|
|
24778
|
+
id: number;
|
|
24779
|
+
};
|
|
24780
|
+
cookie?: never;
|
|
24781
|
+
};
|
|
24782
|
+
requestBody?: never;
|
|
24783
|
+
responses: {
|
|
24784
|
+
/** @description Re-checked results. */
|
|
24785
|
+
200: {
|
|
24786
|
+
headers: {
|
|
24787
|
+
[name: string]: unknown;
|
|
24788
|
+
};
|
|
24789
|
+
content: {
|
|
24790
|
+
"application/json": components["schemas"]["RepoSettingsCheckResponse"];
|
|
24791
|
+
};
|
|
24792
|
+
};
|
|
24793
|
+
/** @description Project has no GitHub repository. */
|
|
24794
|
+
400: {
|
|
24795
|
+
headers: {
|
|
24796
|
+
[name: string]: unknown;
|
|
24797
|
+
};
|
|
24798
|
+
content: {
|
|
24799
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
24800
|
+
};
|
|
24801
|
+
};
|
|
24802
|
+
/** @description Repository isn't owned by empirical-run. */
|
|
24803
|
+
403: {
|
|
24804
|
+
headers: {
|
|
24805
|
+
[name: string]: unknown;
|
|
24806
|
+
};
|
|
24807
|
+
content: {
|
|
24808
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
24809
|
+
};
|
|
24810
|
+
};
|
|
24811
|
+
/** @description Project not found. */
|
|
24812
|
+
404: {
|
|
24813
|
+
headers: {
|
|
24814
|
+
[name: string]: unknown;
|
|
24815
|
+
};
|
|
24816
|
+
content: {
|
|
24817
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
24818
|
+
};
|
|
24819
|
+
};
|
|
24820
|
+
/** @description GitHub request failed. */
|
|
24821
|
+
502: {
|
|
24822
|
+
headers: {
|
|
24823
|
+
[name: string]: unknown;
|
|
24824
|
+
};
|
|
24825
|
+
content: {
|
|
24826
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
24827
|
+
};
|
|
24828
|
+
};
|
|
24829
|
+
};
|
|
24830
|
+
};
|
|
24414
24831
|
triggerProjectTestCasesSync: {
|
|
24415
24832
|
parameters: {
|
|
24416
24833
|
query?: never;
|
|
@@ -25915,7 +26332,7 @@ export interface operations {
|
|
|
25915
26332
|
query?: never;
|
|
25916
26333
|
header?: never;
|
|
25917
26334
|
path: {
|
|
25918
|
-
/** @description Test run database
|
|
26335
|
+
/** @description Test run database ID. */
|
|
25919
26336
|
id: number;
|
|
25920
26337
|
};
|
|
25921
26338
|
cookie?: never;
|
|
@@ -25956,7 +26373,7 @@ export interface operations {
|
|
|
25956
26373
|
query?: never;
|
|
25957
26374
|
header?: never;
|
|
25958
26375
|
path: {
|
|
25959
|
-
/** @description Test run database
|
|
26376
|
+
/** @description Test run database ID. */
|
|
25960
26377
|
id: number;
|
|
25961
26378
|
};
|
|
25962
26379
|
cookie?: never;
|
|
@@ -26315,6 +26732,39 @@ export interface operations {
|
|
|
26315
26732
|
};
|
|
26316
26733
|
};
|
|
26317
26734
|
};
|
|
26735
|
+
trackTelemetryEvent: {
|
|
26736
|
+
parameters: {
|
|
26737
|
+
query?: never;
|
|
26738
|
+
header?: never;
|
|
26739
|
+
path?: never;
|
|
26740
|
+
cookie?: never;
|
|
26741
|
+
};
|
|
26742
|
+
requestBody?: {
|
|
26743
|
+
content: {
|
|
26744
|
+
"application/json": components["schemas"]["TelemetryTrackRequest"];
|
|
26745
|
+
};
|
|
26746
|
+
};
|
|
26747
|
+
responses: {
|
|
26748
|
+
/** @description Event accepted. */
|
|
26749
|
+
200: {
|
|
26750
|
+
headers: {
|
|
26751
|
+
[name: string]: unknown;
|
|
26752
|
+
};
|
|
26753
|
+
content: {
|
|
26754
|
+
"application/json": components["schemas"]["TelemetryTrackResponse"];
|
|
26755
|
+
};
|
|
26756
|
+
};
|
|
26757
|
+
/** @description Invalid event. */
|
|
26758
|
+
400: {
|
|
26759
|
+
headers: {
|
|
26760
|
+
[name: string]: unknown;
|
|
26761
|
+
};
|
|
26762
|
+
content: {
|
|
26763
|
+
"application/json": components["schemas"]["ErrorResponse"];
|
|
26764
|
+
};
|
|
26765
|
+
};
|
|
26766
|
+
};
|
|
26767
|
+
};
|
|
26318
26768
|
getProjectUsageV2: {
|
|
26319
26769
|
parameters: {
|
|
26320
26770
|
query?: {
|