• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dangernoodle-io / ouroboros / 26425381440
81%

Build:
DEFAULT BRANCH: main
Ran 26 May 2026 12:26AM UTC
Jobs 1
Files 32
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 May 2026 12:25AM UTC coverage: 78.104% (+0.01%) from 78.093%
26425381440

push

github

web-flow
feat: project prefix rename with item ID aliases (OU-142) (#71)

- extend `project op:"rename"` to accept `new_prefix` alongside (or
  instead of) `new_name`; both empty = error; both set = atomic combined
  rename in one transaction
- add migration v9 creating `item_id_aliases(old_id PK, new_id REFS
  items.id ON UPDATE CASCADE ON DELETE CASCADE, renamed_at)`
- prefix rename rewrites every `items.id` and `plans.item_id` in the
  project, records an alias per item; ON UPDATE CASCADE keeps prior
  aliases pointed at the current id across chained renames
- alias-aware GetItem: falls through to item_id_aliases on miss; a stale
  id from a commit message still resolves to the current item
- add `ValidatePrefix` (`^[A-Z][A-Z0-9]{0,3}$`) used on both create-time
  derived prefixes and explicit rename inputs
- CLI: `ouroboros project rename <name>` now uses `--new-name` and
  `--new-prefix` flags (was positional `<name> <new_name>`); at least
  one flag required. Breaking change to callers but no hook scripts
  invoke this subcommand
- fix RenameProject's document cascade to case-insensitive
  (`LOWER(project) = LOWER(?)`), matching ReassignProjectChildren
- enable PRAGMA foreign_keys=ON in the backlog test DB so the alias
  cascade behavior is verified the way it runs in production; renamed
  prefix tx uses defer_foreign_keys to coordinate the items↔plans
  mutual reference
- closes OU-131 (name rename, already shipped in PR #66) and OU-142

Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>

2340 of 2996 relevant lines covered (78.1%)

0.9 hits per line

Coverage Regressions

Lines Coverage ∆ File
57
75.64
0.76% backlog/projects.go
37
85.49
0.23% app/handlers_backlog.go
24
56.76
-0.39% cli/project.go
23
79.37
0.39% backlog/items.go
12
68.69
0.0% store/store.go
Jobs
ID Job ID Ran Files Coverage
1 26425381440.1 26 May 2026 12:26AM UTC 32
78.1
GitHub Action Run
Source Files on build 26425381440
  • Tree
  • List 32
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26425381440
  • 669afadf on github
  • Prev Build on main (#26383196000)
  • Next Build on main (#26430007864)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc