WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@mguetta1
Copy link
Collaborator

@mguetta1 mguetta1 commented Sep 10, 2025

Resolves: #329
Relates to: konveyor/analyzer-lsp#905
Relates to: konveyor/analyzer-lsp#906

Summary by CodeRabbit

  • Tests

    • Previously skipped binary test suites for Acmeair Webapp, Administración de Efectivo, and Tackle Testapp Public are now enabled, increasing pipeline coverage and earlier defect detection.
  • Chores

    • Adjusted reporting to reflect updated test execution (simplified incident listings and effort estimates); trimmed analysis tags for clearer visibility.

@coderabbitai
Copy link

coderabbitai bot commented Sep 10, 2025

Walkthrough

This change removes the SkipTest / SkipTestConfig fields from three TC initializations: analysis/tc_acmeair_webapp_upload_binary.go, analysis/tc_administracion_efectivo_upload_binary.go, and analysis/tc_tackle_testapp_public_binary.go. No exported types or function signatures were modified; other TC fields remain unchanged.

Possibly related PRs

Suggested reviewers

  • aufi

Pre-merge checks and finishing touches

✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'Re-enable binary tests' directly and clearly summarizes the main change: removing SkipTest configurations to allow binary tests to run again.
Linked Issues check ✅ Passed The PR fulfills issue #329 by re-enabling binary tests through removal of SkipTest fields from three TC configurations as required.
Out of Scope Changes check ✅ Passed All changes are directly scoped to re-enabling binary tests by removing SkipTest configurations; no extraneous modifications detected.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between dfa106a and 54b0072.

📒 Files selected for processing (3)
  • analysis/tc_acmeair_webapp_upload_binary.go (0 hunks)
  • analysis/tc_administracion_efectivo_upload_binary.go (0 hunks)
  • analysis/tc_tackle_testapp_public_binary.go (0 hunks)
💤 Files with no reviewable changes (3)
  • analysis/tc_tackle_testapp_public_binary.go
  • analysis/tc_acmeair_webapp_upload_binary.go
  • analysis/tc_administracion_efectivo_upload_binary.go
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: test-tier0 / e2e-api-integration-tests
  • GitHub Check: test-tier1 / e2e-api-integration-tests
  • GitHub Check: test-tier2 / e2e-api-integration-tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@aufi
Copy link
Member

aufi commented Sep 17, 2025

Please close&re-open once konveyor/ci#124 gets merged (with fix passing maven search skip into tackle CR).

@aufi aufi closed this Sep 17, 2025
@aufi aufi reopened this Sep 17, 2025
@aufi
Copy link
Member

aufi commented Sep 18, 2025

Just a note, from my point of view is better to merge this PR with 2 binary analysis working and open another one when got the last failing one fixed.

@mguetta1 mguetta1 force-pushed the binaries branch 2 times, most recently from fda1bd1 to 0ff8bd6 Compare September 21, 2025 09:01
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 4

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
analysis/tc_acmeair_webapp_upload_binary.go (1)

21-424: Remove remaining SkipTest/SkipTestConfig usages in analysis before merging

rg output shows live references — remove or update these so binary tests are re-enabled:

  • analysis/pkg.go:40 — type SkipTestConfig
  • analysis/pkg.go:69 — SkipTest SkipTestConfig
  • analysis/analysis_test.go:71-72 — testcase.SkipTest.Skip / t.Skipf(...)
🧹 Nitpick comments (6)
analysis/tc_administracion_efectivo_upload_binary.go (2)

22-71: Insights block commented out — avoid drift or update tests accordingly.

If tests assert presence/contents of Insights/Incidents, they’ll now fail. Either:

  • restore a minimal Insights set used by tests, or
  • remove test expectations and fully drop the block (not just comment it).

929-932: Platform-specific artifact may cause CI variance.

Including native-linux-x86_64 ties results to x86_64 Linux. If CI runs on other arches/OS, consider dropping or gating this entry.

analysis/tc_acmeair_webapp_upload_binary.go (4)

31-181: Large set of Incidents commented out — align with test expectations.

If tests depend on the previously enumerated Incidents, this change will break them. Decide: keep a minimal representative set or update tests to assert fewer details.


182-421: Use precise package names in messages (javax.ws.rs → jakarta.ws.rs).

Messages currently say “javax.ws”/“jakarta.ws”; please change to “javax.ws.rs”/“jakarta.ws.rs” for accuracy across these incidents.

