Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NO-TICKET] Enable typechecking more files #4271

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Jan 9, 2025

What does this PR do?

This PR enables typechecking for a lot more files that it turns out are already passing typechecks.

Many of these files we only have skeleton types that still need to be improved, so this is a small win, but it was a quite cheap one so I thought it was worth doing.

Motivation:

I noticed that we had at least one file that was passing typecheck, but still ignored. This sparked my curiosity, and with a bit of scripting I got a huge list of files that we could enable typechecking for already :)

Change log entry

None

Additional Notes:

N/A

How to test the change?

Validate that bundle exec steep check still passes!

**What does this PR do?**

This PR enables typechecking for a lot more files that it turns out
are already passing typechecks.

Many of these files we only have skeleton types that still need to be
improved, so this is a small win, but it was a quite cheap one so
I thought it was worth doing.

**Motivation:**

I noticed that we had at least one file that was passing typecheck,
but still ignored. This sparked my curiosity, and with a bit of
scripting I got a huge list of files that we could enable typechecking
for already :)

**Additional Notes:**

N/A

**How to test the change?**

Validate that `bundle exec steep check` still passes!
@ivoanjo ivoanjo requested a review from a team as a code owner January 9, 2025 20:11
Copy link

github-actions bot commented Jan 9, 2025

Thank you for updating Change log entry section 👏

Visited at: 2025-01-09 20:12:29 UTC

@ivoanjo ivoanjo added dev/testing Involves testing processes (e.g. RSpec) dev/internal Other internal work that does not need to be included in the changelog labels Jan 9, 2025
This is needed to unblock the test-asan check. I'm working with
upstream ( ruby/setup-ruby#682 ) to see if
we can get an asan build based off a stable Ruby to avoid the
"flakiness" of testing with a Ruby based on ruby-head.
@datadog-datadog-prod-us1
Copy link
Contributor

datadog-datadog-prod-us1 bot commented Jan 9, 2025

Datadog Report

Branch report: ivoanjo/improve-typechecking
Commit report: de276c7
Test service: dd-trace-rb

✅ 0 Failed, 22117 Passed, 1475 Skipped, 5m 12.64s Total Time

@pr-commenter
Copy link

pr-commenter bot commented Jan 9, 2025

Benchmarks

Benchmark execution time: 2025-01-09 20:41:47

Comparing candidate commit de276c7 in PR branch ivoanjo/improve-typechecking with baseline commit 91d001c in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 31 metrics, 2 unstable metrics.

Copy link
Contributor

@sarahchen6 sarahchen6 left a comment

Choose a reason for hiding this comment

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

nice!

@ivoanjo ivoanjo merged commit aff0f7c into master Jan 9, 2025
349 checks passed
@ivoanjo ivoanjo deleted the ivoanjo/improve-typechecking branch January 9, 2025 20:57
@github-actions github-actions bot added this to the 2.9.0 milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev/internal Other internal work that does not need to be included in the changelog dev/testing Involves testing processes (e.g. RSpec)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants