Commit 7ffd027
Multi transport builds (#1517)
* Add multi-callback
* Add DSN configuration
* Force lowercase
* Auto grab pubkey with multi-callback using 0th element.
* Update v1
* Update callback rotation
* fmt
* Remove agent callback_uris and idx in favor of config's
* Remove callback_uri from transport init replaced by config
* remove callback_uri direct ref
* fmt
* Cleanup warnings
* Address code review feedback
- Remove unused imports and variables in agent.rs
- Switch to and_then syntax for cleaner Option chaining
- Refactor parse_dsn to return Transport struct directly
- Convert default parameters to const values
- Bubble up errors instead of returning defaults
- Use named enum variants instead of numeric constants in tests
- Update all test cases to use TransportType enum
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Hulto <[email protected]>
* fmt
* Fix test_parse_callback_interval_valid test
The test was failing because parse_callback_interval() now returns
anyhow::Result<u64> instead of u64. Updated the test to properly
unwrap the Result before comparison.
Co-authored-by: Hulto <[email protected]>
* Update enum name
* Fix tests
* Fix tests
* Setup tests
* fix?
---------
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Hulto <[email protected]>1 parent 2d11111 commit 7ffd027
File tree
53 files changed
+1660
-911
lines changed- implants
- imixv2/src
- tests
- imix/src
- lib
- eldritchv2/stdlib
- eldritch-libagent/src
- eldritch-libassets/src
- eldritch-libhttp/src
- eldritch-libpivot/src
- eldritch-libsys/src/std
- eldritch/src/runtime/messages
- pb
- src
- generated
- transport/src
- tavern
- internal
- c2
- c2pb
- c2test
- proto
- cdn
- ent
- beacon
- schema
- graphql
- generated
- schema
- http/stream
- portals
- mux
- www
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
53 files changed
+1660
-911
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 91 | + | |
102 | 92 | | |
103 | 93 | | |
104 | 94 | | |
| |||
130 | 120 | | |
131 | 121 | | |
132 | 122 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
0 commit comments