Skip to content

chore(deps): bump encoding_rs from 0.8.35 to 0.8.41 - #6104

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/encoding_rs-0.8.40
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/encoding_rs-0.8.40

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 11, 2026

Copy link
Copy Markdown
Contributor

Bumps encoding_rs from 0.8.35 to 0.8.41.

Commits
  • 0860491 Increment version number to 0.8.41
  • 2e9ea61 Document multiversion 0.9.0 and syn version
  • 6667988 build(deps): accept multiversion 0.9.0
  • 662cb42 Allow split_u16_stride_mut as dead code
  • 55f2530 Increment version number to 0.8.40
  • 71ae1c0 Mention defense in depth when writing to &mut str
  • 12790ab Remove remarks about a standard library bug that has been worked around
  • d477c2a Inline asm not stable on powerpc/powerpc64 at MSRV
  • 6c2fb49 Work around slow _mm_packus_epi16 in Rust 1.96 through 1.98, inclusive
  • 9451175 Zero the output slice upon panic in functions that write to &mut str
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Sep 11, 2026
@dependabot
dependabot Bot requested a review from Hmbown as a code owner September 11, 2026 21:14
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Sep 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks @dependabot[bot] for taking the time to contribute.

This repository is observing a maintainer-managed PR intake gate in dry-run mode, so this pull request is staying open. This note helps maintainers prepare the allowlist before any enforcement is considered.

Please read CONTRIBUTING.md for the expected contribution shape. A maintainer can grant recurring PR access by commenting /lgtm on a pull request.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Devin Review found 0 potential issues.

Devin Review

Bumps [encoding_rs](https://github.com/hsivonen/encoding_rs) from 0.8.35 to 0.8.41.
- [Commits](hsivonen/encoding_rs@v0.8.35...v0.8.41)

---
updated-dependencies:
- dependency-name: encoding_rs
  dependency-version: 0.8.40
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump encoding_rs from 0.8.35 to 0.8.40 chore(deps): bump encoding_rs from 0.8.35 to 0.8.41 Sep 12, 2026
@dependabot
dependabot Bot force-pushed the dependabot/cargo/encoding_rs-0.8.40 branch from 3ec38fd to c810bc0 Compare September 12, 2026 18:36

@Hmbown Hmbown left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Holding merge at c810bc0: the refreshed Ubuntu job is red in codewhale-cli::telemetry_kill_switch_dispatch::missing_preference_defaults_on_without_inventing_acceptance. It failed at crates/cli/tests/telemetry_kill_switch_dispatch.rs:180 because the expected default-on dry-run receipt was absent. macOS, Windows, lint and dependency security checks passed.

Failure evidence: https://github.com/Hmbown/Codewhale/actions/runs/34711707513/job/103601573540

This identifies the failed gate; it does not establish that encoding_rs caused it. Please retain the failure and diagnose the missing receipt before rerunning. The update also introduces CPU-dispatch/proc-macro dependencies, so a green lockfile/security check alone is not the complete runtime proof.

Hmbown added a commit that referenced this pull request Sep 16, 2026
…Ubuntu (#6270)

`codewhale-cli::telemetry_kill_switch_dispatch::missing_preference_defaults_on_without_inventing_acceptance`
has failed twice on Ubuntu CI at `telemetry_kill_switch_dispatch.rs:180`
("default-on writes dry run") on changes that touch neither telemetry nor
the CLI: PR #6104 (`c810bc0458`, 2026-09-12) and PR #6267 (`75e032b61d`,
2026-09-16). Both times macOS and Windows passed.

It is not an env race. CI runs cargo-nextest, which gives every test its own
process, and the test never mutates process-global state — each case spawns
the real binary with `env_clear()` and a fresh `TempDir` HOME/CODEWHALE_HOME
(`telemetry_kill_switch_dispatch.rs:231-276`). The panic is a *missing file*:
`$CODEWHALE_HOME/telemetry/dryrun.jsonl` was never written.

The mechanism is a wall-clock deadline. `features list` resolves to
`Surface::Cli`, whose exit path waits `CLI_PERSIST_TIMEOUT` — 250 ms
(`crates/telemetry/src/lib.rs:75`) — for a detached writer thread that must
re-run `decision::re_decide` against disk and then fsync an append before the
process exits. The code deliberately fails open, so a missed deadline silently
produces no receipt.

All three existing test-group overrides filter `binary(integration)`, and this
is a *different* binary, so none of them ever matched it: the five cases ran at
full parallelism beside 15,774 tests. The CI log shows the runner was saturated
at that moment — neighbouring subprocess-spawning tests took 3.5-3.6 s for work
that normally finishes well under a second, while this one failed in 0.747 s.

This adds the missing override, putting the binary in the existing
`telemetry-contract` group (max-threads = 1) for the same reason that group
exists: these tests spawn the real binary and cannot absorb scheduler latency.

Verified on this machine (macOS aarch64):

  cargo nextest show-config test-groups -p codewhale-cli --all-features \
    --locked -E 'binary(telemetry_kill_switch_dispatch)'
    group: telemetry-contract (max threads = 1)
      * override for default profile with filter
        'binary(telemetry_kill_switch_dispatch)':
          codewhale-cli::telemetry_kill_switch_dispatch: (all 5 tests)
    group: spawns-binaries (max threads = 3)   (no matches)

  sh scripts/with-hermetic-test-home.sh cargo nextest run -p codewhale-cli \
    --all-features --locked -E 'binary(telemetry_kill_switch_dispatch)'
    Summary [0.621s] 5 tests run: 5 passed, 0 skipped

Not fixed here: the 250 ms budget itself. Bounding the group removes the load
that makes the deadline reachable, but a slow enough host can still miss it.
The product-side options — raise CLI_PERSIST_TIMEOUT, hoist the `re_decide`
disk read out of the deadline window, or have the CLI path join the writer for
the local non-network case — are a behavioural decision, not a test fix, and
are left for the issue.

Signed-off-by: CodeWhale Bot <bot@codewhale.net>
Co-authored-by: CodeWhale Bot <bot@codewhale.net>
Co-authored-by: Claude Opus 5 (1M context) <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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant