Repository navigation
docs: fix e2e write-path prompt and changelog resync guidance - #319
Merged
Merged
Conversation
Both defects surfaced while cutting v0.8.1. The e2e write-path prompt read as conversation, so the video agent answered it in chat and never generated. The phase spent the full 20-minute --wait and reported FAIL against a healthy CLI. The same block also told the operator to read .data.video_id, which --wait never prints -- under --wait stdout carries the polled video object, whose id is .data.id. The changelog skill filed every codegen resync under Internal. On a release whose only commits are resyncs that added commands, that hid the entire user-facing surface change behind a line naming a spec sha. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
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.
Scope
Surfaces: repo tooling only, no change to the shipped binary | Module: Release process
Summary
Two agent-run release checklists carried defects that surfaced while cutting v0.8.1. The E2E
write-path phase used a prompt the video agent answers conversationally, so it timed out and
reported FAIL against a healthy CLI. The changelog skill filed every codegen resync under
Internal, which hid a release's entire user-facing surface change. This fixes both.
Root cause
E2E Phase 7. The phase created a video with
--prompt "Say hello world". That reads asconversation rather than as a video request, so the agent replied in chat ("Hello world! I'm
Orby, your HeyGen AI assistant. How can I help you create something amazing today?") and the
session sat at
status: thinking. No video was ever produced.--waitspent its full 20 minutetimeout, exited 4, and the video stayed
pendingthrough a further 10 minutes of polling. Thephase's failure signal therefore carried no information about CLI health.
The same block also told the operator to read
video_idfrom stdout, "present in both cases".It is present in neither. Under
--waitthe CLI prints the polled video object rather than thecreate response, so the field is
id.Changelog. The rule was "collapse codegen resyncs, CI changes, and doc updates into the
Internal section". On a release whose commits are all resyncs, that routes the entire changelog
into Internal. The user-visible additions, for v0.8.1 two new commands and two new flags, cannot
be recovered from
git logeither, because every resync commit subject readscodegen: resync gen/ from EF <sha>.Fix
The prompt is now phrased as a video request, with a comment recording why it has to stay that
way so it is not shortened back. The id instruction reads
.data.idand states why no.data.video_idexists on the wait path.The changelog's Internal category becomes "changes with no user-visible effect", with two rules
added: a resync that added a command or flag is a New entry naming it, and Internal must
never restate an entry above it. Since the commit subject cannot distinguish the two cases, the
skill now points at the resync PR body and
scripts/release-surface.sh diffas the sources forwhat actually changed. The step 4 template no longer shows a resync line under Internal, which
was teaching the pattern the rules now forbid.
Testing
make lintreports 0 issues andmake testpasses all 12 packages.Both files are instruction documents, so the real validation was executing them. The new prompt
was exercised against the live API during the v0.8.1 cut and completed in 128 seconds, through
the full create, poll to
completed, download and delete path, against the 30 minutes the oldprompt spent never generating. The revised changelog rules produced the published v0.8.1 release
notes.