Skip to content

Don't use exception hooks to shorten tracebacks [2/2] - #8127

Merged
crusaderky merged 5 commits into
dask:mainfrom
crusaderky:ipdb_except_hook
Aug 24, 2023
Merged

crusaderky merged 5 commits into
dask:mainfrom
crusaderky:ipdb_except_hook

Conversation

@crusaderky

Copy link
Copy Markdown
Collaborator

This has a material impact only on synchronous Client.gather().
Future.result() (sync and async) and async Client.gather() already had a short traceback; this PR just does a bit of code cleanup.

@github-actions

github-actions Bot commented Aug 23, 2023 •

Copy link
Copy Markdown
Contributor

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

       21 files  +       1         21 suites  +1   11h 10m 39s ⏱️ - 20m 38s
  3 783 tests +       4    3 674 ✔️ +       8     107 💤 ±  0  2 ❌  - 4 
36 559 runs  +1 413  34 753 ✔️ +1 381  1 804 💤 +38  2 ❌  - 6 

For more details on these failures, see this check.

Results for commit 1390b83. ± Comparison against base commit 22eb33a.

This pull request removes 1 and adds 5 tests. Note that renamed tests count towards both.
distributed.tests.test_client ‑ test_short_tracebacks
distributed.tests.test_client ‑ test_short_tracebacks[gather]
distributed.tests.test_client ‑ test_short_tracebacks[result]
distributed.tests.test_client ‑ test_short_tracebacks_async[await]
distributed.tests.test_client ‑ test_short_tracebacks_async[gather]
distributed.tests.test_client ‑ test_short_tracebacks_async[result]

♻️ This comment has been updated with latest results.

This reverts commit b84fd0f.
@crusaderky crusaderky self-assigned this Aug 24, 2023
@crusaderky
crusaderky marked this pull request as ready for review August 24, 2023 11:22
@crusaderky
crusaderky requested a review from fjetter as a code owner August 24, 2023 11:22
@crusaderky

Copy link
Copy Markdown
Collaborator Author

@hendrikmakait hendrikmakait left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, @crusaderky!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Importing dask breaks ipython's %pdb command

2 participants