Entity notices: render and set/clear verbs added
v0.56.0
Minor Changes
-
d0d1346: Add entity-notice rendering (Part A) and set/clear verbs (Part B) for org, product, and source entities (#278).
Part A — render:
releases get,releases org get, andreleases admin source updatedetail views now display a curator notice in yellow when the API returns one — formatted asNotice: <message> → <coordinate-or-href>(pointer omitted when absent). The notice also passes through in all--jsonoutputs.Part B — set/clear: New flags on the three entity update commands:
releases org update --notice <msg>/--notice-link <coord|url>/--notice-link-text <label>/--clear-noticereleases admin product update— same flagsreleases admin source update— same flags
--notice-linkis routed automatically: anhttps?://value is sent ashref; anything else is validated as a 1–2-segment registry coordinate (orgororg/slug) and sent ascoordinate.--clear-noticesends{ notice: null }to remove an existing notice. The flags are mutually exclusive (--clear-notice+--noticeexits with an error).All flag parsing lives in
src/lib/notice.ts. TheNoticetype is imported from@buildinternet/releases-core@0.23.0(canonical source); this PR also bumps@buildinternet/releases-api-typesto^0.29.0.
Patch Changes
- 6ef7321:
admin source fetch-log <source>now shows an in-progress banner when a managed-agent fetch is still running for that source — the session id plus how long it has been running — so an operator can tell a live fetch from a stuck one instead of seeing only terminal history (#1360). The source-filtered query reads the API's envelopedactiveSession;--jsonoutput is unchanged (still the bare logs array). The status column also labels thecrawl_timeout(#1361) andblocked(#1171) states distinctly instead of rendering them as "no change".
Fetched June 11, 2026
