Simplify live dashboard and warn on memory target [skip ci]
myfileagent-python-ci/pipeline/head This commit looks good
myfileagent-python-ci/pipeline/head This commit looks good
This commit is contained in:
@@ -11,3 +11,7 @@ short versioned demo PDF, tests the reviewed program, and packages the release.
|
||||
The dashboard's cumulative live token panels update after Jenkins verifies and
|
||||
publishes the measured review metrics. The prepared baseline uses `[skip ci]`
|
||||
so the live inference and counter change happen during the rehearsal.
|
||||
|
||||
The complete workload's 250,000,000-byte memory target is a measured warning
|
||||
threshold. Actions has a 384,000,000-byte hard ceiling with swap disabled; a
|
||||
target overage is retained in the review evidence while a successful run continues.
|
||||
|
||||
@@ -65,6 +65,9 @@ def main():
|
||||
"OutputTokens": review.get("output_tokens") if review.get("output_tokens") is not None else "unknown",
|
||||
"ElapsedSeconds": review.get("elapsed_seconds", "unknown"),
|
||||
"MemoryPeak": resource.get("memory_peak_bytes", "unknown"),
|
||||
"MemoryTarget": resource.get("memory_target_bytes", "250000000 (contract; old bundle)"),
|
||||
"MemoryTargetStatus": ("exceeded; warning" if resource.get("memory_target_exceeded") is True
|
||||
else "met" if resource.get("memory_target_exceeded") is False else "not recorded"),
|
||||
"MemoryLimit": resource.get("memory_limit_bytes", "unknown"),
|
||||
"OOMKills": (resource.get("memory_events") or {}).get("oom_kill", "unknown"),
|
||||
"ReviewHash": digest(files["review.json"]), "ReviewedHash": digest(files["reviewed.py"]),
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
\textbf{Review status:} \ReviewStatus\\
|
||||
\textbf{Measured tokens:} \InputTokens\ input / \OutputTokens\ output\quad
|
||||
\textbf{Elapsed:} \ElapsedSeconds\ seconds\\
|
||||
\textbf{Complete Actions-job memory:} \MemoryPeak\ bytes peak / \MemoryLimit\ bytes limit; OOM kills: \OOMKills.
|
||||
\textbf{Complete Actions-job memory:} \MemoryPeak\ bytes peak; target: \MemoryTarget\ bytes (\MemoryTargetStatus); hard ceiling: \MemoryLimit\ bytes; OOM kills: \OOMKills.
|
||||
|
||||
\section*{The committed input}
|
||||
The source at the commit above has one missing closing parenthesis. The reviewer preserves it and writes a separate reviewed file.
|
||||
|
||||
Reference in New Issue
Block a user