Skip to content

test(workflow-executor): PRD-552 legacy and deterministic Load Related Record coexist#1688

Open
Scra3 wants to merge 3 commits into
feature/prd-551-executor-apply-deterministic-load-relatedfrom
feature/prd-552-backward-compat-load-related
Open

test(workflow-executor): PRD-552 legacy and deterministic Load Related Record coexist#1688
Scra3 wants to merge 3 commits into
feature/prd-551-executor-apply-deterministic-load-relatedfrom
feature/prd-552-backward-compat-load-related

Conversation

@Scra3

@Scra3 Scra3 commented Jun 20, 2026

Copy link
Copy Markdown
Member

Context

Joint backward-compat guard for the Deterministic Load Related Record epic (PRD-471), stacked on #1687 (PRD-551).

What

An explicit regression test: within one run the same executor takes the AI path for a legacy prompt-only step (no preRecordedArgs) and the deterministic no-AI path for a step with source + relation pinned. Coexistence was already implied by the green suite; this names it as a guard.

Where the rest of the coexistence is covered

  • Orchestrator (#8312): step with no forest:preRecordedArgs → forwarded unchanged (parser test).
  • Run panel (#9773): Handle Manually present on legacy, absent on deterministic; field unlocked on legacy.
  • Editor (#9770): legacy steps render the untouched guidance panel (gating).

Tests

82/82 in the load-related suite (run locally).

fixes PRD-552

🤖 Generated with Claude Code

Note

Add coexistence tests for legacy and deterministic LoadRelatedRecordStepExecutor paths

Adds a Jest describe block in load-related-record-step-executor.test.ts verifying that both execution modes work correctly within the same run.

  • Legacy prompt-only steps trigger the AI path and call bindTools.
  • Deterministic steps with preRecordedArgs (selectedRecordStepId, relationName) fetch related records directly via the agent port using prior step results, return success, and skip bindTools.

Macroscope summarized a6f608d.

alban bertolini and others added 2 commits June 20, 2026 09:03
… coexist (PRD-552)

Explicit backward-compatibility regression: within one run, the same executor takes the AI path
for a legacy prompt-only step (no preRecordedArgs) and the deterministic no-AI path for a step
with source + relation pinned.

fixes PRD-552

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@linear-code

linear-code Bot commented Jun 20, 2026

Copy link
Copy Markdown

PRD-552

@qltysh

qltysh Bot commented Jun 20, 2026

Copy link
Copy Markdown

Qlty


Coverage Impact

This PR will not change total coverage.

🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

…ed' into feature/prd-552-backward-compat-load-related
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.

1 participant