Skip to content

docs(pm-console): CI holds the Android signing key (owner decision 2026-11-29) - #16831

Merged
dezren39 merged 2 commits into
mainfrom
xaltha/pm-ci-signing
Nov 29, 2026
Merged

dezren39 merged 2 commits into
mainfrom
xaltha/pm-ci-signing

Conversation

@dezren39

@dezren39 dezren39 commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Records the owner's 2026-11-29 decision (#16828): the pm-console Android signing key moves from the laptop into CI.

The workflow needed no functional change — it already signs and releases in-run when the pm-console-android environment holds PM_CONSOLE_ANDROID_KEYSTORE_B64 and PM_CONSOLE_ANDROID_KEYSTORE_PASSWORD; those secrets were never provisioned, so every release waited on the laptop timer. This PR updates the words that said the key would never move:

  • workflow header comment: the environment now holds the key on the owner's order; a release no longer waits for the laptop.
  • README: the host-held-key flow is described as the fallback it now is (release-built.sh sees the signed artifact and stands down; the timer is a no-op while CI holds the key), and "Giving GitHub the key" records the move as done.

Companion changes outside this diff:

  • the pm-console-android environment is now limited to the main branch (deployment branch policy), so a run on any other branch cannot read the key;
  • the two environment secrets are provisioned from the laptop's existing keystore (same certificate as signing-fingerprint.txt; builds keep installing over earlier ones).

Merge follows the end-to-end proof: a workflow run on main signing in CI (signed=true) and publishing its numbered + rolling releases.

Closes #16828

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-29T15:07:13Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": "/home/hatch",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/hatch",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "5d959fc685bbfcdcd72c5372fd0c1343cc279e30"
    },
    "auth_subject": "xaltha",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Release Process
    • Android APKs are now signed and released through the automated workflow. The existing host-based signing process remains available as a fallback.
  • Documentation
    • Updated the Android release guide to describe the automated release process and fallback.

…026-11-29 (#16828)

The workflow already signed in-run when the pm-console-android
environment holds the two keystore secrets; they were never
provisioned, so releases waited on the laptop timer. Record the
owner's 2026-11-29 decision to move the key into CI, the environment's
main-branch limit, and the laptop timer's new role as fallback.
@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Explain Change →

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 47 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: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1c4a8b4a-f78a-48ff-bbf2-2ee6189e43a5
Commits

Reviewing files that changed from the base of the PR and between 315db7d and 3213984.

Files selected for processing: 2

  • pm-stack/console/android/build.sh
  • pm-stack/console/android/sign.sh

No actionable comments were generated in the recent review.

Walkthrough

The workflow comments and Android README now describe CI signing and releasing the APK, the host signing path as a fallback, and the main branch restriction for the GitHub environment.

Changes: Android signing and release

Layer / File(s) Summary
CI signing and host fallback
.github/workflows/pm-console-android.yml, pm-stack/console/android/README.md
The workflow comments and README describe CI signing and release. The README identifies the host signing path as a fallback and states that the GitHub environment is limited to main.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Possibly related PRs

Suggested reviewers: claude

Merge Risk: Minimal · previous review 315db

This pull request only updates comments and documentation to record the move of Android signing into CI and the host fallback. It does not change release behavior. Confirm the end-to-end main signing and release run, and the environment secrets, before merging, as the author already intends.

Pre-merge checks: Passed 3 · Inconclusive 1

Failed Failed checks: 1 inconclusive

Check name Status Explanation Resolution
Linked Issues check Inconclusive Issue #16828 has three kinds of requirements. (1) Wording: the workflow header comment now records the owner's 2026-11-29 order and states that the environment is limited to main. The README is upda… Provide evidence for the environment and release requirements: (a) the pm-console-android environment deployment policy showing main only, (b) confirmation that both secret names exist in that environment (values are not needed), and (c…
Passed Passed checks: 3 passed

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names the main change: the CI workflow now holds and uses the Android signing key, per the owner's 2026-11-29 decision. The changeset updates the workflow comments and the README to record t…
Out of Scope Changes check Passed The whole-PR diff against the merge base changes only .github/workflows/pm-console-android.yml (comment lines only, no executable workflow change) and the pm-stack console Android README. Both chang…
Full details: Title check

Explanation

The title names the main change: the CI workflow now holds and uses the Android signing key, per the owner's 2026-11-29 decision. The changeset updates the workflow comments and the README to record that decision and describe the laptop timer as a fallback. The title uses the docs prefix and the scope, which fit the documentation-only diff. It is specific and accurate, so it passes. Its length of 78 characters is slightly long, but it is still readable.

Full details: Out of Scope Changes check

Explanation

The whole-PR diff against the merge base changes only .github/workflows/pm-console-android.yml (comment lines only, no executable workflow change) and the pm-stack console Android README. Both changes describe the owner's 2026-11-29 signing move required by #16828. No unrelated code or configuration change appears in the reviewed changes. The non-diff companion actions are described by the PR author and are not part of this diff, so they are not assessed as out-of-scope changes.

Full details: Linked Issues check

Explanation

Issue #16828 has three kinds of requirements. (1) Wording: the workflow header comment now records the owner's 2026-11-29 order and states that the environment is limited to main. The README is updated to match. These are met in the diff. (2) Environment and secret setup: provisioning PM_CONSOLE_ANDROID_KEYSTORE_B64 and PM_CONSOLE_ANDROID_KEYSTORE_PASSWORD in the pm-console-android environment, and restricting that environment to main, are repository settings. The diff does not contain them. The PR description says they are companion changes outside the diff. No evidence in the reviewed repository shows they exist. (3) Acceptance: a main run must sign with signed=true and publish pm-console-android-v21812402, pm-console.apk, pm-console.apk.sha256, version.json, and the rolling release. This is a runtime result. It is not visible in the code. The issue also requires that no key material appear in logs or files. The reviewed diff contains no key material. Requirement (2) and (3) cannot be verified from the available evidence.

Resolution

Provide evidence for the environment and release requirements: (a) the pm-console-android environment deployment policy showing main only, (b) confirmation that both secret names exist in that environment (values are not needed), and (c) a link to a main workflow run with signed=true that published the numbered and rolling releases, with the signature verified against signing-fingerprint.txt. Then reassess.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9c339f02-d736-498c-86c0-cc9d17797d51
Commits

Reviewing files that changed from the base of the PR and between 3b7cc38 and 315db7d.

Files selected for processing: 2

  • .github/workflows/pm-console-android.yml
  • pm-stack/console/android/README.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

…igner too (#16828)

apksigner from build-tools 37 names the line 'V2 Signer: certificate
SHA-256 digest:' where older ones print 'Signer #1 certificate
SHA-256 digest:'. build.sh's check matched only the old name, so the
first CI-signed run (46276820020) signed correctly in gradle and then
failed its own fingerprint check with an empty reading. Match the
digest label itself, which every version prints; same fix in
sign.sh, which shares the check.
@dezren39
dezren39 merged commit 30b2ef3 into main Nov 29, 2026
1 check passed
@dezren39
dezren39 deleted the xaltha/pm-ci-signing branch November 29, 2026 15:20
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.

ci(pm-console): sign and release the Android APK in CI instead of on the laptop

1 participant