Skip to content

fix: paired automation diagnostics, execution readiness and durable submission receipt - #509

Draft
Proxicon wants to merge 6 commits into
mainfrom
codex/paired-automation-receipt-diagnostics
Draft

Proxicon wants to merge 6 commits into
mainfrom
codex/paired-automation-receipt-diagnostics

Conversation

@Proxicon

@Proxicon Proxicon commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Self-service waited for workflow continuation and notification delivery after commit. Operators received limited details when NetRatel rejected admission or a native step failed.

  • Commit the request, tracking receipt, continuation marker and notification intent together. Wake the existing scoped worker and use the fenced outbox for notifications.
  • Retain allowlisted provider diagnostics with the attempt. Surface them in Operations, request and task views for authorized operators. Preserve safe requester summaries and uncertain-delivery protections.
  • Show the selected job's execution readiness alongside the saved binding. Older peers can report readiness as unknown. PostgreSQL and SQLite migrations are additive.

Validation

  • Layout validation and Slopwatch 0.5.0 passed with zero findings on cb854aecd8963d384a79d6620bda1466100f636b. PR validation
  • The submission HTTP regression uses a blocked notification to verify that the committed tracking receipt can return before delivery. Integration cases exercise existing approvals, callbacks and recovery.

The final head passed 263 focused tests covering receipts, callbacks, input bindings, access, and upgrades. Required CI passed all six regression shards with 4,430 passes and eight skips. The separate HTTP and provider acceptance lane passed all 496 tests. The Linux browser receipt appeared in 832 ms while provider admission was held. Linux pairing evidence

The current product builds completed all four functional self-service browser journeys. The extended report-preview theme assertion failed at 200% zoom. Pairing run against both current product implementations.

The paired Windows Add and Remove journeys and representative before-and-after release artifact latency are required for coordinated publication.

Refs #508, BostonTechnologies/netratel#856, BostonTechnologies/netratel#836, BostonTechnologies/netratel#839 and companion PR BostonTechnologies/netratel#857.


if (task.ProviderDiagnostic is { } providerFailure)
logger.LogInformation("NetRatel outcome recorded. TaskId={TaskId} CorrelationId={CorrelationId} ProviderRequestId={ProviderRequestId} ProviderRunId={ProviderRunId} Stage={Stage} ReasonCode={ReasonCode}",
task.Id, correlationId, providerFailure.ProviderRequestId, providerFailure.ProviderRunId, providerFailure.Stage, providerFailure.Code);
HardTimeoutSeconds = task.HardTimeoutSeconds
}, ct);
_logger.LogInformation("NetRatel dispatch acknowledged. TaskId={TaskId} CorrelationId={CorrelationId} DurationMs={DurationMs}",
task.Id, correlationId, Stopwatch.GetElapsedTime(dispatchStarted).TotalMilliseconds);
return await FailAsync(task.Id, reason, ct);
var failed = await FailAsync(task, reason, ct);
_logger.LogInformation("NetRatel admission rejected. RequestId={RequestId} TaskId={TaskId} ConnectionId={ConnectionId} JobDefinitionId={JobDefinitionId} CorrelationId={CorrelationId} HttpStatus={HttpStatus} ReasonCode={ReasonCode} RetryDisposition={RetryDisposition}",
task.RequestId, task.Id, diagnostic.ConnectionId, diagnostic.JobDefinitionId, correlationId,

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants