Conversation
kubernetes_logs source nests metadata under .kubernetes.*, not at top level. All events were falling to router._unmatched because .container_name was null. Also: - Bump Vector 0.49.0 → 0.54.0 - Add router._unmatched to ch_normalize inputs - Add edge-functions container name to functions route
- Server accepts empty JWT as guest session (guest_0, guest_1, …) even when SUPABASE_JWT_SECRET is set, so unauthenticated players can join - JS GoOnlineButton tracks wantOnline state and listens for visibilitychange — auto-reconnects when tab resumes and connection was lost - Shared doConnect() with concurrency guard prevents duplicate attempts
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Backup saved to ~/Documents/pirate17.zip before removal.
| if (Q === 1) U.children = H; | ||
| else if (1 < Q) { | ||
| for (var te = Array(Q), He = 0; He < Q; He++) | ||
| for (Z in (D.key !== void 0 && (V = '' + D.key), D)) |
Check warning
Code scanning / CodeQL
Variable not declared before use Warning
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI 2 days ago
In general, to fix “variable used before declaration” issues with var, move the var declaration so it appears before any usage, or add an early declaration and turn the later var into a simple assignment. This maintains behavior because var is function-scoped and hoisted, but clarifies intent and avoids reliance on hoisting for readability and tooling.
Here, Z is first used as the loop variable in for (Z in (D.key !== void 0 && (V = '' + D.key), D)) on line 513, but is declared later on line 520 as var Z = arguments.length - 2;. The minimal, behavior-preserving fix is:
- Introduce a standalone
var Z;declaration just before thefor (Z in ...)loop. - Change the later
var Z = arguments.length - 2;toZ = arguments.length - 2;so we don’t redeclare it.
This way, Z is already declared (and initialized to undefined, same as hoisting) when the for loop first uses it, and its later numeric value assignment remains unchanged logically.
Concretely in apps/kbve/astro-kbve/public/isometric/assets/index.js inside react_production.cloneElement = function (m, D, H) { ... }:
- Right before line 513’s
for (Z in ...), addvar Z;. - Replace the
var Z = arguments.length - 2;line at 520 withZ = arguments.length - 2;.
No imports or additional helpers are needed.
| @@ -509,7 +509,8 @@ | ||
| ); | ||
| var U = ze({}, m.props), | ||
| V = m.key; | ||
| if (D != null) | ||
| if (D != null) { | ||
| var Z; | ||
| for (Z in (D.key !== void 0 && (V = '' + D.key), D)) | ||
| !Be.call(D, Z) || | ||
| Z === 'key' || | ||
| @@ -517,7 +518,8 @@ | ||
| Z === '__source' || | ||
| (Z === 'ref' && D.ref === void 0) || | ||
| (U[Z] = D[Z]); | ||
| var Z = arguments.length - 2; | ||
| } | ||
| Z = arguments.length - 2; | ||
| if (Z === 1) U.children = H; | ||
| else if (1 < Z) { | ||
| for (var te = Array(Z), He = 0; He < Z; He++) |
…ADME (#8076) Remove sitemap-0.xml and sitemap-index.xml (build artifacts that should not be checked in). Replace completed KBVE_PLAN.md with a concise README.md documenting the service layout.
Release: Dev → Main
8 atomic commits ready for main
Features
41f64a9)c19a078)Bug Fixes
a0e4323)Chores
5186543)ea22358)f26040c)303c12d)f5ccb78)This PR is automatically maintained by CI — KBVE Studio