Skip to content

CI: e2e-sandbox skipped for non-feature branches #196

Closed

Description

@neuromechanist

Problem

The e2e-sandbox CI job depends on a PR-specific npm package being published. The npm-publish workflow only triggers on branches matching feature/**:

on:
  push:
    branches:
      - dev
      - 'feature/**'

Branches created via gh issue develop use the pattern {issue-number}-{title} (e.g., 194-add-defensive-check-...), which doesn't match feature/**. This means:

  1. npm-publish never runs for these branches
  2. e2e-sandbox waits indefinitely for a package that will never be published
  3. The job eventually times out

Observed in PR #195.

Options

  • Broaden the npm-publish trigger to include all PR branches (e.g., '**' minus main)
  • Standardize branch naming to always use feature/ prefix
  • Make e2e-sandbox skip gracefully when no published package is available

Activity

  1. neuromechanist commented on May 14, 2026

    @neuromechanist
    ContributorAuthor

    Closing as fixed.

    .github/workflows/npm-publish.yml now triggers on '**' (with '!main' exclusion), so npm-publish runs for any feature branch regardless of naming. The race observed on PR #195 (gh issue develop-style branches not matching feature/**) no longer applies.

    If e2e-sandbox skipping resurfaces with a different root cause, please open a fresh issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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