Skip to content

59 ver 038#60

Merged
rogerwq merged 7 commits intomainfrom
59-ver-038
Dec 30, 2025
Merged

59 ver 038#60
rogerwq merged 7 commits intomainfrom
59-ver-038

Conversation

@rogerwq
Copy link
Collaborator

@rogerwq rogerwq commented Dec 30, 2025

No description provided.

  Check if Docker image exists locally via inspect_image() before
  attempting to pull from registry, avoiding unnecessary network requests.
  Update all call sites of run_job() to match the new signature that groups
  related parameters into tuples:
  - (workflow_name, workflow_folder, workflow_params)
  - (job, config, job_params)
  Fix bug in TUI state.rs where workflow completion always sent
  JobStatus::Completed, even when a job had failed. Now correctly
  tracks workflow_failed flag and sends appropriate final status.
  Previously run_job() always returned Ok(container_id) even when scripts
  failed with non-zero exit codes. The all_scripts_succeeded flag was only
  used for output collection, not the return value.

  Now run_job() returns Err(DockerError::ScriptExecutionFailed) when any
  script fails, properly stopping workflow execution instead of continuing
  to the next job.
  Add startup update check that queries GitHub Releases API and prompts
  user to update if a newer version is available. Features:
  - Version comparison using semver
  - Interactive Y/N prompt
  - Automatic execution of install script on confirm
  - 2-second timeout for network requests
  - Graceful handling of network failures
  When user declines an update prompt, show the available version in the
  TUI footer bar as '[Update: vX.X.X]' in magenta. This reminds users
  that an update is available without being intrusive.
  - Run cargo fmt to fix formatting across workspace
  - Fix collapsible_if warnings in executor.rs and layout.rs
  - Fix needless_return warning in state.rs

  All CI checks now pass:
  - 23 job_config tests
  - 40 silva tests
  - clippy with -D warnings
  - cargo fmt --check
@rogerwq rogerwq linked an issue Dec 30, 2025 that may be closed by this pull request
@rogerwq rogerwq merged commit f76007e into main Dec 30, 2025
4 checks passed
@rogerwq rogerwq deleted the 59-ver-038 branch December 30, 2025 07:33
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.

ver 0.3.8

1 participant