Skip to content

E2E tests should exercise reusable workflow changes from the PR branch #965

Description

@ralphbean

What happens

Changes to the reusable workflow file (.github/workflows/fullsend.yaml) are not covered by e2e tests. The e2e suite does not trigger when that file is modified, and when it does run, the deployed test environment references the workflow from main rather than from the PR branch. This means workflow changes (like the OpenShell version pin in #882) merge untested.

What should happen

Two things need to change:

  1. Trigger: The e2e test workflow's path filter should include the reusable workflow file so that modifications to it cause the e2e suite to run.
  2. Ref override: The e2e test deployment should be configured to consume the reusable workflow from the PR's head ref instead of main, so the version under test is the one actually being changed.

How to verify

Once both pieces are in place, a smoke test would confirm coverage: open a PR that sets OPENSHELL_VERSION to a known-bad value (e.g., v0.0.0-bogus) and confirm the e2e suite fails. If it passes, the ref override isn't wired correctly.

Context

Raised during review of #882 (Renovate automation for OpenShell version pin). Could be addressed in a follow-up PR or folded into #882. See also #866 (e2e concurrency).

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagedTriaged but awaiting human prioritization

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions