Skip to content

feat: update CLI to support new Azure Batch features [COMP-1464]#605

Draft
ramonamela wants to merge 2 commits intomasterfrom
worktree-COMP-1464
Draft

feat: update CLI to support new Azure Batch features [COMP-1464]#605
ramonamela wants to merge 2 commits intomasterfrom
worktree-COMP-1464

Conversation

@ramonamela
Copy link
Copy Markdown
Contributor

Summary

  • Add Azure Entra (service principal) credentials support (tw credentials add azure-entra)
  • Add managed identity options for head/pool client IDs and resource IDs in Forge and Manual Azure Batch CEs
  • Add VNet/subnet support (--subnet-id) for private network isolation
  • Add dual pool mode (--dual-pool) with separate head and worker pool configuration for Forge, and --worker-pool for Manual mode
  • Add job max wall clock time (--job-max-wall-clock-time)
  • Replace JobCleanupPolicy enum with 3 boolean toggles: --delete-jobs-on-completion, --delete-tasks-on-completion, --terminate-jobs-on-completion

Note: Requires tower-java-sdk bump to >= 1.133.0 for new model fields. Code will not compile until the SDK is updated.

Platform PRs implemented

  • #10519 — Entra credentials for Azure Batch Forge and Fusion v2
  • #10577 — Separate Azure managed identities for head and compute jobs
  • #10541 — Private VNet/subnet support for Azure Batch CEs
  • #10636 — Separate head and worker pools for Azure Batch
  • #10708 — jobMaxWallClockTime for Azure Batch CEs
  • #10681 — Replace JobCleanupPolicy enum with boolean toggles

Test plan

  • AzureEntraProviderTest — credential add flow verified
  • Full test suite after SDK bump
  • Manual verification of all new CLI options

🤖 Generated with Claude Code

ramonamela and others added 2 commits April 8, 2026 19:51
- Add Azure Entra (service principal) credentials support (add/update)
- Add managed identity options (head/pool client IDs and resource IDs)
  for both Forge and Manual Azure Batch compute environments
- Add VNet/subnet support (--subnet-id) for private network isolation
- Add dual pool mode (--dual-pool) with separate head and worker pool
  configuration for Forge mode, and --worker-pool for Manual mode
- Add job max wall clock time option (--job-max-wall-clock-time)
- Replace JobCleanupPolicy enum with 3 boolean toggles:
  --delete-jobs-on-completion, --delete-tasks-on-completion,
  --terminate-jobs-on-completion

Note: requires tower-java-sdk bump to >= 1.133.0 for new model fields.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Bump tower-java-sdk from 1.114.0 to 1.133.0 for new Azure Batch
  model fields (managed identity, subnet, dual pool, wall clock time,
  cleanup toggles)
- Add bash integration test script for all new Azure Batch CLI features

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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