Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
5774d9e
fix(android): enable atomic completed-file moves (RUST-FEAT-056)
Nov 13, 2026
f5b1897
feat(diagnostics): show daemon memory and CPU usage (RUST-FEAT-056)
Nov 13, 2026
999b38c
feat(android): host daemon through a narrow JNI lifecycle (RUST-FEAT-…
Nov 13, 2026
61d1d85
feat(android): add lean service setup and browser launcher (RUST-FEAT…
Nov 13, 2026
c2c2fb7
fix(android): honor system task-manager Stop across recovery (RUST-FE…
Nov 13, 2026
2a28df8
fix(android): surface platform background restrictions (RUST-FEAT-056)
Nov 13, 2026
2bdbf8e
build(android): align Gradle with the pinned Android SDK and NDK (RUS…
Nov 13, 2026
d43ad8d
fix(android): report foreground promotion failures before startup (RU…
Nov 13, 2026
fb629d2
fix(android): retain canonical logging across service restarts (RUST-…
Nov 13, 2026
09f2a35
fix(android): handle SDK nullable platform values explicitly (RUST-FE…
Nov 13, 2026
57dd18d
fix(android): wire generated assets through the variant API (RUST-FEA…
Nov 13, 2026
0cd2262
feat(android): hand off eD2K file links for explicit WebUI confirmati…
Nov 13, 2026
567c253
build(android): pin resolved Gradle dependency checksums (RUST-FEAT-056)
Nov 13, 2026
5092865
fix(android): disclose peer networking and incoming sharing before St…
Nov 13, 2026
41ce209
build(android): pin packaging tool checksums and centralize JNI packa…
Nov 13, 2026
09bbc2d
fix(android): exclude private state from backup and device transfer (…
Nov 13, 2026
809b254
feat(android): persist fresh-profile folders and respect window inset…
Nov 13, 2026
f139e51
feat: default the WebUI listener to all IPv4 interfaces (RUST-FEAT-056)
Nov 13, 2026
a9a3d8e
fix(android): normalize seeded shared-root paths consistently (RUST-F…
Nov 13, 2026
4b127c4
build(android): pin resolved Kotlin runtime POM checksum (RUST-FEAT-056)
Nov 13, 2026
90a73a3
feat(android): project bounded share-safe daemon diagnostics (RUST-FE…
Nov 13, 2026
f28f8d0
feat(android): share bounded diagnostics through a temporary read-onl…
Nov 13, 2026
d856a3f
build(android): export bounded Maven parent POM evidence (RUST-FEAT-056)
Nov 13, 2026
fb9b110
build(android): pin FileProvider runtime and parent POM checksums (RU…
Nov 13, 2026
5223b95
fix(android): initialize fresh schema and storage defaults atomically…
Nov 13, 2026
ed3404d
feat(android): qualify signed nightly APKs on APIs 34-37 (RUST-FEAT-056)
Nov 13, 2026
29fe471
fix(android): use keyed descending asset version sort (RUST-FEAT-056)
Nov 13, 2026
b25ddb0
fix(diagnostics): read macOS RSS through proc_pidinfo (RUST-FEAT-056)
Nov 13, 2026
be36dfa
build(android): pin final APK qualification providers (RUST-FEAT-056)
Nov 13, 2026
69afe13
build(android): pin exact owned fixture cleanup proof (RUST-FEAT-056)
Nov 13, 2026
fa07d2f
build(android): pin tested binary inventory transport (RUST-FEAT-056)
Nov 13, 2026
b29cbc8
build(android): pin platform-resolved share observer (RUST-FEAT-056)
Nov 13, 2026
6e36150
build(android): pin complete phone transfer qualification (RUST-FEAT-…
Nov 13, 2026
baa2c76
build(android): verify cold Gradle classpath metadata (RUST-FEAT-056)
Nov 13, 2026
257cf6f
ci(android): retain nonsecret APK failure diagnostics (RUST-FEAT-056)
Nov 13, 2026
486115e
ci(android): retain sanitized guest qualification failures (RUST-FEAT…
Nov 13, 2026
170e300
build(android): pin verified browser guest providers (RUST-FEAT-056)
Nov 13, 2026
262e17a
ci(android): isolate read-only original APK diagnostic replay (RUST-F…
Nov 14, 2026
7d0633f
ci(android): prepare owned diagnostic output directory (RUST-FEAT-056)
Nov 14, 2026
c1aa487
ci(android): pin closed boot and navigation diagnostics (RUST-FEAT-056)
Nov 14, 2026
be482f9
ci(android): pin confirmed post-failure UI observers (RUST-FEAT-056)
Nov 14, 2026
e476e6c
ci(android): identify bounded native boot failures (RUST-FEAT-056)
Nov 14, 2026
10df2e7
fix(android): retain startup intent while default route is unavailabl…
Nov 14, 2026
67fc34f
ci(android): pin reviewed lifecycle qualification owners (RUST-FEAT-056)
Nov 14, 2026
e9636ca
feat(webui): support phone layouts and saved appearance (RUST-FEAT-056)
Nov 14, 2026
a6e1c9e
ci(android): pin shared WebUI validation owner (RUST-FEAT-056)
Nov 14, 2026
06fac87
ci(webui): install Linux WebKit runtime dependencies (RUST-FEAT-056)
Nov 14, 2026
4c0bdf0
fix(android): follow system light and dark theme (RUST-FEAT-056)
Nov 14, 2026
c99074a
fix(webui): keep shared folder paths readable on phones (RUST-FEAT-056)
Nov 14, 2026
0569cfc
fix(webui): preserve readable hashing path columns on phones (RUST-FE…
Nov 14, 2026
27d9b15
ci(android): bind fresh-device qualification owners (RUST-FEAT-056)
Nov 14, 2026
00a74f7
fix(webui): clean up table listeners before DOM teardown (RUST-FEAT-056)
Nov 14, 2026
cf4a47f
test(webui): flush deferred table unmount effects (RUST-FEAT-056)
Nov 14, 2026
54a5f22
fix(webui): capture mobile menu Escape synchronously (RUST-FEAT-056)
Nov 14, 2026
d01a8ab
feat(android): require manual service start for this release (RUST-FE…
Nov 14, 2026
42bffd9
ci(android): qualify manually started foreground services (RUST-FEAT-…
Nov 14, 2026
2da6892
docs: give the Rust README a visual product overview (RUST-FEAT-056)
Nov 14, 2026
c0796e2
ci(android): retain precise replay failure diagnostics (RUST-FEAT-056)
Nov 14, 2026
1c15bef
ci(android): exercise bounded UI readiness in replay (RUST-FEAT-056)
Nov 14, 2026
e73ad19
ci(android): diagnose incomplete delivery with bounded state (RUST-FE…
Nov 14, 2026
0ab490b
ci(android): exercise bounded power-state qualification (RUST-FEAT-056)
Nov 14, 2026
854cd73
ci(android): exercise API37 global power parser (RUST-FEAT-056)
Nov 14, 2026
2aa82cc
fix(storage): publish numbered files on restricted filesystems (RUST-…
Nov 14, 2026
0820318
feat(android): support Android12 foreground service and permissions (…
Nov 14, 2026
3ee56c3
ci(android): bind Android12 release to seven runtime gates (RUST-FEAT…
Nov 14, 2026
e8bfbc6
refactor(storage): group verified delivery payload identity (RUST-FEA…
Nov 14, 2026
f7a6217
Correct Android release download label to Android 12+ (RUST-FEAT-056)
Nov 14, 2026
20a0742
Preserve automatic P2P routing intent without weakening strict binds …
Nov 14, 2026
09b372f
Apply approved proposal-5 icons across application platforms
Nov 14, 2026
d04ff44
Keep Android adaptive artwork inside safe masks
Nov 14, 2026
61da004
ci: select qualified Android providers and current guides (RUST-FEAT-…
Nov 14, 2026
30da1f4
ci: bind all-platform release to attested main providers (RUST-FEAT-056)
Nov 14, 2026
bff7342
ci: isolate diagnostic source from host setup caches (RUST-FEAT-056)
Nov 14, 2026
f24e97c
ci: select collision-safe Android fixture cleanup (RUST-FEAT-056)
Nov 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ permissions:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
EMULEBB_BUILD_REF: 3b9ddf42466b07f852f798f6967ca782484056a4
EMULEBB_ANDROID_BUILD_REF: 3b9ddf42466b07f852f798f6967ca782484056a4
EMULEBB_BUILD_TESTS_REF: 7c680ed68e478c2f22c56c65f21f12c3790d3826
EMULEBB_TOOLING_REF: 26abd1eab97b28977f2d55adba17e6ba28821498
EMULEBB_BUILD_REF: 43515795e85beceeb73b1bbbd77e5ab167ef13b6
EMULEBB_ANDROID_BUILD_REF: 43515795e85beceeb73b1bbbd77e5ab167ef13b6
EMULEBB_BUILD_TESTS_REF: 281ccbcdf9f4c9960c5efda4705df966418b6bb2
EMULEBB_TOOLING_REF: f88a8ce608bc75a619aea6909f54a9cdecdddb6e
# Pin the native NAT sources linked by the sys crates.
MINIUPNP_REF: 4e7a10948004ca2085ac8103e14fc77edb898b4c
PCPNATPMP_REF: a6e787f837e507336a8774522c33b54264ef4a4b
Expand Down Expand Up @@ -602,15 +602,15 @@ jobs:
with:
persist-credentials: false
repository: emulebb/emulebb-build-tests
ref: 7c680ed68e478c2f22c56c65f21f12c3790d3826
ref: 281ccbcdf9f4c9960c5efda4705df966418b6bb2
path: repos/emulebb-build-tests

- name: Checkout pinned Rust OpenAPI contract
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
repository: emulebb/emulebb-tooling
ref: 26abd1eab97b28977f2d55adba17e6ba28821498
ref: f88a8ce608bc75a619aea6909f54a9cdecdddb6e
path: repos/emulebb-tooling

- name: Download tested Linux daemon
Expand Down
180 changes: 177 additions & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,56 @@
required: false
type: boolean
default: true
diagnostic_run_id:
description: "Optional original Nightly run for read-only APK replay"
required: false
type: string
default: ""
diagnostic_source_sha:
description: "Original producer's exact Rust commit (40 lowercase hex characters)"
required: false
type: string
default: ""
diagnostic_manifest_sha256:
description: "Independently verified original APK manifest SHA-256"
required: false
type: string
default: ""
diagnostic_image:
description: "Replay one original APK on an isolated guest; never eligible for publication"
required: false
type: choice
options: [none, apk31, apk32, apk33, apk34, apk35, apk36, apk37]
default: none

concurrency:
group: rust-nightly
group: >-
${{ (inputs.diagnostic_run_id || inputs.diagnostic_source_sha ||
inputs.diagnostic_manifest_sha256 ||
(inputs.diagnostic_image && inputs.diagnostic_image != 'none')) &&
format('rust-nightly-android-diagnostic-{0}-{1}', github.ref, inputs.diagnostic_image) || 'rust-nightly' }}
cancel-in-progress: false

permissions:
actions: read
contents: read

env:
EMULEBB_APK_DIAGNOSTIC_BUILD_REF: 43515795e85beceeb73b1bbbd77e5ab167ef13b6
EMULEBB_APK_DIAGNOSTIC_HARNESS_REF: 281ccbcdf9f4c9960c5efda4705df966418b6bb2
EMULEBB_APK_DIAGNOSTIC_TOOLING_REF: f88a8ce608bc75a619aea6909f54a9cdecdddb6e
EMULEBB_APK_DIAGNOSTIC_MINIUPNP_REF: 4e7a10948004ca2085ac8103e14fc77edb898b4c
EMULEBB_APK_DIAGNOSTIC_PCPNATPMP_REF: a6e787f837e507336a8774522c33b54264ef4a4b
EMULEBB_APK_DIAGNOSTIC_SIGNER_SHA256: 9edc742d7230a714a0149c20eb2afb235b8ad5237166090f10e7ac69e2bb359f

jobs:
prepare:
name: Derive immutable nightly metadata
# Any diagnostic input closes the normal release path, even when incomplete.
if: >-
${{ !inputs.diagnostic_run_id && !inputs.diagnostic_source_sha &&
!inputs.diagnostic_manifest_sha256 &&
(!inputs.diagnostic_image || inputs.diagnostic_image == 'none') }}
runs-on: ubuntu-24.04
timeout-minutes: 10
outputs:
Expand All @@ -38,7 +76,7 @@
previous_ref: ${{ steps.metadata.outputs.previous_ref }}
should_build: ${{ steps.metadata.outputs.should_build }}
steps:
- name: Checkout main with release tags
- name: Checkout verified source with release tags
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.workflow_sha }}
Expand All @@ -55,7 +93,7 @@
run: python tools/nightly_release.py metadata --force "${{ github.event_name == 'workflow_dispatch' && inputs.force || false }}" --publish "${{ github.event_name == 'schedule' || inputs.publish }}" --scheduled "${{ github.event_name == 'schedule' }}" --github-output "$GITHUB_OUTPUT"

verify-source:
name: Require green main source checks
name: Require green exact-source checks
needs: prepare
if: ${{ needs.prepare.outputs.should_build == 'true' }}
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -93,3 +131,139 @@
channel: nightly
publish: ${{ github.event_name == 'schedule' || inputs.publish }}
secrets: inherit

apk-diagnostic:
name: Read-only original APK diagnostic replay
if: >-
${{ github.event_name == 'workflow_dispatch' &&
(inputs.diagnostic_run_id || inputs.diagnostic_source_sha ||
inputs.diagnostic_manifest_sha256 ||
(inputs.diagnostic_image && inputs.diagnostic_image != 'none')) }}
runs-on: ubuntu-24.04
timeout-minutes: 60
permissions:
actions: read
contents: read
env:
EMULEBB_WORKSPACE_ROOT: ${{ github.workspace }}
EMULEBB_RUST_REPO: ${{ github.workspace }}/.ci/original-rust
EMULEBB_TESTS_REPO: ${{ github.workspace }}/.ci/emulebb-build-tests
EMULEBB_TOOLING_REPO: ${{ github.workspace }}/.ci/emulebb-tooling
MINIUPNP_ROOT: ${{ github.workspace }}/.ci/emulebb-miniupnp
PCPNATPMP_ROOT: ${{ github.workspace }}/.ci/emulebb-libpcpnatpmp
steps:
- name: Validate the isolated read-only diagnostic request
shell: python
env:
DIAGNOSTIC_PUBLISH: ${{ inputs.publish }}
PRODUCER_RUN_ID: ${{ inputs.diagnostic_run_id }}
PRODUCER_SOURCE_SHA: ${{ inputs.diagnostic_source_sha }}
APK_MANIFEST_SHA256: ${{ inputs.diagnostic_manifest_sha256 }}
DIAGNOSTIC_IMAGE: ${{ inputs.diagnostic_image }}
run: |
import os
import re
checks = {
"PRODUCER_RUN_ID": r"[1-9][0-9]*",
"PRODUCER_SOURCE_SHA": r"[0-9a-f]{40}",
"APK_MANIFEST_SHA256": r"[0-9a-f]{64}",
"DIAGNOSTIC_IMAGE": r"apk3[1-7]",
}
if os.environ.get("DIAGNOSTIC_PUBLISH") != "false" or any(
re.fullmatch(pattern, os.environ.get(name, "")) is None
for name, pattern in checks.items()
):
raise SystemExit("Diagnostic replay requires publish=false and complete immutable inputs")
- name: Checkout the independently pinned diagnostic executor
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: emulebb/emulebb-build
ref: ${{ env.EMULEBB_APK_DIAGNOSTIC_BUILD_REF }}
path: .ci/emulebb-build
persist-credentials: false
- name: Checkout the independently pinned diagnostic Harness
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: emulebb/emulebb-build-tests
ref: ${{ env.EMULEBB_APK_DIAGNOSTIC_HARNESS_REF }}
path: .ci/emulebb-build-tests
persist-credentials: false
- name: Checkout original producer documentation authority
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: emulebb/emulebb-tooling
ref: ${{ env.EMULEBB_APK_DIAGNOSTIC_TOOLING_REF }}
path: .ci/emulebb-tooling
persist-credentials: false
- name: Checkout original producer MiniUPnP authority
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: emulebb/emulebb-miniupnp
ref: ${{ env.EMULEBB_APK_DIAGNOSTIC_MINIUPNP_REF }}
path: .ci/emulebb-miniupnp
persist-credentials: false
- name: Checkout original producer PCP/NAT-PMP authority
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: emulebb/emulebb-libpcpnatpmp
ref: ${{ env.EMULEBB_APK_DIAGNOSTIC_PCPNATPMP_REF }}
path: .ci/emulebb-libpcpnatpmp
persist-credentials: false
- name: Set up pinned Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0
with:
python-version: "3.15.2"
- name: Install pinned diagnostic owner dependencies
run: python -m pip install click==8.4.1 pydantic==2.14.3 PyYAML==6.0.3
- name: Set up pinned Docker
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
uses: docker/setup-docker-action@3f1ab1ab0e29231562e4db4ca600c1a49653bac6 # v5.7.0
with:
version: v29.6.1
daemon-config: '{"features":{"containerd-snapshotter":true}}'
- name: Set up pinned Buildx
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069
with:
version: v0.35.0
driver: docker
use: false
- name: Grant this runner access to KVM
run: |
test -c /dev/kvm
sudo setfacl -m "u:$(id -un):rw" /dev/kvm
# WHY: finish host setup/cache actions before admitting the user-selected
# tree. Only the pinned executor may then read it for original-byte replay.
- name: Checkout the exact original producer source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ inputs.diagnostic_source_sha }}
path: .ci/original-rust
persist-credentials: false
- name: Replay admitted original APK bytes without publication eligibility
id: replay
working-directory: .ci/emulebb-build
env:
EMULEBB_WORKSPACE_OUTPUT_ROOT: ${{ runner.temp }}/emulebb-rust-out
GH_TOKEN: ${{ github.token }}
PRODUCER_RUN_ID: ${{ inputs.diagnostic_run_id }}
PRODUCER_SOURCE_SHA: ${{ inputs.diagnostic_source_sha }}
APK_MANIFEST_SHA256: ${{ inputs.diagnostic_manifest_sha256 }}
DIAGNOSTIC_IMAGE: ${{ inputs.diagnostic_image }}
run: |
mkdir -p "$EMULEBB_WORKSPACE_OUTPUT_ROOT"
python -B -m emule_workspace diagnose-rust-android-apk-ci \
--producer-run-id "$PRODUCER_RUN_ID" --producer-source-sha "$PRODUCER_SOURCE_SHA" \
--apk-manifest-sha256 "$APK_MANIFEST_SHA256" --image "$DIAGNOSTIC_IMAGE" \
--diagnostic-build-ref "$EMULEBB_APK_DIAGNOSTIC_BUILD_REF" \
--diagnostic-harness-ref "$EMULEBB_APK_DIAGNOSTIC_HARNESS_REF" \
--expected-cert-sha256 "$EMULEBB_APK_DIAGNOSTIC_SIGNER_SHA256" \
--github-output "$GITHUB_OUTPUT"
# Diagnostic receipts remain ineligible for publication, even after a
# successful replay. Private guest reports, logs and AVDs stay excluded.
- name: Retain only sanitized diagnostic replay evidence
if: always()
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: emulebb-rust-android-apk-diagnostic-${{ inputs.diagnostic_image }}-${{ github.sha }}-${{ github.run_attempt }}
path: ${{ runner.temp }}/emulebb-rust-out/reports/android-emulator-boot/*/validation.json
if-no-files-found: warn
retention-days: 30
8 changes: 4 additions & 4 deletions .github/workflows/optional-platforms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ permissions:
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
EMULEBB_BUILD_REF: 3b9ddf42466b07f852f798f6967ca782484056a4
EMULEBB_ANDROID_BUILD_REF: 3b9ddf42466b07f852f798f6967ca782484056a4
EMULEBB_BUILD_TESTS_REF: 7c680ed68e478c2f22c56c65f21f12c3790d3826
EMULEBB_TOOLING_REF: 26abd1eab97b28977f2d55adba17e6ba28821498
EMULEBB_BUILD_REF: 43515795e85beceeb73b1bbbd77e5ab167ef13b6
EMULEBB_ANDROID_BUILD_REF: 43515795e85beceeb73b1bbbd77e5ab167ef13b6
EMULEBB_BUILD_TESTS_REF: 281ccbcdf9f4c9960c5efda4705df966418b6bb2
EMULEBB_TOOLING_REF: f88a8ce608bc75a619aea6909f54a9cdecdddb6e
# Pin the native NAT sources linked by the sys crates.
MINIUPNP_REF: 4e7a10948004ca2085ac8103e14fc77edb898b4c
PCPNATPMP_REF: a6e787f837e507336a8774522c33b54264ef4a4b
Expand Down
Loading