Skip to content

Conversation

@vdusek
Copy link
Contributor

@vdusek vdusek commented Dec 17, 2025

No description provided.

@vdusek vdusek added this to the 129th sprint - Tooling team milestone Dec 17, 2025
@vdusek vdusek self-assigned this Dec 17, 2025
@vdusek vdusek added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Dec 17, 2025
@github-actions github-actions bot added the tested Temporary label used only programatically for some analytics. label Dec 17, 2025
@codecov
Copy link

codecov bot commented Dec 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.01%. Comparing base (0fa43bc) to head (9359433).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #562      +/-   ##
==========================================
+ Coverage   75.98%   76.01%   +0.02%     
==========================================
  Files          42       42              
  Lines        2465     2468       +3     
==========================================
+ Hits         1873     1876       +3     
  Misses        592      592              
Flag Coverage Δ
integration 68.96% <100.00%> (+0.03%) ⬆️
unit 64.58% <90.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vdusek vdusek requested review from Mantisus and janbuchar December 17, 2025 13:41
Copy link
Collaborator

@Mantisus Mantisus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks promising. But I'm a little confused that we're moving to the first beta release. 🙂

@vdusek
Copy link
Contributor Author

vdusek commented Dec 17, 2025

@Mantisus Check out the release blogpost:

Today, we're announcing the Beta release of ty. We now use ty exclusively in our own projects and are ready to recommend it to motivated users for production use.

I tested it a few weeks ago already, and it seems to work well. I also tried the integration with VS Code and Zed, and they are also good.

With the newly generated typed clients (PR #554), there will be quite a bit of refactoring ahead, mostly around the typing system. I'd prefer to do this using ty rather than starting with mypy and migrating later 🙂.

stats = Statistics()
with pytest.raises(TypeError):
stats.add_rate_limit_error('1') # type: ignore[arg-type]
stats.add_rate_limit_error('1') # ty: ignore[invalid-argument-type]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any sensible way we could keep both directives so that mypy still works?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK, the only way would be to use general type: ignore - ignoring all type issues for the line. I would rather not do that.

@vdusek vdusek requested a review from janbuchar December 18, 2025 14:59
@vdusek vdusek merged commit 8331245 into master Dec 18, 2025
29 checks passed
@vdusek vdusek deleted the migrate-to-ty branch December 18, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants