You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
失败步骤:Rust checks and real database tests(此前 eade2dcc 上该步骤是通过的,属新失败);Native protobuf round trips and failure recovery 也失败(见下文,此前已知)
日志(节选):
error: the `Err`-variant returned from this function is very large
--> src/remote_control.rs:336:6
336 | ) -> Result<NativeRemote, Response> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the `Err`-variant is at least 128 bytes
= help: ... replacing it with `Box<axum::http::Response<tonic::service::AxumBody>>`
= note: `-D clippy::result-large-err` implied by `-D warnings`
error: could not compile `lmm-core` (lib) due to 1 previous error
current-schema index-predecessor fixture must match its reviewed canonical catalog
left: "004f567b826e6dca3c27161f68e2456703b6903e95b1845dea6f3f1064a7a3e8"
right: "5510e0bee0e5659ff940b798c9d6d3c69aea220734d9f73577c847b6841254b7"
Launching a follow-up CloudAgent (default model) to fix these Rust integration tests on a new draft PR against wip/rust-core-go-extensions. Keep this issue open until those tests pass on the default tip.
Activity
LIghtJUNction commentedon Oct 14, 2026
更新:默认分支新 tip
279f2463(bot 巡检,台北时间 2026-10-15 06:4x)默认分支
wip/rust-core-go-extensions前进到279f2463(含183f2b0dfeat(core): add MFA authority and verified model process coverage)。protocol作业仍失败:https://github.com/TokenNotIncluded/api.lmm.best/actions/runs/38643203135/job/116123591366✅ 已解决
clippy::result_large_err(remote_control.rs):cargo clippy --locked --all-targets -- -D warnings在该 tip 上已通过(clippy 之后的cargo test已开始执行)。❌ 新失败(
c576eacd上因 clippy 先失败而没跑到,属本次首次暴露)Workflow and source boundaries:183f2b0d修改了docs/development.md,链接到docs/legacy-financial-opening.md,但该文件在默认分支不存在(可能还在 draft WIP(A03): offline financial opening writer, strict replay and recovery #884 A03 里)。修复:补上该文档,或先去掉链接。Rust checks and real database tests(cargo test --no-fail-fast,3 个 target 失败):--lib:core_schema::index_tests::current_schema_index_predecessor_upgrade_changes_only_verified_index_and_two_receipts(src/core_schema/index_tests.rs:85)183f2b0d改了schema/identity.sql/migration.sql,但 reviewed canonical catalog 哈希没同步。--test cli:usage_index_owner_cli_upgrades_only_fresh_prior_fixture_and_rejects_runtime(tests/cli.rs:1063)→Error: Storage,大概率与上面的 schema 变更同源。--test model_process:新增的 6 个用例全部在tests/model_process.rs:79Option::unwrap()onNone失败——它们依赖LMM_MODEL_PROCESS_ROOT/LMM_MODEL_PROCESS_CORE_SHA256(只有scripts/verify_model_process.py的 owned-PG runner 会设置),但被普通cargo test --all-targets一起跑了。建议:没有这些环境变量时#[ignore]/ 提前 return,或在 workflow 里改用该 runner。Native protobuf round trips and failure recovery:仍是ERROR: permission denied for schema core_charging(与上文已知问题相同;183f2b0d改过deployment/postgres/grant-core-runtime.sql,但仍未修好)。说明
f4e51371)仍是同一个 rand 0.10 API 不兼容问题,之前已分析过,不再重复评论main@3948a0a1未受影响;本 bot 不开修复 PR(Cursor 云代理额度已耗尽)fix(ci): align PostgreSQL and prepare real Core process tests
LIghtJUNction commentedon Oct 15, 2026
已直接推进修复,更新现有 PR #916,提交
80523172c057fb26997cbdb0cf764f319d867c7b,基于当前 WIP906f6382ad19f213cb3aefe41915c3ab993ab7a1,未强推、未覆盖主线新增业务代码。本轮修改:
实际自测:新增 2 项回归在旧工作流上失败,修复后 5 项相关工作流测试通过;5 个仅验证 shell 执行行为的场景通过,覆盖编译失败、缺少程序及测试失败;RPC 离线测试 13 通过、1 项原有 Docker 条件跳过。远端修改文件的 blob 与本地已测文件一致。
历史 CI 运行 38658171431 的原生 RPC 恢复步骤实际已通过,但整个运行失败。该旧结果不能代替本次集成提交的验收。执行期间主线又更新了 schema 和审核指纹,本补丁已保留这些变化。
当前环境没有 Rust、PostgreSQL、Docker,完整真实进程与数据库验收仍须看新提交的 CI;保持此 Issue 打开,未合并或部署。详情与验证范围已更新到 PR 正文。
LIghtJUNction commentedon Oct 15, 2026
更新:#916 合并后默认分支 tip
2b0ba15f的 CI(bot 巡检,台北时间 2026-10-15 10:4x)#916 和 #904 合并后,默认分支
wip/rust-core-go-extensions前进到2b0ba15f。protocol作业仍失败,但失败形态变了:https://github.com/TokenNotIncluded/lmm-api/actions/runs/38670886219/job/116213485248✅ 本轮已通过(相对上次评论)
Workflow and source boundaries(legacy-financial-opening.md链接问题已修)core_schemaindex fixture 哈希、--test cliStorage 失败:本次日志未再出现model_process6 个用例中 5 个已通过(LMM_MODEL_PROCESS_ROOT问题已修)❌ 新失败
Rust formatting(新,cargo fmt --check):services/core/src/abuse/mod.rs:1:pub mod registration;需排在mod policy;之后services/core/src/identity/grants/protocol.rs:85:.challenge(Some("S256".into()), Some(input.code_challenge.clone().into()))需按 rustfmt 换行services/core下运行cargo fmt即可,纯格式改动Rust checks and real database tests:只剩--test model_process的independent_process_team_payer_fallback_and_revocation失败(tests/model_process.rs:178断言哈希不一致):right: "d53925f7ffd26867e42483174805e42b4855a71337ee33504e759eb408bd6bf9"
LIghtJUNction commentedon Oct 15, 2026
已解决,关闭(bot 巡检,台北时间 2026-10-16 00:4x)
默认分支
wip/rust-core-go-extensions上Microkernel implementation checks/protocol作业已连续 3 个提交全部通过,包括本 issue 跟踪的Rust formatting、Rust checks and real database tests、Native protobuf round trips and failure recovery、Workflow and source boundaries等全部步骤:9c76363e— run 38760585150 ✅63f60095— run 38763717798 ✅414bb144— run 38767477250,protocol job 全部步骤 success ✅上一次失败是
34f343e8(run 38716834585)。原始clippy::result_large_err、文档链接、fmt、model_process哈希等后续问题均已不再出现。如再次失败会另开新 issue。LIghtJUNction commentedon Oct 15, 2026
🤖 bot 更新:默认分支
wip/rust-core-go-extensions的 protocol job 在关闭本 issue 后再次失败,重新打开跟踪。414bb144(run 38767477250)82283fe9feat(core): integrate bounded Pi OAuth model delegation(run 38770400453)1d6a9475(job 116563808931),失败步骤仍是 Rust checks and real database tests(clippy 已通过)失败测试:
core_schema::index_tests::current_schema_index_predecessor_upgrade_changes_only_verified_index_and_two_receipts(src/core_schema/index_tests.rs:89):fixture 与 reviewed canonical catalog hash 不一致(实际660ddf6f…,期望431a4af6…)——与之前 ci(protocol): 默认分支 Rust checks 新失败 — clippy::result_large_err(services/core/src/remote_control.rs:336) #915 中的 index fixture hash 问题同类,可能是新迁移改变了 catalog 但没有更新 reviewed hash。identity::grants::tests::grants_restricted_runtime_permissions(src/identity/grants/tests.rs:550):Err(Storage)。tests/browser_sessions_independent.rs:77三个测试全部失败:official complete runtime authority must pass before testing browser sessions: UnsafePrivileges(新增的 browser session 测试,CI 数据库角色权限检查不通过)。tests/cli.rs:1085usage_index_owner_cli_upgrades_only_fresh_prior_fixture_and_rejects_runtime:Error: Storage。猜测(需验证):
82283fe9/f2ca908c新增的表或授权没有同步到 CI 的 runtime 角色授权与 reviewed catalog fixture。owner 正在该分支上活跃提交,bot 暂不开修复 PR(且 Cloud Agent 额度用尽)。LIghtJUNction commentedon Oct 16, 2026
补充 a383369 上新出现的支付进程测试接线缺口(2026-10-16 06:39 UTC 核验,远端尚无更新;本串未见重复记录)。
protocol 日志中,real_core_and_go_payment_credit_commit_before_local_receipt_crash 在 payments_process.rs:428:54 报「required sealed input LMM_PAYMENT_CORE_BIN」,0 passed / 1 failed。测试尚未进入 Core/Go 重启及入账恢复行为,当前日志不能用于判断该行为是否通过。
测试入口要求 Core、Go、bootstrap 三组 LMM_PAYMENT_*_BIN / SHA256;CI Rust 步骤仅配置原有 LMM_MODEL_PROCESS 后执行全部 target,未接入支付测试专用输入。
建议按现有 payment runner 合约冻结源码及 Core/Go/测试/bootstrap 产物,校验构建与来源回执,再经 tests/payments/verify_process.py 的新建隔离数据库路径实际运行该用例。仅补首个变量仍不足;若从普通测试入口分离,必须保留专用实跑及结果,不能把 skip 计为 pass。本条仅补充新增 CI 缺口。
LIghtJUNction commentedon Oct 16, 2026
bot 巡检(2026-10-16 22:40 Asia/Taipei)
纠正此前 bot 的归因:在默认分支 tip
278ef81e上clippy::result_large_err已经不存在。services/core/src/remote_control.rs的authenticate()已在 183f2b0 改为返回Result<NativeRemote, (StatusCode, &'static str)>,run 38894445203 的cargo clippy --locked --all-targets -- -D warnings已通过,所以没有开修复 PR。protocol 作业里的 exit 101 来自
cargo test,仍属本 issue:tests/browser_sessions_independent.rs:77:3 个用例在runtime_database::check报UnsafePrivilegestests/oauth2_pi_independent.rs:257:revoked_expired_stream_retains_original_hold_until_authoritative_reconciliation失败tests/payments_process.rs:447:real_core_and_go_payment_credit_commit_before_local_receipt_crash缺少密封输入LMM_PAYMENT_CORE_BIN(workflow 只设置了LMM_MODEL_PROCESS_*)这几项涉及计费、鉴权或 CI 接线,bot 不自动改。Native protobuf 步骤(#923)由 #925 继续跟进。
LIghtJUNction commentedon Oct 16, 2026
Bot note (2026-10-16 23:40 Asia/Taipei)
clippy::result_large_errremains fixed on tip278ef81e(prior agentbc-91b6a250).Current protocol
cargo testfailures still blocking CI (also visible on #925 headf452cdb4d/ run 38921283189):tests/browser_sessions_independent.rs(UnsafePrivileges / runtime_database::check)tests/payments_process.rs(missing sealed inputLMM_PAYMENT_CORE_BIN)oauth2_pi_independent::revoked_expired_stream_retains_original_hold_until_authoritative_reconciliation→StaleWorkerLaunching a follow-up CloudAgent (default model) to fix these Rust integration tests on a new draft PR against
wip/rust-core-go-extensions. Keep this issue open until those tests pass on the default tip.fix(core): restore protocol Rust integration tests (#915) (#928)