fix(KONFLUX-15531): override ITS revision for private GitLab repos - #1696
fix(KONFLUX-15531): override ITS revision for private GitLab repos#1696dirgim wants to merge 1 commit into
Conversation
PR Summary by QodoFix ITS revision overrides for split Git resolver parameters
AI Description
Diagram
High-Level Assessment
Files changed (5)
|
|
🤖 Finished Review · ✅ Success · Started 10:58 AM UTC · Completed 11:17 AM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $5.99 |
Code Review by Qodo
1. Trailing slash corrupts repo
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1696 +/- ##
==========================================
+ Coverage 73.97% 75.55% +1.57%
==========================================
Files 74 74
Lines 10617 10667 +50
==========================================
+ Hits 7854 8059 +205
+ Misses 2006 1875 -131
+ Partials 757 733 -24
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 13 files with indirect coverage changes Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
Risk Assessment: low (1/5) DetailsTargeted bug fix with stable git history, no protected paths, minimal churn, and 40% test coverage; medium size offset by bug-fix scope and comprehensive tests. Previous runRisk Assessment: moderate (2/5) DetailsMedium-sized change to stable files with good test coverage and no security-sensitive paths, authored by experienced contributor — standard review adequate. |
ReviewFindingsLow
Next steps:
Previous runReviewFindingsLow
|
When org/repo/serverURL are used in ITS Pipeline, PipelineRun or Task definitions, construct the git URL from those params and match it against the component's git source when determining if the revision should be overriden. If the change is coming from a fork, parse the URL in order to detect it and then override the org and repo so it matches the behavior when handling simple git urls. Signed-off-by: dirgim <kpavic@redhat.com>
8fadeb5 to
1aad35b
Compare
|
🤖 Finished Review · ✅ Success · Started 12:25 PM UTC · Completed 12:45 PM UTC Commit: Runtime: claude · Model: opus → claude-opus-4-6 · Effort: high · Cost: $6.27 |
|
/retest |
1 similar comment
|
/retest |
|
/retest |
|
Scenario: konflux-e2e
Inspecting Test ArtifactsTo inspect your test artifacts, follow these steps:
mkdir -p oras-artifacts
cd oras-artifacts
oras pull quay.io/konflux-test-storage/konflux-team/integration-service:konflux-e2e-fb8d9Test results analysis🚨 Error occurred while running the E2E tests, list of failed Spec(s): ➡️ [ Click to view logsUnexpected error:
<*fmt.wrapError | 0xc0010acb60>:
fork of konflux-qe/konflux-test-integration to konflux-qe/konflux-test-integration-4cihpj already exists but failed to fetch: The target couldn't be found.
{
msg: "fork of konflux-qe/konflux-test-integration to konflux-qe/konflux-test-integration-4cihpj already exists but failed to fetch: The target couldn't be found.",
err: <*errors.errorString | 0xc0001359b0>{
s: "The target couldn't be found.",
},
}
occurredOCI Artifact Browser URL |
When org/repo/serverURL are used in ITS Pipeline, PipelineRun or Task definitions, construct the git URL from those params and match it against the component's git source
when determining if the revision should be overriden.
If the change is coming from a fork, parse the URL in order to detect it and then override the org and repo so it matches the behavior when handling simple git urls.
Maintainers will complete the following section