Skip to content

ci: follow the rename of staging to dev - #75

Merged
uniqueg merged 4 commits into
devfrom
ci/69-dev-branch
Nov 14, 2026
Merged

uniqueg merged 4 commits into
devfrom
ci/69-dev-branch

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 14, 2026 •

Copy link
Copy Markdown
Member

Summary

Follows the rename of staging to dev and aligns Krini's CI with the other maintained repos (cloud-registry, cloud-registry-ui).

  • Rename: CI runs on pull requests into and pushes to dev only; Dependabot targets dev; docs/deployment.md describes the branch model (dev default, main frozen, releases from v* tags), the dev image tag and its signature identity, and that krini:staging is no longer updated; README links point to dev.
  • Tests back in CI: when ci.yml replaced checks.yml (ci: check PRs and publish images #60), the unit and end-to-end test jobs of test: add unit and end-to-end tests #63 were lost, although the README says CI runs both. Restored as in cloud-registry-ui: test / Test (Vitest on Node.js 22 with the 100% coverage threshold, report uploaded to Codecov with the organization secret CODECOV_TOKEN; codecov.yml as in cloud-registry-ui) and e2e / End-to-end tests (Chromium|Firefox) in the Playwright image.
  • Job alignment: typecheck / Type check folded into build / Build (route types, tsc, build), as in cloud-registry-ui. The gate CI passed and publish need the new jobs, so no dev image is tagged without passing tests.
  • Dependabot leaves @playwright/test alone (pinned with the Playwright image), as in cloud-registry-ui.
  • Fixed the broken indentation of the env-file steps in lint.

The docs build job comes with #73; the release workflow with #62.

Closes #69

Verification

  • actionlint 1.7.12 on .github/workflows/ci.yml: no findings.
  • bun install --frozen-lockfile, bun run lint: passed (95 files).
  • npm run test:coverage: passed, 100% statements/branches/functions/lines.
  • bunx next typegen && bunx tsc --noEmit && bun run build: passed.
  • End-to-end tests: not run locally (need the Playwright image); CI runs them.
  • CI (run 43626737223): all jobs passed, including Test, End-to-end tests (Chromium, Firefox), Build image, Scan image and CI passed; Push image and Publish image skipped as intended on pull requests. Codecov upload worked (codecov/patch and codecov/project passed). The external check Vercel – krini fails, as it does on dev since 2026-11-13 (not a GitHub Actions check, not required).
  • Merged dev (chore: add CODEOWNERS, CITATION.cff and NOTICE #74, docs: fix the README's license, links and naming #76) in; README conflict resolved by keeping docs: fix the README's license, links and naming #76's README and reapplying this PR's test and CI notes. CI passed again after the merge.

Review

Full lane. adversarial-reviewer: no high or medium findings; two low docs findings fixed (signature identity of pre-rename sha-<commit> tags; releases from v* tags described as planned, #62). The quality-reviewer subagent could not be started (concurrent subagent limit of the session); I reviewed the diff myself against cloud-registry-ui's and cloud-registry's ci.yml.

Declined review findings

  • A failed Codecov upload on a push to dev fails Test and so blocks Publish image (low): same design as cloud-registry-ui; the upload works for this repository (codecov/patch and codecov/project reported on this PR), and a rerun recovers after a Codecov outage.

Notes

  • CI passed stays the only required check; the job changes don't touch the ruleset.
  • Codecov upload errors fail only pushes to this repository; if Codecov isn't active for elixir-cloud-aai/krini, the first push to dev will show it.

🤖 Generated with Claude Code

uniqueg and others added 2 commits November 14, 2026 19:18
Dependabot targets dev; the deployment guide describes the branch
model (dev default, main frozen, releases from v* tags), the dev
image tag and its signature identity, and that krini:staging is no
longer updated. The README links point to dev and to ci.yml.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Run CI on dev only. Bring back the unit and end-to-end tests that
were lost when ci.yml replaced checks.yml, as in cloud-registry-ui:
a Test job (Vitest with the coverage threshold, report to Codecov)
and End-to-end tests per browser in the Playwright image. The type
check moves into Build. The gate and publish need the new jobs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@uniqueg uniqueg added the type: ci / cd Related to continuous integration / delivery label Nov 14, 2026
@uniqueg uniqueg self-assigned this Nov 14, 2026
@vercel

vercel Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
krini Ready Ready Preview Nov 14, 2026 8:00pm UTC

@sourcery-ai

sourcery-ai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Reviewer's Guide

Configuration

Retarget Dependabot and CI to dev, restore unit and end-to-end test jobs, fold type checking into the build, and make image publishing and the CI gate depend on the new checks.

  • .github/dependabot.yml L2-7, L20-23 (+3 small edits)
  • .github/workflows/ci.yml L1-25, L168-191, L326-377 (+9 small edits)

Set Codecov project and patch coverage targets to 100% to match the unit-test coverage requirements.

  • codecov.yml L1-12

Documentation

Update the README's CI testing description and workflow reference to reflect the restored tests and renamed branch.

  • README.md L137-139, L153

Document the dev branch and image migration, current signature identities, and the planned v* release convention.

  • docs/deployment.md L7-17, L22-30, L39-45 (+4 small edits)

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@codecov

codecov Bot commented Nov 14, 2026

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

sha-<commit> tags of images built before the rename verify with the
staging identity; releases from v* tags are planned (#62).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel
vercel Bot temporarily deployed to Preview – krini November 14, 2026 18:52 Inactive
@uniqueg
uniqueg marked this pull request as ready for review November 14, 2026 18:57
@sourcery-ai

sourcery-ai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown

Linked issues

Checked at commit 85c12a2

#69 ci: follow the rename of staging to dev · 4 of 4 met

# Requirement Status Notes
1 CI runs on pull requests into and pushes to dev only, with branch comments and examples updated. ✅ Met The workflow triggers only on dev; the image tag and branch comments now use dev.
2 Dependabot targets dev. ✅ Met All three Dependabot update entries set target-branch: dev.
3 Deployment documentation and README match the new branch and image model, including the dev signature identity, the historical staging tag, and the migration to krini:dev. ✅ Met The deployment guide describes dev as the default, main as frozen, planned releases from v* tags, and the dev image and signature identity; it also explains the old staging tag and migration. The README identifies dev as the default and says CI runs on pushes to and pull requests into it.
4 No file names staging as a branch except as history. ✅ Met Remaining staging references describe the former branch, old image tags and signatures, or a deployment hostname—not a current branch.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Needs a human reviewer. This changes the CI path that pushes, signs, and tags container images, and adds a Codecov action. If a workflow mistake lets an unintended image through, reverting stops future publication but does not retract the already-pushed, signed image or its commit tag.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@uniqueg uniqueg mentioned this pull request Nov 14, 2026
1 task
@uniqueg
uniqueg requested a review from AnonymousXC as a code owner November 14, 2026 20:00
@vercel
vercel Bot temporarily deployed to Preview – krini November 14, 2026 20:00 Inactive
@uniqueg
uniqueg merged commit 0656839 into dev Nov 14, 2026
42 checks passed
@uniqueg
uniqueg deleted the ci/69-dev-branch branch November 14, 2026 21:20

This branch was previously deployed

1 inactive deployment
Preview – krini — 85c12a24 Deployed Nov 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: ci / cd Related to continuous integration / delivery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: follow the rename of staging to dev

1 participant