gcp-benchmark-triage

Triage detached GCP benchmark runs by inspecting logs and validating artifacts.

95|3|Updated Oct 25, 2024
One-click install
npx skills add https://github.com/albumentations-team/benchmark --skill gcp-benchmark-triage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gcp-benchmark-triage
Source: https://github.com/albumentations-team/benchmark/tree/main/.cursor/skills/gcp-benchmark-triage
Command: npx skills add https://github.com/albumentations-team/benchmark --skill gcp-benchmark-triage

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams triage detached GCP benchmark runs by interpreting DONE/FAILED markers, locating and collecting artifacts, and cleaning up VM resources to reduce downtime.

Core Features & Use Cases

  • Run-state interpretation: Determine run success or failure from DONE/FAILED markers and related logs.
  • Artifact retrieval: Fetch vm.log, exit_code.txt, and partial results from the run directories to accelerate diagnosis.
  • Resource cleanup guidance: Recommend or perform VM cleanup steps and quota checks after completion or failure, including cache uploads and preflight checks.

Quick Start

Run the triage workflow using gcp_last_run.json to determine the run state and start artifact retrieval.

Frequently Asked Questions about gcp-benchmark-triage

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I triage detached GCP benchmark runs to check completion status?

To triage detached GCP benchmark runs, you interpret DONE, FAILED, or STOPPING markers in the logs and validate artifact integrity. This workflow uses gcp_last_run.json to determine the run state and verify if expected outputs are present.

What is the best way to retrieve missing vm.log and exit_code.txt artifacts from a failed GCP VM?

The best way to retrieve missing vm.log and exit_code.txt artifacts is to fetch them directly from run directories using gcloud storage commands. This allows you to inspect vm.log contents and validate artifact availability for diagnosis.

Why does my GCP benchmark run show DONE but the artifacts have disappeared?

When a GCP benchmark run shows DONE but artifacts disappear, the triage process checks for missing vm.log or exit_code.txt files to detect VM or artifact loss. It validates stored run artifacts to confirm whether partial results exist.

Do I need gcp_last_run.json to diagnose a failed GCP benchmark run?

Yes, you need gcp_last_run.json to diagnose a failed GCP benchmark run. It provides the necessary run metadata to start the triage workflow, locate stored run artifacts, and execute gcloud storage fetch commands.

How do I clean up VM resources after a GCP benchmark run fails or completes?

To clean up VM resources after a GCP benchmark run fails or completes, you follow resource cleanup guidance to perform VM cleanup steps and quota checks. This includes managing cache uploads and preflight checks to reduce downtime.