Repository navigation
Midstream merge - #22
Merged
Merged
Conversation
Service-account 2LO can mint 60-minute Bearer tokens and call the Atlassian API gateway, so Jira Cloud connections no longer require a user API token. Upstream-Status: Pending Co-authored-by: Cursor <cursoragent@cursor.com>
…lector logs Co-authored-by: Cursor <cursoragent@cursor.com>
Credential 401s were forwarded as HTTP 401, so Config UI treated them as session expiry. Map them to 400, skip the login interceptor for plugin tests, and include Jira's response body (e.g. scope does not match). Upstream-Status: Pending Co-Authored-By: Cursor Grok 4.6 <noreply@example.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Clear authFunc when the refresh round tripper is installed so collection workers do not race on oauthToken. Validate CloudId, restore request bodies on 401 retry, and stop echoing raw token-endpoint bodies. Upstream-Status: Pending Co-Authored-By: Cursor Grok 4.6 <noreply@example.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Snapshot the original body when GetBody is missing so a reminted token retry does not send an empty POST. Also drop the redundant gateway and endpoint checks from Test Connection validation. Upstream-Status: Pending Co-Authored-By: Cursor Grok 4.6 <noreply@example.com> Co-authored-by: Cursor <cursoragent@cursor.com>
A 4KiB cap truncated Atlassian token JSON when many scopes were granted, so Test Connection failed with unexpected end of JSON input. Keep a 64KiB DoS guard and fail clearly on empty or oversized bodies. Upstream-Status: Pending Co-Authored-By: Cursor Grok 4.6 <noreply@example.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Rename AtlassianOAuthTokenURL so gosec does not treat the public auth.atlassian.com endpoint as a hardcoded credential. Upstream-Status: Pending Co-Authored-By: Cursor Grok 4.6 <noreply@example.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Collection token state now lives under TokenProvider's mutex, and 401 retries snapshot the body onto clones so RoundTrip does not mutate the original request. Upstream-Status: Pending Co-Authored-By: Cursor <cursoragent@cursor.com>
apt-get install gpg inside mericodev/lake-builder fails because Debian 11 bullseye-security InRelease expired after LTS EOL. Keep tests in the builder image and hand coverage to a follow-on ubuntu-latest job that already has gpg. Upstream-Status: N/A Co-Authored-By: Cursor Grok 4.6 <noreply@example.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Collection builds the HTTP client without FromConnection so the round tripper is the only minter and Authorization setter. Upstream-Status: Pending Co-Authored-By: Cursor <cursoragent@cursor.com>
Keep the lake-builder test job at contents: read instead of inheriting default write scopes. Download artifacts into backend/ so Codecov finds files after upload-artifact v4 strips the shared parent directory. Upstream-Status: N/A Co-Authored-By: Cursor Grok 4.6 <noreply@example.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Adds a full lifecycle e2e spec and wires it into test-e2e-coverage so the codecov plugin is exercised under the e2e-go coverport flag. COVERPORT-364 Co-authored-by: Cursor <cursoragent@cursor.com>
…only blocks the codecov part, and removing the timout flag from CI
Test Connection never sent `service`, so the backend fell back to `github` and non-GitHub Codecov connections (e.g. GitLab Enterprise) were tested against the wrong API path, failing with a misleading "organization not found". Save Connection was unaffected — it sends the full form values. Adds `service` to both test payload builders in `connection-form/index.tsx`, the `test` / `testOld` payload types, and `IConnectionAPI`. Backend needed no change. Entry added to `docs/upstream-diffs.md` since all three files are upstream. Signed-off-by: Ladislav Lipka <llipka@redhat.com>
Signed-off-by: konflux-internal-p02[bot] <170854209+konflux-internal-p02[bot]@users.noreply.github.com>
kpiwko
force-pushed
the
midstream-merge
branch
from
September 29, 2026 18:26
f12701b to
511fa2c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Rebase on top of konflux-ci/devlake