<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-chanmgr/src/mgr.rs, branch arti-v1.7.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.7.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.7.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2025-09-24T19:23:32Z</updated>
<entry>
<title>opentelemetry: Add some instrument macros.</title>
<updated>2025-09-24T19:23:32Z</updated>
<author>
<name>Wesley Aptekar-Cassels</name>
<email>me@wesleyac.com</email>
</author>
<published>2025-09-16T13:25:15Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=e21ebd3793d497429ba7c8c437b346a9a2833407'/>
<id>urn:sha1:e21ebd3793d497429ba7c8c437b346a9a2833407</id>
<content type='text'>
I've added these in places that are useful for the debugging that I've
been doing.
</content>
</entry>
<entry>
<title>Switch Cargo.toml files to edition 2024.</title>
<updated>2025-08-07T15:28:36Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-06T01:19:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=77b0de43b8c67cdb81befe0680a3df43b6ad37bc'/>
<id>urn:sha1:77b0de43b8c67cdb81befe0680a3df43b6ad37bc</id>
<content type='text'>
First, run

```
git grep -l "^edition =" |
    xargs perl -i -pe 's/^edition *=.*/edition = "2024"/;'
```

Second, manually verify that all Cargo.toml files have changed,
and nothing else has changed.

Third, run cargo fmt again.
</content>
</entry>
<entry>
<title>Update code for Edition 2024</title>
<updated>2025-08-07T15:28:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2025-08-07T12:44:47Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0453fb4be8cf618b94230812957ce1db1afe74bd'/>
<id>urn:sha1:0453fb4be8cf618b94230812957ce1db1afe74bd</id>
<content type='text'>
1. Run cargo fix --edition

2. Selectively revert the "if let"-&gt;"match" changes.
   These changes are meant to protect us from the lifetime changes
   for "if let" bindings in Rust 2024.
   But we're not actually relying on the old lifetime rules
   anywhere, and the match syntax here is quite ugly.

3. Automatically revert `$pat:expr_2021` to `$pat:expr`.
   (We don't actually want to restrict the expression syntax
   that our macros accept).
   Done with
   `git grep -l expr_2021 | xargs perl -i -pe 's/expr_2021/expr/g;'`

4. Run cargo fmt.
</content>
</entry>
<entry>
<title>tor-chanmgr: Add reparameterize_kist to AbstractChannel trait.</title>
<updated>2025-01-15T13:49:17Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2025-01-08T16:13:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=796d848ca5828c27137a6397acbe650305f00783'/>
<id>urn:sha1:796d848ca5828c27137a6397acbe650305f00783</id>
<content type='text'>
Needed for the chanmgr to be able to update existing channels with new
KIST settings read from the consensus.
</content>
</entry>
<entry>
<title>tor-chanmgr: remove immediately awaited async block expression</title>
<updated>2024-11-27T19:11:58Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-11-26T20:17:59Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=278a678c1f3cd36bdc805df439f01cde6dfa02f6'/>
<id>urn:sha1:278a678c1f3cd36bdc805df439f01cde6dfa02f6</id>
<content type='text'>
This shouldn't be needed anymore now that we use a `Defer`.
</content>
</entry>
<entry>
<title>tor-chanmgr: use `Defer` in `AbstractChanMgr` to handle cancellations</title>
<updated>2024-11-27T19:10:41Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-11-26T20:13:24Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=935176f245e711fe270d86010c310e6c0a0410c4'/>
<id>urn:sha1:935176f245e711fe270d86010c310e6c0a0410c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-chanmgr: remove panics in debug builds</title>
<updated>2024-11-12T01:27:27Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-11-12T01:23:04Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cad2a7288bfb71b456e1f7690349cf721c421872'/>
<id>urn:sha1:cad2a7288bfb71b456e1f7690349cf721c421872</id>
<content type='text'>
These were supposed to fail loudly in debug builds by panicking, but
panics are mostly useless for debugging in async applications that use a
runtime which catches panics. So we'll just log the error instead.
</content>
</entry>
<entry>
<title>tor-chanmgr: rename `replace_pending_channel` to `upgrade_pending_channel_to_open`</title>
<updated>2024-10-24T18:08:19Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-21T17:02:20Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=aba584022de282cba738fd57ef80f335f2f15b34'/>
<id>urn:sha1:aba584022de282cba738fd57ef80f335f2f15b34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>tor-chanmgr: improve cleanup procedure of pending channels</title>
<updated>2024-10-24T18:07:44Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-21T15:36:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d1e90447a24460d4991033c198bedff20dc855c4'/>
<id>urn:sha1:d1e90447a24460d4991033c198bedff20dc855c4</id>
<content type='text'>
An attempt to make sure that there are no code paths which forget to
remove a pending channel from the channel map.

This also adds error-level log messages and panics during debug builds
if a `PendingChannelHandle` is dropped without properly passing it to
`MgrState::remove_pending_channel` or
`MgrState::replace_pending_channel`.
</content>
</entry>
<entry>
<title>Revert "tor-chanmgr: `PendingChannelHandle` removes the channel when dropped"</title>
<updated>2024-10-21T15:40:41Z</updated>
<author>
<name>Steven Engler</name>
<email>opara@torproject.org</email>
</author>
<published>2024-10-21T15:32:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=90083e81fad3c6497a43d6a1f1fb4f1bc3c378e4'/>
<id>urn:sha1:90083e81fad3c6497a43d6a1f1fb4f1bc3c378e4</id>
<content type='text'>
This reverts commit f85bc3cf849109aaa2c4da9fc8c06e7173a0543f.

There were some small conflcits in
`AbstractChanMgr::get_or_launch_internal`, so this wasn't a clean
revert.
</content>
</entry>
</feed>