- Message: "Replace the `javax.ws` import statement with `jakarta.ws`",
+ Message: "Replace `javax.ws.rs` imports with `jakarta.ws.rs`",

424-510: Determinism: prefer known versions over “Unknown”.

Where possible, fill real versions to avoid flaky assertions when upstream detection changes.


1-541: Operational sequencing with CI.

Align merge timing with konveyor/ci#124 (as suggested in PR comments) to ensure Maven search skip is propagated; otherwise tests may still fail post-merge.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 243095d and 0ff8bd6.

📒 Files selected for processing (3)
  • analysis/tc_acmeair_webapp_upload_binary.go (3 hunks)
  • analysis/tc_administracion_efectivo_upload_binary.go (1 hunks)
  • analysis/tc_tackle_testapp_public_binary.go (0 hunks)
💤 Files with no reviewable changes (1)
  • analysis/tc_tackle_testapp_public_binary.go
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: test-tier1 / e2e-api-integration-tests
  • GitHub Check: test-tier2 / e2e-api-integration-tests
  • GitHub Check: test-tier0 / e2e-api-integration-tests
🔇 Additional comments (3)
analysis/tc_administracion_efectivo_upload_binary.go (2)

21-21: Effort change OK — no dependent tests found.
Repo search for "administracion-efectivo" and Effort values returned only analysis/tc_administracion_efectivo_upload_binary.go:21 (Effort: 30); no tests/assertions reference the previous value.


324-327: Do not rename — keep io.quarkus:quarkus-apache-httpclient.

io.quarkus:quarkus-apache-httpclient is the official Quarkus Apache HttpClient extension for Quarkus 3; there is no official io.quarkus:quarkus-apache-httpclient5 artifact. (quarkus.io)

Likely an incorrect or invalid review comment.

analysis/tc_acmeair_webapp_upload_binary.go (1)

22-22: Effort reduced to 49 — repository search shows no test assertions to update.
analysis/tc_acmeair_webapp_upload_binary.go:22 (Effort: 49)

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (4)
analysis/tc_administracion_efectivo_upload_binary.go (2)

22-71: Commented‑out Insights: confirm test intent.

Removing all Insights from the expected Analysis will change assertions materially. If this is to unflake binaries for now, consider deleting the block entirely (not leaving it commented) or adding a brief comment explaining why it’s intentionally empty.


74-327: Canonicalize dependency coordinates & populate missing versions — analysis/tc_administracion_efectivo_upload_binary.go (lines 74–327)

Multiple entries use filename‑style Names or embed versions in Name while Version is ""/"Unknown", which makes scanner output brittle.

  • Evidence: ripgrep inventory found 28 occurrences; examples: org.eclipse.jdt.jdtcore-3.1.0 (74–76), .j2ee.jar (189–191), org.springframework.spring-context-3.0.5.RELEASE (94–96), .aopalliance-1.0.jar (289–291).
  • Action: replace filename/embedded-version Names with canonical group:artifact and put the exact version in Version for determinism.
-Name: "org.springframework.spring-context-3.0.5.RELEASE", Version: "Unknown"
+Name: "org.springframework:spring-context", Version: "3.0.5.RELEASE"

-Name: ".aopalliance-1.0.jar", Version: ""
+Name: "aopalliance:aopalliance", Version: "1.0"
analysis/tc_acmeair_webapp_upload_binary.go (2)

31-171: Large block of commented incidents — prefer removal or a short rationale.

If these aren’t part of the expected set anymore, delete rather than comment to reduce drift. If you plan to re‑enable soon, add a one‑liner why they’re disabled.


515-537: AnalysisTags commented out — double‑check downstream expectations.

Commenting out “JPA named queries” (and Properties) across categories may change tag assertions. Confirm intended, or delete comments to avoid noise.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 0ff8bd6 and 51dc416.

📒 Files selected for processing (2)
  • analysis/tc_acmeair_webapp_upload_binary.go (3 hunks)
  • analysis/tc_administracion_efectivo_upload_binary.go (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-09-21T09:15:20.732Z
Learnt from: mguetta1
PR: konveyor/go-konveyor-tests#332
File: analysis/tc_administracion_efectivo_upload_binary.go:304-307
Timestamp: 2025-09-21T09:15:20.732Z
Learning: The dependency name "io.quarkus.http.quarkus-http-http-core" is correct and legitimate, not a typo. When reviewing Quarkus dependencies, this specific naming convention should not be flagged as an error.

Applied to files:

  • analysis/tc_administracion_efectivo_upload_binary.go
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: test-tier2 / e2e-api-integration-tests
  • GitHub Check: test-tier1 / e2e-api-integration-tests
  • GitHub Check: test-tier0 / e2e-api-integration-tests
🔇 Additional comments (3)
analysis/tc_administracion_efectivo_upload_binary.go (1)

21-21: Effort tweak looks fine.

Lowering effort from 36→30 aligns with re‑enabling scope. No functional risk.

analysis/tc_acmeair_webapp_upload_binary.go (2)

22-22: Effort reduction acknowledged.

49 is reasonable given the trimmed incidents.


426-510: Filename‑style Names, empty/Unknown versions in dependencies.

Same concern as other binary: non‑canonical Names (e.g., “.aspectjweaver-1.6.8.jar”, “.asm-3.3.1.jar”), and “Unknown”/empty Version may cause brittle assertions unless you’re mirroring scanner output exactly. If not intentional, normalize to group:artifact + concrete version.

Example fixes:

-Name: ".aspectjweaver-1.6.8.jar", Version: ""
+Name: "org.aspectj:aspectjweaver", Version: "1.6.8"

-Name: "net.sf.cglib-2.2.2", Version: "Unknown"
+Name: "cglib:cglib", Version: "2.2.2"

Verification helper:

#!/bin/bash
rg -nP -C1 'Name:\s*"\.|Name:\s*".*\.jar"|Version:\s*""|Version:\s*"Unknown"|spring-.*3\.1\.2' analysis/tc_acmeair_webapp_upload_binary.go

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
analysis/tc_administracion_efectivo_upload_binary.go (1)

22-71: Large commented‑out Insights block — prefer delete or feature‑flag.

Keeping ~50 lines of commented JSON-like data lowers signal. Either remove it or guard behind a test flag (e.g., IncludeInsights) so diffs stay clean.

analysis/tc_acmeair_webapp_upload_binary.go (1)

31-371: Commented‑out Incidents — streamline or gate.

Either remove the commented incidents or reintroduce them under a toggle (e.g., IncludeIncidents) to keep the fixture concise while preserving intent.

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 51dc416 and dfa106a.

📒 Files selected for processing (2)
  • analysis/tc_acmeair_webapp_upload_binary.go (3 hunks)
  • analysis/tc_administracion_efectivo_upload_binary.go (1 hunks)
🧰 Additional context used
🧠 Learnings (1)
📚 Learning: 2025-09-21T09:15:20.732Z
Learnt from: mguetta1
PR: konveyor/go-konveyor-tests#332
File: analysis/tc_administracion_efectivo_upload_binary.go:304-307
Timestamp: 2025-09-21T09:15:20.732Z
Learning: The dependency name "io.quarkus.http.quarkus-http-http-core" is correct and legitimate, not a typo. When reviewing Quarkus dependencies, this specific naming convention should not be flagged as an error.

Applied to files:

  • analysis/tc_administracion_efectivo_upload_binary.go
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
  • GitHub Check: test-tier1 / e2e-api-integration-tests
  • GitHub Check: test-tier2 / e2e-api-integration-tests
  • GitHub Check: test-tier0 / e2e-api-integration-tests
🔇 Additional comments (6)
analysis/tc_acmeair_webapp_upload_binary.go (3)

426-510: Jakarta target vs legacy Spring 3.1.2 artifacts — reconcile story.

You tag this TC for jakarta‑ee, yet dependencies list Spring 3.1.2 modules. If this reflects the real binary, fine; otherwise upgrade entries (Spring 6+), or drop the jakarta label to avoid mixed signals.

#!/bin/bash
rg -n 'spring-.*3\.1\.2|javax\.' analysis/tc_acmeair_webapp_upload_binary.go -C1 || true

426-510: Non‑canonical dependency names and empty/Unknown versions — prefer canonical coords for stability.

Jar‑style names (e.g., “.aspectjweaver-1.6.8.jar”, “.asm-3.3.1.jar”) and missing versions reduce determinism. If these mirror analyzer output, keep; otherwise normalize.

Example normalizations:

-    { Name: ".aspectjweaver-1.6.8.jar", Version: "", Provider: "java" },
+    { Name: "org.aspectj.aspectjweaver", Version: "1.6.8", Provider: "java" },

-    { Name: ".asm-3.3.1.jar", Version: "", Provider: "java" },
+    { Name: "org.ow2.asm.asm", Version: "3.3.1", Provider: "java" },

-    { Name: ".aopalliance-1.0.jar", Version: "", Provider: "java" },
+    { Name: "aopalliance.aopalliance", Version: "1.0", Provider: "java" },

-    { Name: "net.sf.cglib-2.2.2", Version: "Unknown", Provider: "java" },
+    { Name: "cglib.cglib", Version: "2.2.2", Provider: "java" },

Verification helper:

#!/bin/bash
rg -nP -C1 'Name:\s*"\.|Name:\s*".*\.jar"|Version:\s*""|Version:\s*"Unknown"' analysis/tc_acmeair_webapp_upload_binary.go

22-22: Effort set to 49 — verify golden data and tests (analysis/tc_acmeair_webapp_upload_binary.go:22)

Effort changed to 49; re-enable tests only after verifying/updating golden fixtures/validation and running the validation tests. Repo search returned no other matches for this symbol — manual verification required.

analysis/tc_administracion_efectivo_upload_binary.go (3)

72-328: Normalize dependency entries and pin missing versions

analysis/tc_administracion_efectivo_upload_binary.go contains multiple non‑canonical names (leading '.' or '.jar') and empty/"Unknown" versions — prefer canonical group:artifact coordinates and exact versions unless these are analyzer-produced artifacts.

Examples:

-    { Name: ".javax.persistence-2.0.0.jar", Version: "", Provider: "java" },
+    { Name: "javax.persistence", Version: "2.0.0", Provider: "java" },

-    { Name: ".jcommon-1.0.15.jar", Version: "", Provider: "java" },
+    { Name: "jfree.jcommon", Version: "1.0.15", Provider: "java" },

21-21: Effort reduced to 30 — no stale assertions found.
analysis/tc_administracion_efectivo_upload_binary.go contains Effort: 30; analysis/analysis_test.go asserts gotAnalysis.Effort == tc.Analysis.Effort (so it uses the TC value); no other literal "Effort: 30" or stale assertions were found.


330-374: Duplicated/overlapping AnalysisTags — dedupe here or confirm consumers de‑dup.

Found duplicates in analysis/tc_administracion_efectivo_upload_binary.go (lines 330–374): EJB XML, Servlet, Mail, JPA named queries, JPA XML, JPA entities, Persistence units, Spring Scheduled, Java EE XML, JSF XML, Properties, JSF Page, JSF, Common Annotations — each appears 3×. If downstream expects a set, no change needed; otherwise remove duplicates here or ensure consumers explicitly de‑duplicate to avoid skewed counts.

@mguetta1 mguetta1 added cherry-pick/release-0.8 This PR should be cherry-picked to release-0.8 branch cherry-pick/release-0.7 This PR should be cherry-picked to release-0.7 branch labels Sep 21, 2025
Copy link
Member

@aufi aufi left a comment

Choose a reason for hiding this comment

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

IIUC, only currently working is tc_tackle_testapp_piblic_binary (good to merge this app test) however I'm not sure about changes in expected test output for acmeair and administracion-efectivo. Do we know if the commented/updated output is correct?

@eemcmullan
Copy link

+1 to what @aufi mentioned - some dependency output may be different now after the recent changes in the analyzer.

@mguetta1
Copy link
Collaborator Author

The commented incidents are expected, this is why I didn't remove them.
Regarding the expected dependencies and tags - @eemcmullan @jmle could you please review?

@eemcmullan
Copy link

@mguetta1 apologies for the late review. Just for my own knowledge, how come all incidents in the first two apps are commented out?

@mguetta1
Copy link
Collaborator Author

@mguetta1 apologies for the late review. Just for my own knowledge, how come all incidents in the first two apps are commented out?

Hi @eemcmullan, the incidents were commented due to the following regressions:

@mguetta1 mguetta1 closed this Nov 13, 2025
@mguetta1 mguetta1 reopened this Nov 13, 2025
Signed-off-by: Maayan Hadasi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick/release-0.7 This PR should be cherry-picked to release-0.7 branch cherry-pick/release-0.8 This PR should be cherry-picked to release-0.8 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable binary tests

4 participants