Files
boshu2__agentops/tests/scripts/install-e2e-portable-timeout.bats
Bo 5145b37e3a fix: restore green GitHub backlog baseline (#913)
## Summary

- replace removed nightly retrieval commands with the maintained smoke
fixture and focused retrieval coverage
- repair Windows smoke, workflow/actionlint, skill projections,
installer fixtures, and stale Cathedral Cut tests
- refactor verdict validation below the complexity budget while
preserving its error contract
- incorporate the pending cross-runtime hook projection already
represented in the repository manifest

## Validation

- `go test -race -shuffle=on ./...`
- full Bats suite: 874/874 passed
- `scripts/ci-local-release.sh --quick`
- `ao gate check --full --json --workflow-coverage
--require-workflow-parity`: 65/65
- `ao gate check --fast --json`: 43/43

This PR repairs the common causes represented by open nightly issues
#900, #901, #903, #909, #910, and #912. Those issues will be closed only
after the corresponding workflows pass on `main`.

---------

Co-authored-by: boshu <241868352+boshu2@users.noreply.github.com>
Co-authored-by: Test <test@test.com>
2026-07-16 10:26:34 -04:00

23 lines
750 B
Bash

#!/usr/bin/env bats
setup() {
REPO_ROOT="$(cd "$BATS_TEST_DIRNAME/../.." && pwd)"
WORKFLOW_PATH="$REPO_ROOT/.github/workflows/install-e2e.yml"
}
@test "install-e2e runs install-smoke directly on both OS jobs" {
run grep -c "bash tests/install/test-install-smoke.sh" "$WORKFLOW_PATH"
[ "$status" -eq 0 ]
[ "$output" -eq 2 ]
}
@test "install-e2e no longer carries the retired timeout wrapper" {
run grep -E "run_with_timeout|command -v gtimeout|perl -e 'alarm shift @ARGV" "$WORKFLOW_PATH"
[ "$status" -eq 1 ]
}
@test "install-e2e no longer shells directly to GNU timeout for install-smoke" {
run grep -E "^[[:space:]]+timeout 60 bash tests/install/test-install-smoke.sh$" "$WORKFLOW_PATH"
[ "$status" -eq 1 ]
}