mirror of
https://github.com/TencentCloud/Octop.git
synced 2026-10-02 07:34:38 +08:00
CI: - Drop Python 3.11 from the test matrix (package requires >=3.12); the 3.11 jobs failed at `uv sync`. Linux and Windows now test Python 3.12. - Rename tests/unit/infra/setup/tls/test_store.py -> test_tls_store.py to fix the pytest import collision (duplicate basename) that aborted collection on the 3.12 job. Source bugs uncovered by the suite: - Move ACTOR_SYSTEM to a runtime import in infra/cron/job.py (was wrongly placed under TYPE_CHECKING, causing NameError at runtime). - Add missing users-table columns (login_failed_count, login_locked_until, preferences_json) in infra/db/migrate.py for legacy schema repair. - Make auth.update_me honor explicit nulls via model_dump(exclude_unset=True). - Relax skills hub endpoints to existence/ownership checks (require_agent_row) instead of requiring the agent to be running. - Marshal WebSocket frames onto the owning event loop in chat/ws.py so the starlette TestClient portal does not deadlock. - Include error details in the browser session 503 response. Tests: - Update tests to match current source APIs (harness async create/remove/ rebuild, FakeHarnessAgent skill methods, workspace nested layout, JWT middleware, CLI surface, proactive config defaults, general-assistant template manifest). - Migrate WebSocket tests to starlette TestClient(...).websocket_connect (httpx 0.28 removed AsyncClient.websocket_connect). - Skip memory API tests when the optional harness_memory dependency is absent via pytest.importorskip. - Remove the invalid diagnostic test tests/integration/test_diag_e2e.py (no assertions; inspected private internals only). Also includes the pre-existing uncommitted orca -> Octop rename across docs, README, LICENSE, Dockerfile and docker assets, as requested.
22 lines
1.0 KiB
Plaintext
22 lines
1.0 KiB
Plaintext
MIT License
|
|
|
|
Copyright (c) 2026 Octop
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
in the Software without restriction, including without limitation the rights
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
The above copyright notice and this permission notice shall be included in all
|
|
copies or substantial portions of the Software.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
SOFTWARE.
|