Skip to content

build(deps-dev): Bump vitest from 4.1.5 to 4.1.8#128

Merged
asizikov merged 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest-4.1.7
Jun 7, 2026
Merged

build(deps-dev): Bump vitest from 4.1.5 to 4.1.8#128
asizikov merged 1 commit into
mainfrom
dependabot/npm_and_yarn/vitest-4.1.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 27, 2026

Copy link
Copy Markdown
Contributor

Bumps vitest from 4.1.5 to 4.1.8.

Release notes

Sourced from vitest's releases.

v4.1.8

   🐞 Bug Fixes

    View changes on GitHub

v4.1.7

   🐞 Bug Fixes

    View changes on GitHub

v4.1.6

   🐞 Bug Fixes

   🏎 Performance

    View changes on GitHub
Commits
  • e61f2dd chore: release v4.1.8
  • e4067b3 fix(browser): disable client cdp API when allowWrite/allowExec: false [ba...
  • a09d472 chore: release v4.1.7
  • a8fd24c chore: release v4.1.6
  • 18af98c fix(browser): simplify orchestrator otel carrier (#10285)
  • 3188260 feat(browser): provide project reference in ToMatchScreenshotResolvePath (#...
  • See full diff in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 27, 2026
@dependabot dependabot Bot requested a review from asizikov as a code owner May 27, 2026 01:56
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 27, 2026
@dependabot dependabot Bot changed the title build(deps-dev): Bump vitest from 4.1.5 to 4.1.7 build(deps-dev): Bump vitest from 4.1.5 to 4.1.8 Jun 7, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-4.1.7 branch from b844bf7 to 920cffa Compare June 7, 2026 19:51
@asizikov

asizikov commented Jun 7, 2026

Copy link
Copy Markdown
Member

@dependabot rebase

Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 4.1.5 to 4.1.8.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.8/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 4.1.7
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/vitest-4.1.7 branch from 920cffa to 9020c93 Compare June 7, 2026 19:52
@asizikov asizikov merged commit 8ae8f33 into main Jun 7, 2026
6 checks passed
@asizikov asizikov deleted the dependabot/npm_and_yarn/vitest-4.1.7 branch June 7, 2026 19:54
xrvk added a commit to xrvk/billing-preview that referenced this pull request Jun 17, 2026
…edit policy (#5)

* build(deps): align with upstream dep bumps

Match github/copilot-billing-preview dependency versions:

- @primer/octicons-react 19.26.0 -> 19.28.1 (upstream github#147)
- vitest 4.1.5 -> 4.1.8 (upstream github#128)
- @vitejs/plugin-react 6.0.1 -> 6.0.2 (upstream github#127)
- typescript-eslint 8.59.2 -> 8.60.1 (upstream github#126)
- @types/node 25.7.0 -> 25.9.2 (upstream github#116)
- actions/checkout v6.0.2 -> v6.0.3 (upstream github#130)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* refactor: add static chart legend items

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
(cherry picked from commit 8183710)

* feat: show cumulative AIC usage on overview

Port upstream 16f3574 from github/copilot-billing-preview, adapted
for our fork:

- Add the cumulative AIC gross cost chart (included vs additional) at
  the top of the OverviewView chart section as an additive UX win,
  rather than replacing the existing Daily Requests & AI Credits chart.
- Preserve the hasPruUsage PRU-conditional rendering from 97109fd.
- Skip the upstream "(Pooled) included credits are coming" banner
  re-introduction since d9ed68e removed it from this fork.
- Expose the included AIC pool size from runPipeline (new
  capacity() accessor on PooledAic/IndividualAic allocators, new
  PipelineResult.includedAicPoolSize) and thread it through App.tsx
  state so OverviewView can compute the included value line.

Co-authored-by: Anton Sizikov <asizikov@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: reject reports without headers

Port upstream 7412559 from github/copilot-billing-preview, adapted
for our fork.

Upstream rewrote validation around its new report-adapter layer; we
keep the simpler validateFileHeader and just throw the existing
InvalidReportError when streamLines yields no non-empty content. Same
user-visible behavior: an empty CSV now surfaces "We couldn't read
this report" instead of silently producing an empty preview.

Co-authored-by: Anton Sizikov <asizikov@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat: add included credit policy types and period-based resolution

Port the user-visible effect of upstream 08a2b7d/6ba9623/8d70792/0e93440
from github/copilot-billing-preview, condensed for this fork.

Adds src/pipeline/includedCreditsPolicy.ts with three named policies:

- TRANSITION_PERIOD_INCLUDED_CREDITS_POLICY (Business 300 PRU/3000 AIC,
  Enterprise 1000 PRU/7000 AIC) for current PRU-era reports.
- NATIVE_AI_CREDITS_SUMMER_PROMO_INCLUDED_CREDITS_POLICY (Business
  1900/3000, Enterprise 3900/7000) for native AIC reports whose period
  starts before 2026-09-01.
- NATIVE_AI_CREDITS_STANDARD_INCLUDED_CREDITS_POLICY (Business
  1900/1900, Enterprise 3900/3900) for native AIC reports starting on
  or after 2026-09-01.

resolveIncludedCreditsPolicy takes our existing ReportFormat-style
quota unit ('pru' | 'aic') plus an optional report period and returns
the right policy. Upstream resolves off their reportAdapters layer; we
key off the fork's filename-derived report format instead. This sub-
commit only adds the module + tests; allocator wiring lands next.

Co-authored-by: Anton Sizikov <asizikov@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* feat: resolve included credit policy from report period

Thread reportFormat through runPipeline into the AIC included-credits
allocator so calculateAicIncludedCreditsContext can pick the right
policy from the report's quota unit and date range:

- PRU reports keep the transition-period policy (Business 300/3000,
  Enterprise 1000/7000).
- Native AIC reports whose period starts before 2026-09-01 use the
  summer promo policy (Business 1900/3000, Enterprise 3900/7000).
- Native AIC reports on or after 2026-09-01 use the standard policy
  (Business 1900/1900, Enterprise 3900/3900).

App.tsx now forwards detectReportFormatFromFileName(file.name) into
PipelineOptions.reportFormat.

Adapted from upstream 08a2b7d, 6ba9623, 8d70792, 0e93440.

Co-authored-by: Anton Sizikov <asizikov@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: apply resolved policy to license summary and seat editor

The first pass at the policy plumbing only threaded the resolved
policy into AIC allocation. License summary math (App.tsx and
UsersView) still used the transition-period defaults, so post
2026-09-01 native AIC reports would have reported 3000/7000 per
seat in the license table while the chart pool reflected the
correct 1900/3900 values.

Now createAicIncludedCreditsAllocator stores the policy, runPipeline
exposes it on PipelineResult, App.tsx threads it into state and
passes it to UsersView, and calculateLicenseSummary plus the seat
editor in UsersView use the per-seat included-credit values from
that policy.

Also drops the QuotaUnitFormat alias and three restating test
comments flagged by review, and extends coverage to a
boundary-spanning AIC report, the runPipeline reportFormat option,
and additional resolver edge cases (null, empty, malformed,
2026-09-02, 2025-12-31).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Anton Sizikov <asizikov@github.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