Step 2: From Issue to merged PR

Create an Issue, track the pipeline, intervene manually, review code and troubleshoot until the PR is merged.

This page describes one complete path: from an Issue entering the system to merging code and closing the Issue. If you get stuck, work through the troubleshooting table instead of repeatedly refreshing the page.

Video walkthrough: from Issue to merged PR

Open an Issue → the five pipeline nodes light up in order → open a node to inspect the Agent output and the PR → QA posts review findings → a human reviews and merges the PR → return to the pipeline and see the completed state.

1. Where to create an Issue

Option A: Create the Issue on the code platform (primary path)

The pipeline is triggered by Issue events from the code platform, so the primary entry point is a hosted repository:

  1. Open the hosted GitCode, GitHub, or Gitee repository.
  2. Go to Issues → New Issue.
  3. Write a clear title that states what needs to be done.
  4. Include at least the following four sections in the description:
Background: why this work is needed
Goal: what users can do after completion
Acceptance: how to determine that the work is complete
Scope: pages/modules involved and what is out of scope
  1. Submit the Issue.

After submission, the code platform sends an issue_opened event to Grape, and the pipeline starts automatically. If the event does not arrive, first check "No pipeline after creating an Issue" in Troubleshooting.

Option B: Start manually in the console

Use this method when there is no code platform event or when you want VOD to analyze a requirement first:

  1. Open the VOD Agent page.
  2. Enter the requirement text.
  3. Trigger the analysis manually.

This method is suitable for internal discussions and requirement pre-analysis. For formal delivery, create the Issue on the code platform so that branches, PRs, and review records can be linked.

2. How an Issue enters the pipeline

The normal automatic path:

Issue created
  → VOD: analyze the requirement type and determine the scope
    → Issue: refine the Spec, split tasks, and write acceptance criteria
      → Coding: change code, build, and submit a PR
        → QA: review the PR and provide feedback
          → Manual PR merge
            → SRE: deploy and verify (according to the scene)
              → Manual completion confirmation

Closing an Issue is a separate event and does not mean the pipeline is complete. Use the pipeline nodes and the Issue status as the source of truth.

3. How to track the Issue

1. Issue Center: view the Issue list and status

Open Issue Center in the left navigation:

  • Filter by status: Pending, In progress, Awaiting clarification, Awaiting review, Completed, Cancelled.
  • Open an Issue to view its title, current stage, and latest events.
  • This page answers: which Issues do I have, and where is each one?

Issue Center: Issue cards split by stage, the repository filter, and New Issue

2. Pipeline: see where the five nodes are

Open Pipeline and find the record for the Issue:

Pipeline: VOD → Issue → Coding → QA → SRE nodes and runs organised by Issue

Node What it normally does
VOD Analyzes the requirement and determines its type and scope
Issue Produces the Spec, splits tasks, and writes acceptance criteria
Coding Creates a branch, changes code, builds, and creates a PR
QA Reviews code, tests, and provides review feedback
SRE Deploys, operates cloud resources, and verifies the result

3. Node logs: see what the Agent actually did

Open a node to view:

  • The Agent's reasoning process
  • Tool calls and commands
  • The exit_code and error message when a step fails
  • Artifacts: Spec, branch, PR URL, and deployment result

Node log: event context (Trigger / Repository / Issue / Actor) and event information (Seq / Engine / Skill / Duration)

4. Runtime cockpit: determine whether the Agent is slow or the machine has a problem

If a task stays queued, do not look only at the Issue Center. Open Observability → Runtime cockpit or Agent Runtime:

  • Whether tasks are queued
  • Whether the Worker is online
  • Whether the engine is online and passing health checks
  • Which engine claimed the task
What you want to know Where to look
How far the Issue has progressed Issue Center → Pipeline
Why a node failed Pipeline → open the node → logs
Why a task stays queued Runtime cockpit / Agent Runtime
What code changed Files changed in the code platform PR

Runtime cockpit overview: health verdict and SLO targets (99% task success, 95% queue latency, currently insufficient data), no active alerts, key metrics (0 queued, 40/50 engines online, 19,113 tokens), and the task-volume and model-share charts; the Device & engines and Tasks & logs tabs sit above

4. How to intervene when the Issue is unclear

The Agent is not a fully automatic black box. When human judgment is required, add information at the relevant point.

