jxxghp
|
ff01449cdd
|
fix(api): humanize user-facing error messages
|
2026-09-04 17:55:56 +08:00 |
|
jxxghp
|
0ecc2825e2
|
fix(classification): satisfy mypy ratchet
|
2026-09-04 12:25:31 +08:00 |
|
jxxghp
|
c0d05e7460
|
fix(classification): satisfy ruff import ratchet
|
2026-09-04 12:18:42 +08:00 |
|
jxxghp
|
2dde32ce86
|
chore(architecture): refresh classification dependency baselines
|
2026-09-04 12:09:54 +08:00 |
|
jxxghp
|
d128509f34
|
feat(classification): complete media preview and impact analysis
|
2026-09-04 11:50:07 +08:00 |
|
jxxghp
|
5a8380525d
|
fix(api): keep plugin endpoint within complexity budget
|
2026-09-04 10:53:08 +08:00 |
|
jxxghp
|
adae5bd878
|
fix(api): restore full plugin catalog by default
|
2026-09-04 10:47:02 +08:00 |
|
jxxghp
|
7fff20cf72
|
Merge pull request #6571 from cwd0204/fix/session-download-history-async-count
|
2026-09-04 09:20:36 +08:00 |
|
freeman
|
fae87d68bf
|
fix(history): 请求级下载历史仓储补齐 async_count,修复下载历史接口 500
HistoryQueryService.count_download() 依赖 AsyncDownloadHistoryQueryRepository
协议的 async_count(),但 startup 注入的请求级适配器
SessionDownloadHistoryRepository 只实现了 async_list_by_page(),导致
GET /api/v1/history/download 在写入分页总数响应头时抛 AttributeError 并返回 500,
Web 端下载历史页面无法加载。
为 SessionDownloadHistoryRepository 补齐 async_count(),在请求持有的
AsyncSession 内调用 DownloadHistoryOper.async_count(),Session 类型校验与
async_list_by_page() 保持一致,并补充回归测试。
|
2026-09-04 08:55:27 +08:00 |
|
jxxghp
|
d87afba0e6
|
Merge pull request #6570 from ranzhigg/fix/plex-missing-episode-numbers
|
2026-09-04 07:52:30 +08:00 |
|
ranzhigg
|
08b5e9d34c
|
fix(plex): skip episodes with missing season or episode numbers
|
2026-09-04 07:51:22 +08:00 |
|
InfinityPacer
|
b8fd1b9958
|
修复非模块组件配置变更未触发热重载 (#6569)
* fix(event): bind config reload lifecycle owners
* chore(architecture): update config reload dependency baseline
* fix(event): preserve config resolver type contracts
|
2026-09-04 03:43:49 +08:00 |
|
InfinityPacer
|
43af5b5282
|
fix(module): bind config reload to module manager (#6568)
|
2026-09-04 01:34:29 +08:00 |
|
jxxghp
|
738e78043e
|
fix(agent): percent-encode API context headers
|
2026-09-03 18:27:04 +08:00 |
|
jxxghp
|
c406454c25
|
Merge pull request #6565 from jxxghp/codex/issue-6556-backend
test(site): cover complete DIC music titles
|
2026-09-03 18:14:03 +08:00 |
|
jxxghp
|
0f8aad2daf
|
fix(agent): encode channel metadata in API headers
|
2026-09-03 18:09:40 +08:00 |
|
jxxghp
|
c8f33f0986
|
test(site): cover complete DIC music titles
|
2026-09-03 18:05:54 +08:00 |
|
jxxghp
|
0528e531e3
|
fix(transfer): keep directory intercept intent stable
|
2026-09-03 16:14:58 +08:00 |
|
jxxghp
|
9fe904ffb1
|
refactor(classification): split legacy projection
|
2026-09-03 15:34:20 +08:00 |
|
jxxghp
|
3c817cdb9f
|
fix(classification): retire migrated TMDB fields
|
2026-09-03 15:17:03 +08:00 |
|
jxxghp
|
cda109492a
|
perf(classification): cache repeated fact reads
|
2026-09-03 12:54:37 +08:00 |
|
jxxghp
|
516687f0de
|
fix(architecture): reduce classification owner complexity
|
2026-09-03 12:40:49 +08:00 |
|
jxxghp
|
c93dba5fc2
|
Merge pull request #6562 from InfinityPacer/codex/subscription-governance-logging-followup
|
2026-09-03 12:22:40 +08:00 |
|
jxxghp
|
d743df25d5
|
fix(architecture): sync subscription governance baselines
|
2026-09-03 12:22:03 +08:00 |
|
InfinityPacer
|
e50bd06905
|
fix(subscription): always close search log summaries
|
2026-09-03 12:15:01 +08:00 |
|
jxxghp
|
eefc34076e
|
Merge pull request #6561 from InfinityPacer/codex/subscription-governance-logging
|
2026-09-03 12:10:13 +08:00 |
|
jxxghp
|
1849520a5d
|
Merge pull request #6560 from developer-wlj/v3-260903
|
2026-09-03 12:09:45 +08:00 |
|
InfinityPacer
|
7ed5f9f027
|
refactor(subscription): isolate governance observability
|
2026-09-03 12:08:53 +08:00 |
|
jxxghp
|
e6fdd5e8e2
|
fix(classification): use canonical transfer import
|
2026-09-03 12:04:16 +08:00 |
|
InfinityPacer
|
af47c1abee
|
feat(subscription): add governance logging summaries
|
2026-09-03 11:55:51 +08:00 |
|
jxxghp
|
71147c1d96
|
feat(classification): support multi-source media rules
|
2026-09-03 11:51:18 +08:00 |
|
developer-wlj
|
d263919045
|
fix(doctor): 解决 Windows Free-Threading环境下 诊断机制报 DLL 问题
- 添加 os 和 shutil 模块导入
- 在 Windows 环境下查找并添加 PostgreSQL 可执行文件目录到 DLL 搜索路径
- 使用 add_dll_directory 确保 PostgreSQL 相关库正确加载
|
2026-09-03 11:36:18 +08:00 |
|
InfinityPacer
|
68880dbbf1
|
优化订阅执行治理与规模性能 (#6557)
* feat(subscription): govern concurrent search and match execution
* refactor(subscription): consume complete candidate snapshots
* refactor(subscription): remove download submission ledger
* feat(subscription): stagger fallback searches without site gaps
* refactor(subscription): remove unused retry capability
* test(subscription): verify complete scale execution
* fix(subscription): surface site search failures
* test(subscription): verify site pressure through search
* test(subscription): use static facade imports
* fix(subscription): preserve completed downloads on shutdown
* fix(subscription): classify execution expiry as failure
* fix(subscription): preserve fallback search staggering
* test(subscription): stabilize unfinished wrapper gate
* fix(subscription): settle expired search returns
* style(subscription): normalize governance imports
* fix(subscription): align governance type contracts
* docs(architecture): sync mypy debt metric
* docs(architecture): sync startup module counts
|
2026-09-03 11:26:24 +08:00 |
|
jxxghp
|
7e42ab215d
|
fix(docker): use patched rclone image
|
2026-09-03 06:28:14 +08:00 |
|
jxxghp
|
dd2a4b22e1
|
fix(imdb): handle null optional title fields
|
2026-09-02 22:59:07 +08:00 |
|
jxxghp
|
3371925d55
|
fix: restore mypy ratchet after Windows updates
|
2026-09-02 20:44:57 +08:00 |
|
jxxghp
|
d94f827ae1
|
chore(architecture): refresh dependency snapshot
|
2026-09-02 20:34:53 +08:00 |
|
jxxghp
|
478e7ee0a4
|
fix(auth): restore API token compatibility
|
2026-09-02 20:22:57 +08:00 |
|
jxxghp
|
c20515971a
|
fix: restore multi-exception syntax
|
2026-09-02 20:22:57 +08:00 |
|
jxxghp
|
e5f6aaad48
|
Merge pull request #6552 from developer-wlj/v3-rebase
|
2026-09-02 20:18:39 +08:00 |
|
developer-wlj
|
39d4fc12d0
|
fix(main): 解决 Windows Free-Threading 环境下 DLL 加载问题
- 添加 shutil 模块导入用于查找可执行文件
- 为 Windows 环境手动注入 DLL 搜索路径
- 使用 shutil.which 查找 psql 可执行文件位置
- 将 psql 目录添加到 DLL 搜索路径以避免运行失败
- 针对 Python 3.8+ 的 DLL 加载行为变化进行适配
|
2026-09-02 20:07:56 +08:00 |
|
developer-wlj
|
089b007a00
|
refactor(state): 添加Windows重启逻辑
- 将Windows重启逻辑封装为_staticmethod
- 实现了独立的命令行执行方法cmd
- 添加了可执行文件存在性检查
- 统一了重启操作的返回格式
- 改进了错误处理和消息提示机制
|
2026-09-02 20:07:56 +08:00 |
|
jxxghp
|
a1da31833d
|
Merge pull request #6548 from Aqr-K/fix/plugin-schema-isolation
|
2026-09-02 14:56:15 +08:00 |
|
Aqr-K
|
862ed4d5b8
|
fix(plugin): 插件 schema 不再回落 public,迁移目录拒绝相对路径
PostgreSQL 下 search_path 留了 public 兜底,插件 schema 里不存在的表名会继续
解析到宿主同名表,一条未限定的 DELETE 就能改到宿主数据;解析根收敛为插件自己的
schema,找不到的表名直接报错。
get_database_migrations() 的合同要求绝对路径,此前只校验目录是否存在,相对路径
会按宿主进程的当前工作目录解析成另一条迁移链,改为直接拒绝。
|
2026-09-02 02:38:18 -04:00 |
|
jxxghp
|
acd6d74869
|
Merge pull request #6545 from Aqr-K/feat/plugin-self-managed-db
|
2026-09-02 14:23:43 +08:00 |
|
Aqr-K
|
a4d38e0f12
|
fix(plugin): 卸载先停后删、销毁全程持锁,PostgreSQL 会话按插件 schema 解析原生 SQL
卸载编排改为先停插件再删数据:插件的停机钩子取一次自有库句柄就能把刚删除的数据重新
建出来,注册表因此不再需要销毁墓碑,release 恢复为「只释放连接、保留数据」的单一语义。
停止同时注销插件类,其后的删除一律按 force 执行。
destroy_database 的摘句柄、关连接与删载体全部收进同一把锁:原先在锁外删除载体,并发的
get_database 能在间隙注册一个指向同一载体的新句柄,随后的删除会把它一并抹掉。
PostgreSQL 句柄在派生引擎上注册 begin 监听器,按事务执行 SET LOCAL search_path,让
schema_translate_map 覆盖不到的原生 SQL 同样解析到插件自己的 schema;监听器只挂在
OptionEngine 上,宿主引擎与其它插件的连接不受影响。
|
2026-09-02 02:14:19 -04:00 |
|
Aqr-K
|
b1d258b31d
|
chore(architecture): 启动性能基线只更新模块计数
startup-performance-baseline.json 还原 v3 记录的平台、Python 版本与耗时样本,
只把三个冷导入入口的 loaded_app_module_count 各 +5。耗时样本按本机重采样会把
max_ms 抬高约 51%,而冷导入预算按 max(max_ms*2, max_ms+500)*1.15 计算,跟着
样本一起放宽;沿用 v3 样本时预算为 2565/2622/2715ms,本机实测中位数
1838/2105/1794ms 仍在预算内,--check 通过。
|
2026-09-02 02:14:19 -04:00 |
|
Aqr-K
|
d7c5955031
|
fix(plugin): 插件自有数据库释放与销毁全程容错,并修正建表去重与 schema 命名
release/destroy 统一经 _close_handle 先清线程局部会话再 dispose,两步失败都
只记日志:单个插件的连接池故障不再让 close_database 跳过宿主同步与异步引擎的
释放,release_all_databases 也逐插件隔离。按模型建表对 __table__ 去重,单表
继承的父子类一并声明时不再对同一张表建两次。
卸载编排先删插件数据、后停插件,停机钩子里的 get_database() 会把刚销毁的库
重新建出来:注册表记下已销毁的插件标识,其后的 release 改为再次销毁并清除
标记,ensure 则撤销标记,宿主编排代码不动。PostgreSQL schema 名在归一改写过
标识或超长时追加插件标识哈希并截到 63 字节,My-Plugin、My_Plugin 与
my_plugin 不再折叠到同一个 schema 而在卸载时互相 DROP。
start 的失败分支释放已经建立、却进不了运行态的句柄,整体停止把只登记在
_classes 里的插件一并释放。声明的迁移目录不存在时在建句柄之前抛
FileNotFoundError,不再留下空库;SQLite 迁移 URL 改由引擎渲染;
_get_sqlite_engine 的连接参数下沉到实际使用它的异步分支。
|
2026-09-02 02:14:19 -04:00 |
|
Aqr-K
|
adf4c84136
|
chore(architecture): 刷新宿主架构依赖、契约与启动性能基线
dependency-baseline.json 新增 7 个插件数据库模块及其依赖边,boundary_edges
12 个键仍全为空;runtime-contract-baseline.json 新增 app.sdk.database 的
两项 SDK 导出。app.db.session 起在冷启动路径新增 5 个轻量插件框架模块
(不含 alembic,其导入仍收在 ensure_database 内部),同步刷新
startup-performance-baseline.json 的模块计数;架构文档中引用的模块/边数
量同步更新,保持与快照一致。
|
2026-09-02 02:14:19 -04:00 |
|
Aqr-K
|
626d8217ba
|
feat(plugin): 开放插件自有数据库声明与句柄接口
_PluginBase 新增 get_database_models()/get_database_migrations() 声明钩子
与 get_database() 句柄入口,按类名(含分身)解析插件标识;
app/sdk/database.py 导出 plugin_declarative_base 与 PluginDatabaseHandle。
docs/rules/10-data-and-persistent.md 补充 Plugin-Owned Databases 小节,
说明 db_query/db_update 的自动兜底仍绑定宿主会话、需显式传入插件会话。
|
2026-09-02 02:14:19 -04:00 |
|