Skip to content

test(e2e): run the live ceremonies without masking automation - #187

Closed
xgreenx wants to merge 9 commits into
mainfrom
test/e2e-no-masking
Closed

xgreenx wants to merge 9 commits into
mainfrom
test/e2e-no-masking

Conversation

@xgreenx

@xgreenx xgreenx commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Checks whether the live GitHub and X ceremonies pass without masking browser automation. Not for merge: it is closed after its run.

Changes

  • Drops both presentAsPerson(context) calls from ceremony.live.spec.ts.
  • Drops --disable-blink-features=AutomationControlled from playwright.live.config.ts.
  • Deletes e2e/person.ts and e2e/stealth.js.

Verified

  • tsc --noEmit in ts/apps/dev, and pnpm lint: clean.

Not verified / known issues

  • Google: its job skips on pull requests.
  • The ignore entries for stealth.js in biome.json and .oxlintrc.json still name the deleted file.

SupremaLex and others added 9 commits October 26, 2026 14:30
local.ts holds the app, Bridge and notary origins and the app's port; the app, vite config and mock suite read them. services.ts refuses to start when a stack port is already taken.

Assisted-by: Claude Opus 5.5
Signed-off-by: SupremaLex <georglutsenko@gmail.com>
settings.ts reads the variables libid-server-rs' ceremony-tests uses, from the environment or LIBID_TEST_ENV_FILE. session.ts loads a saved X or Google session (base64 JSON or a file), restores it into a browser context, and saves Google's refreshed cookies. export-session.ts exports a Chrome profile signed in by hand.

Assisted-by: Claude Opus 5.5
Signed-off-by: SupremaLex <georglutsenko@gmail.com>
github.ts signs in with username, password and TOTP, one code per 30-second step, each submitted once. x.ts and google.ts consent on a restored session and fail with the reason when the platform asks for a person. popup.ts drives a popup until it returns to the Bridge or the app fails. person.ts presents a desktop browser with the vendored stealth.js, kept byte-identical and out of lint.

Assisted-by: Claude Opus 5.5
Signed-off-by: SupremaLex <georglutsenko@gmail.com>
playwright.live.config.ts starts the dev app's stack with an allowlisted environment, so it never sees the test secrets. ceremony.live.spec.ts proves each listed platform through the app's UI and checks the run is accepted for the expected account.

Assisted-by: Claude Opus 5.5
Signed-off-by: SupremaLex <georglutsenko@gmail.com>
…ached proxy

GitHub and X run on a hosted runner. Google runs on main only: the job assumes an OIDC role, port-forwards over SSM to a Squid proxy whose address the session was signed in from, reads the session from Secrets Manager and stores it back refreshed after a pass.

Assisted-by: Claude Opus 5.5
Signed-off-by: SupremaLex <georglutsenko@gmail.com>
How to run the live tests, the settings table, CI behaviour, and the hand sign-in that makes Google's session.

Assisted-by: Claude Opus 5.5
Signed-off-by: SupremaLex <georglutsenko@gmail.com>
…m the Rust suite

X's saved session is now signed in by hand in plain Chrome and exported with
the same script as Google's, so the live tests no longer need the Rust
suite's `ceremony export x`. Comments and the README no longer point at that
suite's code; the TOTP test cites RFC 6238, its vector recomputed with
Python's hmac. stealth.js is unchanged.

Assisted-by: Claude Opus 5.5
Signed-off-by: SupremaLex <georglutsenko@gmail.com>
Assisted-by: Claude Opus 5.5
Signed-off-by: SupremaLex <georglutsenko@gmail.com>
Shows whether GitHub and X accept the live runs without the stealth script, the person headers and the AutomationControlled flag.

Signed-off-by: xgreenx <xgreenx9999@gmail.com>
@green-s-ai-agent green-s-ai-agent Bot closed this Nov 21, 2026
@green-s-ai-agent
green-s-ai-agent Bot deleted the test/e2e-no-masking branch November 21, 2026 02:42
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.

2 participants