upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/scripts/40-classify-actions.sh
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-26 07:19:19 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-27 20:38:09 +0000
commitef50f4bd9775e86011d8d636df13422c0dcec287 (patch)
tree068396117f44e59318a4ffff6535547e7020c6f7 /scripts/40-classify-actions.sh
parent0e00db4decfa779c26c6c7648b2badcc5704e6f8 (diff)
Fix parse failure output to show repo|npub instead of event_id|kind
Phase 4 (30-extract-parse-failures.sh) now enriches parse failures with repo name and npub by looking up event_id in announcements.json. This is critical because 'Invalid announcement' rejections only log event_id and kind, not the repo name or npub. Phase 5 (40-classify-actions.sh) was also fixed to extract columns 4 and 5 (repo|npub) instead of columns 1 and 2 (event_id|kind) from parse-failures.txt. Without this fix, action-required.txt showed unusable output like: 000014b2... | 30617 | parse failure logged | fix event format... Now it correctly shows: scripts | npub1hs5244... | parse failure logged | fix event format... The enrichment uses jq to build a lookup table from announcements.json and optionally uses 'nak' to convert hex pubkeys to npub format.
Diffstat (limited to 'scripts/40-classify-actions.sh')
0 files changed, 0 insertions, 0 deletions