8000 docs: add troubleshooting section to workflows.md and fix typo by dkastl · Pull Request #2 · geolonia/.github · GitHub
[go: up one dir, main page]

Skip to content

docs: add troubleshooting section to workflows.md and fix typo - #2

Merged
dkastl merged 3 commits into
mainfrom
issue-1-workflows-troubleshooting
Feb 18, 2026
Merged

dkastl merged 3 commits into
mainfrom
issue-1-workflows-troubleshooting

Conversation

@dkastl
@dkastl dkastl commented Feb 18, 2026 •
Copy link
Copy Markdown
Contributor

Summary

  • Fix typo displayes → displays and missing space before backtick on line 9
  • Add Troubleshooting section covering the most common workflow debugging scenarios

Changes

  • docs/workflows.md: typo fix + new Troubleshooting section (viewing logs, workflow_dispatch, secrets errors, reusable workflow not found, TechDocs AWS credentials)

Test plan

  • Verify the typo is fixed in the rendered markdown
  • Verify all code blocks in the new section render correctly
  • Verify internal links/references are accurate

Closes #1

🤖 Generated with Claude Code

Summary by CodeRabbit

Release Notes

  • Documentation
    • Updated PR review workflow guidance with new automated review process and updated merge criteria
    • Added comprehensive troubleshooting guide covering workflow logs, manual triggers, secrets configuration, reusable workflows, and credential setup

dkastl and others added 2 commits February 18, 2026 11:50
…rge policy

Expand the Code reviews section to make the CodeRabbit review step
explicit: wait for the automated review before requesting human approval,
resolve all CodeRabbit threads, and do not merge until CI, CodeRabbit,
and at least one human reviewer have all approved.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Fix typo: 'displayes' -> 'displays' and add missing space before backtick
- Add Troubleshooting section covering: viewing run logs (UI + CLI),
  triggering workflow_dispatch manually, common secrets errors, reusable
  workflow not found, and TechDocs AWS credentials failures

Closes #1

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
coderabbitai Bot commented Feb 18, 2026 •
Copy link
Copy Markdown

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

This PR updates documentation by fixing a typo and adding troubleshooting guidance to workflows documentation, while revising the review and merge policy to incorporate automated CodeRabbit checks and explicit multi-condition merge requirements.

Changes

Cohort / File(s) Summary
Documentation Updates
docs/agent-policy.md
Updated review process guidance to integrate automated CodeRabbit reviews, explicit comment resolution requirements, and new merge criteria (CI checks pass, blocking comments resolved, human approval required).
Documentation & Troubleshooting
docs/workflows.md
Fixed typo ("displayes" → "displays"), added comprehensive Troubleshooting section covering workflow log viewing, manual triggering, secrets configuration errors, reusable workflow resolution, and AWS credentials validation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Out of Scope Cha 8000 nges check ⚠️ Warning PR includes out-of-scope changes to docs/agent-policy.md unrelated to issue #1, which only requires changes to docs/workflows.md. Remove changes to docs/agent-policy.md or create a separate PR for those modifications, as they are outside the scope of issue #1.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed Title accurately summarizes the main changes: fixing a typo and adding a troubleshooting section to workflows.md.
Description check ✅ Passed PR description clearly outlines the changes, includes test plan items, and aligns with the repository template structure.
Linked Issues check ✅ Passed PR fully addresses issue #1: typo fixed (displayes→displays), space added before backtick, and comprehensive Troubleshooting section added covering all required scenarios.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch issue-1-workflows-troubleshooting

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/workflows.md`:
- Around line 107-116: The docs section "Reusable workflow not found (`Could not
find reusable workflow`)" currently recommends `gh release list`, which may miss
tags; update that guidance to show a direct tag existence check instead by
recommending `git ls-remote --tags <repo-url> | grep <tag-name>` as the primary
command and include an alternative using the GitHub API `gh api
repos/<owner>/<repo>/git/refs/tags --jq '.[].ref' | grep <tag-name>` for users
who prefer GH CLI; keep the original release-based command as an optional
simpler fallback and clarify that the tag check is the more accurate method for
resolving reusable workflow ref errors.

Comment thread docs/workflows.md
Comment on lines +107 to +116
### Reusable workflow not found (`Could not find reusable workflow`)

The caller is likely pinned to a tag that does not exist yet in this repo, or
the ref has been deleted. Check the tag exists:

```bash
gh release list --repo geolonia/.github --limit 10
```

If the tag is missing, create it from the appropriate commit on `main`.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick | 🔵 Trivial

Consider a more direct command for checking tag existence.

The gh release list command shows releases, which may not include all tags. Reusable workflows reference tags directly, so checking for tag existence specifically would be more accurate:

git ls-remote --tags https://github.com/geolonia/.github | grep <tag-name>

or

gh api repos/geolonia/.github/git/refs/tags --jq '.[].ref' | grep <tag-name>

That said, if your workflow tags are always associated with releases, the current command is practical and simpler for users.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/workflows.md` around lines 107 - 116, The docs section "Reusable
workflow not found (`Could not find reusable workflow`)" currently recommends
`gh release list`, which may miss tags; update that guidance to show a direct
tag existence check instead by recommending `git ls-remote --tags <repo-url> |
grep <tag-name>` as the primary command and include an alternative using the
GitHub API `gh api repos/<owner>/<repo>/git/refs/tags --jq '.[].ref' | grep
<tag-name>` for users who prefer GH CLI; keep the original release-based command
as an optional simpler fallback and clarify that the tag check is the more
accurate method for resolving reusable workflow ref errors.

Replace the sole 'gh release list' recommendation with a direct tag
existence check using 'git ls-remote --tags' and 'gh api .../git/refs/tags'
as the primary commands (more accurate than release list). Keep 'gh release
list' as an optional simpler fallback with a note that releases and tags are
not always in sync.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

docs: add troubleshooting section to workflows.md and fix typo

1 participant

0