Accept self-hosted CAPE version strings without warning#3118
Conversation
Self-hosted CAPE instances report version strings like 2.5 while capesandbox.com uses 2.5-CAPE. Include both forms in TESTED_VERSIONS. Fixes mandiant#3082
There was a problem hiding this comment.
Please add bug fixes, new features, breaking changes and anything else you think is worthwhile mentioning to the master (unreleased) section of CHANGELOG.md. If no CHANGELOG update is needed add the following to the PR description: [x] No CHANGELOG update needed
There was a problem hiding this comment.
Code Review
This pull request updates the TESTED_VERSIONS set in the CAPE extractor to include self-hosted version strings ("2.2", "2.4", "2.5") alongside the existing "-CAPE" suffixed versions. Additionally, a unit test has been added to verify that these version strings are correctly present in the set. There are no review comments, so no feedback is provided.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
|
@itxsamad1 please provide test cape archives with this data, sourced from a real installation. otherwise, i don't trust this fix. |
Summary
Fixes #3082
Test plan