MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / heldForEveryone

Function heldForEveryone

apps/kimi-code/test/cli/update/preflight.test.ts:138–143  ·  view source on GitHub ↗

Every bucket delayed by 24h and the clock just started: nobody is eligible.

(version: string)

Source from the content-addressed store, hash-verified

136
137/** Every bucket delayed by 24h and the clock just started: nobody is eligible. */
138function heldForEveryone(version: string): UpdateManifest {
139 return manifestFor(version, {
140 publishedAt: new Date(Date.now() - 1_000).toISOString(),
141 rollout: [{ percent: 100, delaySeconds: 86_400 }],
142 });
143}
144
145/** Every bucket immediate and publishedAt long past: everybody is eligible. */
146function releasedForEveryone(version: string): UpdateManifest {

Callers 1

preflight.test.tsFile · 0.85

Calls 2

manifestForFunction · 0.85
nowMethod · 0.65

Tested by

no test coverage detected