Commit Graph
5233 Commits
Author SHA1 Message Date
Tunglies 77f4c77b50 fix(profile): preserve storage recovery details in refresh errors 2026-12-04 01:48:34 +08:00
Tunglies 338c3f67fa fix(backup): distinguish staging failures from live restore failures 2026-12-04 01:48:34 +08:00
Tunglies 4e50ea0678 perf(backup): allocate each profile entry name once 2026-12-04 01:48:34 +08:00
Tunglies 9c894956d1 fix(backup): serialize restore with WebDAV credential updates 2026-12-04 01:48:34 +08:00
Tunglies ba6be42a7d fix(backup): validate restored core and DNS settings in staging 2026-12-04 01:48:33 +08:00
Tunglies 731b3fc8c9 fix(profile): report partial writes on the legacy refresh path 2026-12-04 01:48:33 +08:00
Tunglies 2b02e2de3e fix(backup): restore from a stable copy of the local archive 2026-12-04 01:48:33 +08:00
Tunglies d2f0f3c0c1 refactor(backup): name the archive before staging verification 2026-12-04 01:48:33 +08:00
Tunglies 6b84c0d625 fix(backup): reject entries shorter than their declared length 2026-12-04 01:48:33 +08:00
Tunglies 5edc035120 perf(profile-store): reuse buffers while preparing a refresh 2026-12-04 01:48:33 +08:00
Tunglies 2cdd0dd701 fix(backup): check referenced profile bodies before restore 2026-12-04 01:48:32 +08:00
Tunglies 44aa5f2430 refactor(profile): simplify saved body validation and rollback 2026-12-04 01:48:32 +08:00
Tunglies 28aefde36f refactor(subscription): carry refresh metadata through the download 2026-12-04 01:48:32 +08:00
Tunglies 59762520cc fix(profile-store): refresh native Unix body filenames 2026-12-04 01:48:32 +08:00
Tunglies 1172ff24ff chore: merge runtime base into storage branch 2026-12-04 01:32:11 +08:00
Tunglies 71c2b9317f fix(script): reject oversized names before escaping 2026-12-03 21:39:26 +08:00
Tunglies 675933c5f0 perf(runtime-bundle): reuse the normalized destination buffer 2026-12-03 21:39:25 +08:00
Tunglies 1c4bf7c223 fix(runtime-bundle): reject mixed owners of a provider path 2026-12-03 21:39:25 +08:00
Tunglies dc9ace6645 perf(proxy): resolve unique members without building scope caches 2026-12-03 21:39:24 +08:00
Tunglies 4da989534f perf(script): count integer digits without formatting JSON 2026-12-03 21:39:24 +08:00
Tunglies c99a0a18a5 fix(script): support runtime console methods during validation 2026-12-03 21:39:23 +08:00
Tunglies 21099614a8 fix(script): check the evaluated profile entry point 2026-12-03 21:39:22 +08:00
Tunglies 9b10b9bb25 perf(config): reuse profile sequence storage during rendering 2026-12-03 21:39:21 +08:00
Tunglies 1471ad31a5 fix(config): keep runtime field sorting stable 2026-12-03 21:39:21 +08:00
Tunglies 2735282879 fix(config): fill blank IPv6 fake IP ranges in TUN mode 2026-12-03 21:39:20 +08:00
Tunglies dd48d2acb5 chore(storage): sync the runtime branch with dev 2026-12-03 21:00:08 +08:00
Tunglies 7b6113c91b chore(runtime): merge dev after the profile squash 2026-12-03 20:58:17 +08:00
Tunglies 4fa9983576 refactor(runtime-bundle): share provider section order 2026-12-03 20:56:45 +08:00
Tunglies 473452c57e refactor(proxy): build the view from its input 2026-12-03 20:56:44 +08:00
Tunglies 17bd142fb7 refactor(proxy): collect provider snapshots in display order 2026-12-03 20:56:44 +08:00
Tunglies 4e49320ba2 refactor(config): reuse sequence storage when applying profile edits 2026-12-03 20:56:43 +08:00
Tunglies b5546c03b5 refactor(proxy): read group order and scope in one pass 2026-12-03 20:56:43 +08:00
Tunglies 91aae5ef40 refactor(script): keep console state local to evaluation 2026-12-03 20:56:43 +08:00
Tunglies ce1c0ee510 refactor(config): load cached chain items directly 2026-12-03 20:56:42 +08:00
Tunglies 079a8563a9 refactor(config): accumulate profile keys and logs during rendering 2026-12-03 20:56:42 +08:00
Tunglies 6cce982f58 refactor(config): remove the unused runtime patch API 2026-12-03 20:56:41 +08:00
Tunglies 447ce3ccfb refactor(backend): extract profile and subscription capabilities (#8800)
* chore(clippy): scope crate lint policy

Keep panic-on-error lints at application target roots and scope signal dependencies to Linux.

* docs(agents): define Rust backend architecture boundaries

Document which layer owns Rust capabilities, fallible inputs, background work, and crate validation.

* refactor(draft): type async publication conflicts

Return typed conflicts for async Draft edits. Release the lock and edit permit before converting the error, and exercise overlapping updates.

* refactor(logging): use typed logger errors

Expose crate-owned logger errors and preserve the underlying error sources.

* refactor(subscription): extract response decoding

Keep HTTP and persistence in the app. Decode response metadata and framing in the crate, and fall back when the server filename is invalid.

* refactor(profile): extract profile models and index rules

Move profile models and index rules into the crate, preserving serialization and returning a typed missing-profile error.

* refactor(profile): separate subscription refresh and scheduling policy

Separate download and scheduling policy from the subscription use case while retaining the existing write path.

* refactor(subscription): decode deep links in the subscription crate

* refactor(profile): extract selected node recovery rules

* docs(agents): define dependencies between capability crates

* refactor(task): move retry primitives into the task crate

* refactor(backup): extract backup ZIP writing

* refactor(subscription): keep profile writes outside proxy fallback

* fix(profile): preserve delays for future update timestamps

* fix(subscription): preserve filenames from response headers and URL paths

* fix(subscription): separate deep link parameters from nested URLs

* refactor(profile): look up the refresh target once

* refactor(subscription): pass the proxy directly to each download

* refactor(profile): build companion options in one place

* refactor(profile): remove companions from the deleted profile

* style(profile): keep profile fields together

* refactor(profile): name index operations after what they change

* refactor(profile): call the core reload directly

* refactor(backup): move archive validation to the restore change
2026-12-03 12:42:26 +00:00
Tunglies 93a5528025 refactor(backup): keep archive validation with restore 2026-12-03 19:43:10 +08:00
Tunglies 63000f39f5 refactor(config): name the runtime rendering step 2026-12-03 19:42:50 +08:00
Tunglies ca22495869 chore(runtime): sync the profile refactor 2026-12-03 19:42:46 +08:00
Tunglies a272280f1a refactor(backup): move archive validation to the restore change 2026-12-03 19:38:51 +08:00
Tunglies 35dbb3716d refactor(profile): call the core reload directly 2026-12-03 19:38:46 +08:00
Tunglies 651f297785 refactor(profile): name index operations after what they change 2026-12-03 19:38:42 +08:00
Tunglies 80fca96848 style(profile): keep profile fields together 2026-12-03 19:38:36 +08:00
Tunglies 966e0e03ff refactor(profile): remove companions from the deleted profile 2026-12-03 19:38:32 +08:00
Tunglies 3af8034e02 refactor(profile): build companion options in one place 2026-12-03 19:38:28 +08:00
Tunglies 83a520ea19 refactor(subscription): pass the proxy directly to each download 2026-12-03 19:38:23 +08:00
Tunglies c742a9a17c refactor(profile): look up the refresh target once 2026-12-03 19:38:18 +08:00
Tunglies c53e005f25 fix(subscription): separate deep link parameters from nested URLs 2026-12-03 17:59:25 +08:00
Tunglies 390231a043 fix(subscription): preserve filenames from response headers and URL paths 2026-12-03 17:59:25 +08:00