Skip to content

Restore code_source_path wiring for AI Runtime tasks#5992

Draft
pietern wants to merge 1 commit into
mainfrom
ai-runtime-code-source-path-revert
Draft

Restore code_source_path wiring for AI Runtime tasks#5992
pietern wants to merge 1 commit into
mainfrom
ai-runtime-code-source-path-revert

Conversation

@pietern

@pietern pietern commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

The TF provider (v1.122.0, #5977) and SDK (v0.160.0, #5982) bumps dropped code_source_path from ai_runtime_task, and #5982 disabled its use in the air command. This re-enables the CodeSourcePath assignment and test assertions in experimental/air/cmd/.

⚠️ Does not build against SDK v0.160.0 (which lacks the field). Merge after the next SDK bump re-adds it; generated files are left to reappear on codegen.

This pull request and its description were written by Isaac.

The Terraform provider (v1.122.0) and SDK (v0.160.0) bumps dropped
`code_source_path` from `ai_runtime_task`, and #5982 temporarily disabled
its use in the `air` command. Re-enable the typed CodeSourcePath assignment
in buildSubmitPayload and re-instate the corresponding test assertions.

This does not build against SDK v0.160.0, which lacks
jobs.AiRuntimeTask.CodeSourcePath; it is staged so it can be merged after
the next SDK bump re-adds the field. The generated files (TF schema, dabs
map, bundle schema, Python bindings, acceptance goldens) are intentionally
left untouched — they reappear on codegen once the field returns.

Co-authored-by: Isaac
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 143b962

Run: 29815549546

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux 3 70 20 0:47
💚​ aws windows 3 70 20 0:49
💚​ aws-ucws linux 3 79 11 0:40
💚​ aws-ucws windows 3 79 11 0:55
💚​ azure linux 3 69 20 0:37
💚​ azure windows 3 69 20 1:15
💚​ azure-ucws linux 3 78 11 0:52
💚​ azure-ucws windows 3 78 11 1:02
💚​ gcp linux 3 70 20 0:33
💚​ gcp windows 3 70 20 0:53
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
💚​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R

@janniklasrose janniklasrose left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

approving to unblock rebase with next suitable SDK update

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.

3 participants