Add devlogs to taxonomy and activity feeds
Deploy production / deploy (push) Successful in 3s

This commit is contained in:
2026-08-11 23:57:15 -07:00
parent 75a8b910bc
commit 2964bdaf24
28 changed files with 189 additions and 37 deletions
+13 -1
View File
@@ -647,12 +647,24 @@ def materialize(
if record.get("_model") == "devlog-entry":
entry_commit = record["source_commit"]
entry_meta = commit_metadata(Path(metadata["mirror_path"]), entry_commit)
topic_values = split_list(record["tags"])
topic_tag_slugs = approved_tag_slugs(
source["project_id"],
"devlog topic",
topic_values,
tag_vocabulary,
)
output = append_fields(
data,
{
"kicker": "Devlog",
"source_commit_url": f"{source['web_url']}/commit/{entry_commit}",
"source_commit_time": entry_meta["commit_date"],
"topic_tags": split_list(record["tags"]),
"topic_tags": topic_values,
"topic_labels": taxonomy_label_items(
topic_values, topic_tag_slugs
),
"topic_tag_slugs": topic_tag_slugs,
},
)
target.write_bytes(output)