Repository navigation
Keep Settings handy with quiet notifications and WebUI replies - #201
Conversation
Keep About and Updates together and retain current-release notes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
OutcomeShipped in #201 and release #203 as v1.3.3: quiet Settings access, eligible WebUI inline replies, and About/Updates together at the bottom of Settings. Root cause: The live harness could treat a service process as a ready foreground WebView and attach before its debug endpoint/page was ready. Its activity launch and bounded readiness handling now have failing-then-passing regressions. Live QA also found and fixed the blank release-notes target outside the GitHub channel. What changed:
Verification: 316 JVM and 121 tooling tests, lint/build/FOSS checks, observed RED/GREEN and mutation checks, independent exact-SHA reviews, and the complete API 35/36 PR suites passed. Actual API 36 SystemUI RemoteInput and authenticated persisted conversation readback proved exactly one reply and assistant response; a separate real turn completed while the app remained backgrounded. The minimized notification's Settings action and disable/reenable behavior were exercised live. Production orchestration passed full API 36 instrumentation and signed APK/AAB checks. Direct GitHub release/tag readback confirms exactly the intended APK and reviewed release SHA. The actual Play publisher job verified production 10303, completed status, en-US notes and English descriptions through a fresh Publisher API edit. Local tooling-test mock output is not publication evidence. Not covered / retained here: public Play review/visibility and device update/install, physical/OEM/process-survival behavior, the two live s04 failures identical on the production base, scripted-history/cold-preflight discrepancies, the local unfocused-editor timing discrepancy, and Chrome beyond first-run. No F-Droid publication is claimed. Keep this enhancement open for those explicitly documented follow-ups; they are not represented as passing checks. |
What changed
No new permission, dependency, idle foreground service, or secret-bearing JavaScript bridge. Official Webapp direct reply is deliberately excluded, as requested after investigation; its Settings notification still works. Existing WebUI SSE/approval behavior and Play/GitHub update providers are unchanged. Cookie-backed replies do not reuse WebView-only Basic-auth or client-certificate challenges. Android/user dismissal and process survival remain outside the ongoing notification's guarantee.
Approved for release preparation: the user approved
1.3.3/v1.3.3for the GitHub APK and Google Play production. Authenticated live notification/reply acceptance is verified. Independent review found no significant issues, and full CI passed on exact head6de7c7b15403822c97523409451771a3bbe34cc6, including both unfiltered API 35/36 suites and the final gate. Publication still depends on the reviewed release PR and successful orchestration. Remaining QA boundaries are tracked in #202.Related #202.
Testing
NotificationReplyInstrumentationTest: 8 API 36 tests exercise actual notification RemoteInput PendingIntents and the production receiver against loopback HTTP: scoped cookies, encoded mount/session routing, original profile/message, replay rejection, selected-server changes including switch-away/back, expiry, redirect rejection, unconfirmed admission/gateway failures, and a delayed reply result arriving after a newer non-reply alert.HermesNotificationPresenterTest: 6 API 36 tests include real MainActivity foreground/background/finish lifecycle and the Settings PendingIntent, a minimum-importance generic notification, and trusted-tap regressions.SettingsScreenTest: 13 API 36 tests include About-before-Updates ordering, release-note/check/download callbacks, and existing Settings behavior.HermesWebUiCompatibilityTest: 6 targeted notification-facade tests on API 36 execute the injected script, including positive WebUI/idle-session gating, exclusion of the official Webapp, permissions, service-worker delivery, and reinjection.GitHubReleaseUpdateCheckerTest: 5 JVM cases include retaining current/older release notes without offering a download. The complete debug JVM suite passed 316 tests.603c2d6found two issues: a delayed reply result could overwrite a newer non-reply notification, and gateway errors could incorrectly claim definite rejection after upstream admission. Both new regression tests were RED on603c2d6, then GREEN onb8c4f5e. Every replacement now invalidates its old reply action, result/replacement posting is serialized, and HTTP server/gateway errors or request timeouts report uncertain delivery. Final targeted API 36 run: 33 tests passed, alongside all 316 JVM tests, lint, and debug build. Independent follow-up review of exact commitb8c4f5e6b8d447587ef9d28f83f51528cf8201b3found no significant remaining issues in the reviewed changes.Resumed validation
3bdac45fixes two reproduced harness startup assumptions: a running process no longer substitutes for opening the activity, and DevTools transport/page startup gets a bounded readiness wait instead of a fixed delay. Launch failures are explicit.fetch failed. The user subsequently signed in; authenticated live results are recorded below. No password was entered or stored by the agent.textInput_usesAndroidEditorWithoutWindowFocuscase (30-second editor-readiness timeout). The local discrepancy has not been diagnosed; no test was disabled or narrowed.3bdac451864fe4d1f89e116a87ddb7a6f727a0c1, completed successfully. Both unfiltered API 35/36 instrumentation jobs, unit tests, tooling, lint, build, JavaScript/docs checks, and the final CI gate passed. This includes the unfocused-editor regression that still times out on the local emulator. The final notes-link fix has its own full CI run linked above.3bdac451864fe4d1f89e116a87ddb7a6f727a0c1found no significant issues. No APK/AAB has been published.6de7c7b15403822c97523409451771a3bbe34cc6found no significant issues.6de7c7b15403822c97523409451771a3bbe34cc6. All 12 jobs passed, including actual unfiltered API 35/36 instrumentation steps, unit tests, Android lint, debug/F-Droid/Play compile gates, tooling/docs/JavaScript checks and the final CI gate. No job was failed, skipped or narrowed.WelcomeFirstRunInstrumentationTest.configuredSettingsCanOpenReleaseNotesWithoutAnUpdateProviderdrives real MainActivity, verifies debug still has no updater, and captures the actual browser intent. It was RED on3bdac45(expected https, got null) and GREEN on6de7c7b. The public page URL now comes from shared default configuration, retaining fork overrides and unchanged channel-specific API/provider fields. Generated debug/GitHub/Play/F-Droid BuildConfig readback confirms all four page URLs are populated and provider channels remainnone/github/play/none.hermes_open, importance 1, andONGOING_EVENT|ONLY_ALERT_ONCE|SILENT. It was available foreground/background; expanding the Android group and individual notification exposed Settings, which opened native Settings. Disabling removed it, and reenabling restored it. The original debug option was restored afterward.about:blankand produce a premature origin-mismatch preflight. The final full live run used--no-launchafter directly verifying the real document was loaded. This remaining harness-readiness limitation and the manual-exit/OEM checks stay explicit in Follow up notification and live WebView QA after v1.3.3 #202.Commands and results:
An initial unquoted PowerShell Gradle-property invocation failed argument parsing; quoting it corrected the command. Test development also exposed a nullable test PendingIntent and Android notification/lifecycle readiness assumptions; those were corrected before the final green runs. These are not hidden passing checks.
.\gradlew.bat testDebugUnitTest --no-daemon.\gradlew.bat lintDebug --no-daemon.\gradlew.bat assembleDebug --no-daemonpython -m unittest discover -s tools/tests -p "test_*.py"andpython tools/check_markdown.pyconnectedDebugAndroidTeston an emulator, or note why it was skipped (CI runs API 35 and 36 for Android changes)3bdac45. Local full runs and the local unfocused-editor failure are documented above.QA checklist
tools/qaagainst a real server, and the redactedreport.mdsummary is pasted below (or marked not applicable).README.md,ROADMAP.md,ARCHITECTURE.md, andAGENTS.mdare updated where behavior, setup, architecture, or workflow changed.enhancement,user-facing,bug,documentation,skip-changelog).Live QA summary (if applicable)
Final authenticated report: 2026-11-14, API 36, debug app 1.3.2, Chrome/WebView 156.0.8078.47. Production version metadata is deliberately unchanged.
The same two s04 failures were measured on the emulator after installing a debug APK built from unchanged production base
330a03e; the reviewed feature APK was then restored without clearing app data. No hit-test assertion or production prompt CSS was weakened. This is baseline evidence, not a fully green live report or a completed diagnosis of the old hit-test failures.Native live acceptance additionally verified the minimized Settings shortcut and actual exactly-once conversation reply with server-persisted agent response. Physical/OEM acceptance and the noted harness/history limitations remain tracked under enhancement #202. No APK/AAB, tag or release has been published.
🤖 Generated with GitHub Copilot