A New Project run's title is its description cut at 48 characters #388
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What happens
A New Project run's title is the first 48 characters of its description. Run 172 reads
# Build "Scratch" — a multiplayer online card ga, with the Markdown#and a word cut in half. The same text shows in the tab and the run bar.Fix
Done when
Where to look:
_derive_nameinsrc/osf/api/routes.py;data-bar-titleinui/src/components/RunBar.tsx.Reported by the owner from run 172.
Shipped in PR 389, live on production at
b5d12bd. A New Project run with no name asks its own model for a title after it's created. The first-line title is cleaned and cut at a word, and it stays if the model doesn't answer. The bar's title is white at 15px, and the project name stays 17px.Evidence: tests cover each backend's request shape, a refusal, and the title arriving through the real reducer; the
one-shot-trackedsim passes.Not checked: a real model writing a title, because trogdor is down. Watch the next New Project run. A reasoning model that uses its 4,000 tokens before answering leaves the first-line title.
Limits: Free runs keep the first-line title, because the request would spend quota and could reach a provider a private repo is kept from. Existing runs keep their old titles.