Skip to content

fix: backport login and namespace ownership conflict fixes to 1.3.x - #2383

Merged
netomi merged 4 commits into
1.3.xfrom
fix/1.3.x-login-and-namespace-conflict
Oct 24, 2026
Merged

netomi merged 4 commits into
1.3.xfrom
fix/1.3.x-login-and-namespace-conflict

Conversation

@netomi

@netomi netomi commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Backport of two fixes to the 1.3.x branch, created from the v1.3.0 tag. The fixes are applied as plain diffs, not cherry-picks.

Commits

  1. chore: fix changelog after 1.3.0 has been released (c96a639f from main): the v1.3.0 tag still has ## [next] holding all of 1.3.0's entries. This adds the ## [1.3.0] - 2026-10-16 heading so the new entries land under [next].
  2. fix: stop reporting a namespace ownership conflict once the namespace has an owner: backport of fix: stop reporting a namespace ownership conflict once the namespace has an owner #2380.
  3. fix: accept OAuth token responses with long headers: backport of fix: accept OAuth token responses with long headers #2381. The OAuth token response carries a Content-Security-Policy header longer than httpcore5's default 8192-byte line limit (5.4.3 and later), so the code exchange failed with Maximum line length limit exceeded and GitHub login broke. The token client now uses an HttpClient with a 64 KiB limit.
  4. docs: add changelog entries ...: the entries for 2 and 3 under [next] / Fixed. The messages of 2 and 3 say "without the changelog entry"; the entries are in this separate commit.

Testing

spotlessCheck and the org.eclipse.openvsx.security.*, UserAPITest and AdminAPITest tests pass on this branch (227 tests). The new TokenResponseClientsTest fails with the exact login error when the limit is 8192 (verified on main). The full ./gradlew test suite was not run, and a login against real GitHub was not tried on this branch.

🤖 Generated with Claude Code

netomi and others added 4 commits October 24, 2026 13:26
… has an owner

Backport of #2380 to 1.3.x, without the changelog entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
httpcore5 5.4.3 and later reject header lines over 8192 bytes. GitHub's
token response now carries a longer Content-Security-Policy header, so the
code exchange failed with "Maximum line length limit exceeded" and login
broke. Build the token client on an HttpClient with a 64 KiB line limit.

Backport of #2381 to 1.3.x, without the changelog entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…t fixes

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@netomi
netomi merged commit 5350d53 into 1.3.x Oct 24, 2026
1 check passed
@netomi
netomi deleted the fix/1.3.x-login-and-namespace-conflict branch October 24, 2026 13:28
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