Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

jsoref
Copy link
Contributor

@jsoref jsoref commented Feb 8, 2024

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 jsoref requested a review from a team as a code owner February 8, 2024 03:09
Copy link
Contributor

@angelapwen angelapwen left a comment

Choose a reason for hiding this comment

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

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.

src/upload-lib.ts Show resolved Hide resolved
src/upload-lib.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

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

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

package.json Outdated Show resolved Hide resolved
src/status-report.ts Outdated Show resolved Hide resolved
src/status-report.ts Outdated Show resolved Hide resolved
src/upload-lib.ts Outdated Show resolved Hide resolved
src/upload-lib.ts Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
@jsoref jsoref force-pushed the status-reports-are-not-critical branch from ac030dd to 5942183 Compare February 9, 2024 21:02
aeisenberg
aeisenberg previously approved these changes Feb 9, 2024
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
Contributor

Choose a reason for hiding this comment

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

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

@aeisenberg
Copy link
Contributor

Thanks again for your work on this.

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

Thanks again! Nice work here.

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.