[docs] docs: unbloat trial-ops.md (24% reduction)#19478
Merged
Conversation
Reduce trial-ops.md from 294 to 223 lines (24% reduction) by: - Merging redundant NOTE callout and intro paragraphs into one concise opener - Converting Repository Modes sub-sections into a compact table - Removing verbose Dry-Run Mode explanation - Condensing How Trial Mode Works bullet list to a single sentence - Condensing Comparing Multiple Workflows to remove the duplicate standalone example - Condensing Development Workflow 7-step list to a single prose sentence - Removing the Common Trial Patterns section (duplicated flag combinations shown earlier) All essential technical information is preserved. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pelikhan
approved these changes
Mar 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reduces docs/src/content/docs/patterns/trial-ops.md by ~24% (294 → 224 lines) by eliminating redundant content, consolidating verbose sections into prose or tables, and removing a "Common Trial Patterns" section whose examples were already covered elsewhere in the document.
Changes:
- Replaced the NOTE callout + 2 redundant intro paragraphs with a single concise opening sentence
- Converted 4 "Repository Modes" subsections into a compact table with a targeted WARNING callout
- Removed the "Common Trial Patterns" section (7 duplicate flag examples already shown in earlier sections), the 7-step "Development Workflow" numbered list (replaced with a prose sentence), and extraneous verbose descriptions throughout
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Comment on lines
212
to
217
| | `execution timed out` | Increase with `--timeout 60` (minutes, default: 30) | | ||
| | No issues/PRs created | Configure `safe-outputs` in workflow frontmatter, check Actions logs for errors | | ||
|
|
||
| ## Common Trial Patterns | ||
|
|
||
| **Pre-deployment validation:** | ||
| ```bash | ||
| gh aw trial ./new-feature.md --clone-repo myorg/production-repo --host-repo pre-deployment-test | ||
| ``` | ||
|
|
||
| **Prompt optimization:** | ||
| ```bash | ||
| gh aw trial ./workflow-detailed.md ./workflow-concise.md | ||
| cat trials/combined-results.*.json | jq | ||
| ``` | ||
|
|
||
| **Documentation examples:** | ||
| ```bash | ||
| gh aw trial ./workflow.md --force-delete-host-repo-before --host-repo workflow-demo | ||
| ``` | ||
|
|
||
| **Debugging production issues:** | ||
| ```bash | ||
| gh aw trial ./workflow.md --clone-repo myorg/production --trigger-context "https://github.com/myorg/production/issues/456" --host-repo debug-session | ||
| ``` | ||
|
|
||
| ## Related Documentation | ||
|
|
||
| - [SideRepoOps](/gh-aw/patterns/side-repo-ops/) - Run workflows from separate repositories |
There was a problem hiding this comment.
The PR description states the file was reduced to 223 lines, but the actual file has 224 lines. This is a minor discrepancy between the stated and actual result.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reduces
docs/src/content/docs/patterns/trial-ops.mdfrom 294 to 223 lines (71 lines removed, 24% reduction) while preserving all essential information.What was improved
File:
docs/src/content/docs/patterns/trial-ops.mdTypes of bloat removed
--dry-runalready impliesIssues
Screenshots: The sandbox network firewall prevented Playwright from connecting to the local preview server (
net::ERR_CONNECTION_REFUSEDon bothlocalhost:4321and172.30.0.20:4321). Screenshots could not be captured. The documentation build completed successfully (127 page(s) built in 32.46s, all internal links valid).References:
✨ PR Review Safe Output Test - Run 22649894679