summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | tor-dirserver: Expose Arc of StoreCacheClara Engler2025-10-152-15/+15
| | | | | |
| * | | | | tor-dirserver: Do not lock during db queryClara Engler2025-10-151-7/+14
| | | | | |
| * | | | | tor-dirserver: Don't expose rusqlite::Error in PoolClara Engler2025-10-154-11/+29
| | | | | |
| * | | | | tor-dirserver: Fix rustdoc commentClara Engler2025-10-151-3/+3
| | | | | |
| * | | | | tor-dirserver: Some clippy fixesClara Engler2025-10-154-3/+19
| | | | | |
| * | | | | tor-dirserver: Remove unsafe unreachableClara Engler2025-10-151-3/+3
| | | | | |
| * | | | | tor-dirserver: Remove due TODOClara Engler2025-10-151-4/+0
| | | | | |
| * | | | | tor-dirserver: Improve the error situationClara Engler2025-10-153-140/+140
| | | | | |
| * | | | | tor-dirserver: Create database moduleClara Engler2025-10-154-88/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit renames the schema module to the database module in order to perform better error handling while redesigning the API.
| * | | | | tor-dirserver: Remove unused importsClara Engler2025-10-152-9/+0
| | | | | |
| * | | | | tor-dirserver: Store endpoint paths in `&str`Clara Engler2025-10-151-11/+34
| | | | | |
| * | | | | tor-dirserver: Get rid of the poor buildersClara Engler2025-10-153-138/+20
| | | | | |
| * | | | | tor-dirserver: Move StoreCache into own moduleClara Engler2025-10-152-151/+178
|/ / / / /
* | | | | Merge branch 'arti-hss-docs' into 'main'gabi-2502025-10-141-0/+100
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc/hss.md: Add basic usage instructions for arti hss Closes #2108 See merge request tpo/core/arti!3357
| * | | | | doc/hss.md: Use implementation-agnostic markdown.Gabriela Moldovan2025-10-141-10/+8
| | | | | | | | | | | | | | | | | | | | | | | | This will make the doc render nicely outside of GitLab too.
| * | | | | doc/hss.md: Insert missing wordGabriela Moldovan2025-10-141-1/+1
| | | | | |
| * | | | | doc/hss.md: Say that the svc must be shut down for migration.gabi-2502025-10-141-0/+1
| | | | | |
| * | | | | doc/hss.md: Add basic usage instructions for arti hssGabriela Moldovan2025-10-141-0/+101
| | | | | | | | | | | | | | | | | | | | | | | | Closes #2108
* | | | | | Merge branch 'rm-allow' into 'main'Ian Jackson2025-10-141-1/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | proto: Remove an allow that is no longer needed See merge request tpo/core/arti!3356
| * | | | | proto: Remove an allow that is no longer neededGabriela Moldovan2025-10-141-1/+0
| | | | | |
* | | | | | Merge branch 'ticket2215_01' into 'main'David Goulet2025-10-141-0/+208
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc: Add relay task dev notes Closes #2216 See merge request tpo/core/arti!3358
| * | | | | | doc: Add relay task dev notesDavid Goulet2025-10-141-0/+208
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #2216 Signed-off-by: David Goulet <[email protected]>
* | | | | | Merge branch 'split-builds' into 'main'Ian Jackson2025-10-141-30/+46
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | CI: split rust-recent script and jobs See merge request tpo/core/arti!3352
| * | | | | CI: remove 2h timeouts from now-smaller jobsJim Newsome2025-10-091-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hopefully these are now sufficiently small to fit into the default 1h timeout.
| * | | | | CI rust-dev-latest: add comment noting that it could be split furtherJim Newsome2025-10-091-0/+5
| | | | | |
| * | | | | CI rust-recent-dev-test: split out testJim Newsome2025-10-091-5/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This job is still expensive and a bottleneck. "cargo test" is the slowest part, and experimentally doesn't seem to generate artifacts used in the other steps nor reuse artifacts genrated in other steps. Splitting it out to its own job exposes more parallelism. "cargo test" is also more prone to flakiness than the other commands, which just build code without running it. Isolating the flakiness is helpful when we need to retry. (Though of course ultimately we want to eliminate such flakinesss)
| * | | | | CI rust-recent-dev-test: inline rust-dev-test-script yaml anchorJim Newsome2025-10-091-14/+5
| | | | | |
| * | | | | CI: drop rust-latest-integrationJim Newsome2025-10-091-37/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's probably not much benefit to building these on rust-latest in addition to rust-recent; incompatibilities with rust-latest should be found in rust-latest-dev-test. Let's save the template complexity and CI cost.
| * | | | | CI: split rust-recent script and jobsJim Newsome2025-10-091-8/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rust-recent (and rust-latest, for runs on the main branch) is one of our longer jobs, particularly in the 'build' CI stage, making it a bottleneck for starting the 'test' stage. The job does quite a bit of work, some of it with very little overlap due to use of different cargo build profiles. This commit splits the job roughly by build-profile, so that the work done with each build profile can proceed in parallel.
* | | | | | Merge branch 'celltypes' into 'main'gabi-2502025-10-1410-11/+13
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | proto: Move celltypes out of client See merge request tpo/core/arti!3355
| * | | | | | proto: Move celltypes out of clientGabriela Moldovan2025-10-1310-11/+13
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | Some of these are relay-specific, so it makes more sense to pull this into a top-level module.
* | | | | | Merge branch 'unique-id' into 'main'David Goulet2025-10-142-19/+30
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | proto: Stop using tunnel IDs in relay reactor. See merge request tpo/core/arti!3353
| * | | | | | proto: Stop using tunnel IDs in relay reactor.Gabriela Moldovan2025-10-132-19/+30
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using a tunnel ID here doesn't make much sense right now, because we don't yet support exit-side conflux (and when we will, it's unclear whether the concept of "tunnel" will be applicable, especially if we refactor things such that multi-path circuits are handled without a ConfluxSet-like type like we have for clients). This change forces us to stop using the client-specific `unwrap_or_shutdown` (because this macro expects `self` to have a tunnel ID), but IMO that is okay.
* | | | | | Merge branch 'smallvecify' into 'main'David Goulet2025-10-141-1/+7
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | proto: Use a small vec for the hop list. See merge request tpo/core/arti!3354
| * | | | | proto: Use a small vec for the hop list.Gabriela Moldovan2025-10-131-1/+7
|/ / / / / | | | | | | | | | | | | | | | | | | | | We can optimize for the general (N <= 3) case, and avoid a heap allocation.
* | | | | Merge branch 'parse2-unify-time-type' into 'main'Ian Jackson2025-10-094-9/+17
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | tor-netdoc: Abolish NdaSystemTimeDeprecatedSyntax and expose Iso8601Time* See merge request tpo/core/arti!3337
| * | | | tor-netdoc: Don't repr(transparent)Ian Jackson2025-10-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | We don't really need this and it raises questions, for example https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/3337#note_3271871
| * | | | tor-netdoc: Replace NdaSystemTimeDeprecatedSyntax with Ios8601TimeSpIan Jackson2025-10-091-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Previously we needed this separate type because Ios8601TimeSp is FromStr which prevented a correct ItemArgumentParseable impl.
| * | | | tor-netdoc: Expose the field in time wrappersIan Jackson2025-10-091-2/+4
| | | | |
| * | | | tor-netdoc: impl many traits for time wrappersIan Jackson2025-10-091-2/+4
| | | | |
| * | | | tor-netdoc: Expose Iso8601TimeNoSp and Iso8601TimeSp utility wrappersIan Jackson2025-10-093-3/+8
| | | | | | | | | | | | | | | | | | | | We're going to want to change some now-public fields to use these types.
* | | | | Merge branch 'arti-bench-quicktest' into 'main'Jim Newsome2025-10-093-3/+45
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | CI: build arti-bench with quicktest instead of release See merge request tpo/core/arti!3347
| * | | | CI: build arti-bench with --lockedJim Newsome2025-10-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This is mostly for consistency with the following "cargo build" invocation to build arti, but is unlikely to make any real difference.
| * | | | CI: build arti-bench with quicktest instead of releaseJim Newsome2025-10-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Right now building arti-bench take a fair while in the rust-recent and rust-latest jobs. Using the quicktest profile instead of release makes any actual benchmark results less meaningful, but as far as I can tell this build artifact is mostly just to test that it works at all rather than to collect meaningful performance data. e.g. we're currently not controlling at all for runner capacity or load.
| * | | | chutney ci: make arti-bench bin configurableJim Newsome2025-10-092-1/+43
|/ / / / | | | | | | | | | | | | Also search several candidate paths.
* | | | Merge branch 'parse2-argument-error' into 'main'Ian Jackson2025-10-0912-107/+306
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | tor-netdoc: parse2: Report columns of argument errors See merge request tpo/core/arti!3336
| * | | | tor-netdoc: parse2: Fix some slips in doc commentsIan Jackson2025-10-091-3/+3
| | | | |
| * | | | tor-netdoc: parse2: Work around MSRV unhelpful lifetimeIan Jackson2025-10-091-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.85.1 rejects this, because it doesn't extend the lifetime of the `format_args!`. 1.90 is fine with it. I want to keep `format!` not `String::new()` so that it's easy to change back. That means a clippy allow. Getting that to apply to the code inside the derive is tricky, so I've enabled it for the whole module. (IMO this clippy lint is pretty annoying anyway.)
| * | | | tor-netdoc: parse2: Actually expose new errors in crate toplevelIan Jackson2025-10-091-1/+1
| | | | |
| * | | | tor-netdoc: parse2 tests: Test ParseError Display and Error implIan Jackson2025-10-091-6/+29
| | | | |