Situation Manual action Result
VOD does not fully understand the requirement Add background, boundaries, and acceptance criteria in the Issue comments The comment triggers issue_comment, and the current stage analyzes the Issue again
The Issue breakdown is too coarse or too fine State in the Issue comments which parts should or should not be split The Issue Agent adjusts the Spec
Coding implements the wrong direction Describe the required changes in the PR or Issue comments The current stage continues, or the event is redispatched
QA requests changes Address the review comments and add clarification if needed QA reviews again
SRE is about to destroy cloud resources Explicitly confirm or reject the action in the Issue comments Destructive actions require manual confirmation before execution
The PR is ready to merge Merge it manually Grape does not merge on your behalf

How to write a requirement update

Do not write only "change it again". Be specific:

Update: The login button is shown only on mobile and hidden on desktop.
Acceptance: Visible at a 375px width and hidden at 1440px.

The Agent needs verifiable information, not vague feedback.

Issue comment triggering an issue_comment event: event context and the Agent record

When an Issue enters Awaiting clarification / awaiting_input, it is usually waiting for your clarification. Read the question in the node logs first, then answer in the Issue comments.

5. How to review the Issue and code

Review the Issue

Location What to review
Code platform Issue Original requirement, comments, linked PR, labels, and assignee
Issue Center Current status, stage, and latest events
Pipeline node Input, output, and logs for the Agent at that stage

Review the code

  1. Open the PR on the code platform.
  2. Check Files changed: which files changed and how many lines were added or removed.
  3. Check Commits: commit history and commit messages.
  4. Check Conversation / Checks: QA feedback, build results, and test results.
  5. When you need to locate a problem, return to the Coding or QA node in the pipeline and compare the logs with the PR changes.

Do not merge based only on the PR title. At minimum, confirm the scope of changes, acceptance criteria, and QA conclusion.

6. Review and merge the PR

  1. Open the PR on the code platform and confirm that the target branch is correct.
  2. Review Files changed and confirm that there are no unrelated changes.
  3. Confirm that QA feedback has been addressed. Resolve any Request Changes comments first.
  4. Confirm that builds, tests, and checks pass.
  5. A person clicks Merge. Grape does not merge automatically.
  6. Return to the pipeline and confirm that the merge event was received and the Issue moved to Completed.
  7. If the scene includes SRE, confirm the deployment result and access URL.

Merging is a human gate, not a missing step in the workflow. AI can write code and review it, but a person must approve the merge into the main branch.

7. Troubleshooting

Symptom Check first Common cause and action
No pipeline after creating an Issue Whether the repository is hosted, whether the webhook works, and whether the event page has a record Repository not hosted / webhook not created / secret mismatch; see Repository settings
The pipeline has nodes but they stay queued Queue in the Runtime cockpit, Worker online status, and engine health checks No online Worker / engine offline / concurrency limit reached
engine_unavailable is returned Whether the scene is applied, whether the node is bound to an engine, and whether SRE incorrectly uses broadcast Return to Project scenes, bind an engine again, and Apply the scene
A node fails Open the node and check the logs, exit_code, and first traceback Dependency, command, permission, or code issue; fix it and retry or redispatch
Coding does not produce a PR Coding logs, branch creation, and repository write permission Branch, credential, or build failure; fix it and trigger the pipeline again
QA does not review the PR Whether the PR was created, whether A2A handed it off, and whether PR events arrived Check the QA node logs and the event page
The Issue never completes The final pipeline node, Issue status, and whether the PR was merged The merge event did not arrive, or a node is still incomplete
Status does not update after merging Whether the event page has merge/PR events and webhook records Webhook failure, or the scene is not applied

Troubleshooting order

Issue Center: check the status
  → Pipeline: identify the node where work is stuck
    → Node: check logs and exit_code
      → Runtime cockpit: check the queue, Worker, and engine
        → Repository settings: check the webhook and credentials

Identify the layer first, then change configuration. Do not change the scene, engine, and webhook at the same time.

8. Completion criteria

  • [ ] The Issue is created, and the description includes the goal, acceptance criteria, and scope.
  • [ ] The webhook triggers, and the pipeline shows VOD → Issue → Coding → QA → SRE.
  • [ ] Clarification was added in the Issue comments, and the node continued.
  • [ ] Coding produced a PR with a visible branch and changes.
  • [ ] QA provided review feedback, and the issues were addressed.
  • [ ] A person merged the PR.
  • [ ] The pipeline and Issue status were updated.
  • [ ] If SRE is included, the deployment result was confirmed.

How an Issue moves through the pipeline | Scenes and engine configuration | Error code dictionary | Help and troubleshooting