Skip to content

fix(app): resolve project routes that use project names#12924

Open
pandego wants to merge 1 commit intoArize-ai:mainfrom
pandego:fix/12908-project-name-route
Open

fix(app): resolve project routes that use project names#12924
pandego wants to merge 1 commit intoArize-ai:mainfrom
pandego:fix/12908-project-name-route

Conversation

@pandego
Copy link
Copy Markdown
Contributor

@pandego pandego commented Apr 29, 2026

fixes #12908

This keeps /projects/<name>/... links working by resolving project names to the canonical Relay global ID before the project loader queries node(id: ...).

It also hardens is_composite_global_id() so invalid base64 strings return False instead of bubbling a decode error through GraphQL.

Validation:

  • pnpm --dir app exec oxlint src/pages/project/projectLoader.ts __tests__/projectLoader.test.ts
  • pnpm --dir app exec tsc --noEmit
  • pnpm --dir app exec vitest run __tests__/projectLoader.test.ts
  • uv run ruff check src/phoenix/server/api/types/node.py tests/unit/server/api/types/test_node.py
  • uv run pytest tests/unit/server/api/types/test_node.py

@pandego pandego requested review from a team as code owners April 29, 2026 19:33
@github-project-automation github-project-automation Bot moved this to 📘 Todo in phoenix Apr 29, 2026
@dosubot dosubot Bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

Status: 📘 Todo

Development

Successfully merging this pull request may close these issues.

UI: /projects/<name>/* routes throw GraphQL error — base64 decode of literal name fails

1 participant