You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ea101e7
Browse filesBrowse the repository at this point in the historyBrowse files
feat(api): per-project cpuMs override with plan ceiling (#263)
* feat(api): per-project cpuMs override with plan ceiling (bump framework)
Honors the new manifest field limits.cpuMs (void.json worker.limits.cpu_ms,
#299) when building routing dispatch limits:
- tiers.ts: PlanLimits.maxCpuMsPerRequest, the highest cpuMs a project
may request (free 10, solo/pro/sponsored 30_000, custom 0 = no ceiling)
- deploy ingest: validate manifest.limits shape; reject an over-ceiling
cpuMs with 400 naming both numbers, before the claim transaction
- routing.ts: shared computeDispatchLimits replaces the duplicated
inline expressions at deploy go-live and rollback; byte-identical
output for manifests without limits
- rollback clamps to the current plan ceiling instead of rejecting, and
an out-of-domain stored cpuMs (0, negative, fractional - storable
through the pre-validation API skew window) falls back to the plan
default instead of erasing the cap
- dispatch unchanged: routing.limits was already applied verbatim
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DF8p6MCmgiE7e3LM1J8EQV
* fix(api): replace zero-width spaces in comments with backslash escapes
`vp lint` has failed on main since the vite+ 0.3.0 bump (#262): the newer
oxlint enforces no-irregular-whitespace, which flags six U+200B zero-width
spaces added in #89. Every one sits inside a quoted `*/`, where it stops
the sequence from closing the enclosing comment.
Deleting them is not safe. Four are inside `/** */` docstrings, where a
bare `*/` truncates the comment and breaks the file. Those use `*\/`,
which the tokenizer does not treat as a terminator. The remaining two are
inside `//` line comments, where `*/` needs no escape at all.
Unblocks CI for this PR and every branch cut after #262.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Grrh3fMQxnc3MKfJWKg7Vv
* chore(api): track the framework submodule at void CLI 0.10.12
The rebased submodule pointer moves the framework from 0.10.10 to
0.10.12, and both fallback CLI constants must follow it. They only
apply to repos with no local `void` dependency, so drift never shows
up in an ordinary build — `build-manager.test.ts` is what catches it.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Grrh3fMQxnc3MKfJWKg7Vv
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments