Menu â–¾ â–´

#545 Let events carry tags of up to 128 characters

open
nobody
None
5 hours ago
5 hours ago
Anonymous
No

Originally created by: athanclark

Part of [#538]. Mirroring work items from self-hosted forges tags each item with its reference, for example gitlab:git.example.com/group/subgroup/project!1234. A 64-character tag can't always hold that.

  • Event tags may now be 1–128 characters. So may the tags that select events: separations and default views (viewFilterKey, filterDocument, the HTTP separation filter), chart series, and mapping filters.
  • A timeline's own tags, shown on cards and pages, stay within 64. The native store only checks those, so it is unchanged.
  • New check: validateEntityTags (with ENTITY_TAG_LENGTH) is the event-tag check. validateTags keeps its 64-character default.
  • Schemas and docs: the OpenAPI schemas for entity metadata, default views and separations allow 128. docs/tags.md says so.

Tests

A new test in test/tags.test.mjs covers both limits, an event keeping a 128-character tag, and a separation selecting by one.

npm test passes apart from contents.test.mjs, which fails locally with git ENOBUFS.

🤖 Generated with Claude Code

https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B

Related

Tickets: #538
Tickets: #546
Tickets: #547

Discussion


Log in to post a comment.