Overnight Queues Need Tight Scope
An overnight bug-fix queue sounds attractive: tag issues before you leave, wake up to pull requests. Switchboard is built for this kind of Linear issue-to-pull-request automation, but the workflow only works when the queue is narrow.
The right goal is not """fix every bug overnight.""" The right goal is """keep a selected set of bounded, reviewable bugs moving while humans are away."""
Pick The Right Bug Class
Good overnight candidates:
- Regressions with clear reproduction steps.
- Failing tests with known expected behavior.
- Small UI bugs with screenshots.
- Copy or validation message bugs.
- Backend bugs isolated to one module.
- Documentation bugs tied to a specific page.
Poor overnight candidates:
- Security-sensitive bugs.
- Data loss risks.
- Ambiguous customer reports.
- Cross-service incidents.
- Bugs that require product judgment.
- Migrations or infrastructure changes.
If a bug would require a meeting before a human starts coding, it should not be in the overnight queue.
Build A Dedicated Linear View
Use Linear filters and labels to create a specific view for eligible bugs. Linear""'s docs describe filters as a way to refine issue lists by properties such as status, priority, labels, team, assignee, and dates. For Switchboard, that filtering becomes the queue definition.
A useful view might be:
Team: Web
Label: switchboard-ready
Label: bug
Priority: Medium or Low
Status: Ready for AgentThis keeps the queue deliberate. A general bug backlog is too broad.
Configure One Route First
Start with one route:
- One Linear team.
- One repository.
- One daemon.
- One provider choice.
- One branch naming convention.
- Low concurrency.
- Clear route instructions.
Do not start by routing every team to every machine. Overnight automation should be boring before it becomes broad.
Set Review Expectations
An overnight queue should produce review-ready pull requests, not auto-merged work. Define what reviewers should expect in the morning:
- A PR linked to the Linear issue.
- A concise summary of the change.
- Tests or validation notes.
- A diff scoped to the issue.
- A clear note if the agent could not finish.
If a PR does not meet that bar, the reviewer sends it back or closes it. The queue improves when low-quality outputs are not quietly accepted.
Also decide who reviews first. An overnight queue without a morning owner turns completed work into another unattended inbox.
A Practical Nightly Routine
Before the end of the day:
- Review candidate bugs.
- Add the
switchboard-readylabel only to bounded issues. - Confirm each issue has reproduction steps and acceptance criteria.
- Check the target daemon is online.
- Keep concurrency conservative.
In the morning:
- Review completed runs.
- Check blocked runs first.
- Inspect PRs by risk, not by creation time.
- Feed repeated failures back into route instructions or issue templates.
- Remove issues from the queue if they are too ambiguous.
Example: Good Overnight Bug
Title: Empty invoice table shows wrong message
Reproduction:
Create a test account with no invoices and open Billing History.
Expected:
Empty state says "No invoices yet" and links to pricing.
Constraints:
Do not change billing data fetching.
Validation:
Run site typecheck.This is narrow, visible, and easy to review.
Example: Bad Overnight Bug
Title: Billing is confusing
Customers keep asking questions. Improve it.That may be important, but it is not an overnight automation task. It needs product work before implementation.
Tradeoffs
Overnight queues can create review pressure. If five PRs appear every morning and nobody reviews them, the queue becomes backlog reshuffling. Start with one or two issues per night.
There is also a risk of optimizing for easy bugs while harder bugs remain untouched. That is fine if you are honest about it. Switchboard is not a replacement for human prioritization.
Keep the queue intentionally narrow until the team proves it can review the output quickly and consistently.
Where Junction Fits
Switchboard adds the automation layer to Junction: Linear pickup, isolated worktrees, agent runs, and pull request creation. The rest of Junction gives you visibility into the runs, approvals, diffs, and activity.
If you are setting up the first queue, read How Switchboard Turns Linear Issues Into Pull Requests and Configure Switchboard Route Settings. Switchboard is available on the plan described on the pricing page.