Skip to content

[DO NOT MERGE] Validate the signing config for #23261 - #23267

Closed
mokagio wants to merge 2 commits into
ainfra-2968-adopt-the-out-of-repo-keystore-convention-in-wordpressfrom
mokagio/out-of-repo-keystore-validation
Closed

[DO NOT MERGE] Validate the signing config for #23261#23267
mokagio wants to merge 2 commits into
ainfra-2968-adopt-the-out-of-repo-keystore-convention-in-wordpressfrom
mokagio/out-of-repo-keystore-validation

Conversation

@mokagio

@mokagio mokagio commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Description

Validation only. Do not merge.
Re-run of #23266 after #23261 kept .jks as the upload keystore extension.

No PR job exercises release signing, so this branch adds a Buildkite step that runs configure_apply on an agent and asserts on :WordPress:signingReport:

  • Release variants resolve to Config: release with the store at upload.jks in the out-of-repo secrets directory, and a certificate reads out of it.
  • Debug variants resolve to the shared debug.keystore under its new name.
  • With the credentials readable but no upload keystore, release variants drop to Config: none — the keystore file, not secrets.properties, is what gates signing.
  • With no shared debug keystore, debug falls back to the per-user Android debug keystore.

The two negative cases run against a throwaway user.home symlinked to the real credentials, so the agent's secrets directory is never mutated.

Testing instructions

Read the "🔐 Validate signing config" job. Every assertion prints PASS: or FAIL: and the step fails on any FAIL:.

Close once it has answered; never merge.


Posted by Claude (Opus 5) on behalf of @mokagio with approval.

mokagio and others added 2 commits August 27, 2026 10:40
[DO NOT MERGE] Throwaway validation for #23261, closed once it has answered.

Nothing in the PR pipeline exercises release signing: prototype builds
assemble the `Debug` build type, lint and the manifest diffs never sign,
and `release-builds.yml` and `beta-builds.yml` are API-triggered from
release automation and check out a release branch rather than the PR.
The first run that would notice a broken release signing config is the
scheduled trunk-internal build, after merge.

The debug side is worse than uncovered: when the shared keystore is
absent AGP falls back to `~/.android/debug.keystore` and the build still
goes green, so every prototype build so far has passed without proving
the renamed `debug.keystore` was ever read.

Both negative cases run against a throwaway `user.home` holding symlinks
to the real credentials, so the agent's secrets directory is never
mutated and no decrypted secret is copied anywhere.

---

Generated with the help of Claude Code, https://claude.com/claude-code

Co-Authored-By: Claude Code Opus 5 <noreply@anthropic.com>
---

Generated with the help of Claude Code, https://claude.ai/code

Co-Authored-By: Claude Code Opus 5 <noreply@anthropic.com>
@mokagio mokagio self-assigned this Aug 27, 2026
@dangermattic

Copy link
Copy Markdown
Collaborator
1 Message
📖 This PR is still a Draft: some checks will be skipped.

Generated by 🚫 Danger

@wpmobilebot

Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in WordPress Android by scanning the QR code below to install the corresponding build.

App NameWordPress Android
Build TypeDebug
Versionpr23267-ec60ba0
Build Number1498
Application IDorg.wordpress.android.prealpha
Commitec60ba0
Installation URL463drnlfvl22o
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

Copy link
Copy Markdown
Contributor

App Icon📲 You can test the changes from this Pull Request in Jetpack Android by scanning the QR code below to install the corresponding build.

App NameJetpack Android
Build TypeDebug
Versionpr23267-ec60ba0
Build Number1498
Application IDcom.jetpack.android.prealpha
Commitec60ba0
Installation URL4ti0o1u88ok7g
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@mokagio

mokagio commented Aug 27, 2026

Copy link
Copy Markdown
Contributor Author

Validation ran green on build #28383 — every signing-config assertion passed against the .jks name. Recorded in #23261. Closing; never merge.

Posted by Claude (Opus 5) on behalf of @mokagio with approval.

@mokagio mokagio closed this Aug 27, 2026
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.

3 participants