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

Treat status reports as non-critical by jsoref · Pull Request #2121 · github/codeql-action · GitHub

Treat status reports as non-critical - #2121

Merged
aeisenberg merged 1 commit into
github:mainfrom
jsoref:status-reports-are-not-critical
Feb 12, 2024
Merged

Treat status reports as non-critical#2121
aeisenberg merged 1 commit into
github:mainfrom
jsoref:status-reports-are-not-critical

Conversation

jsoref commented Feb 8, 2024
edited by angelapwen
Loading

Copy link
Copy Markdown
Contributor

Resolve github/codeql#15462 (comment) by converting sendStatusReport into a function that always returns void and uses core.warning instead of core.error

Split from:

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.

jsoref requested a review from a team as a code owner February 8, 2024 03:09

angelapwen left a comment
edited
Loading

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks again for this — our telemetry reporting should indeed be non-critical! I've just added a few comments.

I think this may warrant a CHANGELOG entry 🌞 users who may have seen this failure in the past should be happy to see the change.

Comment thread src/upload-lib.ts
Comment thread src/upload-lib.ts Outdated

aeisenberg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This is looking great. I have a few copy-editing suggestions and one question about 404/403 errors.

Comment thread package.json Outdated
Comment thread src/status-report.ts Outdated
Comment thread src/status-report.ts Outdated
Comment thread src/upload-lib.ts Outdated
Comment thread src/upload-lib.ts Outdated
Comment thread CHANGELOG.md Outdated
jsoref force-pushed the status-reports-are-not-critical branch from ac030dd to 5942183 Compare February 9, 2024 21:02
aeisenberg previously approved these changes Feb 9, 2024
Comment thread src/upload-lib.ts
import { SarifFile, ConfigurationError, wrapError } from "./util";

const GENERIC_403_MSG =
"The repo on which this action is running has not opted-in to CodeQL code scanning.";

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This message and the one below it needs some work, but as you mentioned, it is outside the scope of this PR.

Copy link
Copy Markdown
Contributor

Thanks again for your work on this.

Comment thread src/status-report.ts Outdated
aeisenberg previously approved these changes Feb 12, 2024
aeisenberg enabled auto-merge February 12, 2024 18:41
aeisenberg disabled auto-merge February 12, 2024 18:41
Change `sendStatusReport` to `void`
aeisenberg merged commit 4075abf into github:main Feb 12, 2024

Copy link
Copy Markdown
Contributor

Thanks again! Nice work here.

This was referenced May 14, 2024
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.

Workflows are missing permissions requests

3 participants


Back | FazBrowse Home | New Git URL