Repository navigation
feat: typed working-storage diagnostics; ci: bootstrap ost 0.23.19 - #151
Merged
Merged
Conversation
Tile spools, the spool workspace, and payload publication reported their failures as DecodeFailure, so a full disk, a refused workspace, or a process out of file handles looked like a source decoding problem. The diagnostics contract reserved dedicated codes for these conditions. - usdGeoCore: add SpoolWorkspaceFailed, SpoolWriteFailed, SpoolIncomplete, OpenFileBudgetExhausted, and PayloadCommitFailed, with IsWorkingStorageFailure and StoppedByWorkingStorageFailure. - usdPointCloudTiling: emit them from TileSpoolWriter, TileSpoolReader, and RemoveSpoolDirectory; detect EMFILE/ENFILE on spool open. - usdPointCloudAuthoring: emit them for workspace preparation, spool reopening, and payload Begin/Commit, including the layer-level overload. - Plugins: project a tiled read stopped by working storage onto LAS018, LAZ009, PLY008, and COPC013; other causes keep the existing codes. - Tests for missing, unfinalized, unwritable, and descriptor-exhausted spools, an unmarked spool workspace, payload conflicts, and the LAS plugin projection; contract, README, roadmap, and changelog updates. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQZ6zAKFPpAYkZd9nBKCWu
Move openstrata.ci.yaml's bootstrap from ost 0.22.8 to 0.23.19, the latest open-strata release, regenerate ost-source-ci.yml with that CLI, and move release.yml's OST_VERSION with it. The regenerated workflow passes OpenUSD requirement arguments to artifact pull and verify, adds an `ost library pull` step (nothing to pull here), supports the pyramid and package verify modes, and uploads .strata/reports and dist outputs as job artifacts. The three OpenUSD 26.08 runtime artifacts are rechecked, not re-pinned: the registry still serves the 26.08-gl-windows-x86_64, 26.08-metal-macos-arm64, and 26.08-gl-linux-x86_64 leaves at the pinned OCI digests, and 26.08 is still the newest version in ost's runtime matrix. The provenance comment, which still named superseded digests, now records the leaves and digests. Windows cells and the Windows release job declare host Python 3.13. ost 0.23.x `runtime validate` links and runs a C++ consumer, and the Windows runtime's USD DLLs import python313.dll; usd-vrm-plugins and usd-3dgs-plugins measured the 0xC0000135 failure without it on the same digest. README, BUILDING, and OPENUSD name the new pin; CHANGELOG records the move. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JQZ6zAKFPpAYkZd9nBKCWu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1. Typed working-storage diagnostics
The diagnostics contract and the
usdGeoCoreREADME listed typed codes for the spool and payload failures introduced by tiled generation as planned work. Until now these failures were reported asDecodeFailure, so a full disk, a refused spool workspace, or a process out of file handles looked like a source decoding problem.SpoolWorkspaceFailed,SpoolWriteFailed,SpoolIncomplete,OpenFileBudgetExhausted, andPayloadCommitFailed. The new values are appended at the end, so existing values keep their meaning. Also addsIsWorkingStorageFailureandStoppedByWorkingStorageFailure.TileSpoolWriter,TileSpoolReader, andRemoveSpoolDirectorynow emit these codes. When a spool open fails,errnois checked forEMFILE/ENFILEto recognize file-handle exhaustion.Begin/Commitnow emit these codes. This includes the layer-levelAuthorPointCloudTiledAssetWithPayloadsoverload.LAS018,LAZ009,PLY008, orCOPC013. Every other cause keepsLAS016,LAZ007,PLY007, orCOPC007as before.2. Bootstrap ost 0.23.19 and recheck the runtime artifacts
openstrata.ci.yamlbootstrap andrelease.ymlOST_VERSIONfrom 0.22.8 to 0.23.19, the latest open-strata release, and regeneratesost-source-ci.ymlwith that CLI usingost ci generate github. The regenerated workflow:artifact pullandartifact verify;ost library pullstep, which pulls nothing here;pyramidandpackageverify modes;.strata/reportsanddistoutputs as job artifacts.26.08-gl-windows-x86_64,26.08-metal-macos-arm64, and26.08-gl-linux-x86_64still serve the pinned OCI digests, and 26.08 is still the newest version in ost's runtime matrix. None of the pins is listed insupport/runtime-migrations.json. The provenance comment, which still named superseded digests, now records these leaves and digests.host_python: "3.13". ost 0.23.xruntime validatebuilds and runs a C++ consumer (consumer-link), and the Windows runtime's USD DLLs importpython313.dll. Without host Python that consumer exits with0xC0000135; usd-vrm-plugins and usd-3dgs-plugins measured this failure on the same digest.Tests
usdGeoCore_unit: classification, and how the first error is chosen.usdPointCloudTiling_unit: missing spool, spool with no footer, spool in a directory that doesn't exist, and on POSIX, file-descriptor exhaustion withRLIMIT_NOFILElowered.usdPointCloudAuthoring: an unmarked spool workspace is refused withSpoolWorkspaceFailedand the user file inside it is kept; a payload conflict reportsPayloadCommitFailed.pointcloud-las: settingpayloadDirectoryto a regular file reports[LAS018].On ost 0.22.8 CI, the first commit passed on Linux, Windows, and macOS; on Linux all 18 tests ran and passed. The ost 0.23.19 commit is checked by CI on this PR. Locally,
ost ci validatewith 0.23.19 reports 15 cells and structure OK.🤖 Generated with Claude Code
https://claude.ai/code/session_01JQZ6zAKFPpAYkZd9nBKCWu