Skip to content

Report encoding-version differences in assay verify - #533

Merged
samjay8 merged 2 commits into
use-assay:mainfrom
JerryOJJ:fix/283-verify-encoding-differs
Oct 26, 2026
Merged

samjay8 merged 2 commits into
use-assay:mainfrom
JerryOJJ:fix/283-verify-encoding-differs

Conversation

@JerryOJJ

Copy link
Copy Markdown
Contributor

closed #283

@mergekeeper

mergekeeper Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

MergeKeeper review unavailable

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

No approval or merge action was taken.

@samjay8

samjay8 commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Thanks for this. main already has an assay verify command with different arguments, and this PR redefines it in an incompatible way, so merging it would break existing usage. It also conflicts with main.

To get it merged: rebase onto main and either extend the existing verify command (keeping its current arguments and output) or add the encoding-version comparison as a separate subcommand, for example verify-preimage, with tests for v1–v4 encodings.

@JerryOJJ
JerryOJJ force-pushed the fix/283-verify-encoding-differs branch from b29b9bb to a8e425a Compare October 26, 2026 10:23
@mergekeeper

mergekeeper Bot commented Oct 26, 2026

Copy link
Copy Markdown

Needs changes

The PR implements assay verify-preimage and documents the new ENCODING_DIFFERS outcome in accordance with issue #283. However, the issue specifically asks for assay verify to report an encoding-version mismatch, whereas the PR introduces a brand new command called assay verify-preimage instead of updating or augmenting assay verify. Additionally, missing required test coverage for assay verify or integration of this feature into assay verify means acceptance criteria are not fully met.


Blocking

cmd/assay/main.go:91

Problem: The PR adds a new command assay verify-preimage, but issue #283 explicitly specifies that assay verify should report an encoding-version mismatch. Adding a separate command leaves assay verify unmodified regarding version comparison.

Suggested fix: Integrate the version checking and ENCODING_DIFFERS outcome into assay verify rather than creating a separate verify-preimage command, or align the command naming with the issue description.

Prompt for an AI coding agent
In cmd/assay/main.go around line 91, the PR introduced `verify-preimage` instead of fulfilling the requirement in issue #283 for `assay verify` to report an encoding-version mismatch. Change the implementation to add this behavior to `assay verify` or update `assay verify` to handle encoding version differences.

Reviewed commit: a8e425af8c3896ca07ed00749186952234782f1b.

mergekeeper[bot]
mergekeeper Bot previously requested changes Oct 26, 2026

@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.

Needs changes

The PR implements assay verify-preimage and documents the new ENCODING_DIFFERS outcome in accordance with issue #283. However, the issue specifically asks for assay verify to report an encoding-version mismatch, whereas the PR introduces a brand new command called assay verify-preimage instead of updating or augmenting assay verify. Additionally, missing required test coverage for assay verify or integration of this feature into assay verify means acceptance criteria are not fully met.


Blocking

cmd/assay/main.go:91

Problem: The PR adds a new command assay verify-preimage, but issue #283 explicitly specifies that assay verify should report an encoding-version mismatch. Adding a separate command leaves assay verify unmodified regarding version comparison.

Suggested fix: Integrate the version checking and ENCODING_DIFFERS outcome into assay verify rather than creating a separate verify-preimage command, or align the command naming with the issue description.

Prompt for an AI coding agent
In cmd/assay/main.go around line 91, the PR introduced `verify-preimage` instead of fulfilling the requirement in issue #283 for `assay verify` to report an encoding-version mismatch. Change the implementation to add this behavior to `assay verify` or update `assay verify` to handle encoding version differences.

Reviewed commit: a8e425af8c3896ca07ed00749186952234782f1b.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@samjay8
samjay8 merged commit 2dd91d3 into use-assay:main Oct 26, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

assay verify: report an encoding-version mismatch as its own outcome

2 participants