<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/retry-error/src, branch main</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=main</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2026-07-15T18:30:16Z</updated>
<entry>
<title>Merge branch 'remove-lint' into 'main'</title>
<updated>2026-07-15T18:30:16Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-07-15T18:30:16Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=b1e6787b0bb05b8fe1f8b87716f1bd2b478eb602'/>
<id>urn:sha1:b1e6787b0bb05b8fe1f8b87716f1bd2b478eb602</id>
<content type='text'>
Removed unnecessary lint

Closes #2556

See merge request tpo/core/arti!4210</content>
</entry>
<entry>
<title>add_warning: add reference to arti#2556</title>
<updated>2026-07-15T17:56:49Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2026-07-15T17:56:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6d333d6e6f0bf4d75fdc81e8865e06f6537d5af6'/>
<id>urn:sha1:6d333d6e6f0bf4d75fdc81e8865e06f6537d5af6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removed unnecessary lint</title>
<updated>2026-07-15T17:16:51Z</updated>
<author>
<name>pryty26</name>
<email>238962075+pryty26@users.noreply.github.com</email>
</author>
<published>2026-07-15T17:07:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d12e408c1d62f29e58647c91a2714c49e3004cc4'/>
<id>urn:sha1:d12e408c1d62f29e58647c91a2714c49e3004cc4</id>
<content type='text'>
Removed unnecessary lint
</content>
</entry>
<entry>
<title>retry-error: Fix clippy warning</title>
<updated>2026-07-10T13:54:25Z</updated>
<author>
<name>hjrgrn</name>
<email>3874-hjrgrn@gitlab.torproject.org</email>
</author>
<published>2026-07-10T13:54:25Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bc56da744189d9cc4610b3fb1ba1f5bb7523192b'/>
<id>urn:sha1:bc56da744189d9cc4610b3fb1ba1f5bb7523192b</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
