Skip to content

feat: address requested issues - closes #703, closes #704, closes #708, closes #709 - #774

Merged
mergekeeper[bot] merged 3 commits into
Tollcraft:mainfrom
aetheron06:build
Sep 30, 2026
Merged

mergekeeper[bot] merged 3 commits into
Tollcraft:mainfrom
aetheron06:build

Conversation

@aetheron06

Copy link
Copy Markdown

closes #703, closes #704, closes #708, closes #709

Draft implementation for four cargo-budget-report issues. This commit has NOT been built, tested, linted or formatted.

…ft#704, closes Tollcraft#708, closes Tollcraft#709

Draft implementation for four cargo-budget-report issues. This commit has NOT been built, tested, linted or formatted.

- Tollcraft#703 validate.rs: reuse a single Levenshtein DP row instead of the full (n+1)x(m+1) matrix and drop the two Vec<char> copies per call, prune candidates whose length difference already exceeds the typo threshold before running the DP, replace the per-name linear scan of available functions with an O(1) set lookup, build the available-functions hint lazily on the first missing name, and deserialize budget.toml once instead of twice per call. Adds 10 edge-case tests.

- Tollcraft#704 contract_exports.rs: 12 new unit tests covering runtime-symbol classification, filtering of runtime and memory exports, stable export ordering, a module with no export section, invalid wasm, diagnostic wording and ExportScan value semantics.

- Tollcraft#708 fixture.rs: 21 new unit tests covering save/load round trips for every JSON shape, overwrite, idempotent reload, unknown top-level fields, unicode keys and values, and every read/parse/version-mismatch/write error path.

- Tollcraft#709 json_output.rs: module, type and function documentation for the JSON envelope, a worked example document, inline rationale for the borrowed snapshots and the unreachable expect, and 5 new tests pinning the envelope shape.
@drips-wave

drips-wave Bot commented Sep 28, 2026

Copy link
Copy Markdown

@aetheron06 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mergekeeper

mergekeeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

MergeKeeper review

Scope: in scope for linked issue #703.
Verdict: clean

The PR successfully addresses all four linked issues (#703, #704, #708, and #709) by optimizing validation performance in validate.rs, adding comprehensive test suites for contract_exports.rs and fixture.rs, and improving documentation and test coverage for json_output.rs. All changes are clean, strictly scoped, and well-tested.

Reviewed commit: 879cefc9ba5f34351c95ff479dbdc4d75a21d639.
CI and merge eligibility are checked separately.

@mergekeeper

mergekeeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

MergeKeeper merge status

Status: blocked
PR state: open
Mergeability: unknown
Checked commit: 03459c53bff754889c1885438eb11ad3541cf1e2.

Reason: One or more required CI checks failed.

Failing checks:

Next steps:

  1. Open the failing check details above and fix the reported error.
  2. Run the same checks locally where possible.
  3. Commit and push the fix.
  4. MergeKeeper will automatically re-review the updated PR.

@mergekeeper

mergekeeper Bot commented Sep 30, 2026

Copy link
Copy Markdown

MergeKeeper review unavailable

AI provider failed: gemini-3.5-flash-lite (200)

No approval or merge action was taken.

Formatting only, to satisfy the repo's `cargo fmt --all -- --check` lint gate.
No behaviour changed.

@mergekeeper mergekeeper Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

The PR successfully addresses all four linked issues (#703, #704, #708, and #709) by optimizing validation performance in validate.rs, adding comprehensive test suites for contract_exports.rs and fixture.rs, and improving documentation and test coverage for json_output.rs. All changes are clean, strictly scoped, and well-tested.

@mergekeeper
mergekeeper Bot merged commit 472e596 into Tollcraft:main Sep 30, 2026
8 checks passed
@mergekeeper

mergekeeper Bot commented Sep 30, 2026

Copy link
Copy Markdown

Merged

Merged with squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants