* ci: streamline pull request checks and run the full matrix daily
Refs #3055
* ci: run runtime contracts only on affected Core checks
* test(ci): distinguish SDK checks from SDK publication
* fix(ci): retain legacy regressions and scope production image builds
* docs(ci): clarify focused regressions and production image selection
* test(artifact): cover mixed media, isolation and native retention
Exercise real Core, Runtime and Runner with mixed attachments and retention. Keep deterministic checks separate from native 30-hour soak and credentialed provider acceptance.
* test(artifact): isolate compaction evidence in shared SQLite suite
* test(artifact): exercise native media compaction and scheduled GC under load
* test(artifact): allow native GC scheduler grace at soak finish
Run affected persistence/network, permission lifecycle and production-image upgrade/replacement acceptance before the existing required Core smoke status. Share persistence acceptance with Daily Endurance and fail the required status for missing, unsuccessful or cancelled P0 results.
Add authorization and content boundary tests and record a bounded mutation evaluation: 102 selected variants, with 87 killed and 15 explained survivors, stable across two executions. Product implementation and application dependencies are unchanged.
Startup used pip.main to install missing packages into whatever environment
Core was running in, then exited asking for a restart. Every supported install
(Docker image, uv venv, uvx, lbctl-managed native) ships a locked dependency
set, so this only mutated ephemeral or foreign environments.
- check_deps stays as a diagnostic; missing packages now print reinstall
guidance and exit 1 instead of being installed.
- Remove the unused precheck_plugin_deps (legacy plugins/ requirements) and
utils/pkgmgr.py, which only served it and hardcoded the Tsinghua index.
- Remove the unmaintained docker/deploy-k8s-test.sh helper.
The pip runtime dependency stays: the plugin runtime installs plugin
requirements with `python -m pip`.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
Show a one-time milestone card once the current Workspace has handled
100 real executions (agent runs + pipeline queries). The answer is kept
per browser; 'Maybe later' snoozes for 7 days, Star/close are final.
The executions endpoint gains summary=false so the count-only probe
skips the dashboard aggregates.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
The pipeline launcher id (and anything persisted from it, such as the
HumanTakeover plugin's session target) is the customer's external_userid
only, while WeComCS send_message required "external_userid|open_kfid".
Manual replies therefore failed with
"ValueError: WeComCS target_id must be formatted as ...".
send_message now accepts a bare external_userid: it uses the open_kfid the
customer last wrote to, and otherwise falls back to the app's only customer
service account (kf/account/list). Ambiguous or malformed targets still
raise a clear error. Launcher ids are unchanged, so existing sessions,
access-control lists and routing rules keep working.
Fixes#3021
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
Reverts the Cloud default-on from #3012: in two days it mailed about 2.3k
alerts, mostly bot_offline bursts caused by platform-side capacity errors.
Workspaces without saved settings now have alerts off everywhere.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
Cloud Core's main thread sat at 100% of one core while the 8-core node
was ~77% idle. A py-spy profile of production showed four avoidable
hotspots, each of which scaled with the number of Workspaces:
- Model list serializers scanned the whole runtime LLM cache (~125k
models across ~3.4k Workspaces) once per model. Resolve the
Workspace's runtime models once via the per-scope key index.
- Cloud model catalog sync reconciled every Workspace on every directory
change. Directory-triggered passes now skip Workspaces whose desired
state (catalog + owner key) is unchanged; a full reconcile still runs
every sync interval to repair drift.
- Inline media TTL cleanup selected agent_run_event candidates globally,
so every Workspace walked 100 other Workspaces' old events per hour,
one transaction each. Candidates now come from the Workspace's own
expired runs and only rows that can contain an inline image are
visited.
- An unset storage.media_cache key logged two warnings per Workspace on
every maintenance pass.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
_reject_reason missed 100.64.0.0/10 (shared address space), which holds
the Alibaba Cloud metadata endpoint 100.100.100.200. ipaddress does not
mark it private or reserved, only not global.
Fixes#3028
Co-authored-by: goranai <goranai@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* fix(auth): stop logging Cloud users out on transient server failures
On Cloud, valid sessions were bounced to /login: authentication that
failed for infrastructure reasons (BlockingWorkCapacityError from the
2-thread DNS pool, socket.gaierror, database blips) answered 401, and the
WebUI tears down the session on any 401. Production logs showed 47
capacity and 2 DNS failures answered as 401 in one hour.
- Transient authentication failures now answer 503
'authentication_unavailable' with Retry-After; credential failures keep 401.
- The resolver pool scales with the main pool (64 workers -> 16 DNS
workers / 256 queued, minimum 4 / 64) instead of a fixed 2 / 32.
- WebUI retries a request once on that 503, and on a 401 confirms with
/user/check-token before clearing the session.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(plugins): upload button on the plugin detail page
Debug, local and GitHub installs get the same 'Upload to marketplace'
action on their detail page as on the installed-plugin card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>