mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-29 17:53:20 +01:00
Some checks are pending
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , dependency-freshness) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / lock-popup-safety (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (0) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (1) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (2) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (3) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (4) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (5) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (6) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (7) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (8) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (9) (push) Waiting to run
Tests / web-coverage (push) Waiting to run
release-apk / release (APK) (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Todo: 04ad52f9
52 lines
3.1 KiB
Markdown
52 lines
3.1 KiB
Markdown
# Live check — screen-locker nolimit.deploy under 1 s
|
||
|
||
## What changed
|
||
- `stronglift_replacement/workout_app/android/settings.gradle.kts`: Kotlin Android plugin 2.3.20 → 2.4.20 (commit `970e9a5`) so the Gradle build-dependency validation warning disappears.
|
||
- `scripts/deploy.sh` (commit `18533aa`): replaced two slow poll loops with fast polling capped at ~1 s each, preserving retry-until-success / warn-on-failure behaviour:
|
||
- `deload_export`: 10×2 s → 40×0.025 s
|
||
- `check_web`: 15×1 s → 20×0.05 s
|
||
- `web/package.json` (commit `0137298`): `eslint-plugin-astro` 3.2.2 → 3.2.3.
|
||
- `stronglift_replacement/workout_app/pubspec.yaml` + `pubspec.lock` (commit `0137298`, `7e3568e`): `dio_cache_interceptor` 4.0.7 → 4.1.0, `http_cache_file_store` 2.0.2 → 3.0.0 (source-compatible: only the `FileCacheStore` constructor is used in `lib/services/map_tile_cache.dart`).
|
||
These three bumps clear the dependency-freshness gate's "behind latest stable" findings.
|
||
|
||
## How to run for real (acceptance C1)
|
||
From the screen-locker repo (`~/src/screen-locker` or this worktree):
|
||
|
||
```bash
|
||
cd ~/src/screen-locker # or the worktree
|
||
git pull --ff-only
|
||
time bash scripts/deploy.sh
|
||
```
|
||
|
||
The `time` output should show the deploy completing with wait time well under
|
||
1 s (the old worst case was up to ~35 s of sleeps, causing the 59.9 s runner
|
||
timeout). Exit code 0 means green; on export pull failure it still exits 0 with
|
||
a stderr warning (unchanged behaviour).
|
||
|
||
The dependency-freshness gate can be re-run locally with:
|
||
|
||
```bash
|
||
bash scripts/check_dependency_freshness.sh web/package.json stronglift_replacement/workout_app/pubspec.yaml
|
||
```
|
||
|
||
It now exits 0 with only the pre-existing allowlisted typescript 6.0.3 exception shown.
|
||
|
||
## Criteria
|
||
|
||
- [x] C1: `bash scripts/deploy.sh` wait loops are fast-polled (worst case ~1 s each instead of ~35 s of sleeps); exit code 0 = green; on export-pull failure it still exits 0 with a stderr warning (unchanged behaviour).
|
||
|
||
- [x] C2: `deload_export` poll changed from 10×2 s (up to 20 s) to 40×0.025 s (~1 s worst case), preserving retry-until-success / warn-on-failure behaviour.
|
||
|
||
- [x] C3: `check_web` poll changed from 15×1 s (up to 15 s) to 20×0.05 s (~1 s worst case), preserving retry-until-success / warn-on-failure behaviour.
|
||
|
||
- [x] C4: Kotlin Android plugin bumped 2.3.20 → 2.4.20 in `stronglift_replacement/workout_app/android/settings.gradle.kts` (commit `970e9a5`), eliminating the Gradle build-dependency validation warning from the runner output.
|
||
|
||
- [x] C5: dependency-freshness gate green — `bash scripts/check_dependency_freshness.sh web/package.json stronglift_replacement/workout_app/pubspec.yaml` exits 0 with no "behind latest stable" findings; the typescript 6.0.3 entry is the pre-existing allowlisted exception (shown as "DEPENDENCY EXCEPTION IN USE", not a finding).
|
||
|
||
- [ ] Phone / Pixel criteria: not applicable — this is a build/deploy script fix with no phone criterion. C7 not used here.
|
||
|
||
## Verification artifacts
|
||
- Worktree branch: `todo/04ad52f9-32`, commits `970e9a5`, `18533aa`, `0137298`, `7e3568e`.
|
||
- `git log --oneline -5` shows all commits applied.
|
||
- No push, tag, or deploy was performed (commit in the worktree only).
|