enhancement(AutomationCOntext): add workspace ID support - #491
Open
jsdbroughton wants to merge 6 commits into
Open
enhancement(AutomationCOntext): add workspace ID support#491jsdbroughton wants to merge 6 commits into
jsdbroughton wants to merge 6 commits into
Conversation
✅ Deploy Preview for specklepy ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Avoid tracking temporary OS files on macOS.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #491 +/- ##
==========================================
- Coverage 91.88% 91.66% -0.22%
==========================================
Files 154 154
Lines 7069 7091 +22
==========================================
+ Hits 6495 6500 +5
- Misses 574 591 +17 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
JR-Morgan
reviewed
May 11, 2026
| return self.automation_run_data.workspace_id | ||
|
|
||
| def resolve_workspace_id(self) -> Optional[str]: | ||
| """Return workspace id from run data or project lookup fallback.""" |
Member
There was a problem hiding this comment.
When would the fallback be required?
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.
Description & motivation
Enhances the automation context by introducing workspace ID support. The changes facilitate improved identification and management of workspaces associated with automation runs.
Changes:
workspace_idproperty to theAutomationContextclass.AutomationRunDataandTestAutomationRunDatamodels to include workspace ID with optional typing.Checklist: