Add Scenario progress foundation - #2372
Draft
Roman Lutz (romanlutz) wants to merge 1 commit into
Draft
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5d02c2d5-b499-4f78-a04d-03bffa750817
|
|
||
| task.cancel() | ||
| with pytest.raises(asyncio.CancelledError): | ||
| await task |
| await started.wait() | ||
| cancelled_waiter.cancel() | ||
| with pytest.raises(asyncio.CancelledError): | ||
| await cancelled_waiter |
| service._registry = MagicMock() | ||
| service._registry.create_instance.return_value = scenario | ||
| stale = asyncio.create_task(asyncio.sleep(0, result=estimate)) | ||
| await stale |
|
|
||
| from alembic import op | ||
|
|
||
| revision: str = "6b8d0f2a4c1e" |
| from alembic import op | ||
|
|
||
| revision: str = "6b8d0f2a4c1e" | ||
| down_revision: str | None = "4c9a6e1f2b7d" |
|
|
||
| revision: str = "6b8d0f2a4c1e" | ||
| down_revision: str | None = "4c9a6e1f2b7d" | ||
| branch_labels: str | Sequence[str] | None = None |
| revision: str = "6b8d0f2a4c1e" | ||
| down_revision: str | None = "4c9a6e1f2b7d" | ||
| branch_labels: str | Sequence[str] | None = None | ||
| depends_on: str | Sequence[str] | None = None |
This was referenced Aug 12, 2026
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
Adds persistent versioned Scenario run plans, stable logical work identities, backend-authoritative sizing, incremental progress cursors, and corrected timing/resume semantics. Planned units deduplicate repeated logical objectives while execution attempts remain observable.
What this layer adds
ScenarioRunPlanand progress models persisted in Scenario result metadata.Visual contract
Stack
This is 1 of 7 in the Scenario GUI dependent PR stack and targets
main.See the full implementation, screenshots, walkthrough, validation, and operational notes.
Validation
Compatibility note
Prepended-conversation request converters now default to user-role messages, and strict non-chat targets can reject excluded roles. This intentional behavior change is isolated in this foundation layer.