Skip to content

test(none): pass input_files in the custom DAG job integration test - #354

Merged
awalker4 merged 1 commit into
mainfrom
test/custom-dag-job-input-files
Sep 29, 2026
Merged

awalker4 merged 1 commit into
mainfrom
test/custom-dag-job-input-files

Conversation

@awalker4

Copy link
Copy Markdown
Collaborator

Problem

test_workflow_lifecycle_with_custom_dag_job creates a job with only job_nodes in request_data and no input files. The Platform API now requires an input source on job creation. It rejects the request with:

400 {"detail":"At least one input source (input_files or input_file_ids) is required"}

As a result, test_platform_integration fails on every PR, whatever the PR changes.

Fix

Attach _sample_docs/layout-parser-paper-fast.pdf as input_files, the same way test_workflow_lifecycle in the same file already does. SDK code is unchanged.

🤖 Generated with Claude Code

The Platform API now rejects job creation with no input source, so the
custom DAG job test fails with a 400. Attach a sample PDF the same way
test_workflow_lifecycle already does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Shadow auto-approve: would not auto-approve. This PR does not meet the repository auto-approval settings.

Re-trigger cubic

@awalker4
awalker4 merged commit a073b7b into main Sep 29, 2026
20 checks passed
@awalker4
awalker4 deleted the test/custom-dag-job-input-files branch September 29, 2026 00:27
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