Repository navigation
[1722 by GPT-5.6 Sol] Build the browser push enrollment flow and notification preferences settings - #1936
Conversation
… and notific Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully.
|
/ultrafix |
|
🔄 Ultrafix loop started (goal: 8/10, max cycles: 10) First action:
|
Checks FailedValidation failed during setup, tests, CLI packaging, linting, or build checks. View Logs |
|
✅ Applied the requested follow-up changes in commit 500365b Summary of ChangesFixed the failed complexity lint check in notificationService.ts by extracting preference-settings persistence into a focused private method. Verification passed:
No commit created. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
…ice.ts](/tmp/git-processor/worktrees/integry/propr/pr-1936-followup-2026-08-24T11-54-19/packages/core/src/services/notificationService.ts:412) by extracting preference-settings persistence into a focused private method. Fixed the failed complexity lint check in [notificationService.ts](/tmp/git-processor/worktrees/integry/propr/pr-1936-followup-2026-08-24T11-54-19/packages/core/src/services/notificationService.ts:412) by extracting preference-settings persistence into a focused private method. Verification passed: - Core package lint with zero warnings - Core package build - Notification service tests: 22/22 - `git diff --check` No commit created. PR: #1936 Comment by: @github-actions[bot] (ID: 5394814538) Model: gpt-5.6-sol
|
✅ AI Code Review Complete requested by @propr-ultrafix Posted 1 review: |
🔍 AI Code Review — claude:claude-sonnet-5Overall EvaluationThis PR implements a comprehensive browser push notification system: a typed notification API client, a I did not find a demonstrable, PR-introduced correctness or safety regression that satisfies all the actionable-finding criteria. The head checks are all green, and the diff includes solid targeted tests (badge omission in dispatcher payloads, migration up/down round-trip validation, sparse preference merge preserving ✅ Badge default correctly threaded across layers — ✅ Click-only permission request verified by test — ✅ Idempotent migration for existing installations — Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢
|
* fix(ai): Resolve issue #1716 - Define the durable notification domain model and d Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * fix(ai): Resolve issue #1717 - Add the notification persistence service and authe Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * fix(ai): Resolve issue #1718 - Add notification preferences and Web Push subscrip Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * feat(ai): Fixed the PR build check failures without committing: Fixed the PR build check failures without committing: - Typed the planner update mock so TypeScript can inspect its call arguments safely in [plannerBackgroundLifecycle.test.ts](</tmp/git-processor/worktrees/integry/propr/pr-1731-followup-2026-08-04T14-41-14/packages/api/test/plannerBackgroundLifecycle.test.ts:180>). - Compacted notification exports to satisfy the 400-line lint limit in [index.ts](</tmp/git-processor/worktrees/integry/propr/pr-1731-followup-2026-08-04T14-41-14/packages/core/src/index.ts:383>). Verified successfully: - Root, shared, core, API, UI, and docs builds - Core/API/UI lint and UI typecheck - Fast and hosted-tunnel tests - Planner lifecycle tests - CLI packaging - `git diff --check` Only those two files are modified. PR: #1731 Comment by: @github-actions[bot] (ID: 5180607485) Model: gpt-5.6-sol * feat(ai): Fixed the PR build failure without behavior changes. Fixed the PR build failure without behavior changes. - Compacted notification exports in [packages/core/src/index.ts](/tmp/git-processor/worktrees/integry/propr/pr-1731-followup-2026-08-23T23-08-14/packages/core/src/index.ts:406). - Compacted imports in [packages/api/server.ts](/tmp/git-processor/worktrees/integry/propr/pr-1731-followup-2026-08-23T23-08-14/packages/api/server.ts:13). Verified successfully: - Exact changed-core-source ESLint gate - Core build - API lint with zero warnings - API build - `git diff --check` Only those two files are modified; no commit was created. PR: #1731 Comment by: @github-actions[bot] (ID: 5388991706) Model: gpt-5.6-sol * fix(ai): Resolve issue #1719 - Project plan, task, PR, indexing, stalled, and sys Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * fix(ai): Resolve issue #1720 - Implement reliable Web Push delivery with VAPID, r Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * fix(ai): Resolve issue #1721 - Add the installable PWA shell, manifest, icons, an Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * fix(pwa): precache lazy shell assets (#1935) Co-authored-by: Rinalds Uzkalns <[email protected]> * feat(ai): Implemented the CodeQL follow-up fixes: Implemented the CodeQL follow-up fixes: - Added the existing API rate limiter to the authenticated Express test fixture in [notificationRoutes.test.ts](/tmp/git-processor/worktrees/integry/propr/pr-1731-followup-2026-08-24T12-14-03/packages/api/test/notificationRoutes.test.ts:11). - Replaced both polynomial padding regexes with linear scanning in [notifications.ts](/tmp/git-processor/worktrees/integry/propr/pr-1731-followup-2026-08-24T12-14-03/packages/shared/src/notifications.ts:734). Validation passed: - Notification route tests: 12/12 - Notification schema tests: 32/32 - Padded Web Push key regression test - Shared and API TypeScript checks - `git diff --check` No commit was created. PR: #1731 Comment by: @integry (ID: 5395023659) Model: gpt-5.6-sol * feat(ai): Fixed the API lint failure by consolidating Express imports in [notificationRoutes.test.ts](/tmp/git-processor/worktrees/integry/propr/pr-1731-followup-2026-08-24T12-20-51/packages/api/test/notificationRoutes.test.ts:4), bringing it within the 400-line limit. Fixed the API lint failure by consolidating Express imports in [notificationRoutes.test.ts](/tmp/git-processor/worktrees/integry/propr/pr-1731-followup-2026-08-24T12-20-51/packages/api/test/notificationRoutes.test.ts:4), bringing it within the 400-line limit. Validated: - API lint passed - API build passed - Notification route tests passed: 12/12 - `git diff --check` passed No commit was created. PR: #1731 Comment by: @github-actions[bot] (ID: 5395100590) Model: gpt-5.6-sol * [1722 by GPT-5.6 Sol] Build the browser push enrollment flow and notification preferences settings (#1936) * fix(ai): Resolve issue #1722 - Build the browser push enrollment flow and notific Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * feat(ai): Fixed the failed complexity lint check in [notificationService.ts](/tmp/git-processor/worktrees/integry/propr/pr-1936-followup-2026-08-24T11-54-19/packages/core/src/services/notificationService.ts:412) by extracting preference-settings persistence into a focused private method. Fixed the failed complexity lint check in [notificationService.ts](/tmp/git-processor/worktrees/integry/propr/pr-1936-followup-2026-08-24T11-54-19/packages/core/src/services/notificationService.ts:412) by extracting preference-settings persistence into a focused private method. Verification passed: - Core package lint with zero warnings - Core package build - Notification service tests: 22/22 - `git diff --check` No commit created. PR: #1936 Comment by: @github-actions[bot] (ID: 5394814538) Model: gpt-5.6-sol * fix(notifications): make badge migration reversible --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com> Co-authored-by: Rinalds Uzkalns <[email protected]> * [1723 by GPT-5.6 Sol] Create the mobile-first Inbox page with grouping, unread state, dismissal, and badging (#1937) * fix(ai): Resolve issue #1723 - Create the mobile-first Inbox page with grouping, Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * fix(ui): preserve notification dismiss identity * feat(ai): Implemented F1 only in [GlobalHeader.tsx](/tmp/git-processor/worktrees/integry/propr/pr-1937-followup-2026-08-24T14-43-32/propr-ui/src/components/GlobalHeader.tsx:107). Implemented F1 only in [GlobalHeader.tsx](/tmp/git-processor/worktrees/integry/propr/pr-1937-followup-2026-08-24T14-43-32/propr-ui/src/components/GlobalHeader.tsx:107). - Removed `hidden` and `sm:block` from Logout, keeping it accessible below 640px. - Typecheck passed. - Focused ESLint passed. - `git diff --check` passed. - No commit created, as requested. PR: #1937 Comment by: @integry (ID: 5396851385) Model: gpt-5.6-sol * fix(ui): keep mobile account actions visible * fix(ui): keep inbox pagination reachable * fix(ui): reconcile inbox response races * fix(ui): isolate notification state by account * fix(ui): replay notification mutations safely * fix(ui): preserve read failure feedback * fix(ui): keep demo inbox read only --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com> Co-authored-by: Rinalds Uzkalns <[email protected]> * [1724 by GPT-5.6 Sol] Add mobile Inbox actions for stopping tasks, following up, opening PRs, and dismissing (#1938) * fix(ai): Resolve issue #1724 - Add mobile Inbox actions for stopping tasks, follo Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * feat(ai): Implemented F1 only. Implemented F1 only. - Dismiss now renders whenever `mutationsEnabled` is true, independent of advertised actions: [NotificationActions.tsx](/tmp/git-processor/worktrees/integry/propr/pr-1938-followup-2026-08-24T17-12-21/propr-ui/src/components/Inbox/NotificationActions.tsx:111) - Added regression coverage for notifications with an empty actions array: [InboxPage.test.tsx](/tmp/git-processor/worktrees/integry/propr/pr-1938-followup-2026-08-24T17-12-21/propr-ui/src/pages/InboxPage.test.tsx:187) Validation passed: - Focused ESLint - Inbox tests: 14/14 - UI TypeScript typecheck - `git diff --check` No commit created. PR: #1938 Comment by: @propr-ultrafix (ID: 0) Model: gpt-5.6-sol * feat(ai): Implemented only F2, F3, and F4. Implemented only F2, F3, and F4. - `open_pr` is advertised only when a trusted GitHub PR URL is constructed. - Trusted legacy PR links remain available when advertised actions are absent or empty. - Advertised actions now use a versioned metadata envelope, preserving legacy `metadata.actions` and validating combined metadata size before insertion. - Added regression coverage for all three findings. Validation passed: - 65 core/shared schema tests - 8 projection tests - 28 notification route/Web Push tests - 18 Inbox UI tests - Shared, core, API, and UI type checks - Focused lint and `git diff --check` Changes were not committed, as requested. PR: #1938 Comment by: @integry (ID: 5398849258) Model: gpt-5.6-sol * feat(ai): Implemented F5–F8 only: Implemented F5–F8 only: - Dismiss now respects advertised actions, with the legacy empty-action fallback. - Follow-up and Stop successes remain successful if Inbox refresh fails; refresh failures use separate warnings. - `follow_up` is advertised only when the stored task has a valid GitHub repository and issue identity. - Action lists, including empty lists, now use a v2 persistence envelope; legacy reserved-key producer metadata remains intact. - Added focused UI, projection, schema, and persistence regressions. Validation passed: - Root and UI typechecks - 58 schema/service tests - 9 projection tests - 16 focused UI tests - UI lint - `git diff --check` No commit was created. PR: #1938 Comment by: @integry (ID: 5399080238) Model: gpt-5.6-sol * feat(ai): Fixed the sole CI failure in [notificationProjectionService.ts](/tmp/git-processor/worktrees/integry/propr/pr-1938-followup-2026-08-24T18-03-38/packages/api/services/notificationProjectionService.ts:152) by extracting follow-up eligibility logic into a helper, reducing method complexity without behavior changes. Fixed the sole CI failure in [notificationProjectionService.ts](/tmp/git-processor/worktrees/integry/propr/pr-1938-followup-2026-08-24T18-03-38/packages/api/services/notificationProjectionService.ts:152) by extracting follow-up eligibility logic into a helper, reducing method complexity without behavior changes. Validation passed: - API ESLint with zero warnings - API TypeScript build - Notification projection suite: 9/9 tests - `git diff --check` No commit was created. PR: #1938 Comment by: @github-actions[bot] (ID: 5399234375) Model: gpt-5.6-sol * feat(ai): Implemented only F9, F10, and F11. Implemented only F9, F10, and F11. - Review follow-ups are advertised only when the persisted issue number matches the reviewed PR. - Added nullable `advertised_actions_json` storage; `NULL` identifies legacy events. - Producer metadata remains unchanged in `metadata_json`, preserving the full published size limit. - Added migration and regression coverage for legacy metadata, maximum-size metadata, and mismatched review threads. Key files: [notificationProjectionService.ts](/tmp/git-processor/worktrees/integry/propr/pr-1938-followup-2026-08-24T18-07-31/packages/api/services/notificationProjectionService.ts), [notificationService.ts](/tmp/git-processor/worktrees/integry/propr/pr-1938-followup-2026-08-24T18-07-31/packages/core/src/services/notificationService.ts), [migration](/tmp/git-processor/worktrees/integry/propr/pr-1938-followup-2026-08-24T18-07-31/packages/core/src/db/migrations/20260824020000_add_notification_advertised_actions.js). Validation passed: - 100 notification, projection, schema, migration, and Web Push tests - Core and API type checks - Core and API lint - Migration rollback smoke test - Diff whitespace check No commit was created. PR: #1938 Comment by: @integry (ID: 5399346966) Model: gpt-5.6-sol * feat(ai): Fixed the flaky full-suite failure in `webPushDispatcher.test.ts`. Fixed the flaky full-suite failure in `webPushDispatcher.test.ts`. The retry assertion now validates the exact 10 ms backoff from the attempt timestamp instead of comparing against a later database-managed timestamp. Validation passed: - Dispatcher suite: 16/16, repeated 3 times - API lint - API typecheck - `git diff --check` No commit created. PR: #1938 Comment by: @github-actions[bot] (ID: 5399462590) Model: gpt-5.6-sol * feat(ai): Implemented F12 and F13 only. Implemented F12 and F13 only. - Legacy `NULL` action rows now receive explicit `open_pr` and `dismiss` compatibility actions; stored `[]` remains actionless. - UI controls now require explicit advertised actions. - Follow-up is advertised only when the projected issue matches `tasks.issue_number`. - Added/updated regression coverage for both cases. Validation passed: - Core: 26 tests - API projection: 10 tests - UI: 16 tests - Core, API, and UI type checks - Focused ESLint and `git diff --check` No commit was created. PR: #1938 Comment by: @integry (ID: 5401069287) Model: gpt-5.6-sol --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com> * [1725 by GPT-5.6 Sol] Add plan refinement and confirmation-gated approve/execute notification intents (#1939) * fix(ai): Resolve issue #1725 - Add plan refinement and confirmation-gated approve Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * feat(ai): Fixed the CI lint failure in [notificationProjectionService.test.ts](/tmp/git-processor/worktrees/integry/propr/pr-1939-followup-2026-08-24T21-34-39/packages/api/test/notificationProjectionService.test.ts:114). The assertions retain equivalent coverage while staying within the 400-line lint limit. Fixed the CI lint failure in [notificationProjectionService.test.ts](/tmp/git-processor/worktrees/integry/propr/pr-1939-followup-2026-08-24T21-34-39/packages/api/test/notificationProjectionService.test.ts:114). The assertions retain equivalent coverage while staying within the 400-line lint limit. Validated: - API lint passes - API typecheck passes - Notification projection tests: 10/10 pass - `git diff --check` passes No commit created. PR: #1939 Comment by: @github-actions[bot] (ID: 5401662774) Model: gpt-5.6-sol * feat(ai): Implemented the rollback correction and regression coverage. Implemented the rollback correction and regression coverage. - [Migration](/tmp/git-processor/worktrees/integry/propr/pr-1939-followup-2026-08-24T21-44-35/packages/core/src/db/migrations/20260824030000_add_plan_notification_actions.js) now filters stored arrays to the four prior actions, preserving order and valid JSON, before restoring the old trigger. - [Regression test](/tmp/git-processor/worktrees/integry/propr/pr-1939-followup-2026-08-24T21-44-35/packages/core/test/planNotificationActionsMigration.test.ts) exercises the real SQLite up/down transition, service persistence/reads, rollback filtering, and restored trigger validation. Validation passed: - Core typecheck - Migration ESLint - Targeted migration regression test - `git diff --check` No commit created. PR: #1939 Comment by: @integry (ID: 5401772474) Model: gpt-5.6-sol --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com> * [1726 by GPT-5.6 Sol] Replace the mobile desktop-style header with bottom navigation (#1940) * fix(ai): Resolve issue #1726 - Replace the mobile desktop-style header with botto Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * feat(ai): Implemented F1 only. Implemented F1 only. - Added Dashboard to the mobile More sheet. - Added Access for users with `instance.manage_members`. - Marked More active on `/` and `/admin/members`. - Added tests for visibility, permission gating, and active states. Changed: - [MobileBottomNavigation.tsx](/tmp/git-processor/worktrees/integry/propr/pr-1940-followup-2026-08-24T23-23-38/propr-ui/src/components/MobileBottomNavigation.tsx) - [MobileBottomNavigation.test.tsx](/tmp/git-processor/worktrees/integry/propr/pr-1940-followup-2026-08-24T23-23-38/propr-ui/src/components/MobileBottomNavigation.test.tsx) Validation passed: TypeScript, ESLint, and all 444 UI tests. No commit created. PR: #1940 Comment by: @integry (ID: 5402825666) Model: gpt-5.6-sol --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com> * [1727 by GPT-5.6 Sol] Restore mobile Planner Studio and task-review workflows reached from notifications (#1941) * fix(ai): Resolve issue #1727 - Restore mobile Planner Studio and task-review work Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * fix(ui): size Planner Studio within app shell * fix(ui): constrain mobile task summary to route * fix(ui): wrap multi-agent execution controls * fix(ui): keep approved plan header stacked on mobile --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com> Co-authored-by: Rinalds Uzkalns <[email protected]> * fix(ai): Resolve issue #1728 - Add notification, push, deep-link, and mobile navi (#1942) Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com> * [1729 by GPT-5.6 Sol] Document and validate PWA, Web Push, badge, tunnel, and deployment configuration (#1943) * fix(ai): Resolve issue #1729 - Document and validate PWA, Web Push, badge, tunnel Implemented by ProPR AI using gpt-5.6-sol model. Implementation completed successfully. * docs: link canonical WebKit push article * fix: complete web push deployment contract --------- Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com> Co-authored-by: Rinalds Uzkalns <[email protected]> --------- Co-authored-by: propr-dev[bot] <213159723+propr-dev[bot]@users.noreply.github.com> Co-authored-by: propr-dev[bot] <1316198+propr-dev[bot]@users.noreply.github.com> Co-authored-by: Rinalds Uzkalns <[email protected]> Co-authored-by: Rinalds Uzkalns <[email protected]>
AI Implementation Summary
Closes #1722
Branch:
1722/gpt-5.6-sol-build-the-browser-push-en-20260824-1134-ztdCommits: ✅ Changes committed (a472fab)
AI Processing Completed
Execution Details:
Summary:
Implemented GitHub issue #1722.
Key changes:
Verification completed:
Detailed Logs:
01a0338d-7e89-7b21-bd95-13b312a297c7Log files stored at:
/tmp/claude-logs/issue-1722-2026-08-24T11-51-51-099Z-conversation.json/tmp/claude-logs/issue-1722-2026-08-24T11-51-51-099Z-output.txtLatest Conversation Messages
This PR was created automatically by ProPR after processing issue #1722.
💡 Need changes?
Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!