Skip to content

Conversation

@rlycx
Copy link
Contributor

@rlycx rlycx commented Sep 16, 2025

a couple of things to make the generated docs nicer, at least for the producer module

@rlycx rlycx requested a review from Qqwy September 16, 2025 08:56
Copy link
Contributor

@Qqwy Qqwy left a comment

Choose a reason for hiding this comment

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

Thank you for the nice improvements in the documentation, and better formatting <3

# Individual tests should be very fast. They should never take multiple seconds
# If after 20sec (accomodating for a toaster-like PC) there is no progress,
# assume a deadlock
timeout=20
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess the CI servers are sometimes a 'toaster-like PC'? 🙈
Are you sure you want to remove the deadlock protection? Maybe bumping this to, say, 60 seconds, would be enough?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the failure isn't because a deadlock happens, but rather:

  /nix/store/c4k9a09j00vp618zs618mpacyp05a15l-python3-3.12.9-env/lib/python3.12/site-packages/_pytest/config/__init__.py:1441: PytestConfigWarning: Unknown config option: timeout
  
    self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")

Copy link
Contributor

Choose a reason for hiding this comment

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

The plot thickens: Why does pytest-timeout not get loaded as part of the Nix overlay?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's not listed in default.nix like for example pytest-parallel. adding it there also seems to fix the issue

Copy link
Contributor

Choose a reason for hiding this comment

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

Superbe

impl Chunk {
fn __repr__(&self) -> String {
format!("{:?}", self)
format!("{self:?}")
Copy link
Contributor

@Qqwy Qqwy Sep 16, 2025

Choose a reason for hiding this comment

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

Thank you 👍 (for this and all the other places)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it aint much but its honest work

@rlycx rlycx force-pushed the rly/docs-improvements branch from 7cc9ca1 to 36573c1 Compare September 16, 2025 10:52
@rlycx
Copy link
Contributor Author

rlycx commented Sep 25, 2025

@OpsBotPrime merge

Approved-by: rlycx
Priority: Normal
Auto-deploy: false
@OpsBotPrime
Copy link
Contributor

Rebased as db579a6, waiting for CI …

@OpsBotPrime
Copy link
Contributor

CI job 🟡 started.

@OpsBotPrime OpsBotPrime merged commit db579a6 into master Sep 25, 2025
6 of 7 checks passed
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.

3 participants