Skip to content

build(deps): bump picomatch from 2.3.1 to 2.3.2 in /frontend in the npm_and_yarn group across 1 directory - #3

Merged
nicolas-rabault merged 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/npm_and_yarn-66413a1f6e
Jun 8, 2026
Merged

build(deps): bump picomatch from 2.3.1 to 2.3.2 in /frontend in the npm_and_yarn group across 1 directory#3
nicolas-rabault merged 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/npm_and_yarn-66413a1f6e

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 4, 2026

Copy link
Copy Markdown
Contributor

Bumps the npm_and_yarn group with 1 update in the /frontend directory: picomatch.

Updates picomatch from 2.3.1 to 2.3.2

Release notes

Sourced from picomatch's releases.

2.3.2

This is a security release fixing several security relevant issues.

What's Changed

Full Changelog: micromatch/picomatch@2.3.1...2.3.2

Changelog

Sourced from picomatch's changelog.

Release history

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

  • Changelogs are for humans, not machines.
  • There should be an entry for every single version.
  • The same types of changes should be grouped.
  • Versions and sections should be linkable.
  • The latest version comes first.
  • The release date of each versions is displayed.
  • Mention whether you follow Semantic Versioning.

Changelog entries are classified using the following labels (from keep-a-changelog):

  • Added for new features.
  • Changed for changes in existing functionality.
  • Deprecated for soon-to-be removed features.
  • Removed for now removed features.
  • Fixed for any bug fixes.
  • Security in case of vulnerabilities.

4.0.0 (2024-02-07)

Fixes

Changed

3.0.1

Fixes

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 4, 2026
Bumps the npm_and_yarn group with 1 update in the /frontend directory: [picomatch](https://github.com/micromatch/picomatch).


Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 2.3.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@nicolas-rabault
nicolas-rabault force-pushed the dependabot/npm_and_yarn/frontend/npm_and_yarn-66413a1f6e branch from 13a550a to 41bb786 Compare June 8, 2026 11:32
@nicolas-rabault
nicolas-rabault merged commit d28c2bd into main Jun 8, 2026
5 checks passed
@nicolas-rabault
nicolas-rabault deleted the dependabot/npm_and_yarn/frontend/npm_and_yarn-66413a1f6e branch June 8, 2026 11:42
ZouzouWP added a commit to ZouzouWP/leLab that referenced this pull request Jul 17, 2026
…video encoder, error visibility)

## Summary

Four independent stability fixes found while running LeLab day-to-day on
Windows with a physical SO-101 arm. None depend on each other; grouped
here only because they were all Windows/hardware crashes discovered in
the same week.

## 1. Console encoding crash (cp1252)

**Symptom:** an endpoint that logged or printed an emoji (e.g. "📡 Broadcast
thread started") could raise an unhandled `UnicodeEncodeError` on a Windows
console using the legacy `cp1252` code page, turning into an opaque 500
response with no useful message reaching the frontend.

**Fix:** `stdout`/`stderr` are reconfigured with `errors="replace"` at
import time, so unencodable characters degrade to `?` instead of crashing
the process.

## 2. Intermittent camera enumeration failure

**Symptom:** `/available-cameras` would sometimes return an empty or wrong
list, non-deterministically, depending on which FastAPI worker thread
handled the request.

**Root cause:** `pygrabber` enumerates DirectShow devices via COM, and COM
must be initialized per-thread. FastAPI serves sync endpoints from a
thread pool whose threads never call `CoInitialize`, so enumeration
silently failed on threads that hadn't done so.

**Fix:** explicitly `CoInitialize`/`CoUninitialize` around the enumeration
call in `_windows_cameras()`.

## 3. Motor-bus disconnect during recording (video encoder)

**Symptom:** recording sessions aborted mid-way with a serial
`ConnectionError` ("no status packet"), non-deterministically, on
otherwise-healthy hardware.

**Root cause:** lerobot's default RGB encoder (`libsvtav1`) is CPU-heavy
enough that two parallel encode streams (one per camera) could starve the
motor-bus read loop of CPU time, causing missed serial reads.

**Fix:** default the RGB encoder to `h264`/`ultrafast`, measured ~11x
faster to encode on this hardware, freeing enough CPU headroom that the
motor bus stays responsive.

## 4. Recording errors swallowed by a generic message

**Symptom:** when a recording session failed for *any* reason, the
frontend only ever showed "Recording session failed with error - check
logs" — the real exception (which is exactly what let us diagnose fixes
huggingface#2 and huggingface#3 above) was logged server-side but never reached the UI.

**Fix:** `/recording-status` now includes the actual exception message.

## Testing

Each of the four fixes corresponds to a crash that was reproduced and
captured in server logs before the fix landed:
- `UnicodeEncodeError` traceback from an emoji in a log line.
- Intermittent `/available-cameras` empty-list failures, thread-dependent.
- `ConnectionError: no status packet` during recording with `libsvtav1`.
- Generic "check logs" message masking the above two while debugging them.
ZouzouWP added a commit to ZouzouWP/leLab that referenced this pull request Jul 17, 2026
…video encoder, error visibility)

Four separate crashes that only show up on Windows with real hardware attached. Grouped in one PR because they were all found the same week, not because they're related — happy to split if preferred.

## 1. Console encoding crash (cp1252)

**Symptom:** an emoji in a log/print line could raise an unhandled `UnicodeEncodeError` on a Windows console using the legacy cp1252 code page, turning an endpoint into a blank 500 with no useful message reaching the frontend.

**Fix:** `stdout`/`stderr` are reconfigured with `errors="replace"` at import time, so unencodable characters degrade instead of crashing the process.

## 2. Camera list sometimes empty

**Symptom:** `/available-cameras` would intermittently return an empty or wrong list, depending on which FastAPI worker thread handled the request.

**Root cause:** `pygrabber` enumerates cameras via COM, which must be initialized per-thread. FastAPI's thread pool never did that, so enumeration silently failed on threads that hadn't.

**Fix:** explicitly initialize/uninitialize COM around the enumeration call.

## 3. Recording crashes with "no status packet"

**Symptom:** recording sessions aborted mid-way with a serial `ConnectionError`, non-deterministically, on otherwise-healthy hardware.

**Root cause:** the default video encoder (libsvtav1) is CPU-heavy enough that two parallel encode streams could starve the motor-bus read loop of CPU time.

**Fix:** default to h264/ultrafast, measured ~11x faster to encode on this hardware.

## 4. Real errors hidden behind "check logs"

**Symptom:** any recording failure showed the same generic message to the user — the real exception (exactly what let us diagnose huggingface#2 and huggingface#3 above) never left the server logs.

**Fix:** `/recording-status` now includes the actual exception message.

## Testing

Each fix corresponds to a crash reproduced and captured in server logs beforehand, then confirmed resolved after the change.
MichaelMintIcecream added a commit to Nori-Robotics/Nori-Lab that referenced this pull request Jul 21, 2026
Publishing now shows a confirmation warning that the item AND its data become
public to everyone (viewable/addable/deployable), and that it can be unpublished
any time. Gates both policy and dataset publish in CommunityPublishCard.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant