Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
7f09c2c
test(mobile): cover native Android trail maps and persisted review li…
chrisbbreuer Oct 18, 2026
e0ce81c
test(mobile): exercise native map exports location and action handoffs
chrisbbreuer Oct 18, 2026
241a98c
test(mobile): replace review text through native selection controls
chrisbbreuer Oct 18, 2026
a39756a
test(mobile): verify iOS review persistence and edit identity
chrisbbreuer Oct 18, 2026
d0ccccc
test(mobile): reject skipped native acceptance journeys
chrisbbreuer Oct 18, 2026
9f101d7
test(mobile): verify saved trails survive native navigation
chrisbbreuer Oct 18, 2026
dad13bd
test(mobile): select measured trail elevations through native sliders
chrisbbreuer Oct 18, 2026
6801859
test(mobile): cover inline map tools and both directions actions
chrisbbreuer Oct 18, 2026
fc10750
test(mobile): exercise inline iOS map utilities through native controls
chrisbbreuer Oct 18, 2026
47619a1
chore: update published STX components to 0.2.566
chrisbbreuer Oct 18, 2026
134cb96
fix(mobile): use native theme colors for forms and map leaders
chrisbbreuer Oct 18, 2026
c8df1e7
fix(mobile): distinguish trailhead and elevation map markers
chrisbbreuer Oct 18, 2026
828fdc2
chore: adopt published STX strict consumer fixes
chrisbbreuer Oct 18, 2026
2f559e1
ci: validate the committed dependency cohort
chrisbbreuer Oct 18, 2026
aa582ea
test(mobile): reject incomplete directions handoffs
chrisbbreuer Oct 18, 2026
ada38cf
feat(mobile): clarify trail weather and surface cards
chrisbbreuer Oct 18, 2026
54adbfb
test(mobile): capture native weather and surface cards
chrisbbreuer Oct 18, 2026
ae12b65
test(mobile): verify map tilt survives location recentering
chrisbbreuer Oct 18, 2026
438f101
test: verify native iOS sliders sharing and directions
chrisbbreuer Oct 18, 2026
bb20960
test: retain foreground maps handoff screenshots
chrisbbreuer Oct 18, 2026
9fe60ea
test: use published SDK owned Android emulator sessions
chrisbbreuer Oct 18, 2026
e64c8bd
ci: install Android platform required by native SDK
chrisbbreuer Oct 18, 2026
ef2e7f6
test: cover structured native trail forecast details
chrisbbreuer Oct 18, 2026
7942523
test: require genuine Android directions handlers
chrisbbreuer Oct 18, 2026
b83b167
test: capture native map camera and layer states
chrisbbreuer Oct 18, 2026
b7998c0
test: protect native operations from account changes
chrisbbreuer Oct 18, 2026
a778c55
fix: bind native operations to their loaded account
chrisbbreuer Oct 18, 2026
d49f9e2
test: cover native review and upload account changes
chrisbbreuer Oct 18, 2026
61c380b
test: cover stale native saves and photo selections
chrisbbreuer Oct 18, 2026
451e348
fix: keep native reviews and uploads with their account
chrisbbreuer Oct 18, 2026
b8c4e0f
feat: use native MapLibre on Android
chrisbbreuer Oct 18, 2026
4c57665
test: require owned native recording recovery
chrisbbreuer Oct 18, 2026
9228613
fix: recover GPS only with its saved recording owner
chrisbbreuer Oct 18, 2026
d5094b4
test: advertise the real recording ownership capability
chrisbbreuer Oct 18, 2026
56016c6
test: preserve manual upload identity and account ownership
chrisbbreuer Oct 18, 2026
9cf0062
fix: keep manual activity retries with a native UUID and account
chrisbbreuer Oct 18, 2026
47b0da6
test: register native recording intent before GPS starts
chrisbbreuer Oct 18, 2026
a063757
test: avoid shadowing the native screen starter
chrisbbreuer Oct 18, 2026
4d8c018
fix: retain native recording ownership through durable checkpoints
chrisbbreuer Oct 18, 2026
8dfc633
test: retain native tracks across checkpoint and archive races
chrisbbreuer Oct 18, 2026
efd0b83
test: recover an interrupted native start acknowledgement
chrisbbreuer Oct 18, 2026
e950448
fix: recover the native result of a registered start
chrisbbreuer Oct 18, 2026
a7be4d4
fix: use the native start time when replaying fixes
chrisbbreuer Oct 18, 2026
695c3b8
test: exercise every native basemap and both camera modes
chrisbbreuer Oct 18, 2026
394d9d6
chore: adopt the published Core and native SDK baseline
chrisbbreuer Oct 18, 2026
1596403
test: verify the complete native recording save lifecycle
chrisbbreuer Oct 18, 2026
004ce56
chore: synchronize the published Stacks framework
chrisbbreuer Oct 18, 2026
8c8be09
test: inspect native trail controls in system dark appearance
chrisbbreuer Oct 18, 2026
79888ef
test: verify exact native review replacement through the edit menu
chrisbbreuer Oct 18, 2026
3f6542e
chore: adopt the published native maps SDK
chrisbbreuer Oct 18, 2026
b329607
fix(mobile): give feed and trail actions consistent native buttons
chrisbbreuer Oct 18, 2026
84e81b1
fix(ci): use the supported pull request labeler configuration
chrisbbreuer Oct 18, 2026
f7a2b41
fix(mobile): clarify map actions and isolate complete native QA journeys
chrisbbreuer Oct 18, 2026
d79b055
test(ios): verify the pasted share URL without placeholder assumptions
chrisbbreuer Oct 18, 2026
22438b7
test(android): focus and verify the native review replacement field
chrisbbreuer Oct 18, 2026
a7b52c0
fix(ci): use the verified Pantry action for native builds and deploys
chrisbbreuer Oct 18, 2026
933fce8
chore(deps): adopt the published native key fixes in STX 0.2.573
chrisbbreuer Oct 18, 2026
0d41983
chore: adopt verified Craft native SDK 244
chrisbbreuer Oct 19, 2026
42ddca3
ci: run the suite through the Stacks test command
chrisbbreuer Oct 19, 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
342 changes: 251 additions & 91 deletions .github/labeler.yml

Large diffs are not rendered by default.

29 changes: 10 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
node-modules-

- name: Install dependencies
run: bun install
run: bun install --frozen-lockfile

- name: Lint
run: bunx --bun pickier .
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
node-modules-

- name: Install dependencies
run: bun install
run: bun install --frozen-lockfile

- name: Typecheck
run: bun buddy test:types
Expand Down Expand Up @@ -146,12 +146,12 @@ jobs:
node-modules-

- name: Install Dependencies
run: bun install
run: bun install --frozen-lockfile

- name: Test Suite
env:
AWS_DYNAMODB_ENDPOINT: http://localhost:8000
run: bun test
run: ./buddy test

recording-qa:
runs-on: ubuntu-latest
Expand All @@ -165,7 +165,7 @@ jobs:
# Production's Bun, as in the jobs above.
bun-version: '1.4.2'
- name: Install app dependencies
run: bun install
run: bun install --frozen-lockfile
# Isolated test dependencies: no changes to the app's hoisted ORM tree.
# Server-side regressions that need the QA app but no browser.
#
Expand Down Expand Up @@ -243,7 +243,7 @@ jobs:
node-modules-

- name: Install Dependencies
run: bun install
run: bun install --frozen-lockfile

- name: Build
run: bun run build
Expand All @@ -255,20 +255,11 @@ jobs:
# `"private": true` because it is an application rather than a library,
# so it answered `400 {"message":"No packages"}` on every run.
#
# The installer action lives inside the pantry monorepo (packages/action)
# and is not published as `pantry-pm/pantry-installer` yet, so the
# release binary is fetched directly. Swap this step for the action once
# that repo exists.
- name: Install Pantry
run: |
tmp=$(mktemp -d)
curl -fsSL -o "$tmp/pantry.zip" \
https://github.com/pantry-pm/pantry/releases/latest/download/pantry-linux-x64.zip
# The archive holds a bare `pantry` binary, no wrapping directory.
unzip -oq "$tmp/pantry.zip" -d "$tmp"
sudo install -m 755 "$tmp/pantry" /usr/local/bin/pantry
rm -rf "$tmp"
pantry --version
uses: pantry-pm/pantry/packages/action@da17bb9317e8f8c247618fb176fe97269f15bfe4 # v0.11.94
with:
version: '0.11.94'
install: 'false'

# `publish:commit` derives the version from the commit SHA itself, so
# each build is separately installable without anyone stamping
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ jobs:
bun-version: '1.4.2'

- name: Setup Pantry
uses: home-lang/pantry/packages/action@main
uses: pantry-pm/pantry/packages/action@da17bb9317e8f8c247618fb176fe97269f15bfe4 # v0.11.94
with:
version: '0.11.94'
install: 'false'

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down
86 changes: 72 additions & 14 deletions .github/workflows/mobile-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
- '.maestro/**'
- 'tests/native/**'
- 'scripts/run-native-trail-e2e.ts'
- 'scripts/run-native-trail-android-e2e.ts'
- 'scripts/run-owned-android-e2e.ts'
- 'app/**'
- 'config/mobile.ts'
# The app icon config/mobile.ts points at; a bad one fails the iOS build.
Expand All @@ -21,6 +23,8 @@ on:
- '.maestro/**'
- 'tests/native/**'
- 'scripts/run-native-trail-e2e.ts'
- 'scripts/run-native-trail-android-e2e.ts'
- 'scripts/run-owned-android-e2e.ts'
- 'app/**'
- 'config/mobile.ts'
# The app icon config/mobile.ts points at; a bad one fails the iOS build.
Expand Down Expand Up @@ -53,7 +57,10 @@ jobs:
distribution: temurin
java-version: '17'
- name: Setup Pantry
uses: home-lang/pantry/packages/action@main
uses: pantry-pm/pantry/packages/action@da17bb9317e8f8c247618fb176fe97269f15bfe4 # v0.11.94
with:
version: '0.11.94'
install: 'false'
- name: Install Maestro
run: |
curl -fsSL "https://github.com/mobile-dev-inc/Maestro/releases/download/${MAESTRO_VERSION}/maestro.zip" -o "$RUNNER_TEMP/maestro.zip"
Expand All @@ -75,8 +82,6 @@ jobs:
if-no-files-found: warn

android:
env:
ANDROID_MAPS_API_KEY: ${{ secrets.ANDROID_MAPS_API_KEY }}
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
Expand All @@ -91,6 +96,11 @@ jobs:
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '8.11.1'
- uses: android-actions/setup-android@v4
with:
packages: platform-tools
- name: Install the published SDK compile platform
run: sdkmanager "platforms;android-36" "build-tools;36.0.0"
- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
Expand All @@ -107,15 +117,7 @@ jobs:
- name: Build Android E2E app
run: bun scripts/run-mobile-e2e.ts android --build-only
- name: Run Android E2E flows
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 34
target: google_apis
arch: x86_64
profile: pixel_7
ram-size: 4096M
disable-animations: true
script: bun scripts/run-mobile-e2e.ts android --skip-build
run: bun scripts/run-owned-android-e2e.ts baseline
- name: Upload Android diagnostics
if: always()
uses: actions/upload-artifact@v5
Expand All @@ -125,17 +127,25 @@ jobs:
if-no-files-found: warn

native-trail-ios:
strategy:
fail-fast: false
matrix:
group: [maps, reviews, utilities, navigation]
runs-on: macos-latest
timeout-minutes: 35
env:
QA_PORT_BASE: '6320'
NATIVE_TRAIL_GROUP: ${{ matrix.group }}
steps:
- uses: actions/checkout@v5
- uses: oven-sh/setup-bun@v2
with:
bun-version: '1.4.2'
- name: Setup Pantry
uses: home-lang/pantry/packages/action@main
uses: pantry-pm/pantry/packages/action@da17bb9317e8f8c247618fb176fe97269f15bfe4 # v0.11.94
with:
version: '0.11.94'
install: 'false'
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Install iOS toolchain
Expand Down Expand Up @@ -168,10 +178,58 @@ jobs:
if: always()
uses: actions/upload-artifact@v5
with:
name: native-trail-ios
name: native-trail-ios-${{ matrix.group }}
path: |
storage/framework/runtime/e2e/native-trail/*.log
storage/framework/runtime/e2e/native-trail/*.txt
storage/framework/runtime/e2e/native-trail/*-persistence.json
storage/framework/runtime/e2e/native-trail/*.png
storage/framework/runtime/e2e/native-trail/results-*.xcresult
if-no-files-found: warn

native-trail-android:
runs-on: ubuntu-latest
timeout-minutes: 35
env:
QA_PORT_BASE: '7320'
steps:
- uses: actions/checkout@v5
- uses: oven-sh/setup-bun@v2
with:
bun-version: '1.4.2'
- uses: actions/setup-java@v5
with:
distribution: temurin
java-version: '17'
- uses: gradle/actions/setup-gradle@v4
with:
gradle-version: '8.11.1'
- uses: android-actions/setup-android@v4
with:
packages: platform-tools
- name: Install the published SDK compile platform
run: sdkmanager "platforms;android-36" "build-tools;36.0.0"
- name: Install Maestro
run: |
curl -fsSL "https://github.com/mobile-dev-inc/Maestro/releases/download/${MAESTRO_VERSION}/maestro.zip" -o "$RUNNER_TEMP/maestro.zip"
echo "$MAESTRO_SHA256 $RUNNER_TEMP/maestro.zip" | sha256sum --check
unzip -q "$RUNNER_TEMP/maestro.zip" -d "$RUNNER_TEMP/maestro-cli"
echo "$RUNNER_TEMP/maestro-cli/maestro/bin" >> "$GITHUB_PATH"
- name: Install published dependencies
run: bun install --frozen-lockfile
- name: Build native MapLibre trail app
run: bun scripts/run-native-trail-android-e2e.ts --build-only
- name: Enable KVM
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Test native maps, sticky actions and persisted reviews
run: bun scripts/run-owned-android-e2e.ts native-trail
- name: Upload Android native trail evidence
if: always()
uses: actions/upload-artifact@v5
with:
name: native-trail-android
path: storage/framework/runtime/e2e/native-trail-android
if-no-files-found: warn
13 changes: 11 additions & 2 deletions .github/workflows/mobile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
source-projects:
env:
ANDROID_GOOGLE_SERVICES_JSON: ${{ secrets.ANDROID_GOOGLE_SERVICES_JSON }}
ANDROID_MAPS_API_KEY: ${{ secrets.ANDROID_MAPS_API_KEY }}
strategy:
fail-fast: false
matrix:
Expand All @@ -56,9 +55,19 @@ jobs:
if: matrix.platform == 'android'
with:
gradle-version: '8.11.1'
- uses: android-actions/setup-android@v4
if: matrix.platform == 'android'
with:
packages: platform-tools
- name: Install the published SDK compile platform
if: matrix.platform == 'android'
run: sdkmanager "platforms;android-36" "build-tools;36.0.0"
- name: Setup Pantry
if: matrix.platform == 'ios'
uses: home-lang/pantry/packages/action@main
uses: pantry-pm/pantry/packages/action@da17bb9317e8f8c247618fb176fe97269f15bfe4 # v0.11.94
with:
version: '0.11.94'
install: 'false'
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Install iOS toolchain
Expand Down
43 changes: 43 additions & 0 deletions .maestro/native-trail/appearance.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
appId: ${APP_ID}
name: Native trail maps and sticky controls in system dark appearance
---
- launchApp
- openLink: wildloop://trail/${TRAIL_ID}
- extendedWaitUntil:
visible: ${TRAIL_NAME}
timeout: 30000
- assertVisible:
id: trail-sticky-actions
- takeScreenshot: android-native-dark-trail-overview
- scrollUntilVisible:
element:
id: trail-profile-toggle
direction: DOWN
- takeScreenshot: android-native-dark-inline-profile
- scrollUntilVisible:
element:
id: trail-map-fullscreen
direction: UP
- tapOn:
id: trail-map-fullscreen
- extendedWaitUntil:
visible:
id: trail-full-map
timeout: 15000
- takeScreenshot: android-native-dark-full-map
- tapOn:
id: map-profile-toggle
- takeScreenshot: android-native-dark-collapsed-profile
- back
- scrollUntilVisible:
element:
id: trail-weather-heading
direction: DOWN
- takeScreenshot: android-native-dark-weather
- scrollUntilVisible:
element:
id: trail-surfaces-heading
direction: DOWN
- takeScreenshot: android-native-dark-surfaces
- assertVisible:
id: trail-sticky-actions
16 changes: 16 additions & 0 deletions .maestro/native-trail/directions-map.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
appId: ${APP_ID}
name: Open trailhead directions from the full native map
---
- launchApp
- openLink: wildloop://trail/${TRAIL_ID}/map
- extendedWaitUntil:
visible:
id: map-directions
timeout: 30000
- tapOn:
id: map-directions
- extendedWaitUntil:
notVisible:
id: trail-full-map
timeout: 15000
- takeScreenshot: android-native-full-map-directions-handoff
16 changes: 16 additions & 0 deletions .maestro/native-trail/directions.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
appId: ${APP_ID}
name: Open trailhead directions from the native sticky actions
---
- launchApp
- openLink: wildloop://trail/${TRAIL_ID}
- extendedWaitUntil:
visible:
id: trail-directions
timeout: 30000
- tapOn:
id: trail-directions
- extendedWaitUntil:
notVisible:
id: trail-sticky-actions
timeout: 15000
- takeScreenshot: android-native-directions-handoff
Loading
Loading