Skip to content

CI: improve manual-dispatch UX for the all-notebooks sweep#158

Open
bendichter wants to merge 1 commit into
masterfrom
improve-manual-sweep-trigger
Open

CI: improve manual-dispatch UX for the all-notebooks sweep#158
bendichter wants to merge 1 commit into
masterfrom
improve-manual-sweep-trigger

Conversation

@bendichter
Copy link
Copy Markdown
Member

The all-notebooks sweep workflow already had a workflow_dispatch trigger (added in PR #153), but the only input was a regex filter — awkward for the common ad-hoc use cases. Three improvements:

Changes

  1. Renamed to Test all notebooks (weekly + on-demand) so it's obvious from the Actions page that manual dispatch is supported.

  2. Added single_notebook input — paste one notebook path to test just that one, no regex needed. Overrides the filter if set. Useful for: "I just changed Sargolini, run only that against the full sweep environment."

  3. Added file_issue toggle (true/false dropdown, default true).

    • Scheduled weekly runs keep filing/updating the tracking issue as before.
    • Ad-hoc manual runs can be flipped to false to avoid noisy issue comments while iterating on a change.

How to use after this lands

Web UI:

Actions tab → "Test all notebooks (weekly + on-demand)"
  → "Run workflow" button (top right) → fill in inputs → Run.

CLI:

gh workflow run 'Test all notebooks (weekly + on-demand)' \
  -f single_notebook='000582/Sargolini2006/000582_Sargolini2006_demo.ipynb' \
  -f file_issue=false

Note: this was already partly possible

The workflow_dispatch trigger has existed since PR #153 merged — the "Run workflow" button has been on the Actions page since then. This PR just makes the inputs richer and the workflow name clearer.

🤖 Generated with Claude Code

The workflow already had a workflow_dispatch trigger (added in PR #153),
but the only input was the regex filter — which is awkward for the
common ad-hoc use cases. Three improvements:

- Rename to 'Test all notebooks (weekly + on-demand)' so it's obvious
  from the Actions page that manual dispatch is supported.

- Add `single_notebook` input — paste a notebook path to test just
  that one, no regex needed. Overrides the filter if set.

- Add `file_issue` toggle (true/false dropdown, default true). On
  scheduled weekly runs the tracking issue gets filed/updated as
  before; on ad-hoc dispatch a user can set it to false to avoid
  noisy issue comments while iterating.

How to use:

  Actions tab → 'Test all notebooks (weekly + on-demand)' →
    'Run workflow' button (top right) → fill in inputs → Run.

Or from the CLI:

  gh workflow run 'Test all notebooks (weekly + on-demand)' \
    -f single_notebook='000582/Sargolini2006/000582_Sargolini2006_demo.ipynb' \
    -f file_issue=false

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

Index page preview

A preview of the generated index.html has been deployed for this PR:

View preview

Last updated: commit 75f8bcae550748eeeb5c5575d1712498a23db15e

github-actions Bot added a commit that referenced this pull request May 13, 2026
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