Skip to content

Verify video clipping from both release archives before publishing - #238

Merged
LauraGPT merged 1 commit into
mainfrom
codex/funclip-verify-release-archives
Dec 1, 2026
Merged

LauraGPT merged 1 commit into
mainfrom
codex/funclip-verify-release-archives

Conversation

@LauraGPT

@LauraGPT LauraGPT commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

Exercise the stage-2 CLI inside both source archives, rather than inferring that a working checkout and a valid checksum imply a working download. The existing PR/main clip-export job keeps its four checkout tests and now also extracts each built archive separately. From each extracted tree it invokes the real CLI for default Chinese and explicit English, decodes the selected video, and checks the SRT.

On a tag, a read-only job performs the same acceptance and passes only the digest of the two-archive checksum file to the publisher. Before its existing publication step, the publisher compares that digest and verifies both freshly built files. It does not install the additional media dependencies or run the video test under its write permission.

User impact

The bilingual CLI instructions now distinguish source starting at 7c63759 from the v2.2.1 downloads, which predate the exact-output and no-match behavior. This PR does not bump VERSION, modify any public release assets, or start a release.

Validation

  • Built the two private archives at exact main 7c63759 using the repository builder. All 68 file payloads in each matched the source Git blobs. The independent rebuild produced the same checksum file. From each archive, the two-second synthetic red/blue MP4 yielded the correct one-second blue segment and a subtitle with only the selected word. No model or user media involved.
  • A packaging control omitted the subtitle-renderer module from both formats. Their member sets still matched, required files were present, and both archive checksums were valid, but the packaged CLI failed as expected.
  • Ran the actual publisher checksum commands offline: accepted an independent matching build; rejected a mismatched checksum file and a mismatched ZIP under the expected checksum file.
  • Shanghai full repository suite: 111 passed, 1 credentialed live-provider test skipped. The new publisher-gate contract failed before the workflow change and passed afterward. This is not a Windows runner test or a live tag/publication test.

Prepared and verified with Codex assistance.

Run the model-free CLI regression from each extracted archive and bind the publisher to their accepted checksums. Distinguish source support from v2.2.1.

Signed-off-by: LauraGPT <zhifu.gzf@alibaba-inc.com>
@LauraGPT
LauraGPT merged commit 7720070 into main Dec 1, 2026
2 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.

1 participant