Skip to content
Pine Computer Request access
Menu

26 / 26 Engineering and QA · Example

Review a release

The release review starts with a pass or fail for every critical path, walked through on staging.

Illustration of an example: your release tool checks release candidate 4.12 on staging against the critical-paths list, with the results from 4.11 beside each path. Staging sits behind the company’s single sign-on, so an engineer signs in with a work account first. Then one computer follows each path as written, from creating a Team workspace to cancelling the plan, and screenshots where each one ends. Cancelling the plan passed on 4.11 and now breaks at step 6, where the page says “Something went wrong” instead of “Plan cancelled”, so that path goes to the top of the report.
Who it’s for
Release tools whose users walk the same few paths through staging by hand before every release.
Why it’s hard
The walk-through falls to whoever is free that afternoon, and gets shorter when they’re busy.
You get back
  • A pass or fail for every path, with its screenshot
  • For each failure, the step where it broke
How it runs, in your product’s code

When 4.12 lands on staging, your product hands the computer the results from 4.11. Staging sits behind the company’s single sign-on, so an engineer signs in with their work account first. The computer then follows each path as written, from creating a Team workspace to cancelling the plan, and screenshots where each one ends. Any path that passed on 4.11 and fails now goes to the top of the report.

Ruby · task-turn excerpt
# Existing backend Computer and session; see setup docs.# saved_message_id is your durable ID for this request.computer.require_agent_protocol!agent = session.agentgoal = <<~JOB  Check release candidate 4.12 on staging against the  critical-paths list, with a pass or fail for each.JOBturn = agent.run(goal, idempotency_key: saved_message_id)# Persist turn.turn_id before waiting or leaving this process.turn = agent.wait(turn_id: turn.turn_id, timeout: 30)case turn.statewhen "running", "canceling"  # Schedule another wait for this turn ID.when "needs_input"  # Present turn.question; authorize any desktop handoff.  # When the user replies, answer this turn and save the new ID:  # agent.answer(turn_id: turn.turn_id, answer: reply.text)when "answered"  # Continue with turn.next_turn_id; do not resubmit the goal.when "completed"  turn.result.artifacts.each do |file|    bytes = session.read_file(file.fetch("relative_path"))    # Save bytes in your own file store before stopping.  end  # Verify the outputs and external state against the request.when "failed", "canceled"  # Record the outcome; check side effects before any retry.end

Requires a configured Computer, session and durable request ID. The comments mark application logic you supply; this excerpt does not implement storage, polling or human handoff. Agent integration · Saving outputs

Build more.
Hand AI the work.