Skip to content

Commit 9e6f9f2

Browse files
authored
fix(openapi): allow 128MB memory limits and add CI to RunOrigin enum (#2559)
Two schema mismatches with the live API: 1. **`ActorDefinition.minMemoryMbytes` / `maxMemoryMbytes`** required `>= 256`, but actors actually run with 128 MB (the real platform minimum, consistent with `RunOptions.memoryMbytes: minimum 128`). Affected at least 20 store actors (`apify/instagram-profile-scraper`, all of `apimaestro/*`, `harvestapi/*`, …). 2. **`RunOrigin`** enum was missing `CI`. `apify/cheerio-scraper` and other Apify-owned actors have builds with `meta.origin: "CI"` from the internal CI pipeline.
1 parent d2d956e commit 9e6f9f2

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

apify-api/openapi/components/schemas/actor-runs/RunOrigin.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ enum:
99
- WEBHOOK
1010
- ACTOR
1111
- CLI
12+
- CI
1213
- STANDBY

apify-api/openapi/components/schemas/actors/ActorDefinition.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ properties:
5151
description: Specifies the default amount of memory in megabytes to be used when the Actor is started. Can be an integer or a [dynamic memory expression](/platform/actors/development/actor-definition/dynamic-actor-memory).
5252
minMemoryMbytes:
5353
type: integer
54-
minimum: 256
54+
minimum: 128
5555
description: Specifies the minimum amount of memory in megabytes required by the Actor.
5656
maxMemoryMbytes:
5757
type: integer
58-
minimum: 256
58+
minimum: 128
5959
description: Specifies the maximum amount of memory in megabytes required by the Actor.
6060
usesStandbyMode:
6161
type: boolean

0 commit comments

Comments
 (0)