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 — Improve tracking of autobuild errors by henrymercer · Pull Request #2198 · github/codeql-action

Conversation

@henrymercer

@henrymercer henrymercer commented Mar 14, 2024 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Improve the way we surface errors while automatically attempting to build code, particularly in circumstances where the autobuilder doesn't produce diagnostic information.

Specifically, extract just the [ERROR] part of the stderr stream, and link users to the troubleshooting page in the docs.

Also mark Maven and Gradle build failures as configuration errors.

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 March 14, 2024 17:56
@henrymercer
Surface autobuild errors from stderr stream
88b28eb
@henrymercer
Mark Maven build failures as configuration errors
88a0b7a
@henrymercer
henrymercer requested a review from a team as a code owner March 14, 2024 17:59
nickfyson
nickfyson previously approved these changes Mar 14, 2024
View reviewed changes

@nickfyson nickfyson left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread src/cli-errors.ts Resolved

Uh oh!

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

Comment thread src/cli-errors.ts Resolved

Uh oh!

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

@henrymercer
Truncate autobuild errors to 10 lines
3edd1bf
@henrymercer
henrymercer dismissed nickfyson’s stale review via 3edd1bf March 15, 2024 11:24
nickfyson
nickfyson previously approved these changes Mar 15, 2024
View reviewed changes
@henrymercer
Add config error for Gradle build failures
bddfc7c
@henrymercer
henrymercer dismissed nickfyson’s stale review via bddfc7c March 15, 2024 11:51
@henrymercer
Add config error for Swift build failures
e28ae3a
@henrymercer
henrymercer requested a review from nickfyson March 15, 2024 15:48
nickfyson
nickfyson approved these changes Mar 15, 2024
View reviewed changes
@henrymercer
henrymercer merged commit 1ecc277 into main Mar 15, 2024
@henrymercer
henrymercer deleted the henrymercer/improve-tracking-autobuild-errors branch March 15, 2024 18:16
This was referenced Mar 18, 2024
Merge main into releases/v3 #2200
Merged
Merge releases/v3 into releases/v2 #2202
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@nickfyson nickfyson nickfyson 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 @nickfyson
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.