statusrequired | enum | Values succeeded | failed | needs_human |
|---|
diagnosis | object | |
|---|
diagnosis.categoryrequired | enum | A category says where the fault lives. bug: the product's code, or what the product ships, writes or installs, does something wrong. config: a setting that the customer chose or must change, which the product reads and never writes itself. usage: the product works as designed in every behaviour the customer reports, and the customer uses it another way, or runs a version that already has the change. docs: the documentation is wrong or missing. feature_request: the product does not do it yet. unknown: no cause found. A default, a file or a hook that the product writes or installs is the product's code: when it breaks, it is a bug, also when a new version of a tool the product supports is what breaks it. The cause is what the code does wrong, not what set it off: when the current code turns a condition outside it (a tool that failed, was slow or changed, a permission, the network, the machine) into a result that its own tests, comments or history say it must not give, and the change to make does not depend on which condition it was, it is a bug, and the condition does not change the category: it is a cause still open only when the step the reply gives depends on it. When the customer reports several behaviours and one is a defect of the current code, the category is bug, and the reply says which of the others work as designed. The draft of a bug gives the setting or switch the product has to avoid the problem until the fix, when there is one, and says whether a change the customer makes by hand will be undone, by what and when, as the code does it, and, when the switch makes that harmless, that it then does not matter; it says plainly that the problem should not happen and, when a claim verifies the cause in the product's code, that it is a problem on the product's side (never a fault or a mistake, never blaming the customer or another program), and never gives the condition that set it off as the cause or as something the customer did: it asks about it only when it is a cause still open. Values usage | config | docs | bug | feature_request | unknown |
|---|
diagnosis.root_cause_mdrequired | string | |
|---|
diagnosis.references | array of object | |
|---|
diagnosis.references[].pathrequired | string | |
|---|
diagnosis.references[].line_startrequired | integer | |
|---|
diagnosis.references[].line_endrequired | integer | |
|---|
diagnosis.references[].symbol | string | |
|---|
diagnosis.confidencerequired | number | |
|---|
diagnosis.pattern_ids | array of string | Ids of the shared-memory patterns (the [id] of each hint in the payload) that helped this diagnosis and that you checked in the code, at most 5. Leave it empty when none was used. |
|---|
diagnosis.public_summary | string | |
|---|
diagnosis.repository | string | Only when the job lists the repositories of this product and the cause is in another one of them: its full_name (owner/name). Leave it out when the cause is in the repository of this job. |
|---|
diagnosis.fixed_in_version | string | Only when the behaviour the customer reports is already right in the current code and the customer runs an older version: the first release that has it, as the repository's tag names it (the first tag that contains fixed_in_commit). The harness checks it. Leave it out otherwise. |
|---|
diagnosis.fixed_in_commit | string | With fixed_in_version: the commit (its sha) that changed the behaviour in the code. The harness checks it. Leave it out otherwise. |
|---|
diagnosis.claims | array of object | Triage: each statement the reply makes to the customer that depends on the code or the history (a cause, a setting or switch, whether a change lasts, the version that has a fix, a place of the product the reply names), at most 8, each with its reference. A claim without a reference is not verified. |
|---|
diagnosis.claims[].textrequired | string | The statement, as the reply makes it, in one short sentence (at most 200 characters); a place of the product it names is written as the reply writes it, and a thing the reply says the product has no setting or way for is named as the product's code names it. |
|---|
diagnosis.claims[].referencerequired | string | What supports it: the file:line you read (src/a.ts:12 or src/a.ts:12-14; several places separated by ;), or the commit sha or tag the history showed; for a place of the product, the lines that create, write, show or read it; for a command, the line that registers or runs it; for what a tool outside the product does, the URL of the web search result or page of this run that says it. null when you did not verify it. For a statement that the product has no such thing, the lines you read where its code declares things of that kind (its settings, its commands), after a search of its whole code for that thing's name. |
|---|
diagnosis.open_causes | array of string | Triage: the causes still open, one short sentence each, at most 5: what can still lead to what the customer sees (a path in the code, or a condition outside it) that the code, the history, the logs and the attachments did not rule out, when the customer's answer would change the step the reply gives or the change to make. Empty when none is open: a condition outside the code that set off a defect the code shows is not one when the step and the change are the same whatever it was. The reply asks the customer only what tells these apart, and nothing when the list is empty. |
|---|
draft | object | |
|---|
draft.body_mdrequired | string | |
|---|
draft.kind | enum | Values reply | needs_info | interim | release_notice | proactive_notice |
|---|
fix | object | |
|---|
fix.branchrequired | string | Branch under loopback/ that is a valid git ref, e.g. loopback/tkt_01k6a1b2c3-checkout-500 |
|---|
fix.pr_number | integer | |
|---|
fix.head_sharequired | string | |
|---|
fix.verify_reportrequired | object | |
|---|
fix.verify_report.passedrequired | boolean | |
|---|
fix.verify_report.findings | array of object | |
|---|
fix.verify_report.findings[].kindrequired | enum | Values parse_error | broken_import | untouched_dependent | test_to_run | type_error | other |
|---|
fix.verify_report.findings[].severityrequired | enum | Values error | warning | info |
|---|
fix.verify_report.findings[].path | string | |
|---|
fix.verify_report.findings[].line | integer | |
|---|
fix.verify_report.findings[].symbol | string | |
|---|
fix.verify_report.findings[].messagerequired | string | |
|---|
fix.verify_report.findings[].code | enum | Values test_file_deleted | test_script_changed | test_config_changed | type_check_not_run | engine_warning | verification_unavailable | gateway_checkout | gateway_unavailable | no_checkout | gateway_tests_required | gateway_type_config_changed | gateway_type_check_required | tests_install_failed | tests_not_run_on_fix | tests_none_on_fix | tests_fewer | failures_from_fix | hosts_from_fix | tests_passed_on_rerun | change_tests_failed | change_tests_not_run | change_tests_unproven | change_tests_could_not_run | change_tests_outside_suite | change_tests_ran | no_test_added | suite_failed | suite_not_run | suite_failing_on_base | before_install_failed | before_install_changed | before_install_discovered | comments_to_review | suite_passed_on_rerun |
|---|
fix.verify_report.findings[].detail | string | |
|---|
fix.verify_report.produced_by | enum | Values harness | agent | server |
|---|
fix.verify_report.engine_version | string | |
|---|
fix.testsrequired | object | |
|---|
fix.tests.commandrequired | string | |
|---|
fix.tests.passedrequired | boolean | |
|---|
fix.tests.ran | boolean | |
|---|
fix.tests.summaryrequired | string | |
|---|
fix.tests.reason | string | |
|---|
fix.tests.reason_code | enum | Values no_suite | sandbox | stopped | services | network | zero_tests | install_failed | no_time_left |
|---|
fix.tests.duration_s | number | |
|---|
fix.tests.reruns | object | |
|---|
fix.tests.reruns.testsrequired | array of string | |
|---|
fix.tests.reruns.runsrequired | integer | |
|---|
fix.tests.reruns.grounds | array of enum | |
|---|
fix.tests.suites | array of object | |
|---|
fix.tests.suites[].ecosystemrequired | string | |
|---|
fix.tests.suites[].labelrequired | string | |
|---|
fix.tests.suites[].commandrequired | string | |
|---|
fix.tests.suites[].scope | array of string | |
|---|
fix.tests.suites[].ranrequired | boolean | |
|---|
fix.tests.suites[].passedrequired | boolean | |
|---|
fix.tests.suites[].summaryrequired | string | |
|---|
fix.tests.suites[].executed | integer | |
|---|
fix.tests.suites[].baseline | enum | Values green | red | not_run |
|---|
fix.tests.suites[].pre_existing | array of string | |
|---|
fix.tests.suites[].reruns | object | |
|---|
fix.tests.suites[].reason | string | |
|---|
fix.tests.suites[].before_install | object | |
|---|
fix.tests.suites[].environment | enum | Values toolchain | preparation | network | time | resources |
|---|
fix.tests.suites[].paths | array of string | |
|---|
fix.tests.before_install | object | |
|---|
fix.tests.before_install.ecosystemrequired | string | |
|---|
fix.tests.before_install.labelrequired | string | |
|---|
fix.tests.before_install.sourcerequired | enum | Values workspace | config | ci | agent |
|---|
fix.tests.before_install.origin | string | |
|---|
fix.tests.before_install.stepsrequired | array of string | |
|---|
fix.tests.before_install.statusrequired | enum | Values ran | failed | failed_continued |
|---|
fix.tests.before_install.ms | integer | |
|---|
fix.tests.before_install.failed_step | string | |
|---|
fix.tests.before_install.discovered | object | |
|---|
fix.tests.preparation | object | |
|---|
fix.tests.preparation.proposals | array of object | |
|---|
fix.tests.preparation.not_found | array of object | |
|---|