Open
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fc4628f to
385b2ac
Compare
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
This pull request introduces several enhancements centered around artifact management, error handling, and improved support for mock sandboxes. The main changes include new APIs and data structures for handling named artifacts, updates to error codes to reflect new artifact-related cases, and improved test coverage. Additionally, the mock sandbox has been extended to better simulate file operations.
Artifact Management Enhancements:
ArtifactPublicationStatus,ArtifactManifestEntry,ArtifactPublication,StageState) and extended theRunStatestruct to track artifact publication status, manifest, and per-stage state. [1] [2]PersistenceProviderfor saving, loading, and listing named artifacts, and implemented these forDiskPersistenceProviderwith validation and directory management. [1] [2]persist_workflow_artifacts) to extract and persist workflow artifacts, including support for artifacts listed in aresult.jsonfile. [1] [2]Error Handling Improvements:
ApiErrorCodefor artifact and structured output scenarios, and provided corresponding constructors inApiError. [1] [2]Mock Sandbox Improvements:
MockSandboxto support file storage and simulate file existence and reading for commands likecatandtest, and added support for running shell scripts. [1] [2] [3] [4]Test Coverage:
RunStatewith artifact publication details. [1] [2]Runtime and Workflow Integration:
These changes collectively improve artifact handling, error reporting, and testability, while also making the system more robust and extensible for future artifact-related features.