Skip to content

fix(DAK-5433): clear stale deb/rpm artifacts + enforce brew install tests#86

Merged
ferhimedamine merged 1 commit into
mainfrom
fix/dak-5433-install-test-round3
May 21, 2026
Merged

fix(DAK-5433): clear stale deb/rpm artifacts + enforce brew install tests#86
ferhimedamine merged 1 commit into
mainfrom
fix/dak-5433-install-test-round3

Conversation

@ferhimedamine
Copy link
Copy Markdown
Contributor

Summary

Two workflow fixes to unblock the install-test CI going fully green:

1. publish-linux-packages.yml — stale artifact cache bug
The build job caches target/ keyed on Cargo.lock. When Cargo.toml metadata changes but Cargo.lock is unchanged, the old dakera-cli_*.deb persists in target/debian/. cargo deb produces a new dk_*.deb alongside the old file, and ls *.deb | head -1 picks the wrong one alphabetically.

Fix: rm -rf target/debian/ and rm -rf target/generate-rpm/ before building.

2. install-test.yml — remove stale continue-on-error from brew jobs
dakera-ai/homebrew-tap is now public (DAK-5437). The continue-on-error: true was a temporary workaround. Now that the tap is public, brew install should be enforced.

Status after this PR

  • APT: dk package will be correctly named after next publish
  • RPM: same
  • Homebrew: enforced (tap is public)
  • npx: fixed — @dakera-ai/dakera-mcp@0.10.8 live with bin conflict resolved
  • cargo install/binstall: continue-on-error (not on crates.io yet, DAK-5436)

🤖 Generated with Claude Code

@ferhimedamine ferhimedamine added the auto-merge Auto-merge when CI passes label May 21, 2026
…rew tests

Two fixes:
- publish-linux-packages.yml: rm -rf target/debian/ and target/generate-rpm/
  before building. A cache hit on `target/` left the old `dakera-cli_*.deb`
  alongside the new `dk_*.deb`; head -1 in the publish step picked the wrong
  one alphabetically. Clearing ensures only the freshly-named package exists.
- install-test.yml: remove continue-on-error from brew jobs now that
  homebrew-tap is public (DAK-5437 resolved).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ferhimedamine ferhimedamine force-pushed the fix/dak-5433-install-test-round3 branch from 0ae3340 to 3f3a2ab Compare May 21, 2026 14:16
@ferhimedamine
Copy link
Copy Markdown
Contributor Author

Conflict resolved (commit 0ae3340). PR#85 merged while this was open — both touched install-test.yml. Resolution: kept PR#85's job removals, applied this PR's continue-on-error removal + stale comment cleanup from test-brew-dk. New CI run: https://github.com/Dakera-AI/dakera-cli/actions/runs/26231693066

@ferhimedamine ferhimedamine merged commit f03da7a into main May 21, 2026
6 checks passed
@ferhimedamine
Copy link
Copy Markdown
Contributor Author

✅ CI green (6/6). PR is ready to merge. Resolves the deb/rpm stale artifact cache bug (DAK-5433).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Auto-merge when CI passes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant