fix: clean error handling — no tracebacks on validation; pyfly v26.06.104 (v26.6.11)#35
Merged
Merged
Conversation
….104 (clean errors) - ExtractionWorker._process now reconstructs the typed request (_build_request) INSIDE the try/except, so an invalid stored schema/options is marked permanent_error and logged cleanly instead of escaping to the poll loop's logger.exception() (raw traceback). - Upgrade pyfly to the latest released v26.06.104: expected 4xx errors log at WARNING without a stack trace (CQRS + request log), and the CLI prints clean one-line errors. Release v26.6.11.
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.
What
ExtractionWorker._processbuilds the typed request inside itstry/except, so a malformed persistedschema_json/options_jsonis markedpermanent_errorand logged cleanly instead of dumping a raw traceback via the poll loop'slogger.exception.Error: ...instead of a traceback (--debug/PYFLY_DEBUGrestores it).Verification
Gate green: ruff, ruff format, pyright (0 errors), unit suite 292 passed. pyfly pinned to
tag=v26.06.104(resolved commita921a67), which is the latest pyfly release (release.yml succeeded).Ships as v26.6.11.