FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add ML-powered query enablement info to analyze finish status report by henrymercer · Pull Request #928 · github/codeql-action · GitHub

Add ML-powered query enablement info to analyze finish status report - #928

Merged
henrymercer merged 3 commits into
mainfrom
henrymercer/add-ml-powered-query-enablement-to-analyze-status-report
Feb 15, 2022
Merged

henrymercer merged 3 commits into
mainfrom
henrymercer/add-ml-powered-query-enablement-to-analyze-status-report

Conversation

henrymercer commented Feb 15, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

This PR is a follow up to #907 that includes ML-powered query enablement information in the finish status report that's sent at the end of the analyze action. This allows us to investigate errors in the analysis in the analyze workflow in specifically runs with ML-powered queries enabled.

Example status report:

{
    "workflow_run_id": 1847681271,
    "workflow_name": "Code Scanning - Action",
    "job_name": "CodeQL-Build",
    "analysis_key": ".github/workflows/codeql-analysis.yml:CodeQL-Build",
    "commit_oid": "5aca76d5ab43b891ed79c1c13bbbd73c06a83f50",
    "ref": "refs/heads/main",
    "action_name": "finish",
    "action_ref": "c2e40b5d5d11d4582a2c11664a48a2c063ec48f4",
    "action_oid": "unknown",
    "started_at": "2022-02-15T15:01:58.103Z",
    "action_started_at": "2022-02-15T15:02:10.965Z",
    "status": "success",
    "completed_at": "2022-02-15T15:05:35.759Z",
    "matrix_vars": "null",
    "ml_powered_javascript_queries": "~0.0.2" /* NEW */,
    "analyze_builtin_queries_javascript_duration_ms": 80571,
    "analyze_custom_queries_javascript_duration_ms": 50830,
    "interpret_results_javascript_duration_ms": 3565,
    "raw_upload_size_bytes": 1258548,
    "zipped_upload_size_bytes": 133852,
    "num_results_in_sarif": 175
}

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

henrymercer force-pushed the henrymercer/add-ml-powered-query-enablement-to-analyze-status-report branch from 5e74208 to c2e40b5 Compare February 15, 2022 15:00
henrymercer force-pushed the henrymercer/add-ml-powered-query-enablement-to-analyze-status-report branch from c2e40b5 to bcdaad2 Compare February 15, 2022 15:04
henrymercer marked this pull request as ready for review February 15, 2022 15:09
henrymercer requested a review from a team as a code owner February 15, 2022 15:09
henrymercer merged commit 621c8c7 into main Feb 15, 2022
henrymercer deleted the henrymercer/add-ml-powered-query-enablement-to-analyze-status-report branch February 15, 2022 19:11
This was referenced Feb 17, 2022
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL