<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/retry-error/src, branch arti-v2.4.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.4.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-03-26T19:20:16Z</updated>
<entry>
<title>retry-error: Port to web-time.</title>
<updated>2026-03-26T19:20:16Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-03-26T12:12:55Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0f24fc66741a75b5bf29f413d33ac081b71e0f50'/>
<id>urn:sha1:0f24fc66741a75b5bf29f413d33ac081b71e0f50</id>
<content type='text'>
This is independent of other crates, since this one is lower-level
than the tor-* crates.

Note that we're using std::time::SystemTime except for its `now`
method; this will be our practice elsewhere too.
</content>
</entry>
<entry>
<title>retry-error: Remove unused variable</title>
<updated>2026-03-19T20:26:40Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-19T20:26:40Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=191c473add25ba82c865534b803ccaf99ec58b37'/>
<id>urn:sha1:191c473add25ba82c865534b803ccaf99ec58b37</id>
<content type='text'>
Spotted during review by gabi-250 in another test.

Signed-off-by: Tobias Stoeckmann &lt;tobias@stoeckmann.org&gt;
</content>
</entry>
<entry>
<title>retry-error: Simplify extend_from_retry_error</title>
<updated>2026-03-19T20:26:29Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-17T11:08:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=eaeeee952eae08e6843e550b524f3dff25b5c64b'/>
<id>urn:sha1:eaeeee952eae08e6843e550b524f3dff25b5c64b</id>
<content type='text'>
With the newly introduced count function, extend_from_retry_error can be
simplified by spliting n_errors calculation from new_attempt creation.
</content>
</entry>
<entry>
<title>retry-error: Allow dedup_by to merge ranges</title>
<updated>2026-03-19T20:26:17Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-17T11:04:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cfb5922c6d32b037a73a604882739a73e78b5449'/>
<id>urn:sha1:cfb5922c6d32b037a73a604882739a73e78b5449</id>
<content type='text'>
The dedup_by function grows the "last_attempt" always by one, even if a
range is encountered. A mergeable range can be encountered if the
RetryError has been extended by another RetryError already containing a
range.

Take this special case into account by using the actual amount of
failures of the attempt when growing.

Signed-off-by: Tobias Stoeckmann &lt;tobias@stoeckmann.org&gt;
</content>
</entry>
<entry>
<title>retry-error: Fix typo in dedup_by description</title>
<updated>2026-03-17T11:10:15Z</updated>
<author>
<name>Tobias Stoeckmann</name>
<email>tobias@stoeckmann.org</email>
</author>
<published>2026-03-17T11:03:38Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5768e7752d8d17b72b5cd2719bddc341c840cf56'/>
<id>urn:sha1:5768e7752d8d17b72b5cd2719bddc341c840cf56</id>
<content type='text'>
The function argument is named same_err, not dedup.
</content>
</entry>
<entry>
<title>Merge branch 'ticket_2338' into 'main'</title>
<updated>2026-02-19T17:28:20Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-02-19T17:28:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=61485a6893bf43deab6b2404a7d4e8ea0c722466'/>
<id>urn:sha1:61485a6893bf43deab6b2404a7d4e8ea0c722466</id>
<content type='text'>
Use ErrorSources where appropriate to walk an error stack.

Closes #2338

See merge request tpo/core/arti!3685</content>
</entry>
<entry>
<title>retry-error: Document why we don't need (and can't use) ErrorSources.</title>
<updated>2026-02-19T16:34:40Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2026-02-16T15:41:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d4883c3d333279c01a408495cdd70e33da5ade8b'/>
<id>urn:sha1:d4883c3d333279c01a408495cdd70e33da5ade8b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow clippy::collapsible_if to trigger</title>
<updated>2026-02-16T15:22:24Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-02-09T11:49:02Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ade1d59e8e44c93b6ee447b72a2948a9652ec44e'/>
<id>urn:sha1:ade1d59e8e44c93b6ee447b72a2948a9652ec44e</id>
<content type='text'>
`clippy::collapsible_if` started triggering after bumping the MSRV to
1.88.

Since this triggers from a lot of places, and since there even are a
couple of instances where we explicitly allow `clippy::collapsible_ifs`,
I've opened #2342 for deciding what to do about it.
</content>
</entry>
<entry>
<title>maint/add_warning: Run script to add new warning</title>
<updated>2026-01-27T18:05:36Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2026-01-27T18:05:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a98faf72eb06b47700faeeac5a8a0dd0fc29b584'/>
<id>urn:sha1:a98faf72eb06b47700faeeac5a8a0dd0fc29b584</id>
<content type='text'>
This adds the lint to all our crates.
</content>
</entry>
<entry>
<title>chore: remove debug comments, use let-else</title>
<updated>2025-12-17T14:48:04Z</updated>
<author>
<name>Nihal</name>
<email>4218-nihalxkumar@gitlab.torproject.org</email>
</author>
<published>2025-12-16T17:26:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b9e695ec5ce67d7cb7664a026e802878c9d8a84f'/>
<id>urn:sha1:b9e695ec5ce67d7cb7664a026e802878c9d8a84f</id>
<content type='text'>
</content>
</entry>
</feed>
