Repository navigation
Run the real Zoom client only when a change reaches the Zoom-only surface - #188
Merged
Merged
Conversation
… Zoom-only surface Until now every change to a file a Zoom-client spec covers owed a run in the real Zoom client, which takes the owner's Mac for the length of it, even when the change could not alter anything Zoom shows. The owner asked for real runs only where they prove something Playwright cannot. The rule (CLAUDE.md, "When a change needs the real Zoom client"): a run is owed when the change reaches the Zoom-only surface, which is more than a call to the Zoom Apps SDK: - the SDK bridge: a call, or what it is given or when it runs (the card image, a badge, the colours that reach the video, the tick, FINISH and RESET); - Zoom's embedded browser where it differs from Chrome: clipboard, pasted files, the file dialog, drag and drop, links, confirm and alert, sound, the camera; - how the app loads and signs in inside Zoom: the zoom. host, its headers, the app context and session token, OAuth, capabilities, the /zoom build. Anything else gets unit and Playwright tests and a review note in each covering spec naming the Playwright tests that stand in; verified_at is left alone, and the release check gives those specs their real run, so a batch of such changes costs one Zoom session. When unsure, ask; a factory station, which cannot, runs it. The same rule is written where the old one was: the definition of done, the zoom-client README, the zoom-app-testing skill (which ran "unasked" for any covered file), the factory's Zoom station and report steps, and the Stop hook's message on factory branches. The hook still blocks the first stop: a file path cannot tell which side a change is on.
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.
No issue: the owner's decision on 2026-12-02, while finishing #187.
Why
Until now every change to a file that a Zoom-client spec
coversowed a run in the real Zoom client. That run takes the owner's Mac for as long as it lasts, even when the change could not alter anything Zoom shows. #187 is an example: it rewrote the agenda import's reading of a pasted text, a change Playwright proves completely. The owner asked for real runs only where they prove something Playwright cannot.The first wording, "only when the change touches a Zoom client API", was too narrow. A change can reach the real client without adding or changing an SDK call, and this repo has met each kind:
image.png(IM-13), and a link goes throughmarketplace.zoom.usand the Domain Allow List.zoom.host, its headers, the app context and session token: a browser on localhost never sees any of them.The reverse also holds. A covered file that imports the SDK can change without touching any of this: #187 changed only the agenda import functions in
TimerContext.jsx. So the rule judges what the changed lines reach, not which file they are in.What changes
The rule, a new section of
CLAUDE.md, "When a change needs the real Zoom client". A real run is owed when the change reaches the Zoom-only surface:confirmandalert, sound, the camera;zoom.host, its routing and headers, the app context and session token, OAuth and app authorization, the app's capabilities, the/zoombuild.For anything else, unit tests and Playwright are the proof. Each covering spec is still reviewed and its steps fixed, and it gets a note naming the Playwright test that stands in for each moved step.
verified_at,verified_onandstatusstay as they are. Those specs then get their real run at the release check that was already inCLAUDE.md(npm run test:specs -- --stale --strictlists them), so a batch of such changes costs one Zoom session, not one each. When it is unclear which side a change is on, the session asks. A factory station, which cannot ask, runs it.Where the old rule was written, the new one is now:
CLAUDE.md: the test rule's step 5, and items 2 and 3 of the definition of done.e2e/zoom-client/README.md: "Keeping it current", item 1.zoom-app-testingskill: its description used to start it "unasked" for any covered file; now only for a change that reaches the surface. Its spec picking in §0 follows the same rule.factory-zoom), step 3: of the specs the diff hits, it keeps those whose change reaches the surface (and any it can't tell about). It notes the rest and drops them, so a PR that needs none never deploys or opens Zoom.factory-report: takes a PR that needed no run, and reports the Playwright tests that stood in.factory/branches (scripts/factory/stop-gate.mjs): its message now gives both paths. It still blocks the first stop, because a file path cannot tell which side a change is on; the second stop goes through as before.Security
None. No code the product runs changes.
Production impact
None for users. For the workflow:
npm run test:specs -- --staleuntil the release run, which grows by those specs.Testing
npm test: pass, 164 files, 3,119 testsnpm run test:e2e: pass, 142 testsnpm run test:specs: pass, 18 specs validscripts/factory/stop-gate.test.js: 11 pass, with two new assertions that the block names the Zoom-only surface and the Playwright stand-in.Evidence (real Zoom client)
None. This change reaches no part of the Zoom-only surface, by its own rule.
Not verified
factory-zoomstep 3,factory-report) take effect on the next station run. They have not been run since the change.Look here first
CLAUDE.md, "When a change needs the real Zoom client": are the three items the whole Zoom-only surface?.claude/skills/factory-zoom/SKILL.mdstep 3: the station now drops specs by judgment, keeping any it can't tell about.