@foldrun/core 23.0.0 → 23.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/ops-log.js +1 -1
- package/dist/src/run-event.d.ts +2 -2
- package/dist/src/run-event.js +2 -2
- package/package.json +1 -1
- package/src/ops-log.ts +1 -1
- package/src/run-event.ts +2 -2
package/dist/src/ops-log.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// account's content (FOL-121).
|
|
3
3
|
//
|
|
4
4
|
// A hosted pod's stdout and stderr leave the cluster: they are our
|
|
5
|
-
// operations log (
|
|
5
|
+
// operations log (CloudWatch Logs on the hosted platform), read by us, not by the
|
|
6
6
|
// account whose run it was. An account's prompts, replies, files, tool
|
|
7
7
|
// arguments and the words of its errors belong in that account's own run
|
|
8
8
|
// trace — never here.
|
package/dist/src/run-event.d.ts
CHANGED
|
@@ -118,8 +118,8 @@ export declare function runWideEvent(tenant: string, workspace: string, run: Run
|
|
|
118
118
|
/** Seconds between two marks of an event, or null when either is missing
|
|
119
119
|
* (or the later reads earlier: two clocks). */
|
|
120
120
|
export declare function funnelSecs(ev: Pick<RunWideEvent, "at">, from: FunnelMark, to: FunnelMark): number | null;
|
|
121
|
-
/** The ops-log fields an ops span may carry
|
|
122
|
-
*
|
|
121
|
+
/** The ops-log fields an ops span may carry: the whole list, so whatever
|
|
122
|
+
* collects the ops trace can be held to it. */
|
|
123
123
|
export declare const OPS_SPAN_FIELDS: readonly ["runId", "tenant", "workspace", "flow", "agent", "kind", "outcome", "errorClass", "verdict", "reason", "image", "size", "model", "usd", "step", "attempt", "phase", "ms"];
|
|
124
124
|
/** Every name an ops span may have. */
|
|
125
125
|
export declare const OPS_SPAN_NAMES: readonly ["run", "submit", "queue.wait", "drive", "pod.start", "sandbox.start", "first_output", ...("startup.applied" | "startup.driver" | "startup.files" | "startup.go" | "startup.imports" | "startup.ready" | "startup.room" | "startup.services" | "startup.shim" | "startup.system" | "startup.tools")[]];
|
package/dist/src/run-event.js
CHANGED
|
@@ -319,8 +319,8 @@ export function funnelSecs(ev, from, to) {
|
|
|
319
319
|
// rule a log line leaving the cluster keeps (FOL-121). Span names are
|
|
320
320
|
// fixed. No status message, no events, no links: a failure is its class
|
|
321
321
|
// (`error.type`, one of ERROR_CLASSES).
|
|
322
|
-
/** The ops-log fields an ops span may carry
|
|
323
|
-
*
|
|
322
|
+
/** The ops-log fields an ops span may carry: the whole list, so whatever
|
|
323
|
+
* collects the ops trace can be held to it. */
|
|
324
324
|
export const OPS_SPAN_FIELDS = [
|
|
325
325
|
"runId", "tenant", "workspace", "flow", "agent", "kind", "outcome", "errorClass", "verdict",
|
|
326
326
|
"reason", "image", "size", "model", "usd", "step", "attempt", "phase", "ms",
|
package/package.json
CHANGED
package/src/ops-log.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// account's content (FOL-121).
|
|
3
3
|
//
|
|
4
4
|
// A hosted pod's stdout and stderr leave the cluster: they are our
|
|
5
|
-
// operations log (
|
|
5
|
+
// operations log (CloudWatch Logs on the hosted platform), read by us, not by the
|
|
6
6
|
// account whose run it was. An account's prompts, replies, files, tool
|
|
7
7
|
// arguments and the words of its errors belong in that account's own run
|
|
8
8
|
// trace — never here.
|
package/src/run-event.ts
CHANGED
|
@@ -397,8 +397,8 @@ export function funnelSecs(ev: Pick<RunWideEvent, "at">, from: FunnelMark, to: F
|
|
|
397
397
|
// fixed. No status message, no events, no links: a failure is its class
|
|
398
398
|
// (`error.type`, one of ERROR_CLASSES).
|
|
399
399
|
|
|
400
|
-
/** The ops-log fields an ops span may carry
|
|
401
|
-
*
|
|
400
|
+
/** The ops-log fields an ops span may carry: the whole list, so whatever
|
|
401
|
+
* collects the ops trace can be held to it. */
|
|
402
402
|
export const OPS_SPAN_FIELDS = [
|
|
403
403
|
"runId", "tenant", "workspace", "flow", "agent", "kind", "outcome", "errorClass", "verdict",
|
|
404
404
|
"reason", "image", "size", "model", "usd", "step", "attempt", "phase", "ms",
|