Repository navigation
WIP: docs(ledger): census backfill — record the Executor::new constructor path - #697
Merged
Merged
Conversation
…path (niubash#694) Mirror of the rubash ledger backfill: docs/api-ledger.md is one document in two repos and the two copies must stay byte-identical. Records the constructor path rubash::Executor::new — consumed here since #694 (landed by #695) in src/main.rs, where read_invocation_script_operand borrows a bare Executor to run find_script_on_path — that the canary's completeness check flags as consumed-but-unrecorded on master. Docs only; no code change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
同字节镜像 rubash 侧 ledger 补登:
docs/api-ledger.md是两仓一份文档、必须逐字节一致。背景
canary 的完整性步在 master 上标红 1 个 MISSING:
rubash::Executor::new——本仓 #694 的 dump / pretty-print 修复(#695 落地)在src/main.rs的read_invocation_script_operand里借裸Executor跑引擎自家find_script_on_path,以根重导出拼写命名构造器,账本从未登记。rubash 侧登记 PR:unixwin/rubash#2100 。本 PR
只改
docs/api-ledger.md(+37/−2,与 rubash 侧补登逐字节同文):头部 addendum、§0 补登普查基线(rubashb41150e4/ niubash4f9e8a17;rubash::Executor::new按 §0 口径实测 1 次、恰src/main.rs一文件)、§2.1 根重导出行、§4 生命周期行、§6 一条method rubash::Executor::new。配对与合入次序
两 PR 须紧邻合入(先例 #2048/#689:rubash 先、niubash 后),次序请主会话裁定。本簇不自合。 本 PR 的 api-ledger-sync 在 rubash 侧补登合入前对 master 旧账本会红,属配对账本的既定形态。
Refs #694(消费出处);本 PR 不关任何 issue。
本地验证
cmp:逐字节一致all 157 ledger symbols present;covers(对 niubash master 树)exit 0、all 79 consumed niubash paths are recorded(补登前 exit 1、恰此 1 个 MISSING)