Skip to content

Stabilize desktop epic Web Push capability fixture for leading-zero P-256 keys #2200

Closed

Description

@integry

Target desktop epic #1970, branch 1950-epic-cross-platform-dsk only; never main. Small independent CI correction. Failure: https://github.com/integry/propr/actions/runs/34159583667/job/101858403714 — packages/api/test/notificationRoutes.test.ts capability test expected configured:true but received false. createVapidConfiguration at lines 84-91 directly encodes ecdh.getPrivateKey(), which can omit leading zeros. Validator correctly requires canonical 32-byte private keys. Root deterministic diagnostic with scalar 1 confirms raw length 1 is rejected and left-padded length 32 accepted; no real credentials involved. Existing notificationManagementRoutes and webPushDispatcher test helpers already handle this. Inspect and apply the smallest consistent test-fixture correction, with deterministic leading-zero coverage. Do not weaken production validation, add retries, or modify tray/native-notification implementation. Run affected API tests, link PR with Closes this issue, leave open for Ultrafix/root validation. Coordinate separately from active #2196 F4 window restoration work.

Activity

  1. integry commented on Sep 7, 2026

    @integry
    OwnerAuthor

    Please implement the bounded test-fixture correction above against the desktop epic. AI and base labels are already present. Use existing leading-zero handling patterns, add deterministic regression coverage, and leave the linked PR open for validation.

  2. propr-dev commented on Sep 7, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using codex agent with gpt-5.6-sol model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: codex
    • Model: gpt-5.6-sol
    • Branch: 2200/gpt-5.6-sol-stabilize-desktop-epic-we-20260907-2037-uyu
    • Base Branch: 1950-epic-cross-platform-dsk
    • Worktree: issue-2200-20260907-2037-gpt-5.6-sol-uyu

    🔍 Track Task Execution

  3. added a commit that references this issue on Sep 7, 2026
  4. integry commented on Sep 7, 2026

    @integry
    OwnerAuthor

    Resolved by #2201, merged into desktop epic #1970 (not main). Ultrafix-first review 9/10, no blockers; root independent focused API tests 13/13 and build/lint passed. Broader suite was still running at merge; this was a bounded test-fixture correction with production validation untouched.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions