You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Analyzed 261 workflows in .github/workflows/ using the workflow index. Reviewed existing shared components in .github/workflows/shared/ (80+ files). Identified 3 high-impact reuse opportunities, prioritized by breadth and extraction complexity.
Method
Parsed workflow-index.json to extract import co-occurrence patterns
Cross-referenced against existing shared/ bundles to avoid duplicate recommendations
Ranked by: workflow count x extraction complexity (lower = better)
Total workflows affected: ~79 across all 3 recommendations
Approximate line savings: ~166 import lines
Key benefit: The reporting-otlp.md opportunity is a zero-cost migration — the shared component already exists, 52 workflows just aren't using it yet
Recommendation 1 — Migrate to shared/reporting-otlp.md (52 workflows)
shared/reporting-otlp.md already bundles shared/reporting.md + shared/otlp.md. However 52 workflows still import both files directly.
Example workflows: agent-performance-analyzer.md, agent-persona-explorer.md, approach-validator.md, artifacts-summary.md, auto-triage-issues.md, aw-failure-investigator.md, ci-coach.md, cli-version-checker.md, cloclo.md, commit-changes-analyzer.md, and 42 more.
# After migrationimports:
- shared/reporting-otlp.md
8 engine smoke test workflows (claude, codex, copilot, copilot-arm, copilot-aoai-apikey, copilot-aoai-entra, gemini, opencode) share the core combination of shared/gh.md + shared/token-telemetry-check.md + shared/reporting-otlp.md. A shared/smoke-engine-base.md bundle would standardize the smoke test scaffold and reduce divergence risk.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Overview
Analyzed 261 workflows in
.github/workflows/using the workflow index. Reviewed existing shared components in.github/workflows/shared/(80+ files). Identified 3 high-impact reuse opportunities, prioritized by breadth and extraction complexity.Method
workflow-index.jsonto extract import co-occurrence patternsshared/bundles to avoid duplicate recommendationsIdentified Opportunities
shared/reporting-otlp.mdshared/guard-otlp.mdshared/smoke-engine-base.mdImpact Summary
reporting-otlp.mdopportunity is a zero-cost migration — the shared component already exists, 52 workflows just aren't using it yetRecommendation 1 — Migrate to shared/reporting-otlp.md (52 workflows)
shared/reporting-otlp.mdalready bundlesshared/reporting.md+shared/otlp.md. However 52 workflows still import both files directly.Example workflows:
agent-performance-analyzer.md,agent-persona-explorer.md,approach-validator.md,artifacts-summary.md,auto-triage-issues.md,aw-failure-investigator.md,ci-coach.md,cli-version-checker.md,cloclo.md,commit-changes-analyzer.md, and 42 more.Recommendation 2 — Create shared/guard-otlp.md (19 workflows)
19 workflows co-import
shared/github-guard-policy.md+shared/otlp.md. A newshared/guard-otlp.mdbundle would consolidate this pattern.Workflows:
auto-triage-issues.md,daily-agent-of-the-day-blog-writer.md,daily-doc-updater.md,daily-issues-report.md,discussion-task-miner.md,issue-arborist.md,issue-monster.md,issue-triage-agent.md,org-health-report.md,smoke-agent-public-approved.md,smoke-agent-scoped-approved.md,smoke-copilot-aoai-apikey.md,smoke-copilot-aoai-entra.md,smoke-copilot.md,stale-repo-identifier.md,weekly-blog-post-writer.md,weekly-issue-summary.md,weekly-safe-outputs-spec-review.md,workflow-generator.md.Recommendation 3 — Create shared/smoke-engine-base.md (8 workflows)
8 engine smoke test workflows (
claude,codex,copilot,copilot-arm,copilot-aoai-apikey,copilot-aoai-entra,gemini,opencode) share the core combination ofshared/gh.md+shared/token-telemetry-check.md+shared/reporting-otlp.md. Ashared/smoke-engine-base.mdbundle would standardize the smoke test scaffold and reduce divergence risk.References:
All reactions