Skip to content

fix(ci): stabilize Auth UI tests and integration test retries - #16992

Merged
ncooke3 merged 2 commits into
mainfrom
nc.ci.auth-uitests
Nov 3, 2026
Merged

ncooke3 merged 2 commits into
mainfrom
nc.ci.auth-uitests

Conversation

@ncooke3

@ncooke3 ncooke3 commented Nov 3, 2026

Copy link
Copy Markdown
Member

Reset Firebase Auth Keychain state on launch via --uitesting-reset-auth in UI tests instead of relying on UI-driven sign-out in tearDown(), which previously failed when an iOS password prompt overlapped the User tab and leaked signed-in Keychain state into subsequent tests. Move explicit UI Sign Out coverage to testAuthAnonymously and wait for navigation to the User tab before dismissing system password sheets or alerts.

Also fix three compounding CI harness issues in sdk.auth:

  • Support -project in xcresult_logs.py, add SKIP_XCRESULT_STDOUT for secret-bearing runs (removing raw token NSLogs in disabled ObjCApiTests), and guard ExportLogs in build.sh so log export failures do not abort RunXcodebuild's exit-65 retry.
  • Remove the unused .build cache restore step and increase the nick-fields/retry timeout from 15 to 30 minutes so cold SPM package resolution and compilation do not time out on Attempt 1.

#no-changelog

Reset Firebase Auth Keychain state on launch via --uitesting-reset-auth in UI tests instead of relying on UI-driven sign-out in tearDown(), which previously failed when an iOS password prompt overlapped the User tab and leaked signed-in Keychain state into subsequent tests. Move explicit UI Sign Out coverage to testAuthAnonymously and wait for navigation to the User tab before dismissing system password sheets or alerts.

Also fix three compounding CI harness issues in sdk.auth:
- Support -project in xcresult_logs.py, add SKIP_XCRESULT_STDOUT for secret-bearing runs (removing raw token NSLogs in disabled ObjCApiTests), and guard ExportLogs in build.sh so log export failures do not abort RunXcodebuild's exit-65 retry.
- Remove the unused .build cache restore step and increase the nick-fields/retry timeout from 15 to 30 minutes so cold SPM package resolution and compilation do not time out on Attempt 1.
@gemini-code-assist

Copy link
Copy Markdown
Contributor
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize the Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counterproductive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Wrap lines exceeding 80 characters in xcresult_logs.py to satisfy flake8 E501 checks in check_lint.py.
@ncooke3

ncooke3 commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

Assuming the AI integration tests are unrelated.

@ncooke3
ncooke3 marked this pull request as ready for review November 3, 2026 20:43
@ncooke3
ncooke3 requested review from andrewheard and daymxn November 3, 2026 20:43
@ncooke3
ncooke3 merged commit 29e7573 into main Nov 3, 2026
217 of 218 checks passed
@ncooke3
ncooke3 deleted the nc.ci.auth-uitests branch November 3, 2026 20:51
ncooke3 added a commit that referenced this pull request Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants