Troubleshooting Guide
Common Issues
Manifest Not Generated
Symptoms:
- Workflow completes but no
.dependabit/folder created - Action output shows 0 dependencies found
Possible Causes & Solutions:
LLM Provider Not Available
Error: GitHub Copilot CLI not found- Ensure GitHub Copilot is enabled for your organization
- Check that the
ghCLI is installed on the runner - Verify authentication:
gh auth status
No Discoverable Dependencies
- Repository may not have external documentation links
- Check README.md and code comments for URLs
- Try running with
debug: truefor verbose output
Permission Issues
Error: Resource not accessible by integration- Add
contents: writepermission to workflow - Check repository settings for Actions permissions
- Add
Debug Command:
- uses: pradeepmouli/dependabit@v1
with:
action: generate
debug: 'true' # Enable verbose loggingNo Issues Created on Change Detection
Symptoms:
- Check action detects changes
- No GitHub issues appear
- Logs show "Issue creation skipped"
Possible Causes & Solutions:
Missing Permissions
yamlpermissions: issues: write # Required for issue creationIssue Already Exists
- Dependabit prevents duplicate issues
- Check for existing open issues with
dependabitlabel - Close or resolve existing issues first
Monitoring Disabled
yaml# .dependabit/config.yml monitoring: enabled: true # Must be trueSeverity Filter Too High
yaml- uses: pradeepmouli/dependabit@v1 with: action: check severity_filter: minor # Allow all severities
High False Positive Rate
Symptoms:
- Many issues created for non-meaningful changes
- Content change detected but not relevant
- User reports issues as false positives
Possible Causes & Solutions:
Noisy URLs (ads, analytics, timestamps)
yaml# .dependabit/config.yml ignore: patterns: - ".*analytics.*" - ".*tracking.*" - ".*timestamp=.*"Volatile Content (news, feeds)
yamldependencies: - url: "https://volatile-site.com/feed" monitoring: ignoreChanges: true # Track but don't alertLow Detection Confidence
yamlmonitoring: falsePositiveThreshold: 0.2 # Require higher confidenceHTML Normalization Issues
- Dynamic content causing hash changes
- Contact maintainers for improved normalizer
Reporting False Positives:
- Add
false-positivelabel to generated issues - Dependabit tracks this for accuracy metrics
- Feedback helps improve detection
Rate Limit Exceeded
Symptoms:
Error: GitHub API rate limit exceeded
You have exceeded a secondary rate limitPossible Causes & Solutions:
Too Many Dependencies
- Reduce check frequency for large manifests
yamlschedule: interval: weekly # Instead of dailyConcurrent Workflows
- Add concurrency control:
yamlconcurrency: group: dependabit-${{ github.ref }} cancel-in-progress: truePer-Dependency Rate Limiting
yamldependencies: - url: "https://frequently-checked.com" schedule: interval: weekly # Reduce frequencyUse Authenticated Requests
yaml- uses: pradeepmouli/dependabit@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }}
Checking Rate Limit:
gh api rate_limitManifest Validation Fails
Symptoms:
Error: Schema validation failed
Error: Duplicate dependency IDs found
Error: Invalid URL formatCommon Validation Errors:
Invalid UUID
json{ "id": "not-a-uuid" // ❌ Wrong "id": "550e8400-e29b-41d4-a716-446655440000" // ✓ Correct }Missing Required Fields
json{ "url": "https://example.com", // Missing: type, accessMethod, name, currentStateHash, etc. }Invalid Timestamps
json{ "lastChecked": "2024-01-15" // ❌ Missing time "lastChecked": "2024-01-15T00:00:00Z" // ✓ ISO 8601 }Statistics Mismatch
totalDependenciesmust equaldependencies.length- Counts in
byTypemust sum to total
Validation Command:
- uses: pradeepmouli/dependabit@v1
with:
action: validate
manifest_path: .dependabit/manifest.jsonLLM Analysis Fails
Symptoms:
Error: LLM request failed
Error: Token limit exceeded
Error: Rate limit for Copilot CLIPossible Causes & Solutions:
Token Budget Exceeded
yamlllm: maxTokens: 8000 # Increase limitCopilot Rate Limited
- Wait and retry (automatic with backoff)
- Reduce analysis frequency
- Use batch processing
Invalid API Key (for non-Copilot providers)
- Verify secret is set: Settings → Secrets → Actions
- Check key hasn't expired
- Ensure key has required permissions
Network Issues
- Add retry logic (built-in)
- Check GitHub Actions status page
Workflow Timeout
Symptoms:
Error: The job running on runner has exceeded the maximum execution timeSolutions:
Reduce Dependency Count
yamldependencies: - url: "https://low-priority.com" monitoring: enabled: false # Skip low-priority depsIncrease Timeout
yamljobs: check: timeout-minutes: 30 # Default is 360Optimize Check Frequency
- Not all deps need daily checks
- Use per-dependency schedules
Parallelize
- Split manifest into multiple workflows
- Use matrix strategy for parallel checks
Debug Mode
Enable comprehensive logging:
- uses: pradeepmouli/dependabit@v1
with:
action: check
debug: 'true'
env:
ACTIONS_STEP_DEBUG: trueDebug output includes:
- LLM prompts and responses
- API request/response details
- Timing information
- Rate limit status
- Content normalization steps
Log Analysis
Finding the Root Cause
Check Action Outputs
Run pradeepmouli/dependabit@v1 with: action: checkLook for error messages after this line.
Review Annotations
- Warnings appear as yellow annotations
- Errors appear as red annotations
Download Artifacts
- Debug logs often saved as artifacts
- Download for local analysis
Common Log Patterns
Successful Check:
Checking 15 dependencies (2 skipped)...
✓ react.dev/reference: no changes
✓ github.com/vercel/ai: version 3.0.0 → 3.1.0 (minor)
Changes detected: 1
Issues created: 1Rate Limit Warning:
⚠ GitHub API rate limit: 50/5000 remaining
Waiting 30 seconds for rate limit reset...LLM Fallback:
⚠ LLM analysis unavailable, using programmatic detection only
Detection confidence may be lowerGetting Help
Before Asking for Help
- Check this guide for common issues
- Enable debug mode and review logs
- Validate your manifest manually
- Check GitHub Actions status for platform issues
Filing an Issue
Include:
- Workflow file (sanitize secrets)
- Action version (e.g.,
pradeepmouli/dependabit@v1.2.3) - Error messages (full log preferred)
- Manifest snippet (if relevant)
- Expected vs actual behavior
Issue Template:
## Description
Brief description of the issue
## Reproduction Steps
1. Configure workflow with...
2. Run generate action...
3. Observe error...
## Expected Behavior
What should happen
## Actual Behavior
What actually happens
## Logs
\`\`\`
[Paste relevant logs here]
\`\`\`
## Environment
- Dependabit version: v1.x.x
- Runner: ubuntu-latest
- Node version: 20Support Resources
- Documentation:
docs/ - Issues: https://github.com/pradeepmouli/dependabit/issues
- Discussions: https://github.com/pradeepmouli/dependabit/discussions