Skip to content

fix: handle zero runtime dependencies in CI#1

Merged
chiply merged 1 commit intomainfrom
fix/ci-no-deps
Feb 19, 2026
Merged

fix: handle zero runtime dependencies in CI#1
chiply merged 1 commit intomainfrom
fix/ci-no-deps

Conversation

@chiply
Copy link
Owner

@chiply chiply commented Feb 19, 2026

Summary

  • eask install-deps exits with code 2 when there are no runtime dependencies (brushup only depends on Emacs itself)
  • Add || true so the step succeeds and CI can proceed to compile and lint

Test plan

  • All 4 CI jobs pass (ubuntu + macos x 29.4 + snapshot)

🤖 Generated with Claude Code

eask install-deps exits with code 2 when there are no dependencies
to install. Add || true so the step succeeds for packages that only
depend on Emacs itself.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 19, 2026 22:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the CI workflow to avoid failing when eask install-deps returns a non-zero exit code in projects with no runtime dependencies, allowing the remaining compile/lint steps to run.

Changes:

  • Make the eask install-deps step non-fatal in CI by ignoring its failure (|| true).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

with:
version: 'snapshot'
- run: eask install-deps
- run: eask install-deps || true
Copy link

Copilot AI Feb 19, 2026

Choose a reason for hiding this comment

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

Using || true will hide all eask install-deps failures (e.g., network issues, registry outages, or a newly added dependency that fails to resolve), which reduces CI’s ability to catch real problems. Consider only allowing the specific “no runtime dependencies” exit code (e.g., eask install-deps || [ $? -eq 2 ]), so other non-zero exit codes still fail the job.

Suggested change
- run: eask install-deps || true
- run: eask install-deps || [ $? -eq 2 ]

Copilot uses AI. Check for mistakes.
@chiply chiply merged commit aefe443 into main Feb 19, 2026
9 checks passed
@chiply chiply mentioned this pull request Feb 19, 2026
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.

2 participants