GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Print diagnostic messages when debugging mode is enabled by henrymercer · Pull Request #1133 · github/codeql-action

Conversation

@henrymercer

@henrymercer henrymercer commented Jul 1, 2022

Copy link
Copy Markdown
Contributor

This PR prints diagnostic messages to the Actions log when debug logging is enabled by passing debug: true to codeql-action/init or enabling Actions step debug logging.

Example: The following custom query:

ql
/**
 * @kind diagnostic
 * @id test
 */

select "Test diagnostic message", 2

produces:

image

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
henrymercer added 2 commits July 1, 2022 18:56
@henrymercer
Print diagnostic messages when debug logging enabled
7e94a6c
This commit prints diagnostic messages to the Actions log when debug
logging is enabled by passing `debug: true` to `codeql-action/init` or
enabling Actions step debug logging.
@henrymercer
Add changelog note
3a5fa35
@henrymercer
henrymercer requested a review from a team as a code owner July 1, 2022 18:16
aeisenberg
aeisenberg reviewed Jul 11, 2022
View reviewed changes
Comment thread src/analyze.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@henrymercer
henrymercer requested a review from aeisenberg July 12, 2022 14:17
aeisenberg
aeisenberg approved these changes Jul 12, 2022
View reviewed changes
@henrymercer
henrymercer merged commit b380175 into henrymercer/one-click-debug Jul 12, 2022
@henrymercer
henrymercer deleted the henrymercer/log-diagnostics-when-debug-enabled branch July 12, 2022 14:49
This was referenced Jul 13, 2022
Merge main into releases/v2 #1140
Merged
Merge releases/v2 into releases/v1 #1142
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@aeisenberg aeisenberg aeisenberg approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@henrymercer @aeisenberg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.