update-gas-test-metadata

Sync Tycho gas test metadata with TychoRouter test files.

179|62|Updated Aug 11, 2023
One-click install
npx skills add https://github.com/propeller-heads/tycho-indexer --skill update-gas-test-metadata
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-gas-test-metadata
Source: https://github.com/propeller-heads/tycho-indexer/tree/main/.claude/skills/update-gas-test-metadata
Command: npx skills add https://github.com/propeller-heads/tycho-indexer --skill update-gas-test-metadata

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Keeps the Tycho gas test metadata in sync with the TychoRouter test files, ensuring the official test registry accurately reflects the current test suite.

Core Features & Use Cases

  • Scans TychoRouter test files to detect additions, removals, or renames.
  • Diffs the results against the existing test_metadata.json and applies updates automatically.
  • Maintains a precise last_updated timestamp to track changes.

Quick Start

Run the update-gas-test-metadata action to refresh the JSON after modifying TychoRouter tests.

Frequently Asked Questions about update-gas-test-metadata

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

FAQPage Schema
How do I sync gas test metadata with TychoRouter test files?

To sync gas test metadata with TychoRouter test files, run the update action to scan test files, diff them against existing metadata, and automatically apply additions, removals, or updates to the JSON registry.

What is the process for updating test_metadata.json after modifying tests?

Updating test_metadata.json involves scanning modified TychoRouter test files, comparing the current state against the existing registry, and writing the resulting additions or removals to the gas-compare metadata file.

Does the gas test metadata sync tool track when tests were last updated?

Yes, the gas test metadata sync tool maintains a precise last_updated timestamp, refreshing it every time the workflow detects and applies changes to the test registry.

Can I automatically detect renamed or removed tests in my JSON metadata?

You can automatically detect renamed or removed tests by scanning TychoRouter test files and diffing the results against the current JSON metadata to identify discrepancies for automatic registry updates.

Where does the automated test metadata sync write its output?

The automated test metadata sync writes its output directly to the crates/tycho-execution/.gas-compare/test_metadata.json file, ensuring the official registry accurately reflects the current suite.