<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/retry-error/src, branch arti-v2.5.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.5.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v2.5.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-06-09T15:36:01Z</updated>
<entry>
<title>maint: Run maint/add_warning to deny string slices</title>
<updated>2026-06-09T15:36:01Z</updated>
<author>
<name>Clara Engler</name>
<email>cve@cve.cx</email>
</author>
<published>2026-06-09T15:36:01Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9f5752a77fb57052c06ead0eeae606831f1e8e97'/>
<id>urn:sha1:9f5752a77fb57052c06ead0eeae606831f1e8e97</id>
<content type='text'>
This commit executes maint/add_warning with the just added change to
deny string slices except in tests.

I recommend auditing this by checking out the previous commit followed
by running the script yourself and then verifying that the diff is
identical to this commit.

This commit makes cargo clippy fail.  We will add exceptions in the next
commit.
</content>
</entry>
<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>
</feed>
