Skip to content

Conversation

@OwenKephart
Copy link
Contributor

Summary & Motivation

Currently, it's very hard to create a test instance that has states like "run failed after x step" or "run is in progress and y steps have completed so far". This makes testing things like declarative automation pretty challenging as you need to go through a bunch of hoops in order to get your test instance in the desired states, but this is definitely not limited to DA testing -- it's a pretty consistent issue with testing in our codebase.

This creates a contextmanager that provides convenience methods for managing this state. Name is terrible, just getting the idea moving.

How I Tested These Changes

Changelog

NOCHANGELOG

Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@OwenKephart OwenKephart marked this pull request as draft October 24, 2025 23:43
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