Skip to content

Give every TestFlight build a standard What to Test text - #345

Merged
n0rpan merged 2 commits into
mainfrom
mobile/testflight-what-to-test
Dec 3, 2026
Merged

n0rpan merged 2 commits into
mainfrom
mobile/testflight-what-to-test

Conversation

@n0rpan

@n0rpan n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator

Why

TestFlight builds arrive with an empty What to Test field. Oscar asked for a standard text on every build.

What

  • desktop/ox-mobile/testflight-notes.txt: the standing text, with a welcome to OX Mobile as remote control for your coding agents, how to pair a host, what to try and how to send feedback. Edit this file to change it; a change to it is a TestFlight delivery input, like the other *testflight* files.
  • desktop/ox-mobile/set-testflight-notes.py: after the upload, waits up to 10 minutes for App Store Connect to list the build, then updates the build's en-US beta localization (whatsNew), or creates it. It appends This build: <title of the merged change> from git log -1, and cuts the text to Apple's 4,000-character limit.
  • check-testflight-processing.py: token() takes a method, and a send() for POST/PATCH. Every write token is scoped to that one request, as the read tokens already are. Errors print only the fixed stage and HTTP status.
  • mobile.yml: a new Set What to Test step at the end of the upload job, with continue-on-error: true, so a failure only warns and never holds back a build. The unit test step now runs test_testflight_*.py.

Testing

  • python3 -m unittest discover -s desktop/ox-mobile/tests -p 'test_testflight_*.py': 21 tests, including create vs update vs unchanged, waiting for the build to be listed, the length limit, and the write token's scope.
  • python3 -m unittest discover -s desktop/ci -p 'test_*.py': OK.

Not testable on the pull request. The upload job only runs on main, so the first real call to App Store Connect comes with the first TestFlight delivery after merge. If Apple refuses the method-scoped write token, the step warns and the build still ships; I'll read that step's log and follow up.

Checked against main at 37dcc2d.

🤖 Generated with Claude Code

Testers opened TestFlight builds with an empty What to Test field. After
the upload, the delivery job now sets it from
desktop/ox-mobile/testflight-notes.txt: a welcome, how to pair a host and
what to try, followed by the title of the change that produced the build.

The step waits up to ten minutes for App Store Connect to list the build,
updates or creates the en-US beta localization with tokens scoped to that
one request, and only warns when it fails, so it never holds back a
delivery.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 3, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T09:55:13.767262Z 74a9cb6 Draft marked ready
🔒 Security Review ✅ Completed 2026-12-03T09:56:11.111312Z 74a9cb6 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 227cc8dac1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

A token lives five minutes and the wait for App Store Connect to list the
build can take ten, so a late poll would have used an expired token.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@n0rpan
n0rpan marked this pull request as draft December 3, 2026 09:54
@n0rpan
n0rpan marked this pull request as ready for review December 3, 2026 09:54
@n0rpan n0rpan added the full-ci label Dec 3, 2026
@n0rpan

n0rpan commented Dec 3, 2026

Copy link
Copy Markdown
Collaborator Author

/queue 74a9cb6

@n0rpan

n0rpan commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator Author

In line to merge. Commit 74a9cb6 is reviewed with nothing blocking; it has entered the merge queue.

@n0rpan
n0rpan added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit dbbce10 Dec 3, 2026
43 of 63 checks passed
@n0rpan
n0rpan deleted the mobile/testflight-what-to-test branch December 3, 2026 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant