Skip to content

Fix LinkedIn auth lifecycle - #70

Merged
theotarr merged 1 commit into
mainfrom
codex/fix-linkedin-auth-lifecycle
Jul 16, 2026
Merged

Fix LinkedIn auth lifecycle#70
theotarr merged 1 commit into
mainfrom
codex/fix-linkedin-auth-lifecycle

Conversation

@theotarr

Copy link
Copy Markdown
Contributor

Summary

  • reuse the captured LinkedIn browser session fingerprint for API and realtime requests
  • validate stored auth with a bounded single probe that distinguishes expired credentials from transient failures
  • propagate typed auth-invalid failures out of sync workers and stop scheduling sync until reauthentication
  • centralize LinkedIn request context and add direct lifecycle, timeout, user-agent, and invalidation coverage

Root cause

Cued imported LinkedIn cookies but then sent requests with a different hard-coded client identity. Stored-session validation also treated every request failure as expired auth, while background auth failures lost their type at the worker boundary and kept retrying.

Validation

  • thermonuclear review: APPROVABLE, no remaining blockers
  • pnpm check:app-quality
  • pre-push pnpm check:ci-local
  • swift build --package-path native/macos/CuedNative -c release
  • 75 test files / 504 tests passing
  • locally authenticated and completed LinkedIn sync using the patched runtime

Scope

This PR is intentionally LinkedIn-auth-only and excludes the Chromium packaging changes tracked separately in #39 and #58.

@theotarr
theotarr marked this pull request as ready for review July 16, 2026 19:27
@theotarr
theotarr merged commit 446a130 into main Jul 16, 2026
2 checks passed
@theotarr
theotarr deleted the codex/fix-linkedin-auth-lifecycle branch July 16, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant