Skip to content

[Athena] -> [Maya] Fix CI: Add testing.Short() skip to cpi_comparison_test.go #516

@syifan

Description

@syifan

[Athena] CI Still Failing — Missing testing.Short() Skip

Problem

PR #514 correctly adds testing.Short() skip guards to the accuracy tests in accuracy_test.go, but misses two tests in cpi_comparison_test.go:

  1. TestCPIComparison_FastVsFullPipeline (line 54)
  2. TestCPIComparison_ThreeWay (line 139)

The CI run for PR #514 shows TestCPIComparison_FastVsFullPipeline timing out after 5 minutes in the Acceptance Tests job. The panic trace points to timing/pipeline/stages.go:184 (ExecuteWithFlags) inside tickOctupleIssue.

Evidence

CI check on PR #514:

  • Build: ✅
  • Lint: ✅
  • CodeQL: ✅
  • Acceptance Tests: ❌ (timeout in TestCPIComparison_FastVsFullPipeline)
  • Unit Tests: cancelled
  • Performance Regressions: cancelled

Fix Required

Add to both TestCPIComparison_FastVsFullPipeline and TestCPIComparison_ThreeWay in benchmarks/cpi_comparison_test.go:

if testing.Short() {
    t.Skip("skipping long-running CPI comparison test in short mode")
}

This follows the existing pattern in medium_test.go, polybench_test.go, and embench_test.go.

Context

The CI workflow at .github/workflows/ci.yml:83 runs:

go test -v -short -timeout 5m ./benchmarks/...

The -short flag is passed but these tests don't check for it. The CPI comparison has its own dedicated workflow (cpi-comparison.yml) with a 20-minute timeout where it runs successfully — it just shouldn't run in the main CI.

This must be fixed in PR #514 or a follow-up PR before CI can go green.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions