Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions .github/workflows/agents-issue-format-guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,29 @@ jobs:
if: steps.issue.outputs.exempt != 'true'
run: |
set +e
report_file="$(mktemp)"
error_file="$(mktemp)"
trap 'rm -f "$report_file" "$error_file"' EXIT
Comment thread
coderabbitai[bot] marked this conversation as resolved.
if [[ ! -f .github/scripts/issue_format.py ]]; then
echo "validator absent — skipping while this repo is mid-sync"
echo "rc=skip" >> "$GITHUB_OUTPUT"
exit 0
fi
python3 .github/scripts/issue_format.py body.md > report.md
python3 .github/scripts/issue_format.py body.md > "$report_file" 2> "$error_file"
rc=$?
set -e
echo "rc=$rc" >> "$GITHUB_OUTPUT"
cat report.md || true
cat "$report_file" || true
if [[ "$rc" -eq 1 && -s "$error_file" ]]; then
echo "::error::issue-format validator failed unexpectedly"
cat "$error_file" >&2
exit 1
fi
if [[ "$rc" -ne 0 && "$rc" -ne 1 ]]; then
cat "$error_file" >&2
exit "$rc"
fi
cp "$report_file" report.md

- name: Invalidate stale format completion after an invalid issue change
if: >-
Expand Down
16 changes: 16 additions & 0 deletions langsmith-fleet-worker-attempt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"agent": "codex",
"cli_version": "0.144.1",
"emitted_at": "2026-08-07T17:46:15.035406Z",
"execution_profile": "codex-default",
"fallback_models": [
"gpt-5.5"
],
"operation_role": "worker",
"pr_number": "2973",
"requested_model": "gpt-5.6-terra",
"runner": "reusable-codex-run",
"schema": "langsmith-fleet/v1",
"selected_model": "",
"selection_reason": ""
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,19 +62,29 @@ jobs:
if: steps.issue.outputs.exempt != 'true'
run: |
set +e
report_file="$(mktemp)"
error_file="$(mktemp)"
trap 'rm -f "$report_file" "$error_file"' EXIT
if [[ ! -f .github/scripts/issue_format.py ]]; then
echo "validator absent — skipping while this repo is mid-sync"
echo "rc=skip" >> "$GITHUB_OUTPUT"
exit 0
fi
python3 .github/scripts/issue_format.py body.md > report.md
python3 .github/scripts/issue_format.py body.md > "$report_file" 2> "$error_file"
rc=$?
set -e
echo "rc=$rc" >> "$GITHUB_OUTPUT"
cat report.md || true
cat "$report_file" || true
if [[ "$rc" -eq 1 && -s "$error_file" ]]; then
echo "::error::issue-format validator failed unexpectedly"
cat "$error_file" >&2
exit 1
fi
if [[ "$rc" -ne 0 && "$rc" -ne 1 ]]; then
cat "$error_file" >&2
exit "$rc"
fi
cp "$report_file" report.md

- name: Invalidate stale format completion after an invalid issue change
if: >-
Expand Down
Loading