Skip to content

Comments

Job execution commands and site archive import/export#7

Merged
clavery merged 11 commits intomainfrom
feature/jobs
Dec 3, 2025
Merged

Job execution commands and site archive import/export#7
clavery merged 11 commits intomainfrom
feature/jobs

Conversation

@clavery
Copy link
Collaborator

@clavery clavery commented Dec 3, 2025

Summary

  • Add job execution commands: job run, job wait, job search
  • Add site archive commands: job import, job export
  • Add JobCommand base class to b2c-tooling for shared job log display functionality
  • Use OCAPI generated type aliases instead of wrapper interfaces
  • Extract error messages from failed job step executions
  • Library logs at debug level; CLI handles user-facing output

New Commands

Command Description
b2c job run Execute a job on a B2C Commerce instance
b2c job wait Wait for a job execution to complete
b2c job search Search for job executions
b2c job import Import a site archive using sfcc-site-archive-import
b2c job export Export a site archive using sfcc-site-archive-export

Test plan

  • b2c job run <job-id> starts a job
  • b2c job run <job-id> --wait waits for completion
  • b2c job search lists recent job executions
  • b2c job import ./data uploads and imports site archive
  • b2c job export --global-data meta_data exports and downloads archive

@clavery clavery changed the title Job Implementation Job execution commands and site archive import/export Dec 3, 2025
@clavery clavery merged commit 5816fc3 into main Dec 3, 2025
2 checks passed
@clavery clavery deleted the feature/jobs branch January 27, 2026 01:23
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