Skip to content

feat: generic e2e reusable workflow with auto-detection#15

Open
lcian wants to merge 1 commit intomainfrom
feat/generic-e2e-workflow
Open

feat: generic e2e reusable workflow with auto-detection#15
lcian wants to merge 1 commit intomainfrom
feat/generic-e2e-workflow

Conversation

@lcian
Copy link
Member

@lcian lcian commented Feb 17, 2026

Summary

  • Add a reusable e2e.yml workflow that auto-detects SDK language from the app directory, replacing per-language workflow files
  • Add list-apps and resolve-version CLI commands to bench.py for use in CI and local dev
  • Compute summary overhead metrics (p50/p99 latency, throughput) from raw vegeta latencies in lib/runner.py
  • Add tests for the new CLI commands

Test plan

  • pytest tests/ — all 48 tests pass
  • Manually trigger the e2e.yml workflow for a Go app to validate end-to-end

🤖 Generated with Claude Code

- Add reusable e2e.yml workflow that auto-detects SDK language
- Add list-apps and resolve-version CLI commands to bench.py
- Compute summary overhead metrics from raw vegeta latencies
- Add tests for new CLI commands

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

app: ${{ matrix.app }}
sdk-version: ${{ needs.discover.outputs.sdk-version }}
iterations: ${{ inputs.iterations || 1 }}
post-comment: ${{ inputs.post-comment == '' && true || inputs.post-comment }}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Boolean false coerced to true by loose equality

High Severity

The expression inputs.post-comment == '' matches boolean false in addition to empty/unset values, because GitHub Actions' == operator coerces both false and '' to the number 0 before comparing. When a workflow_call caller explicitly passes post-comment: false, the expression evaluates to true, making it impossible to disable PR comment posting. A safer approach would use inputs.post-comment != '' with fromJSON() or handle the boolean type directly.

Fix in Cursor Fix in Web

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