Skip to content

Own-open driver script checks that page controls save through the store - #1024

Merged
SunkenInTime merged 1 commit into
mainfrom
t3/drive-own-open-script
Nov 30, 2026
Merged

SunkenInTime merged 1 commit into
mainfrom
t3/drive-own-open-script

Conversation

@SunkenInTime

@SunkenInTime SunkenInTime commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

tool/drive/scripts/cloud-store-own-open.json had been stale since #1009. It opens a store-owned strategy, presses the page controls, and then requires expectServerUnchanged. That was right while those controls were off. Since #1009 they save through the store, so on main the script fails at the moment the app does the right thing.

What the script checks now

  1. Page controls. It presses add page, which copies the page on screen. Then the page menu's Rename, the row's rename icon, add page again, the row's delete icon, and the page menu's Delete. After each one it waits for the store to send, then runs storeExpectPageOrder, the same check the store-pages-* scripts use. That check needs the same page names in the same order in the store, on the server and in the pages bar. After each add it also checks the shown page, its agent, and expectCanvasIsTheStores. At the end it is back on Page 1 with the agent, drawn from the store, and the old queue is empty.
  2. Controls that are still off. A strategy-wide control changes the whole strategy rather than one page. Strategy rename and the every-page controls are still off on main. The script takes a fresh server baseline, then opens the strategy name menu, presses F (side for every page) and the neutral team colours toggle. It requires expectStoreEditable (these controls are off) and the server unchanged against that baseline. #1023 turns them on, and this part changes with it.
  3. The rest is unchanged: canvas edits, drag and store move.

Smaller changes:

  • The script now starts with resize: [1600, 900] like the store-pages scripts, so its coordinates are the ones those scripts use.
  • The strategy name menu is closed by pressing the name again, because Escape leaves it open.
  • The README entry for the script says what it checks now.

No driver step or app code changed.

Run

One run on the storeruns preview (adept-seahorse-592), Linux driver build of 863ea63 with this script, --library-store store --cloud-store own, one account: SUMMARY steps=152 failed=0 flutterErrors=0 misplaced=0 CLEAN, exit 0. The page order matched in the store, on the server and in the pages bar after every step: [Page 1, Page 2] → [Page 1, Menu …] → [Page 1, Icon …] → [Page 1, Icon …, Page 3] → [Page 1, Icon …] → [Page 1]. The server was unchanged across the strategy-wide controls. The store matched the server at the end, both before and after a reopen.

ci: analyze

Confidence Score: 5/5 · This PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

This PR appears safe to merge.

Summary

Updates cloud-store-own-open.json to expect page controls to save through the store rather than leave the server unchanged.

  • The open-store script checks saved page changes separately from disabled strategy-wide controls.

No actionable issues found. The script and relevant driver checks were inspected; no app run was performed during this review.

SunkenInTime explicitly states that strategy rename and the every-page controls remain off intentionally; enabling them is deferred to #1023.

Reviews (1) · Last reviewed commit: "The own-open run checks that page contro..." · Reviewed by Greptile

…ch add, rename and delete is in the store, on the server and in the pages bar, and only the strategy-wide controls leave the server unchanged
@coderabbitai

coderabbitai Bot commented Nov 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 45 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2450d9f3-3a35-4784-ad78-9ef15913831d
Commits

Reviewing files that changed from the base of the PR and between 863ea63 and e5acc61.

Files selected for processing: 2

  • tool/drive/README.md
  • tool/drive/scripts/cloud-store-own-open.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@SunkenInTime
SunkenInTime merged commit 2537676 into main Nov 30, 2026
20 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