Skip to content

chore: Added a little dev script to help contributors#4793

Open
jamescrosswell wants to merge 12 commits intomainfrom
dev-scripts
Open

chore: Added a little dev script to help contributors#4793
jamescrosswell wants to merge 12 commits intomainfrom
dev-scripts

Conversation

@jamescrosswell
Copy link
Copy Markdown
Collaborator

This emulates various commands that I have in my .zshrc file that I use frequently when working with the repo. Over time we could potentially expand on these (for example, it would be great to add one that ran various regexes on the logs output by integration/device tests, to identify errors/problems... currently we have to do this manually).

#skip-changelog

@codecov
Copy link
Copy Markdown

codecov bot commented Dec 8, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.01%. Comparing base (bcc6476) to head (1b2d34a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4793   +/-   ##
=======================================
  Coverage   74.01%   74.01%           
=======================================
  Files         499      499           
  Lines       18065    18065           
  Branches     3518     3518           
=======================================
  Hits        13370    13370           
  Misses       3836     3836           
  Partials      859      859           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jamescrosswell jamescrosswell marked this pull request as ready for review December 8, 2025 09:05
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 17, 2026

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

jamescrosswell and others added 2 commits March 25, 2026 19:56
…bleAsync

Two issues in IsCommandAvailableAsync:

- On Windows, the method unconditionally returned true without checking
  whether the command actually exists. Switch to 'where.exe' (the
  Windows equivalent of 'which') so availability is actually verified.
- On Unix, stdout/stderr were not redirected, causing 'which' output
  (e.g. /usr/bin/sudo) to leak to the user's console. Redirect both
  streams and consume them before waiting for exit to suppress the
  noise and avoid a pipe-buffer deadlock.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant