<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-chanmgr/src/mgr.rs, 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>tor-chanmgr: Add doccomments and fix typo.</title>
<updated>2026-06-02T14:56:19Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2026-06-01T17:14:49Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=40e14a18766eaf9a085655b619e5803433f1b3f8'/>
<id>urn:sha1:40e14a18766eaf9a085655b619e5803433f1b3f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-chanmgr: Refactor metrics code slightly.</title>
<updated>2026-06-02T14:56:19Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2026-06-01T17:02:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=a7391cd5e464aa55f8c8c0f6104984e66b223a17'/>
<id>urn:sha1:a7391cd5e464aa55f8c8c0f6104984e66b223a17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-chanmgr: Split out channels built error metrics.</title>
<updated>2026-06-02T14:56:19Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2026-06-01T16:53:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=928b324aa675a446bb91503e8ca4534665efa7c0'/>
<id>urn:sha1:928b324aa675a446bb91503e8ca4534665efa7c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-chanmgr: Separate inbound/outbound channel metrics.</title>
<updated>2026-06-02T14:56:19Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2026-06-01T16:33:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c78d738d1b0629e385a013e0b9e1c78c28e7b30d'/>
<id>urn:sha1:c78d738d1b0629e385a013e0b9e1c78c28e7b30d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-chanmgr: Add metrics.</title>
<updated>2026-06-02T14:56:16Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2026-05-26T20:14:22Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9401cf026fd411bf3b83691a7686b946a9f8c48e'/>
<id>urn:sha1:9401cf026fd411bf3b83691a7686b946a9f8c48e</id>
<content type='text'>
This adds a structure to initialize metrics when the `ChanMgr` is
created, and adds a counter for the total number of channels built,
broken down by success and failure.
</content>
</entry>
<entry>
<title>tor-chanmgr: Notify waiters when a launch is cancelled</title>
<updated>2026-05-04T15:02:41Z</updated>
<author>
<name>Boris Nagaev</name>
<email>bnagaev@gmail.com</email>
</author>
<published>2026-05-04T03:03:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=bd631e1bbbf0ea7f099d02216966c1f077b4fb90'/>
<id>urn:sha1:bd631e1bbbf0ea7f099d02216966c1f077b4fb90</id>
<content type='text'>
If a future that owns a pending channel launch is dropped after
publishing the pending entry, other waiters can see the oneshot sender
disappear and report "channel build task disappeared" as an
internal bug.

Fix this by tying pending-entry cleanup and waiter notification
together. Once we take responsibility for a pending launch, every exit
path now removes or upgrades the pending entry and notifies waiters with
the observed result. Cancellation reports RequestCancelled, while
post-build failures keep their original error instead of turning into
the internal bug or retrying the launch owner.

Add regression tests that cover both successive dropped launch-owner
futures and a failure while installing a newly built channel, so
waiters see the expected error in each case.
</content>
</entry>
<entry>
<title>relay: Pass advertise SocketAddr to channel builder instead of IpAddr</title>
<updated>2026-04-09T15:54:35Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-31T15:10:33Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8ab7b5b1ec1d89a2f2f66b63e14d6dba11393728'/>
<id>urn:sha1:8ab7b5b1ec1d89a2f2f66b63e14d6dba11393728</id>
<content type='text'>
This trickles down to the tor-proto channel handshake code. But, the
real need is in the channel builder in order to validate the outbound
channel target.

Fixes #2440

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>proto: Rename RelayIdentities to RelayChannelAuthMaterial</title>
<updated>2026-03-30T15:00:18Z</updated>
<author>
<name>David Goulet</name>
<email>dgoulet@torproject.org</email>
</author>
<published>2026-03-24T16:30:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2fc98dbd6953078f968300666dda7728d5dc99db'/>
<id>urn:sha1:2fc98dbd6953078f968300666dda7728d5dc99db</id>
<content type='text'>
This object contains a melting pot of public keys, private keys and
certificates.

Rename it to reflect that it is channel authentication material and not
"identities.

https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3791#note_3374454

Signed-off-by: David Goulet &lt;dgoulet@torproject.org&gt;
</content>
</entry>
<entry>
<title>tor-proto: change channel selection fns to take `HasChanMethod`</title>
<updated>2026-02-25T16:48:46Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2026-02-25T16:48:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=93feaca16067238913aabc6d0068fdcbb96f71f8'/>
<id>urn:sha1:93feaca16067238913aabc6d0068fdcbb96f71f8</id>
<content type='text'>
</content>
</entry>
</feed>
