Draft
Conversation
…iven#309) This adds unit tests and E2E tests that detect the bug where HTTP 429 responses with {"error": "slow_down"} crash the OAuth device code flow. Root cause: - response.raise_for_status() is called before response.json() at line 304 - slow_down handler reads data["interval"] which doesn't exist (line 311) Per GitHub's OAuth spec, clients should add 5 seconds to the polling interval on slow_down, not read it from the response. Tests verify: - HTTP 429 with slow_down doesn't crash - Interval increments by 5s on slow_down - Multiple slow_downs accumulate properly - authorization_pending uses original interval Fixes promptdriven#309 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
jiaminc-cmu
pushed a commit
that referenced
this pull request
Jan 24, 2026
Add new `pdd test <github_issue_url>` agentic workflow that automates UI test creation through a 9-step process: 1. Duplicate check 2. Documentation research 3. Requirements clarification 4. Frontend detection 5. Test plan creation 6. Test generation 7. Test execution 8. Fix/iterate cycle 9. PR submission New prompts: - agentic_test_python.prompt - CLI entry point - agentic_test_orchestrator_python.prompt - 9-step workflow orchestrator - 9 LLM step prompts for each workflow phase Modified: - cli_python.prompt - Add re-export for agentic_test_main - README.md - Document new pdd test agentic command - docs/TUTORIALS.md - Add usage tutorial The existing `pdd test` command remains backward compatible. The --manual flag preserves original behavior. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds failing tests that detect the bug reported in #309.
Test Files
What This PR Contains
Root Cause
Three bugs in pdd/get_jwt_token.py:304-311:
Next Steps
Fixes #309
Generated by PDD agentic bug workflow