Skip to content

fix tranquil pds#2268

Merged
Tlaster merged 2 commits into
masterfrom
bugfix/tranquil-pds
Jul 1, 2026
Merged

fix tranquil pds#2268
Tlaster merged 2 commits into
masterfrom
bugfix/tranquil-pds

Conversation

@Tlaster

@Tlaster Tlaster commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 17a72a32a5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

FanboxRecommendedCreators,
PixivPrivateFollowing,
PixivPrivateBookmarks,
BlueskyFixDelegationScopes,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add the new UiStrings case to desktop mapping

Adding this enum value makes every exhaustive when over UiStrings cover it. I checked desktopApp/src/main/kotlin/dev/dimension/flare/ui/screen/home/EditTabDialog.kt:219-272, and that desktop mapping still ends at PixivPrivateBookmarks without an else, so the desktop target won't compile once it sees BlueskyFixDelegationScopes. Please add the desktop resource/mapping alongside this enum.

Useful? React with 👍 / 👎.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 120224f028

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


internal fun OAuthToken.missingFlareOAuthScopes(): List<String> {
val grantedScopes = scopes.mapTo(mutableSetOf()) { it.value }
return FLARE_BLUESKY_DELEGATION_SCOPES.filterNot(grantedScopes::contains)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Validate the atproto OAuth scope too

When an OAuth server grants transition:generic transition:chat.bsky but omits atproto, this helper reports no missing scopes because it only checks the delegation subset. The ATProto OAuth profile says clients should reject token responses whose scope does not contain atproto (https://atproto.com/specs/oauth), so resumeOAuth can store a session that is not a valid atproto OAuth session and later PDS calls may fail; keep the repair list separate but validate against all required OAuth scopes.

Useful? React with 👍 / 👎.

@Tlaster Tlaster merged commit 9ff5611 into master Jul 1, 2026
9 checks passed
@Tlaster Tlaster deleted the bugfix/tranquil-pds branch July 1, 2026 16:00
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