Repository navigation
Conversation
…xecutor Move local CPU execution, trials, leases, generation bindings and candidate evidence into Executor. Migrate the public callers and Apps wiring, keep cleanup through the injected supervisor, and verify the retired imports and retained sessions. Signed-off-by: dongxinwen <[email protected]> Agent-assisted-by: Codex (author) Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (author) Signed-off-by: dongxinwen <[email protected]>
|
Codex 代表 @Dong1017 请求复核 P6 当前提交 @david6666666 请核对 Executor 的四个 prepared-binding 包层入口以及 retained candidate 变化时的拒绝路径。重点是旧 RunStore 固定版本的读取、异常类型身份和冷导入 @zengchuang-hw 请核对本地 target、进程组清理、同一 attempt 重放及普通会话的 53 份静态指纹。两个恢复入口分别在自己的检查点副本上仅补 |
Skill evaluationPLANNED: not executed; there are no task outcomes yet.
Author verification steps (nonpaid; not yet run)
Evidence and logs · Retention: 30 days. Plan bindings, budget, frozen exam and advisory detailsAdvisory: obtain missing evidenceRetained evidence availability: planned / unexecuted. No approval or merge authorization is issued.
Model/settings:
Automatic execution / cumulative PR budget: {"reason":"Trusted configuration or pricing missing, invalid or expired","remaining_usd":"unknown","reserved_or_unresolved_usd":"unknown","spent_or_legacy_usd":"unknown","state":"blocked"}Provider/settings: Uncovered / unsupported paths (133)
|
Dong1017
left a comment
There was a problem hiding this comment.
PR review verdict — DO NOT PASS
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model auto-smart?optimize_for=balanced).
Dong-bot (authorized delegate) PTAL on head a22636c51cd9eb2d2b143c0716fd3ab57aa3f608, base 1c5e9d40de9b56f29a01d27b7f329245b56599b7. This is a self-review (PR author is Dong1017), so this COMMENT is not an independent approval.
Blockers
- Incomplete diff seed.
pr/meta.jsonhasdiffComplete: false, so the seeded diff does not show the whole change.pr/diff.patchis a single ~151 KB line that I could not page here, so I did not review the patch text line by line. Under the review policy this cannot PASS. Needed: a complete diff for this head, or a complete per-file review of the part that is missing. - No independent approval on this head.
pr/prior-reviews.mdlists no formal review ona22636c5. The thread asks @david6666666 (prepared-binding entries, retained-candidate rejection, cold import ofrequest_digest) and @zengchuang-hw (local target, process-group cleanup, same-attempt replay, 53 static fingerprints) to review. Neither has posted. Merge needs two eligible approvals from accounts that are not the author or accountable parent. - CI and baseline not in evidence. The PR body says Linux full-suite and installed results "will be recorded by this PR's CI". The seed has no check results. The Windows delivery/Skill Eval group shows 15 failures (151 pass, 5 skip). The body says the same 15 fail on the pre-migration tree (10 symlink-privilege, 5 LF fixture). That baseline is the author's claim and I did not verify it.
- Skill evaluation plan not executed. Plan
56abeee3e3481889c60f26104548fabd2f2e09e0e883c2bc12b48e55f26bdb15is planned/unexecuted: 0 comparisons, budget state blocked, 133 uncovered paths with no reviewer disposition. The uncovered scope needs an explicit disposition for each claim (verified, refuted or unverified).
What I checked at head a22636c5
src/inferrsi/harness/executor/__init__.pylines 18-31:LocalCpuTarget,prepare_generation,read_prepared_binding,project_prepared_bindingandverify_prepared_bindingare exposed lazily through__getattr__, matching the body's import line. Lines 55-57 definerequest_digestwith onlyhashlib,os,sys,importlib.resourcesandjson_v1loaded at module top. The parent packages'__init__.pyfiles were not read, so the cold-import claim is only partly checked.src/inferrsi/harness/api/__init__.pylines 1-19:LocalCpuTargetis no longer exported fromapi, andHarnessstays lazily loaded. This matches the body's removal of the legacyapi.LocalCpuTarget.- The harness root no longer contains
local_process,launch_records,device_lease,candidates,confinement,artifact_sandboxorskill_evaluation. They now live underexecutor/.attempt_recovery.pyis still at the root, and the body does not list it as migrated. The author should say whether it is in scope.
Not verified here
- The diff contents (see blocker 1).
- Governing issue #702 and its accepted scope. The issue read overflowed and could not be opened in full. The gating in decision #702 (the records export mechanism and a leaf errors module) is therefore not confirmed. The errors module likely sits at
src/inferrsi/contracts/_harness_errors.py(imported atharness/api/__init__.pyline 3), which I did not open. - Wheel and source SHA-256 values, receipt digests, the 469/75/107 check counts and the 93/7 test counts. Nothing was re-run.
- No tests were run.
Next step
The author should restore a complete diff, post the Linux CI results, show the Windows baseline, and give the uncovered-path disposition. The two named reviewers should post formal reviews on the head. Dong-bot will re-read after the author pushes.
Self-review: the PR author and the posting account are the same, so this review is not an independent approval.
Governing Issue and delivery slice
Refs #702
Codex, acting for @Dong1017, submits P6. Its dependencies P2 (#722) and P5 (#727) have merged. This revision is a single commit on
1c5e9d40. The public imports, old-package baseline, and target behavior follow the accepted scope and pre-migration CPU runs.Anchors touched: none. The architecture guide updates four implementation path references. The layer, execution, cleanup and evidentiary contracts retain their existing definitions.
Public API and implementation
from inferrsi.harness.executor import LocalCpuTarget, prepare_generation, read_prepared_binding, project_prepared_binding, verify_prepared_binding. The existingHarnessfacade continues to live underinferrsi.harness.api. Executor exposes its target lazily. Importing onlyrequest_digeststarts with neither SQLite, RunStore nor the execution implementation loaded.api.LocalCpuTarget, rootharness.Verdict/harness.parse_verdict, and the old module paths. The 42 existing definitions in the four candidate/confinement/Skill Eval/sandbox modules retain identical ASTs. P7 owns ordinary workflow dispatch, P8 service lifecycle and P9 session integration.Acceptance on the submitted commit
Normal wheel
inferrsi-0.3.5.dev11+ga22636c5-py3-none-any.whlhas SHA-256f2809f74c5630b7ce634878fefce2876f67ba2320f5aaa26b4bd5aceb612fc1a. Source archive SHA-256a446c4bb107f212e53bb945991b36fdb6f916f0b156fe0232a02687e5f19c75a. Tested from outside the checkout.RequestConflict. A changed bound candidate was rejected before launch. A real timed-out child returned confirmed termination, process exit and an empty process domain. Replaying preserved the original record.62ce11e6d458b5c581245d0988189e1bd834f2ed1e1880d15242faf70c5b6fe9. The 2,690-byte prepared document, bound projection, error class/codes and D023 failure vectors matched. Installed preparation/bounds suite 93 passed, retained-source/replay/cleanup cases 7 passed.argumentsandbenchmarkchildren ran before a controlled interruption.benchmarks session recoverandcampaign recovereach ran only the missingassesson its own copy. Eightstatus/recovercalls across the two frozen sessions rejected the changed fingerprint with zero child starts and byte-identical files.Receipt SHA-256 for the CPU/API probe
fce156c89ca43fc6b9ac2c5b197f90218aca7251bfe4cc60138581ad94387f4b, prepared API comparison7b763a00d194115d7ca477f8811fd087cee244a089ca437a7e9c367761bb6ee4, and ordinary fingerprint/replays511d47eb0aa167191826cd3c211e0a573f134521edbf2d53017501e1f0e592c4. Pre-integration receipts and detailed inventoryChecks and dependencies
ruff check src tests toolsandgit diff --checkpassed. The submitted Git tree08999e8fda336eac725c3d023344fa2fd79bc3cdalso passed 469 architecture checks, 75 caller checks and 107 trial tests (61 platform skips). The delivery/Skill Eval group on Windows had 151 pass, five skips and 15 failures. The same 15 tests failed on the pre-migration tree: ten require Windows symlink privileges and five depend on LF fixture bytes. Linux full-suite and installed results will be recorded by this PR's CI.At submission #699 and #709 were open. #699 shares six paths including project/session imports and tests. #709 shares nine, including the optimization and session modules, installed check and CLI migration docs. The scope and ownership of those PRs remain as recorded on their own Issues.
Knowledge authorship declaration
Remaining Issue work
P6 is ready for independent review. P7–P9 and the final installed
mainacceptance remain under #702. The accepted closure owner is @Dong1017.