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 — Telemetry: Handle failures determining disk usage by henrymercer · Pull Request #2112 · github/codeql-action

Conversation

@henrymercer

@henrymercer henrymercer commented Feb 2, 2024

Copy link
Copy Markdown
Contributor

We've noticed some situations where df fails due to the tracer not initializing correctly, and therefore we are unable to determine available disk space. Let's instead fail gracefully when we can't determine available disk space.

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
Status report: Handle failures determining disk usage
f9dea84
@henrymercer
henrymercer requested a review from a team as a code owner February 2, 2024 17:09
aeisenberg
aeisenberg approved these changes Feb 2, 2024
View reviewed changes

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

My comment shouldn't block having this merged, but something to add later if we want.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread src/status-report.ts
Comment on lines +243 to +244
statusReport.runner_available_disk_space_bytes = diskInfo.numAvailableBytes;
statusReport.runner_total_disk_space_bytes = diskInfo.numTotalBytes;

@aeisenberg aeisenberg Feb 2, 2024

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.

Do we want to capture the reason for the df failure and send it as part of the status report?

Sorry, something went wrong.

Uh oh!

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

All reactions

@aeisenberg aeisenberg Feb 2, 2024

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.

The message wouldn't make it into kusto, but at least it would be available in splunk.

Sorry, something went wrong.

Uh oh!

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

All reactions

@henrymercer henrymercer Feb 2, 2024

Copy link
Copy Markdown
Contributor Author

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.

We could probably add an internal error diagnostic for this. Let's address as potential follow up, as you suggest.

Sorry, something went wrong.

Uh oh!

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

aeisenberg reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@henrymercer
henrymercer enabled auto-merge February 2, 2024 17:13
@henrymercer
henrymercer merged commit 2db0327 into main Feb 2, 2024
@henrymercer
henrymercer deleted the henrymercer/status-report-handle-disk-failures branch February 2, 2024 17:31
This was referenced Feb 2, 2024
Merge main into releases/v3 #2113
Merged
Merge releases/v3 into releases/v2 #2115
Merged
@aeisenberg aeisenberg mentioned this pull request Feb 6, 2024
codeql/upload-sarif@v3 action failed: Resource not accessible by integration - missing actions: read #2117
Open
@ginsbach ginsbach mentioned this pull request Jul 11, 2024
Error: Command failed: df -Pk when using macos-14 runners (macos-latest) github/codeql#16948
Closed
@coderabbitai coderabbitai Bot mentioned this pull request Sep 12, 2026
fix(security): upgrade crossbeam-epoch from 0.9.18 to 0.9.20 hyperpolymath/filesoup#95
Closed
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.