paperclip/ui/src
Dotta d6bee62f02
Fix Cloud tenant issue identifier routes (#5196)
## Summary

- Allow Cloud tenant issue identifiers with alphanumeric prefixes, such
as `PC1897-1`, to normalize as issue references.
- Resolve those identifiers through issue detail/update routes, active
run/live run polling, activity, costs, and `issueService.getById`.
- Keep UI issue-link parsing aligned so tenant links normalize back to
`/issues/<IDENTIFIER>`.

## Root Cause

Cloud tenant issue prefixes include digits from the stack-id hash. The
app-side route normalization still accepted only all-letter prefixes, so
`/api/issues/PC1897-1` skipped identifier lookup and fell through as a
non-UUID id.

## Verification

- `pnpm exec vitest run packages/shared/src/issue-references.test.ts
ui/src/lib/issue-reference.test.ts
server/src/__tests__/issue-identifier-routes.test.ts
server/src/__tests__/activity-routes.test.ts
server/src/__tests__/costs-service.test.ts
server/src/__tests__/agent-live-run-routes.test.ts
server/src/__tests__/issues-service.test.ts`
- `pnpm --filter @paperclipai/shared typecheck && pnpm --filter
@paperclipai/server typecheck`
- `git diff --check`

Co-authored-by: Paperclip <noreply@paperclip.ing>
2026-05-04 13:20:58 -05:00
..
adapters Add ACPX local adapter runtime (#4893) 2026-04-30 19:57:05 -05:00
api Switch OpenCode to explicit static/local-aware model selection (#5117) 2026-05-03 13:01:34 -07:00
components Switch OpenCode to explicit static/local-aware model selection (#5117) 2026-05-03 13:01:34 -07:00
context [codex] Split PR #4692 UI/QoL updates (#4701) 2026-04-28 17:18:58 -05:00
fixtures [codex] Split PR #4692 UI/QoL updates (#4701) 2026-04-28 17:18:58 -05:00
hooks [codex] Improve agent runtime recovery and governance (#4086) 2026-04-20 06:19:48 -05:00
lib Fix Cloud tenant issue identifier routes (#5196) 2026-05-04 13:20:58 -05:00
pages Switch OpenCode to explicit static/local-aware model selection (#5117) 2026-05-03 13:01:34 -07:00
plugins [codex] Harden execution reliability and heartbeat tooling (#3679) 2026-04-14 13:34:52 -05:00
App.test.tsx feat: implement multi-user access and invite flows (#3784) 2026-04-17 09:44:19 -05:00
App.tsx [codex] Add workspace routine run tab (#4958) 2026-05-01 11:58:15 -05:00
index.css Improve issue thread scale and markdown polish (#4861) 2026-04-30 13:18:01 -05:00
main.tsx Add skill slash-command autocomplete 2026-04-04 17:48:54 -05:00
vite-env.d.ts Add feedback voting and thumbs capture flow 2026-04-02 09:11:49 -05:00