원클릭으로
record-fix
Import a verified fix from a merged PR into the knowledge base
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Import a verified fix from a merged PR into the knowledge base
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Full pipeline — gather failures, analyze, and search for known fixes
Analyze a context file of test failures and produce a fix report
Compare two builds and report new vs recurring failures
Fetch Jenkins build failures and generate a context file for analysis
Search the knowledge base for known fixes related to test failures
| name | record-fix |
| description | Import a verified fix from a merged PR into the knowledge base |
| user-invocable | true |
Import a verified fix from a merged GitHub PR into the houston knowledge base. This grows the corpus of past fixes that /analyze-failures uses as reference when writing reports.
/record-fix <PR-URL> [--test-id TEST_ID] [--component COMPONENT]
<PR-URL> (required) — full GitHub PR URL (e.g. https://github.com/SatelliteQE/robottelo/pull/1234)--test-id (optional) — the test ID this fix resolves (e.g. test_iop_recommendations_host_details_e2e)--component (optional) — the CaseComponent (e.g. Insights-Advisor)Examples:
/record-fix https://github.com/SatelliteQE/robottelo/pull/1234/record-fix https://github.com/SatelliteQE/airgun/pull/567 --test-id test_iop_recommendations_host_details_e2e --component Insights-AdvisorRun the following to get PR metadata and diff:
gh pr view <PR-URL> --json title,body,files,state,mergedAt,labels,number,url 2>&1
gh pr diff <PR-URL> 2>&1
If the PR is not merged, warn the user and ask if they still want to record it.
Read the PR diff and description to extract:
test_update, upstream_bug, environment, flaky, skip, unknownNoSuchElementException.*Recommendations)["airgun", "locator", "host_details", "recommendations"])If --test-id or --component were provided as arguments, use those values.
Run the CLI command to save the fix:
houston record-fix "<PR-URL>" \
--test-id "<test_id>" \
--error-pattern "<error_pattern>" \
--root-cause "<root_cause>" \
--fix-description "<fix_description>" \
--fix-type "<fix_type>" \
--component "<component>" \
--tags "<tag1>,<tag2>,<tag3>" \
2>&1
The diff is captured automatically from the PR.
Print:
resources/fixes/Remind the user they can search for it with:
houston search "<error pattern or test name>"