Skip to content

chore(ci): consolidate release pipeline — remove npm-publish.yml, fix idempotent release (T5508)#56

Merged
kryptobaseddev merged 3 commits intomainfrom
chore/ci-pipeline-cleanup
Mar 6, 2026
Merged

chore(ci): consolidate release pipeline — remove npm-publish.yml, fix idempotent release (T5508)#56
kryptobaseddev merged 3 commits intomainfrom
chore/ci-pipeline-cleanup

Conversation

@kryptobaseddev
Copy link
Owner

Summary

  • Delete npm-publish.yml — redundant with release.yml, not in OIDC trust list (was the cause of E404 during v2026.3.14 publish attempt)
  • release.yml single consolidated job — was 3 jobs each rebuilding the project; now one job, one build
  • Idempotent GitHub release — replaces softprops/action-gh-release@v2 with direct gh release CLI that deletes+recreates; safe to re-run, no more "too many retries" failures
  • workflow_dispatch break-glass — can now retry a failed release without re-pushing the tag; accepts version input, tag must exist on main
  • ADR-016 updated — §8.3 diagram and §8.6 table updated to reflect single-job design and removal of npm-publish.yml

After merge

Will trigger workflow_dispatch on release.yml with version=2026.3.14 to complete the npm + MCP Registry publish for the already-tagged v2026.3.14 release.

- Delete npm-publish.yml: redundant with release.yml, not in OIDC trust list,
  was the cause of the E404 during v2026.3.14 publish attempt
- release.yml: single consolidated job (was 3 jobs each rebuilding the project)
- release.yml: idempotent GitHub release via gh CLI (delete+recreate — no more
  "too many retries" failures on re-runs when release already exists)
- release.yml: add workflow_dispatch break-glass with version input (retry a
  failed release without re-pushing the tag)
- release.yml: all ${{ }} expressions passed via env: vars (no injection surface)
- ADR-016 §8.3/8.6: update workflow architecture diagram and CI summary table
  to reflect single-job design and removal of npm-publish.yml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
AI Bot and others added 2 commits March 6, 2026 08:21
- Delete docs/specs/CLEO-INSTALL-CHANNELS-SPEC.md — redundant draft
  mirroring ADR-016; ADR-016 is the canonical SSoT for install channels
  and release pipeline (§8.3/8.6 already updated in prior commit)
- src/protocols/release.md: remove CLEO-specific CI/CD workflow names
  and stale @cleocode/mcp-server section; replace with project-agnostic
  cleo release init-ci pattern
- src/protocols/agent-protocol.md: rewrite as MCP-first; demote CLI (ct)
  to fallback table; add query/mutate operation tables for all domains;
  all operations available via MCP — same shared core as CLI
- src/protocols/artifact-publish.md: fix stale example (mcp-server/
  directory removed); use generic package.json path
- src/protocols/testing.md, validation.md: annotate stale
  PROTOCOL-ENFORCEMENT-SPEC.md reference as ARCHIVED (T5492)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Validates AuditLogInsertSchema before SQLite insert in writeToSqlite().
Invalid payloads are logged as warnings and skipped rather than throwing.
Rescued from stash@{4} — code was complete but orphaned.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kryptobaseddev kryptobaseddev merged commit f5dd983 into main Mar 6, 2026
5 of 8 checks passed
@kryptobaseddev kryptobaseddev deleted the chore/ci-pipeline-cleanup branch March 6, 2026 16:41
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