Troubleshooting Guide
This guide helps you resolve common issues with Linear And GitHub Extension (LAGE).
Table of Contents
Installation Issues
Extension Won’t Install
Symptoms: Chrome refuses to install the extension
Possible Causes:
- Corrupted download
- Incompatible Chrome version
- Manifest validation errors
Solutions:
-
Verify Chrome Version
Minimum required: Chrome 88+
Check your version: chrome://settings/help
-
Clear Browser Cache
- Go to
chrome://settings/clearBrowserData
- Select “Cached images and files”
- Clear data
-
Download Fresh Copy
-
Manual Installation
- Unzip the extension
- Go to
chrome://extensions/
- Enable “Developer mode”
- Click “Load unpacked”
- Select the folder
Extension Installed But Not Appearing
Symptoms: Extension icon not visible in toolbar
Solutions:
-
Pin the Extension
- Click the puzzle icon in Chrome toolbar
- Find “Linear And GitHub Extension”
- Click the pin icon
-
Check Extension is Enabled
- Go to
chrome://extensions/
- Ensure LAGE toggle is ON
-
Restart Chrome
- Close all Chrome windows
- Reopen Chrome
API Key Issues
“Invalid API Key” Error
Symptoms: Extension shows “Invalid API Key” message
Possible Causes:
- Key copied incorrectly
- Key revoked in Linear
- Network issues
- Linear API temporarily down
Solutions:
-
Verify Key Format
- Should start with
lin_api_
- No spaces before or after
- Complete key string copied
-
Test Key Manually
# Test with curl (replace YOUR_KEY with your actual key)
curl -H "Authorization: YOUR_KEY" https://api.linear.app/graphql \
-H "Content-Type: application/json" \
-d '{"query":"{ viewer { id name } }"}'
-
Generate New Key
-
Check Linear Status
API Key Not Saving
Symptoms: Key disappears after saving
Possible Causes:
- Chrome storage quota exceeded
- Chrome sync disabled
- Browser profile issues
Solutions:
-
Check Storage Permissions
- Go to
chrome://extensions/
- Check LAGE has storage permissions
-
Clear Extension Storage
// Open LAGE background page console
// Go to chrome://extensions/ > LAGE > "background page"
chrome.storage.sync.clear(() => {
console.log('Storage cleared')
})
-
Disable/Re-enable Chrome Sync
- Go to
chrome://settings/syncSetup
- Toggle sync off and on
-
Try Incognito Mode
- Enable LAGE in incognito:
chrome://extensions/
- Test if key saves there
Extension Not Working
No UI Elements on GitHub
Symptoms: LAGE doesn’t appear on GitHub pages
Possible Causes:
- Extension disabled
- Wrong GitHub page type
- Content script injection failed
- Conflicting extensions
Solutions:
-
Verify You’re on Supported Pages
- LAGE only works on GitHub Pull Request and Compare pages
- See FAQ for complete list
-
Check Console for Errors
- Open Chrome DevTools (F12)
- Check Console tab for errors
- Look for LAGE-related messages
-
Reload the Page
- Hard refresh:
Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac)
-
Disable Other Extensions
- Go to
chrome://extensions/
- Disable other extensions one by one
- Test after each disable
-
Check Host Permissions
- Go to
chrome://extensions/
- Click LAGE details
- Verify permissions for
github.com and linear.app
Extension Crashes or Freezes Chrome
Symptoms: Chrome becomes unresponsive
Possible Causes:
- Memory leak
- Infinite loop in content script
- Too many API requests
Solutions:
-
Disable LAGE
- Go to
chrome://extensions/
- Toggle LAGE off
-
Clear Browser Data
- Go to
chrome://settings/clearBrowserData
- Select all data types
- Clear data
-
Update Chrome
- Go to
chrome://settings/help
- Update to latest version
-
Report the Issue
- Open an issue on GitHub
- Include steps to reproduce
Linear Issues Not Displaying
Issues Detected But Not Showing Details
Symptoms: Issue codes detected but no details displayed
Possible Causes:
- API rate limiting
- Issues in different workspace
- Insufficient permissions
- Private issues
Solutions:
-
Verify API Key Has Access
- Log into Linear
- Manually check you can see the issues
- Verify workspace matches issue prefix
-
Check Issue Code Format
- Valid format:
PROJ-123 (letters/numbers-number)
- Case-sensitive
- Must match your workspace teams
-
Wait and Retry
- Linear API has rate limits
- Wait a few minutes
- Reload the page
-
Check Linear Workspace
- Ensure you’re in the correct workspace
- API key must be from the same workspace
No Issues Detected
Symptoms: LAGE shows “No Linear issues found”
Possible Causes:
- No issue codes in PR/compare
- Issue codes don’t match format
- Text is in images or comments
Solutions:
-
Verify Issue Codes Exist
- Check PR title, description, commit messages
- Must match format:
[A-Z0-9]{1,7}-\d+ (e.g., PROJ-123)
- See FAQ for detection details
-
Check Where Codes Are Located
- LAGE scans: PR title, description, commit messages
- LAGE doesn’t scan: Comments, file contents, images
-
Test with Known Issue
- Add a test issue code like
TEST-1 to PR description
- See if LAGE detects it
Incorrect Issue Details
Symptoms: Issue details are wrong or outdated
Possible Causes:
- Caching issues
- Linear data updated after fetch
- API response delay
Solutions:
-
Reload the Page
- Hard refresh to clear cache
Ctrl+Shift+R (Windows) or Cmd+Shift+R (Mac)
-
Clear Extension Storage
- Go to
chrome://extensions/
- Click LAGE details
- Click “Clear storage”
-
Verify in Linear
- Open the issue in Linear
- Compare details with what LAGE shows
- Report discrepancies on GitHub
Extension Slows Down GitHub
Symptoms: GitHub pages load slowly
Possible Causes:
- Too many API requests
- Large PRs with many issues
- Memory leaks
Solutions:
-
Limit Open Tabs
- Close unused GitHub tabs
- Reduce number of PRs open simultaneously
-
Disable and Re-enable
- Toggle LAGE off when not needed
- Enable only on pages you need it
-
Check Chrome Task Manager
Shift+Esc to open Task Manager
- Check LAGE memory usage
- End process if excessive
-
Update Extension
- Check for latest version
- Updates may include performance fixes
Slow API Responses
Symptoms: Long loading times for issue details
Possible Causes:
- Linear API latency
- Network issues
- Rate limiting
Solutions:
-
Check Network Connection
- Test internet speed
- Try different network
-
Check Linear Status
-
Wait for Cache
- First load is slower
- Subsequent loads use cache
Browser Compatibility
Issues in Chrome
Minimum Version: Chrome 88+
Known Issues:
Solutions:
- Update to latest Chrome version
- Clear browser cache and cookies
Issues in Other Browsers
Firefox: Not yet supported
Edge: Should work (Chromium-based) but not officially tested
Safari: Not yet supported
Opera: Not tested
Solutions:
- Use Chrome for now
- Check Roadmap for browser support plans
Development Issues
Build Errors
Symptoms: pnpm build fails
Solutions:
-
Clean Install
rm -rf node_modules pnpm-lock.yaml
pnpm install --frozen-lockfile
-
Clean Build
rm -rf build/ .plasmo/ tsconfig.tsbuildinfo
pnpm build
-
Check Node Version
node --version # Should be 20.x+
-
Check pnpm Version
pnpm --version # Should be 9.12.0
Lint Errors
Symptoms: pnpm lint fails
Solutions:
-
Auto-fix Issues
-
Check Specific Files
pnpm lint:files --fix path/to/file.tsx
-
Clear ESLint Cache
rm -rf build/.eslintcache
pnpm lint
Type Errors
Symptoms: pnpm lint:tsc fails
Solutions:
-
Clean TypeScript Cache
rm tsconfig.tsbuildinfo
pnpm lint:tsc
-
Restart IDE
- Close and reopen your code editor
- VSCode: Cmd/Ctrl+Shift+P > “Reload Window”
-
Check Type Definitions
- Ensure
@types/* packages are installed
- Check
tsconfig.json is correct
Extension Not Hot Reloading
Symptoms: Changes don’t appear after saving
Solutions:
-
Restart Dev Server
# Stop current server (Ctrl+C)
rm -rf .plasmo/
pnpm dev
-
Manually Reload Extension
- Go to
chrome://extensions/
- Click reload button on LAGE
-
Check File Watcher
- Ensure your editor saves files
- Check file system watchers not at limit (Linux)
Getting Help
Before Asking for Help
-
Search Existing Issues
-
Check Documentation
-
Gather Information
- LAGE version
- Chrome version
- Operating system
- Console errors
- Steps to reproduce
Where to Ask
What to Include
When reporting issues:
- Clear description of the problem
- Steps to reproduce
- Expected vs actual behavior
- Screenshots or videos
- Browser console errors
- LAGE version and browser version
Common Error Messages
“Network error”
- Cause: Can’t reach Linear API
- Fix: Check internet connection, firewall, VPN
“Permission denied”
- Cause: API key lacks permissions
- Fix: Generate new key, check workspace access
“Rate limit exceeded”
- Cause: Too many API requests
- Fix: Wait a few minutes, reload page
“Extension context invalidated”
- Cause: Extension reloaded while page was open
- Fix: Reload the GitHub page
Debug Mode
To enable debug logging:
- Open Chrome DevTools (F12)
- Go to Console tab
- Look for LAGE messages
- Include these in bug reports
Still Having Issues?
If none of these solutions work:
-
Collect Debug Information
- LAGE version
- Chrome version: chrome://version
- Console errors (F12 > Console)
- Network requests (F12 > Network)
-
Open an Issue
-
Be Patient
- Maintainers will respond as soon as possible
- Provide any additional information requested
Thank you for using LAGE! We’re here to help. 🙏