Repository navigation
Conversation
Tool results now use their declared types where they are built, so ty checks every field. Context managers return AsyncGenerator because typeshed deprecates AsyncIterator there. Co-Authored-By: Claude <noreply@anthropic.com>
📊 ObservabilityView eval run traces in Logfire: prefect-mcp-server-evals @ 5fefdc9 |
Evaluation Results21 tests ±0 13 ✅ ±0 2m 11s ⏱️ +2s For more details on these failures, see this check. Results for commit 5fefdc9. ± Comparison against base commit 5eee614. |
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.
Merge #250 first. This PR is based on that branch because ty also reports the
flow_nameerror that #250 fixes. After #250 merges, this PR must havemainas its base.The problem. ty 1.0 is the first stable release. This repository used ty 0.0.38. ty 1.0 reports 20 issues in the current code. Since version 0.0.52, ty also exits with code 1 for warnings. A version bump alone fails CI.
The change. ty is now 1.0.0. No other locked package changes. ty passes without new ignore comments or rule exceptions.
TypedDict. Each result now has its declared type where the code builds it, so ty checks every field. The returned data does not change.AsyncGenerator. typeshed deprecatesAsyncIteratorthere.Session context
When the code built untyped dictionaries, ty did not check each field. With the declared types, ty found the numeric
flow_nameerror. #189 also changesevents.py,pyproject.tomlanduv.lock, but it does not change the ty version. It already has conflicts withmain. #248 and #249 also changeuv.lock.🤖 Generated with Claude Code