Skip to content

test(quickstart): skip everyday probe schema tests when installed Flow lacks new sources - #2663

Closed
abrichr wants to merge 2 commits into
mainfrom
fix/unblock-everyday-quickstart-ci
Closed

abrichr wants to merge 2 commits into
mainfrom
fix/unblock-everyday-quickstart-ci

Conversation

@abrichr

@abrichr abrichr commented Nov 25, 2026

Copy link
Copy Markdown
Member

Summary

Unblocks launcher / run-ci on main after #2584 (5cc5e6d60): PyPI openadapt-flow 4.0.0 includes LocalStateVerifier but does not yet ship MacosNightShiftSource or MacosCalendarEventSource, so _REQUIRES_LOCAL_STATE in tests/test_everyday_quickstart.py did not skip and failed 4 schema validation tests against released Flow 4.0.0. Checking for those source classes in the import guard lets the tests run against in-tree/future Flow and skip cleanly against Flow 4.0.0.

Generality gate

  1. No per-app code in the engine: Yes — test skip guard only.
  2. Fix the class, not the instance: Yes — checks for the exact probe source symbols required by the tests.
  3. Held-out evidence: Verified pytest tests/test_everyday_quickstart.py passes with in-tree Flow and skips cleanly when the new sources are absent.

@abrichr

abrichr commented Nov 25, 2026

Copy link
Copy Markdown
Member Author

Closing as duplicate of #2673 to free up GitHub Actions runner slots.

@abrichr abrichr closed this Nov 25, 2026
@abrichr
abrichr deleted the fix/unblock-everyday-quickstart-ci branch November 25, 2026 05:20
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.

1 participant