Expose pipeline outcome classes - #2173
Merged
Merged
Conversation
Contributor
Homeboy Results —
|
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
RunMetricsoutcome class/count fields for empty-query, provider, hydration, AI empty-packet, missing handler-packet, source-rejected, and item-deferred outcomes while preserving existing job statuses.empty_data_packet_returnedandhandler_requiring_step_missing_handler_packetsremain machine-readable in metrics.wp datamachine jobs metricstable output and expands smoke coverage for the generic outcome contract.Tests
php tests/job-outcome-metrics-smoke.phpphp tests/run-metrics-smoke.phpphp tests/transition-fanout-policy-smoke.phpphp tests/ai-error-status-propagation-smoke.phpphp tests/fetch-item-dispositions-smoke.phpphp -l inc/Core/RunMetrics.phpphp -l inc/Abilities/Engine/ExecuteStepAbility.phpphp -l inc/Core/Steps/Fetch/Tools/FetchItemDispositionTool.phpphp -l inc/Cli/Commands/JobsCommand.php./vendor/bin/phpcs inc/Core/RunMetrics.php inc/Abilities/Engine/ExecuteStepAbility.php inc/Core/Steps/Fetch/Tools/FetchItemDispositionTool.php inc/Cli/Commands/JobsCommand.php tests/job-outcome-metrics-smoke.phpgit diff --checkCaveat
composer testreached WP Codebox test execution, then failed with an unclassified exit before structured counts were reported. The generated.pg-test-result.txtreferenced in the output was not present afterward, so there was no additional failure detail to inspect locally.Fixes #2172.
AI assistance