GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [codex] Structure macOS passkey signing failures by juliusmarminge · Pull Request #3303 · pingdotgg/t3code

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Jun 20, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

  • replace generic macOS passkey validation throws with distinct schema-tagged errors and safe structural context
  • represent invalid RP domains with a normalized reason and input length, never the raw credential, path, or query-bearing value
  • preserve URL and publishable-key parser failures as exact causes without storing the publishable key or deriving messages from cause text
  • model known configuration failures as a Schema union and pass them through the build-staging boundary unchanged
  • wrap only unknown staging defects in BuildScriptError with a stable message and the exact cause

Validation

  • vp test scripts/build-desktop-artifact.test.ts (21 tests)
  • vp check
  • vp run typecheck

Note

Low Risk
Changes are confined to desktop build-script validation and error shaping for signed macOS passkey configuration, with no runtime auth behavior changes.

Overview
macOS passkey signing validation in the desktop build script now throws distinct schema-tagged errors instead of generic Error messages, with RP-domain failures carrying a reason code and input length rather than echoing the raw domain string.

BuildScriptError.fromMacPasskeySigningConfiguration passes the known configuration error union through unchanged at staging time and wraps only unknown defects behind a fixed message, keeping publishable keys and parser cause text out of surfaced messages. Tests were extended to lock in those types, redaction on JSON.stringify, and boundary behavior.

Reviewed by Cursor Bugbot for commit 5fc6c47. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Structure macOS passkey signing failures into typed error classes

  • Introduces typed error classes (InvalidMacPasskeyRpDomainError, InvalidMacPasskeyPublishableKeyError, MissingMacPasskeyProvisioningProfileError, etc.) in build-desktop-artifact.ts to replace generic Error throws across passkey signing validation.
  • normalizePasskeyRpDomain now emits InvalidMacPasskeyRpDomainError with structured reason codes (e.g. port-not-allowed, path-not-allowed) and does not leak the raw domain string in error messages.
  • resolveMacPasskeySigningConfiguration emits specific typed errors for all validation paths: invalid team ID, missing provisioning profile, bad publishable key, and missing RP domains.
  • BuildScriptError.fromMacPasskeySigningConfiguration preserves known passkey config errors as-is and wraps unknown defects with a generic message that omits the original cause text.
  • Behavioral Change: buildDesktopArtifact no longer copies the cause message into the wrapping BuildScriptError for unknown defects, and known errors now propagate with their original type.

Macroscope summarized 5fc6c47.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@juliusmarminge @codex
refactor(release): structure passkey signing failures
49bd6de
Co-authored-by: codex <[email protected]>
@coderabbitai

coderabbitai Bot commented Jun 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 2e3cfae4-950b-46a3-9c27-97cd3fb1dc24

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/passkey-signing-errors

Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Jun 20, 2026
@macroscopeapp

macroscopeapp Bot commented Jun 20, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved

Build script refactor that replaces generic errors with typed error classes for macOS passkey signing configuration failures. No changes to validation logic or runtime behavior - purely improves error structure and explicitly avoids leaking sensitive data in error messages.

You can customize Macroscope's approvability policy. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jun 20, 2026
View reviewed changes
@juliusmarminge @codex
fix(build): preserve passkey configuration errors
c70f014
Co-authored-by: codex <[email protected]>
@macroscopeapp
macroscopeapp Bot dismissed their stale review June 20, 2026 16:38

Dismissing prior approval to re-evaluate c70f014

@github-actions github-actions Bot added size:L 100-499 changed lines (additions + deletions). and removed size:M 30-99 changed lines (additions + deletions). labels Jun 20, 2026
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Jun 20, 2026
View reviewed changes
@juliusmarminge @codex
fix(build): redact invalid passkey domains
5fc6c47
Co-authored-by: codex <[email protected]>
@macroscopeapp
macroscopeapp Bot dismissed their stale review June 20, 2026 16:43

Dismissing prior approval to re-evaluate 5fc6c47

macroscopeapp[bot]
macroscopeapp Bot approved these changes Jun 20, 2026
View reviewed changes
@juliusmarminge
juliusmarminge merged commit 20734d4 into main Jun 20, 2026
15 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge deleted the codex/passkey-signing-errors branch June 20, 2026 17:41
@juliusmarminge juliusmarminge mentioned this pull request Jun 21, 2026
[codex] Structure desktop build script failures #3452
Merged
NeilTheFisher pushed a commit to NeilTheFisher/t3code that referenced this pull request Aug 18, 2026
@juliusmarminge @codex
[codex] Structure macOS passkey signing failures (pingdotgg#3303)
76055d2
Co-authored-by: codex <[email protected]>
darjss pushed a commit to darjss/t3code that referenced this pull request Aug 26, 2026
@juliusmarminge @codex
[codex] Structure macOS passkey signing failures (pingdotgg#3303)
ef09076
Co-authored-by: codex <[email protected]>
gabrielMalonso pushed a commit to gabrielMalonso/t3code that referenced this pull request Sep 4, 2026
@juliusmarminge @codex
[codex] Structure macOS passkey signing failures (pingdotgg#3303)
fb1d90c
Co-authored-by: codex <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.