Skip to content

feat(server): add project metadata update API - #42904

Open
mattrobrob wants to merge 4 commits into
anomalyco:v2from
mattrobrob:project-metadata-api
Open

feat(server): add project metadata update API#42904
mattrobrob wants to merge 4 commits into
anomalyco:v2from
mattrobrob:project-metadata-api

Conversation

@mattrobrob

@mattrobrob mattrobrob commented Aug 16, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #42906

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds PATCH /api/project/:projectID for updating project names, icons, and startup commands.

Omitted fields are preserved, empty strings clear values, and unknown projects return a typed 404. Successful changes publish the complete project.updated event through the current server event stream. Generated clients and API references are updated, but client UI integration is intentionally out of scope.

This builds on the earlier work in #38443 and adapts it to the current project/worktree and event architecture.

How did you verify your code works?

  • Full pre-push typecheck: 33 tasks passed across 39 packages.
  • Core project tests: 18 passed, 1 skipped.
  • Server test suite: 25 passed.
  • Schema and Protocol tests, Client typecheck, generated documentation checks, targeted lint, and git diff --check passed.

Screenshots / recordings

Not applicable; this is an API and persistence change.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added needs:title needs:compliance This means the issue will auto-close after 2 hours. labels Aug 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hey! Your PR title Project metadata api doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, I found one potentially related PR:

Potential Related PR:

This PR appears to be related as it deals with project metadata functionality. It may be addressing similar concerns or could share overlapping scope with the new "Project metadata api" PR #42904.

You may want to review PR #38443 to check if there's any overlap in functionality or if it was a previous attempt at implementing similar features.

@mattrobrob mattrobrob changed the title Project metadata api feat(project): add metadata update API Aug 16, 2026
@github-actions github-actions Bot removed needs:title needs:compliance This means the issue will auto-close after 2 hours. labels Aug 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@mattrobrob
mattrobrob marked this pull request as ready for review August 16, 2026 15:47
@mattrobrob mattrobrob changed the title feat(project): add metadata update API feat(server): add project metadata update API Aug 16, 2026
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