You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a wp_ai_client_connect_timeout Data Machine setting and datamachine_wp_ai_client_connect_timeout filter so provider connection timeouts can be tuned independently from full request timeouts.
Applies Data Machine request options to both the resolved wp-ai-client model and the prompt builder, preventing WordPress core's builder defaults from overwriting connect timeout.
Applies the resolved connect timeout to WordPress HTTP's cURL handle via CURLOPT_CONNECTTIMEOUT, because core's WP_AI_Client_HTTP_Client maps only total timeout from RequestOptions into WP HTTP args.
Extends the wp-ai-client timeout smoke test to cover model-level, builder-level, and cURL connect-timeout handling.
The remaining large-lane MGS failures appear to be provider/runtime latency under broad fan-out, not the original /models metadata lookup issue.
AI assistance
AI assistance: Yes
Tool(s): OpenCode (GPT-5.5)
Used for: Drafting the Data Machine patch, smoke coverage, local Studio validation commands, and PR description; Chris remains responsible for review and testing.
ℹ️ Auto-fix lint issues: homeboy refactor data-machine --from lint --write
ℹ️ Collect coverage: homeboy test data-machine --coverage
ℹ️ Save test baseline: homeboy test data-machine --baseline
ℹ️ Pass args to test runner: homeboy test -- [args]
ℹ️ Full options: homeboy docs commands/test
Deep dive: homeboy test data-machine --changed-since c2058e2
Audit
✅ audit — passed
test_coverage — 57 finding(s)
dead_code — 47 finding(s)
intra-method-duplication — 13 finding(s)
requested_detectors — 7 finding(s)
dead_guard — 2 finding(s)
parallel-implementation — 2 finding(s)
Content — 1 finding(s)
Directives — 1 finding(s)
Retention — 1 finding(s)
Tasks — 1 finding(s)
Total: 133 finding(s)
Deep dive: homeboy audit data-machine --changed-since c2058e2
Tooling versions
Homeboy CLI: homeboy 0.157.1+a3e4619a
Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
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
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
wp_ai_client_connect_timeoutData Machine setting anddatamachine_wp_ai_client_connect_timeoutfilter so provider connection timeouts can be tuned independently from full request timeouts.CURLOPT_CONNECTTIMEOUT, because core'sWP_AI_Client_HTTP_Clientmaps only total timeout fromRequestOptionsinto WP HTTP args.Testing
php tests/wp-ai-client-request-timeout-smoke.php— 25 assertionsphp -l inc/Engine/AI/RequestBuilder.php && php -l tests/wp-ai-client-request-timeout-smoke.php && git diff --checkintelligence-chubes4:openai/gpt-5.4model creation does not call/modelswith the php-ai-client hotfix presentdatamachine_settings.wp_ai_client_connect_timeout=120connect_timeout=120Notes
/modelslookups for explicit model IDs; that upstream behavior needs the php-ai-client fix./modelsmetadata lookup issue.AI assistance