Repository navigation
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #43 +/- ##
===========================================
Coverage 100.00% 100.00%
===========================================
Files 37 5 -32
Lines 1496 324 -1172
Branches 0 37 +37
===========================================
- Hits 1496 324 -1172
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
ericklt
marked this pull request as draft
September 5, 2026 01:06
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.
Gloe currently requires separate transformer variants and repeated decorators to express sync, async, multiargument and configured stages. This breaking 0.8 proposal replaces them with one immutable
Transformer[P, R]and ordinary typed callables, with a bundled mypy plugin checking the actual composition boundaries.Public behavior
input[T]()for generic or ambiguous entries. Accept typed functions, configured callables, partials, bound methods, and callable objects..sync(...)is the blocking entry and rejects a running event loop. Synchronous work stays on the caller's thread.gloe.map(fn),gloe.filter(predicate),gloe.parallel(branches),gloe.sequential(branches), andgloe.condition(predicate, then=..., otherwise=...).@gloe.transformer, decorator-basedensure, and explicit tuple spreading throughgloe.unpack.prefix >> (gloe.input(), work) >> gloe.unpack(finish). Branches retain references; there is no hidden context store or cache. Composing complete pipelines repeats their stages;prefix >> (left, right)shares the prefix explicitly.Migration and guardrails
Support Python 3.12–3.14 and pin the tested mypy 2.3.1 release in
gloe[types]. Users enablegloe.mypy_pluginexplicitly in checker configuration; installation does not modify their files. The composition contract fails closed without the plugin and does not claim equivalent support from other checkers.Remove the old async/multiargument transformer hierarchy, helper class variants and bridge API. Document the migration, limitations, architecture and agent-oriented guidance. Examples include actual calls and expected results; the runnable cookbook is checked by both runtime tests and mypy. Workflow tests cover reporting, reconciliation, monetary conservation, route preparation, indicators, transactional imports, request handling, and event ingestion with in-memory fixtures.
tests/contract-matrix.mdaccounts for the removed 0.7 test groups, supported forms, rejected forms and adapter boundaries.Validation
This is a source-breaking change targeting
main.