mcpField
V
view-build-logs

view-build-logs

github.com/buildbuddy-ioDevelopment798332 installsUpdated today
Repository

About view-build-logs

view-build-logs is a skill for developers investigating BuildBuddy invocations. It uses `bb view` to inspect build errors and search failing test output by target or test filter.

Key features

  1. 01Fetch BuildBuddy invocation logs
  2. 02Show the first build error
  3. 03Filter test output by target
  4. 04Search failing tests with a regex

Use cases

  1. 01Inspect a build's first error
  2. 02Find output for a named failing test
  3. 03Search failing test targets without specifying one

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/buildbuddy-io/buildbuddy --skill view-build-logs

After installing, type/view-build-logsin Claude Code to confirm it loaded.

Details

From the project README

Overview

Fetch logs for a BuildBuddy invocation by calling bb view <invocation-id>

To view failing test output, pass a target label and/or --test_filter: bb view <invocation-id> //target:label --test_filter=TestName --test_filter is a regular expression (matching bazel's --test_filter semantics). If no target is specified, output from every failing test target is searched for the filter expression.

To view only the first build error, pass --errors: bb view <invocation-id> --errors

Comments

Markdown supported