Skip to content

fix: skip config loading for version command#281

Merged
retr0h merged 1 commit intomainfrom
fix/version-no-config
Mar 16, 2026
Merged

fix: skip config loading for version command#281
retr0h merged 1 commit intomainfrom
fix/version-no-config

Conversation

@retr0h
Copy link
Collaborator

@retr0h retr0h commented Mar 16, 2026

Summary

  • Add skipConfigCmds set to skip config file loading for commands
    that don't need it (e.g. version)
  • Fixes docker run ghcr.io/osapi-io/osapi:latest version failing
    because /etc/osapi/osapi.yaml doesn't exist in the container

Test plan

  • osapi version works without a config file
  • docker run ghcr.io/osapi-io/osapi:latest version

🤖 Generated with Claude Code

Add skipConfigCmds set so commands like version can run
without a config file present.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link
Contributor

Thank you for contributing to this project! 😊🕹️

@codecov
Copy link

codecov bot commented Mar 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #281   +/-   ##
=======================================
  Coverage   99.84%   99.84%           
=======================================
  Files         227      227           
  Lines        9925     9925           
=======================================
  Hits         9910     9910           
  Misses         11       11           
  Partials        4        4           

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 25faa21...eb43d45. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@retr0h retr0h merged commit a251159 into main Mar 16, 2026
11 checks passed
@retr0h retr0h deleted the fix/version-no-config branch March 16, 2026 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant