Skip to content

fix(azure): tolerate terminal runs without a gate - #305

Merged
ruby-dlee merged 1 commit into
mainfrom
codex/azure-guest-terminal-classifier
Aug 22, 2026
Merged

fix(azure): tolerate terminal runs without a gate#305
ruby-dlee merged 1 commit into
mainfrom
codex/azure-guest-terminal-classifier

Conversation

@ruby-dlee

Copy link
Copy Markdown
Owner

Summary

  • allow terminal validation attempts with no awaiting gate to continue into result assembly
  • keep real awaiting-gate line detection unchanged
  • execute the shipped classifier line under strict shell mode for both empty and present gate cases

Root cause

The gate classifier ran a no-match grep pipeline under set -euo pipefail. A retained run that had already answered its gate completed reattach and status capture, then exited before building its authenticated result because no awaiting gate was expected in the new attempt log.

Evidence

  • the live retained attempt reached runtime hydration, reattach, status capture, Git reconciliation, and auth write-back, then published no result
  • its exact attempt log had zero awaiting lines and the shipped pipeline returned status 1
  • tests/run.sh tests/fm-azure-validation.test.sh
  • tests/run.sh tests/fm-behavior-shards.test.sh
  • bin/fm-behavior-shards.sh --check 8
  • pinned ShellCheck on the changed scripts, shell syntax, Python compile, and diff checks

@ruby-dlee
ruby-dlee merged commit 97e2ac7 into main Aug 22, 2026
13 checks passed
@ruby-dlee
ruby-dlee deleted the codex/azure-guest-terminal-classifier branch August 22, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant