Conversation
…issues - Branch on content_type.LEGACY_CLI_STDOUT in processOsTestWorkFlowData. - Parse payload with UnmarshallOssJson and convertScanResultToIssues. - Update converter and oss tests for legacy JSON handling. Co-authored-by: Cursor <cursoragent@cursor.com>
|
| Status | Scanner | Total (0) | ||||
|---|---|---|---|---|---|---|
| Open Source Security | 0 | 0 | 0 | 0 | See details | |
| Licenses | 0 | 0 | 0 | 0 | See details | |
| ✅ | Code Security | 0 | 0 | 0 | 0 | 0 issues |
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.
… type - Match data.GetIdentifier() to legacycli/stdout type id. - Content type remains application/json or text/plain from CLI. Co-authored-by: Cursor <cursoragent@cursor.com>
Match legacycli/stdout data by Scheme, Host, and Path instead of String() equality so payload is used regardless of url.URL formatting (e.g. path with or without leading slash). Co-authored-by: Cursor <cursoragent@cursor.com>
Data identifiers use Scheme "did" after workflow.NewData; type id "tpe" is overwritten. Co-authored-by: Cursor <cursoragent@cursor.com>
PR Reviewer Guide 🔍
|
…Type - Use content_type.LegacyCLIContentType for extension marker/payload - Keep isLegacyCliStdoutData for type id legacycli/stdout (actual JSON) - Skip empty payload before unmarshalling Co-authored-by: Cursor <cursoragent@cursor.com>
…[IDE-1697] - ProcessScanResults: take only ctx, scanOutput, packageIssueCache, readFiles; config, workDir, filePath, learnService, errorReporter from context - processOsTestWorkFlowData: resolve c, workDir, filePath, learnService, errorReporter from context; use config.FormatMd - unmarshallAndRetrieveAnalysis: drop workDir, path, format; use FilePathFromContext for error reporting - ConvertJSONToIssues: build context with deps and workDir before calling ProcessScanResults - convertScanResultToIssues: remove format param, use config.FormatMd; add TODO to remove format from toIssue Co-authored-by: Cursor <cursoragent@cursor.com>
…-1697] Use remote module versions instead of ../go-application-framework and ../cli-extension-os-flows; go.sum updated accordingly. Co-authored-by: Cursor <cursoragent@cursor.com>
… call [IDE-1697] - Use content_type.LEGACY_CLI_STDOUT from go-application-framework (replace points to local GAF; use commit a6888bafc081 for that constant). - Fix processOsTestWorkFlowData test call to pass 4 args (ctx, data, cache, readFiles). - Resolve go.mod/go.sum merge conflicts; keep main's Snyk dependency versions. Co-authored-by: Cursor <cursoragent@cursor.com>
IDE-1697 – Legacy CLI flow for ostest
Changes
processOsTestWorkFlowData, branch oncontent_type.LEGACY_CLI_STDOUT; parse payload withUnmarshallOssJsonandconvertScanResultToIssues.Depends on
Made with Cursor