chengyongru
10ad48cc13
ci: isolate Test Suite runs by revision
2026-10-23 00:45:10 +08:00
chengyongru
67fc220c8a
ci: scope native acceptance and bind release candidate artifacts ( #6378 )
...
* ci: scope native acceptance and bind release candidate artifacts
* ci: isolate Windows installers and use portable Git tree fixtures
* test: preserve installer subprocess diagnostics on timeout
2026-10-21 23:50:58 +08:00
Xubin Ren and chengyongru
fbb61a373f
feat(update): integrate managed installs and recoverable in-app updates ( #6168 )
...
Add owner-aware Stable and Preview updates with explicit consent, verified release plans, protected process handoff and bounded service recovery. Keep configuration and conversations separate from program rollback.
Include the compact About controls, Windows long-path support, native package recovery checks and optional macOS Dock lifecycle integration. Preserve documented guidance for installations owned by other managers.
This code integration does not publish packages, enable signing or advance the public update channel.
Co-authored-by: chengyongru <61816729+chengyongru@users.noreply.github.com >
2026-10-21 19:16:56 +08:00
chengyongru
f284749d2f
ci: reduce Python test overhead and Windows latency ( #6357 )
...
* test: merge overlapping semantic contract coverage
Consolidate the six confirmed NAN-310 overlap groups while preserving replay, usage, generation kwargs, archive metadata, inspect fields, and subagent crash/redelivery assertions.
* test: lighten history seeds and layer runner progress rules
* ci: defer test storage setup and record phase timings
Close each listener-owned binary bridge before waiting for its TCP server; retain active upload and undecided-connection regressions. Avoid consuming readiness twice and run the repository import scan once in its static gate. NAN-310.
* test: scope filesystem mocks and observe consumed socket prefixes
* test: publish subprocess readiness files atomically
* ci: isolate external tool discovery and use three Windows workers
2026-10-21 14:47:55 +08:00
chengyongru
a1bca7dc50
fix(webui): restore full-project typechecking
2026-10-20 14:47:38 +08:00
chengyongru
f869212e7d
perf(ci): shorten WebUI feedback latency
...
Run WebUI checks/build and browser regressions on independent runners while preserving the existing webui aggregate check and every acceptance command. Advance the existing invalid-input validation windows with scoped fake timers instead of real sleeps.
2026-10-20 14:38:57 +08:00
chengyongru
de8fbc3ad2
fix(api): keep unconfigured services running and preserve Docker onboarding
2026-10-19 13:02:26 +08:00
chengyongru
e20737a509
fix(docker): validate and atomically save first-boot configuration
2026-10-19 13:02:26 +08:00
LuckVd
ef2cd0c8c7
Activate the api profile in the compose privilege-boundary check
...
The boundary assertion materializes gateway, api and cli from the merged
compose config; with nanobot-api now under the api profile it must opt in
explicitly or the lookup raises KeyError.
2026-10-19 13:02:26 +08:00
chengyongru
74942bd190
test: replace false-green checks with behavioral coverage ( #6282 )
...
* test: replace false-green checks with behavioral coverage
* test: complete behavior-focused audit coverage
2026-10-18 03:16:25 +08:00
chengyongru
8f6a5594fb
refactor(session): centralize state ownership in SQLite ( #5943 )
...
* fix(session): move persistence off event loop
* refactor(session): isolate async persistence boundary
* refactor(session): keep a single session manager
* refactor(session): use stateless async adapters
* fix(session): serialize local persistence without file-lock contention
* refactor(session): own async persistence and snapshot commits
* refactor(session): narrow persistence changes to async adapters
* refactor(session): remove redundant async forwarding helpers
* fix(command): offload compact session persistence
* fix(session): adapt idle compaction to current main
* fix(webui): offload session metadata persistence
* refactor(session): centralize state ownership in SQLite
* fix(session): skip storage for non-recoverable followups
* test(webui): honor the full gateway event deadline
* perf(session): persist incremental changes and reuse owner snapshots
* test(agent): allow durable worker shutdown in burst test
* fix(gateway): drain session storage on Windows console shutdown
* fix(session): enforce bounded ownership and lifecycle-safe persistence
* fix: reject unresolved home paths and stabilize platform tests
* fix(session): preserve request context compatibility and owner-backed tests
* docs: focus configuration guide on user-facing behavior
* fix(session): adapt goal admission to async ownership after rebase
* fix(session): integrate current gateway and subagent contracts
* fix(session): align rebased workspace admission and async tests
* fix(session): support compatible SQLite schema evolution
* test(agent): use session owner in workspace context regressions
* test: stabilize Windows lifecycle and browser checks
* refactor(session): remove premature JSONL file export
* ci: bound Windows full-suite worker concurrency
* chore: remove session state refactor notes
* fix(session): queue writes and retain worker connections
* perf(webui): read detached metadata for session and task lists
* perf(agent): bound prompt preparation and local token counting
* docs: remove internal session storage guide
* perf(session): skip archived transcripts during idle scans
* fix(session): coordinate turns and isolate legacy session data
Bind WebUI input generations to the execution session and serialize idle
and SDK compaction with turns. Keep turn drafts through preparation so the
latest channel route persists.
Move imported workspace JSONL and checkpoints to durable private backups
before gateway admission, resuming cleanup after interruptions. Remove
committed child sessions when task creation is cancelled.
Validation: focused Python and frontend regressions, Ruff, BasedPyright,
import boundaries, WebUI build, and isolated gateway/browser flows.
* fix(agent): keep cancellation hooks independent of prompt preparation
* fix(session): preserve admission, delivery, and migration contracts
* fix(agent): preserve cancellation settlement after rebase
* fix(session): preserve request attribution through async ownership
2026-10-16 17:28:47 +08:00
chengyongru
328e933d36
refactor: isolate runtime contracts and enforce import boundaries ( #6166 )
...
* test: enforce Python import ownership boundaries
* test: protect client import boundaries and rehome shared UI contracts
* refactor: remove gateway and client dependency inversions
* fix: detect dynamic imports in conditional expressions
* refactor(tools): keep configuration contracts with their owners
* docs: keep design guidance focused on ownership and checks
* fix: preserve default threaded turn delivery
2026-10-13 13:56:28 +08:00
chengyongru
29f27dcf5d
ci: reduce test runtime while preserving coverage ( #6101 )
...
* ci: reduce test runtime while preserving coverage
* test: close cached usage stores before temporary directory cleanup
2026-10-08 13:03:56 +08:00
Xubin Ren
5c157eba8d
ci: expose stalled coverage tests and thread stacks
2026-09-26 19:19:21 +08:00
Xubin Ren
1bb712d348
ci: use baseline Bun directly for Windows TUI builds
2026-09-16 02:38:34 +08:00
chengyongru
a4fe3adf5c
ci: parallelize tests and filter unrelated jobs ( #5680 )
...
* ci: parallelize tests and filter jobs by paths
* ci: allow manual workflow validation
* ci: isolate terminal output tests from xdist
* ci: speed up Windows test jobs
* ci: use tracked dependency manifest for uv cache
* ci: run Docker checks for Python build configuration changes
2026-09-07 00:42:54 +08:00
Xubin Ren
b17f227eb9
fix(release): package TUI compliance materials
2026-08-17 20:56:10 +08:00
Xubin Ren
92727c99a8
ci(tui): cross-build releases on free runners
2026-08-17 20:56:10 +08:00
Xubin Ren
f5125f3c07
test(gateway): isolate lifecycle lock behavior
2026-08-17 20:56:10 +08:00
Xubin Ren
78aa29ffc9
test(ci): serialize Windows lifecycle checks
2026-08-17 20:56:10 +08:00
Xubin Ren
8104d9f702
test(ci): trace isolated Windows interrupt
2026-08-17 20:56:10 +08:00
Xubin Ren
e63ef5d211
test(ci): isolate Windows console tests
2026-08-17 20:56:10 +08:00
Xubin Ren
314f5dcf0b
test(ci): isolate Windows process checks
2026-08-17 20:56:10 +08:00
Xubin Ren
f43ae67e95
test(ci): trace Windows interrupt source
2026-08-17 20:56:10 +08:00
Xubin Ren
7ed37e5b70
test(tui): exercise Windows ConPTY boundary
2026-08-17 20:56:10 +08:00
Xubin Ren
a80993e413
test(tui): verify real terminal boundaries
2026-08-17 20:56:10 +08:00
Xubin Ren and Bingxi Zhao
406509aeb8
fix(tui): align CI with supported platforms
...
Wait for terminal setup before asserting signal cleanup on slower Intel runners. Do not advertise a Windows ARM64 sidecar while Bun lacks the FFI support OpenTUI requires there.
Co-authored-by: Bingxi Zhao <150592536+pancacake@users.noreply.github.com >
2026-08-17 20:56:10 +08:00
Xubin Ren
35f2d086b0
fix(tui): harden themes and platform coverage
2026-08-17 20:56:10 +08:00
Xubin Ren
4f12e15237
fix(tui): harden the interactive terminal experience
2026-08-17 20:56:10 +08:00
ce070c832d
feat(cli): add native TypeScript terminal UI
...
Rebuild the terminal client on OpenTUI while keeping the Python gateway as the single agent, session, tool, and memory runtime. Preserve a classic prompt fallback and publish version-matched native sidecars for supported platforms.
Co-authored-by: Bingxi Zhao <150592536+pancacake@users.noreply.github.com >
Co-authored-by: chengyongru <2755839590@qq.com >
2026-08-17 20:56:10 +08:00
Xubin Ren and yu-xin-c
498070d036
test(docker): separate host bwrap requirements
...
Co-authored-by: yu-xin-c <175149126+yu-xin-c@users.noreply.github.com >
2026-08-13 02:13:51 +09:00
Xubin Ren and yu-xin-c
b7f0ae95a9
test(docker): run bwrap check as final user
...
Co-authored-by: yu-xin-c <175149126+yu-xin-c@users.noreply.github.com >
2026-08-13 02:13:51 +09:00
Xubin Ren and yu-xin-c
b571d3b9ff
fix(docker): prevent privilege regain after bootstrap
...
Co-authored-by: yu-xin-c <175149126+yu-xin-c@users.noreply.github.com >
2026-08-13 02:13:51 +09:00
yu-xin-c
3741ecda0b
fix(docker): restore capabilities for privilege drop
2026-08-13 02:13:51 +09:00
chengyongru
55ecda275d
test: strengthen user-path coverage and CI gates ( #5308 )
2026-08-09 21:37:06 +08:00
chengyongru
757ad9c764
refactor: enforce BasedPyright strict type checking ( #5158 )
2026-07-29 21:37:11 +08:00
chengyongru
393d429e0a
fix(ci): stabilize and speed up CI ( #5145 )
2026-07-28 22:55:59 +08:00
chengyongru
9070d7489a
fix(ci): scope PR path detection to head changes
2026-07-28 20:24:52 +08:00
chengyongru
4b1547db7d
style(webui): unify settings and dark mode surfaces ( #5058 )
2026-07-23 17:47:20 +08:00
chengyongru
8423cf3eeb
fix(channels): complete dependency manifest migration ( #4995 )
...
* fix(channels): complete dependency manifest migration
* docs(docker): clarify custom uid dependency installs
* fix(channels): keep dependency preinstall internal
* refactor(channels): move dependency installer to scripts
* fix(docker): limit runtime write access
2026-07-20 15:24:57 +08:00
chengyongru
462a0dfb0f
refactor(channels): make built-in channels self-contained ( #4908 )
...
* refactor(channels): own setup and instance contracts
* refactor(channels): isolate management contracts
* refactor(channels): normalize activation contracts
* fix(channels): enforce management contracts
* refactor(channels): finish setup ownership migration
* fix(channels): harden management contracts
* fix(channels): enforce lazy loading and runtime ownership
* fix(feishu): make multi-instance startup idempotent
* fix(webui): render channel setup contracts cleanly
* fix(feishu): stop websocket clients cleanly
* fix(channels): enforce persistence and activation gates
* fix(channels): preserve global feature action scope
* fix(channels): apply defaults for single plugins
* fix(channels): enforce management contract boundaries
* refactor(feishu): remove identity helper indirection
* fix(channels): preserve management setup contracts
* refactor(channels): generalize instance settings UI
* refactor(channels): package channel plugins with web UI metadata
* refactor(channels): make built-ins self-contained packages
* test(channels): colocate tests with channel packages
* fix(dingtalk): use official brand icon
* feat(channels): colocate webui translations
* docs(channels): clarify plugin ownership
* test(exec): remove output wait race
* refactor(channels): unify plugin descriptors
* fix(channels): enforce descriptor-owned contracts
* refactor(channels): finish package-owned plugin setup
* refactor(channels): use repository-owned packages only
* fix(channels): self-describe dependencies and runtime state
* fix(channels): warn about legacy entry points
2026-07-19 23:30:49 +08:00
chengyongru
2116e32013
test: speed up CI and harden the suite
2026-07-15 00:18:37 +08:00
chengyongru
905da8e34a
ci(webui): verify npm and bun lockfiles
2026-07-14 23:16:21 +08:00
chengyongru
cd1fb61eb5
ci: relax webui install lock check
2026-06-27 11:04:11 +08:00
chengyongru
e79cb816e3
ci: pin bun for webui job
2026-06-27 11:04:11 +08:00
chengyongru
64901be67f
test: harden webui and gateway checks
2026-06-27 11:04:11 +08:00
chengyongru
2d86094fc7
ci: skip docs-only changes
2026-06-18 22:47:43 +08:00
chengyongru
6e6470daa0
docs: remove nightly branch guidance
2026-06-08 16:03:24 +08:00
Xubin Ren
c0d4f012c8
test(cli): cover CLI Apps on Windows CI
2026-05-23 00:47:28 +08:00
Xubin Ren
897eedaaa7
chore(ci): update Python version in CI workflow to focus on supported runtimes 3.13 and 3.14
2026-05-16 04:15:58 +00:00