Skip to content

feat: typed working-storage diagnostics; ci: bootstrap ost 0.23.19 - #151

Merged
piggy-penguin merged 2 commits into
mainfrom
claude/loving-feynman-wcdjhu
Nov 3, 2026
Merged

piggy-penguin merged 2 commits into
mainfrom
claude/loving-feynman-wcdjhu

Conversation

@piggy-penguin

@piggy-penguin piggy-penguin commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Summary

1. Typed working-storage diagnostics

The diagnostics contract and the usdGeoCore README listed typed codes for the spool and payload failures introduced by tiled generation as planned work. Until now these failures were reported as DecodeFailure, so a full disk, a refused spool workspace, or a process out of file handles looked like a source decoding problem.

  • usdGeoCore: adds SpoolWorkspaceFailed, SpoolWriteFailed, SpoolIncomplete, OpenFileBudgetExhausted, and PayloadCommitFailed. The new values are appended at the end, so existing values keep their meaning. Also adds IsWorkingStorageFailure and StoppedByWorkingStorageFailure.
  • usdPointCloudTiling: TileSpoolWriter, TileSpoolReader, and RemoveSpoolDirectory now emit these codes. When a spool open fails, errno is checked for EMFILE/ENFILE to recognize file-handle exhaustion.
  • usdPointCloudAuthoring: spool workspace preparation and recovery, spool reopen and incomplete checks, and payload Begin/Commit now emit these codes. This includes the layer-level AuthorPointCloudTiledAssetWithPayloads overload.
  • Plugins: when the first error of a tiled read is a working-storage failure, the read reports a new code: LAS018, LAZ009, PLY008, or COPC013. Every other cause keeps LAS016, LAZ007, PLY007, or COPC007 as before.
  • Docs: updates DIAGNOSTICS.md, the module READMEs, the plugin diagnostics tables, implementation-status, and the CHANGELOG.

2. Bootstrap ost 0.23.19 and recheck the runtime artifacts

  • Moves the openstrata.ci.yaml bootstrap and release.yml OST_VERSION from 0.22.8 to 0.23.19, the latest open-strata release, and regenerates ost-source-ci.yml with that CLI using ost ci generate github. The regenerated workflow:
    • passes OpenUSD requirement arguments to artifact pull and artifact verify;
    • adds an ost library pull step, which pulls nothing here;
    • supports the pyramid and package verify modes;
    • uploads .strata/reports and dist outputs as job artifacts.
  • Runtime artifacts are rechecked, not re-pinned. The GHCR leaf tags 26.08-gl-windows-x86_64, 26.08-metal-macos-arm64, and 26.08-gl-linux-x86_64 still serve the pinned OCI digests, and 26.08 is still the newest version in ost's runtime matrix. None of the pins is listed in support/runtime-migrations.json. The provenance comment, which still named superseded digests, now records these leaves and digests.
  • Windows cells and the Windows release job now declare host_python: "3.13". ost 0.23.x runtime validate builds and runs a C++ consumer (consumer-link), and the Windows runtime's USD DLLs import python313.dll. Without host Python that consumer exits with 0xC0000135; usd-vrm-plugins and usd-3dgs-plugins measured this failure on the same digest.
  • README, BUILDING, and OPENUSD.md now name 0.23.19; CHANGELOG records the move.

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 with RLIMIT_NOFILE lowered.
  • usdPointCloudAuthoring: an unmarked spool workspace is refused with SpoolWorkspaceFailed and the user file inside it is kept; a payload conflict reports PayloadCommitFailed.
  • pointcloud-las: setting payloadDirectory to 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 validate with 0.23.19 reports 15 cells and structure OK.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JQZ6zAKFPpAYkZd9nBKCWu

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
@piggy-penguin piggy-penguin changed the title feat: add typed working-storage diagnostics for tiled generation feat: typed working-storage diagnostics; ci: bootstrap ost 0.23.19 Nov 3, 2026
@piggy-penguin
piggy-penguin merged commit dab5654 into main Nov 3, 2026
4 checks passed
@snkmcb
snkmcb deleted the claude/loving-feynman-wcdjhu branch November 3, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants