Skip to content

Scope Tidy workflow to scheduled/explicit runs to eliminate push-driven API bursts#47353

Merged
pelikhan merged 2 commits into
mainfrom
copilot/deep-report-scope-tidy-workflow
Jul 22, 2026
Merged

Scope Tidy workflow to scheduled/explicit runs to eliminate push-driven API bursts#47353
pelikhan merged 2 commits into
mainfrom
copilot/deep-report-scope-tidy-workflow

Conversation

Copilot AI commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Deep report data showed Tidy as a disproportionate source of GitHub API spikes, with large call bursts concentrated in a small number of runs. This change narrows Tidy activation so routine main pushes no longer fan out expensive full-repo tidy executions.

  • Trigger scope reduction

    • Removed push trigger from /.github/workflows/tidy.md.
    • Tidy now runs only via:
      • scheduled run (daily around 7:00)
      • explicit/manual invocation (workflow_dispatch, slash-command/reaction flow)
  • Behavior alignment

    • Updated workflow description text to reflect schedule/command-only execution.
    • Recompiled generated workflow artifacts so runtime config matches source (tidy.lock.yml, routing metadata update in agentic_commands.yml).
  • Example (before → after)

# before
on:
  schedule:
    - cron: 'daily around 7:00'
  workflow_dispatch:
  slash_command:
    strategy: centralized
    events: [pull_request_comment]
  reaction: "eyes"
  push:
    branches: [main]
    paths:
      - '**/*.go'
      - '**/*.js'
      - '**/*.cjs'
      - '**/*.ts'

# after
on:
  schedule:
    - cron: 'daily around 7:00'
  workflow_dispatch:
  slash_command:
    strategy: centralized
    events: [pull_request_comment]
  reaction: "eyes"

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Profile and scope Tidy workflow for API call bursts Scope Tidy workflow to scheduled/explicit runs to eliminate push-driven API bursts Jul 22, 2026
Copilot AI requested a review from pelikhan July 22, 2026 16:08
@pelikhan
pelikhan marked this pull request as ready for review July 22, 2026 16:43
Copilot AI review requested due to automatic review settings July 22, 2026 16:43
@pelikhan
pelikhan merged commit 876ea3a into main Jul 22, 2026
@pelikhan
pelikhan deleted the copilot/deep-report-scope-tidy-workflow branch July 22, 2026 16:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Restricts Tidy to scheduled and explicit runs, reducing push-driven GitHub API bursts.

Changes:

  • Removes the main push trigger.
  • Updates descriptions and recompiles generated workflow metadata.
  • Preserves scheduled, manual, and slash-command execution.
Show a summary per file
File Description
.github/workflows/tidy.md Removes push activation and updates the description.
.github/workflows/tidy.lock.yml Regenerates the executable workflow.
.github/workflows/agentic_commands.yml Updates Tidy’s command help description.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Medium

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.83.1

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.

[deep-report] Scope the Tidy workflow to cut spiky GitHub API bursts (11k calls / 9 runs)

3 participants