Wire tests/skills/test_fullsend_upgrade.py into pre-commit gate and CI test execution
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
調査の方向性
.pre-commit-config.yamlとrepo: local配下にある既存のテストフックを読み、scripts/lint.pyとscripts/rehearse_gate.pyを調べて、CIでpre-commitフックがどのように実行されるかを把握してください。指定されたファイルパターンを使って、tests/skills/test_fullsend_upgrade.py用の提案されたフックを追加してください。テストファイルと、該当するスキルまたはワークフローの変更に対してフックが実行され、python3 scripts/rehearse_gate.pyが成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What happened
In PR #740 (resolving Issue #713), the coder agent updated tests/skills/test_fullsend_upgrade.py to align test expectations with post-v0.56.1 workflow structure and added a new live-workflow parity guard: test_prioritize_fixture_omits_install_mode_like_the_live_workflow. The review agent approved the PR in run 47423512217. However, as maintainer @JohnStrunk noted in human review (comment N1), neither tests/skills/ nor test_fullsend_upgrade.py is configured in .pre-commit-config.yaml or executed in .github/workflows/ci-workflow.yaml or scripts/lint.py. The suite only runs when manually invoked by a developer or agent. Because CI does not execute it, the newly added regression guard and existing skill tests provide zero automated regression protection against future drift.
What could go better
When unit test files are created or modified to guard against contract regressions, they must be registered in the repository's automated gate checks. In ProtoBot, Python test suites under scripts/test_*.py are wired as hooks into .pre-commit-config.yaml, which runs during local gate checks and across all files in CI via scripts/lint.py --all-files. A similar hook for tests/skills/test_fullsend_upgrade.py was omitted when the file was initially introduced. Adding it to .pre-commit-config.yaml ensures that changes to skill scripts or workflow fixtures trigger the tests locally before push and deterministically in CI on every PR.
Proposed change
In .pre-commit-config.yaml, add a new local hook entry under repo: local:
- id: test-fullsend-upgrade
name: test-fullsend-upgrade
entry: python3 -m unittest tests/skills/test_fullsend_upgrade.py
language: system
pass_filenames: false
files: ^(\.agents/skills/upgrade-fullsend/.*|tests/skills/test_fullsend_upgrade\.py|\.github/workflows/prioritize\.ya?ml)$
Validate the gate configuration changes by running python3 scripts/rehearse_gate.py per AGENTS.md requirements.
Validation criteria
- Running
pre-commit run --files tests/skills/test_fullsend_upgrade.pyexecutes thetest-fullsend-upgradehook and passes all 46 unit tests in under 1 second. - Modifying
.agents/skills/upgrade-fullsend/scripts/update_fullsend_pins.pyor.github/workflows/prioritize.ymltriggers the hook during gate execution. - CI execution of
scripts/lint.py --all-filesrunstest-fullsend-upgradeand reports passing status without requiring modifications to.github/workflows/ci-workflow.yaml.
Related issues checked
Searched: test_fullsend_upgrade pre-commit; tests/skills CI; test_fullsend_upgrade; tests/skills
Considered: #696, #713, #725, fullsend-ai/fullsend#73, fullsend-ai/fullsend#2944
#696 added tests to test_fullsend_upgrade.py but did not wire the file into CI or pre-commit.
#713 updated mock template assertions in test_fullsend_upgrade.py without addressing CI execution.
#725 proposes adding pin synchronization tests to test_fullsend_upgrade.py.
fullsend-ai/fullsend#73 is an upstream issue proposing regression test evals across all agent skills.
fullsend-ai/fullsend#2944 tracks adding automated CI tests for upstream merge-queue scripts.
Generated by retro agent from https://github.com/redhat-et/ProtoBot/pull/740
- 主要言語
- Go
- スター
- 8
- フォーク
- 9
- 平均マージ
- 18時間 17分
- マージ済み PR(30日)
- 187
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
redhat-et/ProtoBot のほかの issue
-
documentation triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
redhat-et/ProtoBot#760 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
redhat-et/ProtoBot#758 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug infra ready-for-triage risk/low triaged
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
redhat-et/ProtoBot#753 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug infra ready-for-triage risk/low triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
redhat-et/ProtoBot#750 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug infra ready-for-triage risk/low triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
redhat-et/ProtoBot#749 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
redhat-et/ProtoBot の issue をすべて見る
似ている issue
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rohitgollarahalli/mcpx#45 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
router-for-me/CLIProxyAPI#8851 ·
メンテナーはふだん 7 日以内に返信
-
Mend: dependency security vulnerability
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
Windows 主机
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Lee-xeo/Claude-Cage#1550 ·
メンテナーはふだん 1 日以内に返信