GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use deps command to get dependent tests in upgrade-pylib workflow · RustPython/RustPython@2783211

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .claude/commands
    • upgrade-pylib.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.claude/commands/upgrade-pylib.md‎

Copy file name to clipboardExpand all lines: .claude/commands/upgrade-pylib.md
+11-2Lines changed: 11 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,18 @@ This helps improve the tooling for future upgrades.
4949
- When restoring, preserve the original context and formatting
5050

5151
3. **Investigate test failures with subagent**
52-
- First, run tests to collect the list of failures:
52+
- First, get dependent tests using the deps command:
5353
```
54-
cargo run --release -- -m unittest test.$ARGUMENTS -v 2>&1 | grep -E "^(FAIL|ERROR):"
54+
cargo run --release -- scripts/update_lib deps $ARGUMENTS
55+
```
56+
- Look for the line `- [ ] $ARGUMENTS: test_xxx test_yyy ...` to get the direct dependent tests
57+
- Run those tests to collect failures:
58+
```
59+
cargo run --release -- -m test test_xxx test_yyy ... 2>&1 | grep -E "^(FAIL|ERROR):"
60+
```
61+
- For example, if deps output shows `- [ ] linecache: test_bdb test_inspect test_linecache test_traceback test_zipimport`, run:
62+
```
63+
cargo run --release -- -m test test_bdb test_inspect test_linecache test_traceback test_zipimport 2>&1 | grep -E "^(FAIL|ERROR):"
5564
```
5665
- For each failure, use the Task tool with `general-purpose` subagent to investigate:
5766
- Subagent should follow the `/investigate-test-failure` skill workflow

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.