Skip to content

Release: 2 features, 4 fixes, 3 chores → Main#8114

Merged
h0lybyte merged 9 commits intomainfrom
dev
Mar 16, 2026
Merged

Release: 2 features, 4 fixes, 3 chores → Main#8114
h0lybyte merged 9 commits intomainfrom
dev

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Mar 16, 2026

Release: Dev → Main

9 atomic commits ready for main

Features

Bug Fixes

  • fix(ci): add nightly toolchain with rust-src to Tauri desktop builds (fix(ci): add nightly toolchain with rust-src to Tauri desktop builds #8115) (624c0dd)
  • fix(vector): use infallible replace! with string! for ANSI stripping (3fd8aff)
  • fix(isometric): enlarge virtual joystick for mobile, track touch ID, add dead zone (1b1ccda)
  • fix(isometric): move HP/MP/EP orbs to left-edge midpoint anchor for better visibility (83d2710)

Chores

  • chore(bevy): add Nx project.json with build, test, lint, check-wasm, check-desktop, e2e, and dry targets for all bevy packages (22495f6)
  • chore(kbve): version bump and client catchup. (0eb2d37)
  • chore(kube): updating the meta tag. (6d48bd8)

This PR is automatically maintained by CI — KBVE Studio

…check-desktop, e2e, and dry targets for all bevy packages
…8115)

The beforeBuildCommand runs build:wasm which uses RUSTUP_TOOLCHAIN=nightly
with -Z build-std=panic_abort,std. Without nightly + rust-src installed,
the WASM cargo build fails and wasm-bindgen cannot find the output binary.
@h0lybyte h0lybyte self-requested a review as a code owner March 16, 2026 13:43
@github-actions
Copy link
Contributor Author

github-actions bot commented Mar 16, 2026

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

* feat(droid): add downscale/upscale API for worker thread management

Adds window.kbve.downscale() and window.kbve.upscale() to control droid
worker thread usage at runtime. Downscale terminates canvas worker, mod
workers, gateway pool, and overlay — keeping only DB + WS SharedWorkers
for session persistence. Upscale restores full capacity. Designed for
pages that need pthread/WASM thread headroom (e.g. isometric game).

* test(droid-e2e): add scale management e2e tests for downscale/upscale

13 new Playwright tests covering: initial full mode, downscale to minimal,
overlay/canvas teardown, DB+WS persistence, event emission, idempotency,
upscale restoration, and full cycle error-free operation.
@github-actions github-actions bot changed the title Release: 1 chore → Main Release: 1 feature, 1 fix, 1 chore → Main Mar 16, 2026
@@ -0,0 +1,167 @@
import { useEffect, useState, useCallback } from 'react';
import { droid, workerURLs, getScaleLevel } from '@kbve/droid';

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused import getScaleLevel.

Copilot Autofix

AI 2 days ago

In general, unused imports should be removed to keep the codebase clean and avoid confusion. Since only getScaleLevel is unused in this file, we should remove it from the import list while keeping droid and workerURLs intact.

Concretely, in packages/npm/droid-e2e/src/app/ScaleTest.tsx, edit the import on line 2 to remove getScaleLevel from the destructuring import. No other code changes or additional imports are needed, because nothing in the file references getScaleLevel.

Suggested changeset 1
packages/npm/droid-e2e/src/app/ScaleTest.tsx

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/packages/npm/droid-e2e/src/app/ScaleTest.tsx b/packages/npm/droid-e2e/src/app/ScaleTest.tsx
--- a/packages/npm/droid-e2e/src/app/ScaleTest.tsx
+++ b/packages/npm/droid-e2e/src/app/ScaleTest.tsx
@@ -1,5 +1,5 @@
 import { useEffect, useState, useCallback } from 'react';
-import { droid, workerURLs, getScaleLevel } from '@kbve/droid';
+import { droid, workerURLs } from '@kbve/droid';
 import type { DroidScaleLevel } from '@kbve/droid';
 
 export function ScaleTest() {
EOF
@@ -1,5 +1,5 @@
import { useEffect, useState, useCallback } from 'react';
import { droid, workerURLs, getScaleLevel } from '@kbve/droid';
import { droid, workerURLs } from '@kbve/droid';
import type { DroidScaleLevel } from '@kbve/droid';

export function ScaleTest() {
Copilot is powered by AI and may make mistakes. Always verify output.
VRL requires guaranteed string type for replace(). Use string!() to
assert type after the empty check, and replace!() for infallible call.
@github-actions github-actions bot changed the title Release: 1 feature, 1 fix, 1 chore → Main Release: 1 feature, 3 fixes, 1 chore → Main Mar 16, 2026
)

Adds inline script that polls for window.kbve.downscale() and calls it
before the isometric game WASM loads, freeing worker threads for pthreads.
@github-actions github-actions bot changed the title Release: 1 feature, 3 fixes, 1 chore → Main Release: 2 features, 3 fixes, 1 chore → Main Mar 16, 2026
@github-actions github-actions bot changed the title Release: 2 features, 3 fixes, 1 chore → Main Release: 2 features, 4 fixes, 1 chore → Main Mar 16, 2026
@github-actions github-actions bot changed the title Release: 2 features, 4 fixes, 1 chore → Main Release: 2 features, 4 fixes, 2 chores → Main Mar 16, 2026
@github-actions github-actions bot changed the title Release: 2 features, 4 fixes, 2 chores → Main Release: 2 features, 4 fixes, 3 chores → Main Mar 16, 2026
@h0lybyte h0lybyte merged commit 9d4013f into main Mar 16, 2026
13 checks passed
@github-project-automation github-project-automation bot moved this from Review to Done in KBVE Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant