How We Built an Agent-Driven QA Pipeline for Daily Releases

How Sharkly combines automated testing, seven specialized agents, task-based handoffs, and real Computers to run a repeatable QA loop from pull request to human sign-off.

Yukio Ikeda

25 November 2026

How We Built an Agent-Driven QA Pipeline for Daily Releases

All white-box tests passed. The type check was clean. But when our browser-testing agent opened the page, something was wrong.

The code was correct. The problem? Staging was running an older build.

Instead of reporting a false pass or filing a bogus bug, the agent marked the test as blocked, identified the version mismatch, and waited for the correct deployment.

Running tests is easy. Knowing whether you're testing the right thing is harder.

At Sharkly, we ship dozens of changes on normal days. To keep up, we've built a seven-agent QA workflow that connects tasks, code changes, releases, and test evidence—with humans making the final call.

Here's how it works.

Sharkly is a collaboration Space we built for people and agents: plan and track tasks the way you would in Jira, then hand one to an agent or a crew that runs it on its own Computer. The whole product-engineering-test loop can run AI-native, end to end.

One real issue, end to end

This one is a small change, and small is the point — a loop that only holds for big changes does not survive a daily release. Step 2 of onboarding, install and configure a Runtime, opened with a gray explainer card: "A Runtime is the environment an agent runs on." The fix hides that card in exactly one state — web, an org with no registered computer, the connect-a-new-machine guide on the screen — and keeps it in every other. Seven agents and one person take it from pull request to sign-off.

1. The issue is ready for QA, and the pull request is attached

Foster, the full-stack developer agent, did the change: two files — the onboarding step that draws the card, and its test file, written first. The commit landed on develop as d81aaed018. A person reviewed the diff and the tests, then moved the issue from In progress to Ready for QA.

Sharkly task SHK-15683, Onboarding optimization, with Foster’s completed developer run showing commit d81aaed018 and the Runtime information card marked for removal in the connect-a-new-machine state.

That status is the trigger. It wakes Whitney. Nobody goes and asks an agent to take a look.

Whitney's comment was a verdict, not a story. Testable. Then the checks.

The checks that mattered: the onboarding suite green at 141 cases, the type check clean, four new regression cases locking both sides of the condition, and one walk that confirmed the card and the guide ride the same flag, so they cannot drift apart. The diff itself was one condition and a comment.

Whitney also said what it could not prove. A unit test runs the component, not the page. The real states — a brand-new org with zero machines, a reconnect, the desktop app — were readings, not runs. Those became the risks it handed on: four states, and nobody had watched a browser do any of them.

Whitney’s white-box review on the onboarding task, recording 141 passing tests, a clean type check, the new regression cases, and the real browser states still requiring black-box verification.

2. April, when a diff touches an API

April reads the same diff from the caller's side: what goes out and what comes back. This change had no API in it, so April cleared it in one line. When a diff does change an endpoint, parameter, or response shape, April adds or retires the API cases, runs them on the version, and leaves Fiona to collect the API and UI results.

3. A version is ready for QA

Issues do not leave staging one laptop at a time. They leave in a version. When that version is ready for QA, Reed's only question is which issues and pull requests are inside it.

The gate for this issue was sharkly/v0.4.514-staging. The inclusion check passed: the fix commit is an ancestor of the tag, and it is not in sharkly/v0.4.513-staging. The change was in the version — that part Reed could prove from the repository alone.

What no repository can tell you is whether the running build on staging is that tag. Reed moved the issue to In QA on the strength of the tag; the browser would have the last word.

Reed’s version-gate result confirming that the onboarding fix commit is included in sharkly/v0.4.514-staging before the issue moves into QA.

This is what keeps a green test from being the test of the wrong build. The tag said the change was in. The staging web bundle had not followed it yet. The gap between those two sentences is where this issue's most useful run happens.

4. Cases, once the issue is in the version

The onboarding issue reached In QA with Whitney's comment already on it. Fiona, the crew lead, read the issue and dispatched the first step: cases.

Casey's pass was four cases: one P0, three P1. It recommended Willa — the change is a web rendering condition — and restated the requirement as four checkable statements: hide in the connect-guide state, keep in the other three.

It wrote the data, not just the steps: a fresh org with zero machines, a machine that goes online and offline, the desktop client installed. The four cases cover the state machine, not a demo, and "skip for now" still has to land in the app.

Casey’s test-case design for the onboarding change, listing one P0 and three P1 cases with the required accounts, machine states, priorities, and expected results.

The copy and the spacing were out of scope — the boundary went on the issue. The cases, priorities, and data ids went on as tables, so the executor runs a checklist, not a chat log.

5. Black-box, web or desktop

Web first: Willa, on the staging site, headless browser, fresh account. Her first run never reached the checks. C-001, the P0 smoke, hit a staging web still serving 0.4.513, so the card showed in the one state where it must hide: 0 passed, 0 failed, 1 blocked, 2 not run.

The blocked verdict is the part worth keeping. No bug filed against a product the agent had not seen, no case passed that it could not test. It wrote the mismatch on the issue — change first in v0.4.514-staging, web still on 0.4.513 — and stopped. Reed confirmed the other half: the commit was in the tag, the server was on 0.4.514, the web bundle had not followed. Environment, not product.

After the bundle rolled, the same three cases went green — C-001 on 0.4.515, C-002 and C-003 on 0.4.516 — and the page proved itself: the hide branch was inside the javascript bundle the browser loaded; the version endpoint only proves the server. What came back: an HTML report, seven step screenshots, three recordings, a version per case, and that bundle.

Willa’s rerun report after deployment, showing all three Web cases passing on browser bundles 0.4.515 and 0.4.516 with screenshots, recordings, and per-case version evidence attached.

Fiona posted the crew's verdict before the desktop case ran: three green, zero failed, zero blocked, the old block superseded. C-004 was listed as open, not a pass. The crew lead cites the report, pins a version to each case, and leaves the issue fields alone.

The desktop case belonged to Dex — "every state of the desktop app keeps the card" is a claim about a build Willa cannot touch. In the real installed app on the tester's Mac, the card stays, and a machine registered to another account offers a transfer entry instead of a connect button. The client's auto-upgrade also stopped the daemon mid-run, restored on the same machine identity; an environment deviation, kept on the record.

Dex’s desktop black-box result for C-004, confirming that the Runtime information card remains in the installed desktop app and recording the daemon restart during auto-upgrade as an environment deviation.

Dex's case made it four, and Fiona closed the record: four passes — three on web, one on the real desktop app — evidence and deviation kept, the status, the tag, and the assignee untouched. Four seats, one crew: Casey wrote the cases, Willa ran them on the web, Dex on the installed app, and Fiona collected and closed. Nobody routed the issue by hand.

A short version of this story would say four cases, four passes. The run record does not: the first pass blocked on an old build and said so with version numbers before any human asked. A wrong green is worse than an honest block.

6. A person accepts

Acceptance is two checks.

  1. Walk the path once, looking for what no agent was told to try.
  2. Open the evidence and decide whether the run was honest. The right build. The right account. The screenshots matching the case ids. The blocked cases really blocked.

Then the issue can move to Ready to ship. Dex does not move it. Whitney's instructions forbid status changes for the same reason. The status that means "we believe this" belongs to a person. If the evidence is wrong, the person files a bug and the issue goes back through the loop.

Who does which job

Seven agents, one loop. Whitney and April work at Ready for QA; Reed gates the version; from In QA, Fiona dispatches Casey and the right black-box executor, then posts the crew verdict.

AgentStarts whenOwnsDoes not own
Fiona · crew leadAn issue moves to In QADispatch and the crew verdict. Reads what the issue needs, routes white-box, cases, and the executor, and posts the consolidated resultRunning the cases itself, changing status, tag, or assignee
Whitney · white-boxOne issue is ready for QA, and its pull request is attachedWhite-box. Confirms the pull request belongs to the issue, runs the tests, posts the risksCases, black-box, status changes, bugs, editing the repo
April · APIWhitney's result is on the issue, and the diff touches an API — or mightThe API verdict: which endpoints, parameters, or response shapes changed, and which API cases to add or retireThe real page, black-box execution, the acceptance call
Reed · version gateA version is ready for QAWhich issues and pull requests that version contains. Moves only those issues to In QAA test plan for an issue whose pull request is not in the version
Casey · casesThe issue is In QA, and Whitney's result is already on itTest data and casesDriving the product
Willa · webThe cases are for the web appBrowser black-box, headless. Report, screenshots, recordings, open itemsInstall and upgrade of the desktop app
Dex · desktopThe cases are for the desktop appDesktop black-box, including install and upgradePretending a case ran when the machine it needed was offline

The seven are one crew, not seven agents messaging each other: one roster, one lead, and the lead decides what the issue needs next. Fiona is the lead, and she is the only seat that tests nothing. The specialists post evidence and leave the issue's fields alone; she posts the consolidated verdict — what passed, what is still open, what was blocked and why — and touches no status, tag, or assignee. The move to Ready to ship stays with a person.

How an issue moves

Two things enter testing. They are not the same thing, and they do not wait for each other. They meet when the cases are written.

QA loop flowchart: agent opens PR, issue moves to Ready for QA, Whitney runs the white-box check, Reed confirms version contents, Casey writes test data and cases, Willa or Dex run web or desktop black-box tests, a person accepts, issue marked Ready to ship
  1. One issue, one pull request. The developer finishes, links the pull request; a person reviews it, and moves the issue to Ready for QA. Whitney starts without anyone asking. Whitney checks that the pull request belongs to this issue, runs the white-box pass, and writes the result on the issue. Anything Whitney finds goes back to the developer. Whitney does not write cases, and Whitney does not start the black-box run. After the white-box verdict, April reads the same diff from the API side and opens a track of its own when there is an API in it.
  2. One version. When a version is ready for QA, Reed lists the issues and pull requests that version actually contains. Only those issues move to In QA. An issue whose pull request is outside the version stays where it is.
  3. Cases, after both have arrived. Casey does not start from Whitney's comment alone, and does not start from the build alone. The white-box result has to be on the issue, and Reed has to have moved the issue to In QA. Then Casey writes the test data and the cases. April's API cases run separately, against the version that carries the change, and Fiona collects both results.
  4. Black-box, one executor. Web goes to Willa. The desktop app goes to Dex. The executor attaches the report, the screenshots, the recordings, and anything still unconfirmed. A person accepts that evidence, files a bug and sends it back when needed, and marks the issue Ready to ship.

The handoff is the status and the version. From In QA on, Fiona reads the state and dispatches; the specialists do not pass the work by chatting to each other. A web rendering change gets cases, then Willa, the browser executor. A diff that touches an endpoint adds April. A claim about the installed app adds Dex. Nobody writes a workflow per issue: the trigger wakes the crew, and the crew decides its shape. When a dispatch dies — a runtime handshake timeout, a machine that went offline — the same lead re-enters the issue instead of leaving it to be noticed.

What we set up

The loop is assembled from what any Sharkly Space already has: tasks, agents that can be assigned to them, autopilots that fire on a status change, and a Computer with a Runtime where an agent actually works. The issue, the pull request, the cases, the screenshots, and the sign-off hang off one task record, the way they would in Jira — except the assignee can be an agent, and the comment it leaves is the run's output.

Agents

The agents are shared in the Sharkly Space. Each has instructions, a GitHub connection, and a Runtime on a Computer. Whitney needs the repository and the test dependencies; Dex needs a desktop session that stays awake, with the staging build installed and the daemon logged in. We use one always-on shared Computer, not a laptop: a laptop sleeps, and a half-hour run does not survive that.

Instructions and skills are different objects. The instructions say what the agent owns and what it must not touch — Whitney's forbid filing bugs, editing code, and writing Casey's cases. A skill says how: Willa runs on the browser skill, Dex on the Electron and staging-desktop skills. Skills are shared objects: one copy lives in the Space, every agent that needs one points at it, and a fix reaches the next run of every agent using it.

Sharkly’s Agents page with Whitney selected, showing the white-box agent’s role instructions and the shared QA agents, including Willa, available in the engineering Space.

Crew

A crew is assignable the same way: one lead, a roster, and the lead decides what the issue needs next. That is why the issue changes hands — white-box, cases, an executor — without a person routing it, and why every handoff is a comment on the issue from the agent that finished.

Autopilots

Three autopilots carry the loop. Nothing else does.

WhenAgentWhat it is told
An issue with a pull request moves to Ready for QAWhitney and AprilWhitney: confirm the pull request, run the white-box pass, post the risks, do not design cases. April: once that result is in, say whether the diff touched an API, and which API cases that adds or retires.
A version is ready for QAReedList the issues and pull requests in this version. Move only those issues to In QA.
An issue moves to In QAThe QA crewTake the issue from here: the cases first, then the right executor. Watch the run, retry what blocks, post the verdict.

Each row is three fields: when it fires, which agent it wakes, and what it is told. Every run keeps its own log — the instruction, what the agent read, what it wrote back — which is how a quiet loop stays distinguishable from a broken one.

Integrations

Slack #qa is where the version becomes visible. The build bot posts the run, Reed posts which issues were in it, and a partial-pass report lands in the same thread. People discuss the exception there; they do not retype the result into the issue. The integration is optional: the loop runs on the issue alone. The thread exists so the version is visible to people who never open the task.

From the issue, anyone can open a conversation with an agent and send a saved prompt. The ones we keep are short. "Rerun the blocked cases on the second Computer." "Only the cases that failed last run." "Attach the recording to the case id." The onboarding issue used one: the deploy has rolled past 0.4.514, rerun the blocked and unrun web cases, and send the report, screenshots, and recordings as files.

What has to be true before the agents are useful

Agents do not discover a way of working the team has not written down.

One repository for the path the user walks. The onboarding step that draws the card, the flag that decides it, and the tests that lock both sides live in one repository an agent can read and run.

Unit tests an agent can run without a tour. They cover the logic that breaks quietly: permissions, status changes, boundary values, data transforms. They do not depend on the network, on one laptop's leftover state, on today's date, or on a random value. A test that fails sometimes is not a signal Whitney can use. The commands are in the repo, including how to run only the tests a change touches. The frontend, the API, and the desktop app do not share one command, and the README says which is which. The relevant tests also run before a change is allowed onto the branch, so Whitney is not the first to notice a broken assertion.

One owner for the behavior. "Connecting a machine hides the card" needs the web step to hide it, the desktop app to keep it, and the reconnect flow to keep it — three surfaces, one owner.

A Computer that is actually there. Shared, online, not asleep. Browser, desktop build, Runtimes, and the daemon are installed before the run. The test account is already in the right organization and Space. Dex's desktop case is the near miss: the client's auto-upgrade stopped the daemon mid-run, and the run only survived because the machine was restored on its original identity.

Setup as a script, including the failure. Install, database, migrate, start, test. A preflight checks the service, the migration, the Computer, and the Runtime before a half-hour run starts. If it fails, it names the missing thing.

Accounts and data the cases can name. An admin, a member, a read-only member, and an account with no access to the Space. Data the case needs can be created and removed by id. "Missing environment, could not verify" is acceptable once. It is a hole in the preparation if it happens every time.

Rules on the issue, before the code is treated as the spec. "Improve the onboarding" is not a rule. The rule says exactly which state hides the card, and which three states keep it.

Evidence on the issue. Reports, screenshots, recordings, and the manifest, with the run id and the case id in the filename. An agent's work directory is temporary. We have already lost a run's files and had to execute it again. Dex's nine evidence files matter because they were sent back.

One week of the loop, in numbers

Everything above is one issue, followed from pull request to sign-off. Here is one ordinary week — November 9 to 15 — counted from the records the loop already keeps. One anchor first: of the 375 issues the Space released that week, 359 carried QA evidence. 318 went through the autopilots; 41 more never fired a trigger — a person summoned the same agents by hand. The 16 without evidence were documentation batches, emergency production fixes, and a few small UI fixes. It is not a pilot. It is the path.

Stacked bar of 375 issues released in one week: 318 got QA through the autopilots, 41 were summoned by hand, 16 had no QA evidence.

Ready for QA was entered 351 times that week, by 339 issues, and nobody asked the white-box agent to look at any of them. Its median verdict took 40 minutes, on its own. In QA was entered 379 times, by 376 issues.

Both counts are entries, not issues: a change sent back to development goes through both stages again. And 93 of the 376 issues reached In QA with no Ready-for-QA entry that week — white-boxed the week before, white-boxed by the crew lead summoning the agent itself, or not white-boxed at all.

Seat by seat, the week ties roughly 2,000 runs to issues. Durations are medians; p90 is the slow tenth. Casey runs only when an issue has no cases yet; a re-test reuses the design. ×7 marks one seat running as seven clone instances across machines.

SeatRunsCompletedFailedMedianp90Output that week
Whitney · white-box3513114040 min93 min258 "testable" verdicts, 9 sent back, 1 conditional; 1,082 files attached
April · API3513272410 min31 min417 comments on API-facing diffs and the cases they add
Reed · version gate3513510——starts the test flow only; no output of its own, and no run duration recorded
Casey · cases196192410 min19 min188 case-design posts, prioritized, with data ids
Willa · web (×7)278274359 min116 minresults on 176 issues, screenshots and recordings attached
Dex · desktop (×7)119117250 min139 minresults on 72 issues, including install and upgrade
Fiona · crew lead379308718 min41 mindispatch and consolidated verdicts; 63 of the 71 failures recovered in-week

145 runs died or were cancelled, almost all on infrastructure — machines offline at dispatch, runtimes re-registering mid-run — not on test failures. The long work belongs to the executors: Willa's median run is an hour, Dex's fifty minutes. Everything that reads diffs and designs cases is back inside ten minutes.

Horizontal range chart per seat, median to p90: Fiona 8 to 41 minutes, April 10 to 31, Casey 10 to 19, Whitney 40 to 93, Dex 50 to 139, Willa 59 to 116.

The reports caught real defects before they shipped — one web report found a delete entry that still fired DELETE and took the machine down with it, back to development. And the tally holds the loop's other habit: 129 blocked cases, 18 percent of executed, refused to claim a result against a build they could not verify. Four were mobile cases, blocked at zero executed, because the branch did not contain the target commit.

The evidence came back too: 5,888 files across 2,550 comments. One reviewer's 158 carried the week's acceptance. The move to Ready to ship stayed with a person.

The loop broke once, visibly: Monday morning, 69 crew dispatches failed on a runtime handshake timeout, and the autopilot does not re-fire on an issue already In QA. The crew's watchdog re-entered the same issues; 63 of the 71 failed dispatches recovered within the week. A loop that reports its own breakage is the one you can leave alone.

What we still do not hand over

Whitney, Reed, Casey, and Willa or Dex take the mechanical middle: reading the diff, naming the version, drafting the cases, clicking the build, filing the screenshots. April runs the API track when a diff touches one, and Fiona keeps the crew on the issue, dispatching and consolidating. None of them owns the bar. A person writes the rules, decides what a partial pass means, and moves the issue to Ready to ship.

The way to copy it is one autopilot, not a fleet of agents. An issue with a pull request moves to Ready for QA, and one agent posts whether the pull request, the tag, and the tests agree. Run that until the comment is something you believe. Then add the version check. Then the cases. Then a browser or a desktop app, and only after the evidence is coming back onto the issue.

The run that blocked on an old build is still on the issue, with the version numbers that explain it. That is the loop in one record: the agents say what they saw, pinned to a build, and a person decides what it means. The loop asks for no trust up front — the trust comes later, when anyone can open the issue and check. That is how a dozen changes a day stays honest.

How We Built an Agent-Driven QA Pipeline for Daily Releases | Sharkly Blog