Commit f6bc990
agent_trace_db: Wire best-effort pull-on-setup when sync mode is active
AgentTraceDbLifecycle::setup now captures the AgentTraceDb::new() result
and performs an initial pull() when sync mode is active (both SCE_SYNC_URL
and SCE_SYNC_TOKEN set). The pull is best-effort — remote failure is logged
via tracing::warn! and setup continues without error.
Co-authored-by: SCE <sce@crocoder.dev>1 parent 10c8e38 commit f6bc990
7 files changed
Lines changed: 55 additions & 19 deletions
File tree
- cli/src/services/agent_trace_db
- context
- plans
- sce
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
56 | 63 | | |
57 | 64 | | |
58 | 65 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments