Skip to content

TW-5028: Add codeowners - #1

Merged
tareeqa merged 1 commit into
mainfrom
tareeqa-add-codeowners
Aug 20, 2025
Merged

tareeqa merged 1 commit into
mainfrom
tareeqa-add-codeowners

Conversation

@tareeqa

@tareeqa tareeqa commented Aug 20, 2025

Copy link
Copy Markdown
Contributor

add codeowners

@tareeqa
tareeqa merged commit fa221cd into main Aug 20, 2025
@qasim-nylas
qasim-nylas deleted the tareeqa-add-codeowners branch January 30, 2026 15:20
@qasim-nylas qasim-nylas changed the title add codeowners TW-5028: Add codeowners May 13, 2026
radenkovic added a commit that referenced this pull request Sep 30, 2026
…w window

Addresses review items #1-#5 on #123:
- #1 oauth login clears the stored session under the lock before writing
  the new one, and again if the write fails, so a failed login against
  another server never leaves the old refresh token filed under the new
  server's name.
- #2 config reset clears the dashboard and OAuth sessions under their
  cross-process locks, so an in-flight mcp serve refresh cannot write the
  session back.
- #3 dashboard session renewal, login and clear run under a new
  dashboard-session.lock and re-check expiry once it is held, so concurrent
  renewals exchange once and never interleave keys. A separate lock is used
  because renewal asks the OAuth session for a token, which may take
  oauth-session.lock; the order is always dashboard, then OAuth, then
  .secrets.lock. oauth logout holds the dashboard lock across the dashboard
  clear and the OAuth logout, keeping the dashboard-first order.
- #4 the renewer asks for an access token valid for at least the renew
  window (AccessTokenValidFor), so a re-exchange gets a new expiry.
- #5 oauth login keeps an existing `nylas dashboard login` session for the
  configured server instead of silently replacing it, and says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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