Productivity & Workflow

Your Solo Dev Workflow Breaks at the Second Client

Automation saves a solo freelancer time until several client projects need attention at once. Then the first failure is usually not a slow build or a missing tool: it is a failed run with no clear next action. I would limit new workflow automation until every existing trigger has an owner, a retry rule, and a place to record exceptions—even if that means doing more work manually this week.

The exception queue grows faster than the work it replaces

A script that removes a repetitive step can still create a new obligation. If it opens a pull request, runs tests, or publishes a preview, someone must notice when it stops. For a solo freelancer, “someone” is the same person writing code, answering clients, and sending invoices. As projects accumulate, unattended runs produce exceptions faster than a busy afternoon can absorb them.

Dev Workflow Automation Tips for Faster Software Delivery is a useful starting point for removing repeatable work, but I would judge each proposed trigger by its failure-handling cost because successful runs are rarely the ones that interrupt a deadline. Before adding one, answer four questions: What event starts it? Where does failure appear? Who decides whether to retry? How can that person tell whether the previous attempt partly succeeded?

Those questions matter across familiar tools. A GitHub Actions run may fail after tests pass but before a package is published. A GitLab CI pipeline may be green while a separate client approval is still pending. A local shell script may exit cleanly despite an HTTP 429 response if its curl invocation does not treat HTTP errors as failures. The tools are different, but each can leave work in an ambiguous state unless the next action is visible.

The first limit I would set is a value to tune: keep no more than two unattended triggers per client repository until you can review their exceptions in one sitting. That is not a technical ceiling. It is a constraint on the number of places where unfinished work can hide. A repository with a test workflow and a release workflow may be manageable; adding scheduled dependency updates, automatic deployments, and notification bots gives you more independent failure streams to inspect.

Measure the queue in actions, not alerts. “CI failed” is an alert; “rerun after replacing an expired test credential” is an action. An illustrative measured count of six unresolved handoffs over seven days would tell me more than a high workflow success rate, because those six handoffs are the work that still competes with client delivery. Record the repository, last known result, next action, and date due. If you cannot fill in the next action, the exception is not resolved by marking the notification as read.

Retries make partial success harder to recognize

The most dangerous scaling shortcut is an automatic retry that assumes failure means nothing happened. A request can time out after the server accepts it; a release job can stop after uploading an artifact but before posting its link. Repeating the whole job may create duplicate records, overwrite a newer artifact, or send the same client notification twice. Retrying is safe only when you know which steps are idempotent.

For an API you control, an Idempotency-Key request header can identify a repeated operation, provided the server stores and checks that key. For a third-party API, read its documented behavior rather than assuming the header works. Treat HTTP 409 as a possible state conflict to investigate, not a generic signal to try again. Treat HTTP 429 according to the service’s rate-limit guidance, because immediate retries can prolong throttling. In either case, the reason for a retry belongs beside the job result.

I would not configure every failed job to rerun automatically, because a retry hides the distinction between a temporary network error and an operation that partly completed. Start with jobs whose effects are easy to inspect. Running pytest -x again is usually less ambiguous than repeating a job that creates a release or sends a message: the former reruns tests, while the latter may repeat an external effect.

Put a boundary around each workflow. In GitHub Actions, timeout-minutes: 10 is a reasonable initial value to tune for a small test job because a hung runner should not occupy your attention indefinitely; change it after observing normal runtimes. The concurrency setting can prevent overlapping runs, but choose cancel-in-progress: false for a side-effecting job unless cancellation is known to be safe, because stopping it midway can leave the next run unable to distinguish completed work from pending work. Give the workflow only the permissions it needs, such as contents: read for a job that merely checks out and tests code.

A useful checkpoint describes an externally verifiable state: “artifact exists with this commit SHA” is better than “upload step started.” Git’s commit SHA identifies the source, while a recorded artifact URL identifies the output. If the job fails between those states, you have a specific question to answer before rerunning. This takes more thought than adding a retry flag, but it prevents a small failure from becoming an uncertain client handoff.

A daily review beats another notification channel

Notifications are cheap to generate and expensive to interpret when every client repository has its own channel. I would keep one short exception ledger—a text file or SQLite 3 database—rather than forwarding every status change to email and chat. Its purpose is not to preserve a complete event history; GitHub Actions or GitLab CI already keeps run details. Its purpose is to state what you will do next.

A daily review can begin with the most recent GitHub Actions run for each repository. With the GitHub CLI (gh) installed and authenticated, this Bash script prints repositories whose latest run is missing, unfinished, or unsuccessful. Save it as a file, make it executable, and pass repositories as owner/name arguments:

#!/usr/bin/env bash
set -euo pipefail
for repo in "$@"; do
  result=$(gh run list -R "$repo" --limit 1 \
    --json status,conclusion,url \
    --jq '.[0] | [.status,.conclusion,.url] | @tsv')
  if [ -z "$result" ]; then
    printf 'CHECK %s: no workflow runs\n' "$repo"
    continue
  fi
  IFS=$'\t' read -r status conclusion url <<< "$result"
  if [ "$status" != completed ] || [ "$conclusion" != success ]; then
    printf 'CHECK %s: %s / %s %s\n' "$repo" "$status" "$conclusion" "$url"
  fi
done

This is a triage aid, not a deployment gate: the latest run may belong to a workflow unrelated to the one you care about. Once a repository has several workflows, use gh run list –workflow to inspect its named test or release workflow separately. The script also stops if the CLI cannot fetch results, which is preferable to silently treating an API failure as a clean day.

Spend an initial 15 minutes on the review; that is a suggested time box, not a promise that every failure will be fixed. Open each flagged run, write its next action in the ledger, and decide whether it blocks delivery. Include a due date for any exception you defer, because “later” becomes invisible when the next client request arrives. If the review repeatedly exceeds the time box, remove a trigger or narrow its scope before building a dashboard to display the growing queue.

Dev Workflow Hacks: Boost Productivity in Less Time is a prompt to reduce interruptions, but I would resist turning every exception into an instant notification because frequent context switches can consume the time the automation saved. Reserve an immediate alert for work with a real deadline or an external effect that cannot wait for the next review. Everything else can enter the ledger and receive a deliberate decision.

Hosted schedules win only when the machine running them is dependable

For a scheduled check, the practical choice is often GitHub Actions scheduled workflows versus a systemd timer on a machine you already use. GitHub Actions wins when your laptop may be closed for days, because the run does not depend on your machine being awake. Its costs are hosted-runner usage, repository-specific configuration, and another place to inspect failures. GitHub’s published minimum schedule interval is five minutes, but scheduled runs can be delayed, so I would not use them as a precise appointment clock.

A systemd timer wins when the check needs local files or credentials that you do not want to copy into a hosted environment. Its costs are your machine’s power and network availability, plus responsibility for inspecting its logs. A timer firing reliably is not enough: if the laptop is off when a client expects a result, the workflow has failed its purpose regardless of how tidy the unit file looks. For tasks that may be missed while the machine is off, evaluate the timer’s Persistent setting and the consequences of a late run before enabling it.

Choose based on the consequence of a missed or late execution, not on which scheduler looks more professional. A daily reminder to inspect stale branches can wait for a laptop to wake up; a client-facing publication deadline should not depend on it. Conversely, moving a local-only check to GitHub Actions may require storing secrets and reproducing files in CI, so the hosted option can create more maintenance than it removes.

Neither scheduler fixes an unclear exception. If a scheduled job fails, its output still needs a next action and a review time. That is why I would move a task to a new scheduler only after I can describe how I will detect a miss, distinguish a safe retry from a duplicate effect, and close the resulting ledger entry.

The next change should be a smaller queue

Tomorrow, list every unattended trigger across your client repositories and mark the last failure you have not acted on. For each one, write a next action and decide whether a rerun could repeat an external effect. Disable one trigger whose result you do not regularly inspect. You can restore it when its failure has a clear owner—which, for now, is you—and a safe way forward.