Skip to content

fix(openapi): allow a null buildTag in the build's actVersion - #3093

Open
barjin wants to merge 1 commit into
masterfrom
fix/build-act-version-build-tag-nullable
Open

barjin wants to merge 1 commit into
masterfrom
fix/build-act-version-build-tag-nullable

Conversation

@barjin

@barjin barjin commented Oct 19, 2026

Copy link
Copy Markdown
Member

A build made from a version without a build tag returns actVersion.buildTag: null (e.g. GET /v2/actor-builds/Y5XdRkw2aS83tQrXG), so this makes it nullable like buildTag in Version.yaml, which apify-client-js currently rejects with a ResponseValidationError.

@apify-service-account apify-service-account added the t-tooling Issues with this label are in the ownership of the tooling team. label Oct 19, 2026
@apify-service-account

apify-service-account commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

✅ Preview for this PR (commit b21b9ee) is ready at https://pr-3093.preview.docs.apify.com (see action run).

@apify-service-account

Copy link
Copy Markdown
Contributor

API behavior and specification alignment: Aligned.

@janbuchar

Copy link
Copy Markdown
Contributor

Can you also explain the circumstances under which the buildId is null in the spec?

@barjin

barjin commented Oct 19, 2026

Copy link
Copy Markdown
Member Author

under which the buildId is null in the spec

Not buildId (that would indeed be really weird), buildTag. I suppose this happens if you just don't tag a new version?

console apify com_admin_users_ZscMwFR5H7eCtWtyh_actors_E2jjCZBezvAZnX8Rb_source (1)

@janbuchar

Copy link
Copy Markdown
Contributor

under which the buildId is null in the spec

Not buildId (that would indeed be really weird), buildTag. I suppose this happens if you just don't tag a new version?

console apify com_admin_users_ZscMwFR5H7eCtWtyh_actors_E2jjCZBezvAZnX8Rb_source (1)

I mistyped, sorry.

I didn't mean for you to explain it to me, but to include the explanation in the spec.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants