You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provisioning logs: carry stage, package and HTTP status through VersionBuildFailed #102
Follow-up to #73 / PR #101. Provisioning failure logs now carry a safe cause, but on self-host they can only name the tag, VersionBuildFailed. The SDK drops the details when it turns the runtime's build error into VersionBuildFailed.
Proposed:
Log VersionBuildFailed.stage in failureCause (apps/hosted/server/src/implementation/provisioning.ts). It is a closed enum (for example dependencies), so it is safe and cheap. This is Opus review minor 1 on Name the cause a provisioning attempt failed with #101.
In the SDK, carry the missing package's name and the registry HTTP status on VersionBuildFailed as typed optional fields, plus the registry origin only (never a path, query or userinfo). failureCause already reads those fields when they are present.
Test: a self-host scenario where the registry returns 404 for a pinned package logs stage: dependencies, the package name and status 404, and no secret.
Also from the review (nits): the package/version picks are untested on any real path, and a future error with a URL in those fields would be logged verbatim. Validate them, for example as an npm name and a semver, when adding item 2.
Review: ~/.cache/agent-ws/executor-73-review-r1.md on shuvdev.
Activity
Name the failed build stage in provisioning logs (#102) and follow on…
Merge pull request #135 from shuv1337/fix/provisioning-build-diagnost…
shuv1337 commentedon Nov 27, 2026
Fixed by PR #135 (merged to
v2atfa12ccaf7).