Urgent.News

What's breaking now, across thousands of outlets.

Tech

Fixing a JSON‑Schema Break in the Content‑Automation Pipeline for Bluesky Posts

Fixing a JSON‑Schema Break in the Content‑Automation Pipeline for Bluesky Posts TL;DR: The automation stopped publishing to Bluesky because a stray comma broke the JSON schema used for post payloads. I updated the schema, patched the generation script, and added proper validation, getting the pipeline back online. The Problem My daily content‑automation repo ( content-automation ) generates…

The automation pipeline for publishing content to Bluesky encountered a break due to a stray comma in the JSON schema used for post payloads. This typo caused the JSON to become invalid, triggering a validation error from Ajv.validate which rejected the entire payload. The pipeline had been silently skipping the publish step, leaving Bluesky empty for the day.

To resolve the issue, a strict JSON schema was defined in schemas/bluesky-post.schema.json. This schema required each post object to contain only the properties 'type' and 'text', with 'type' being one of 'progress' or 'avance', and 'text' being a non-empty string. Additionally, additional properties were disallowed.

The generation script, scripts/generate-bluesky.js, was updated to use this schema for validation. A helper function was added to write JSON with deterministic formatting. A buildPayload function was implemented to create the payload based on the language specified. The script then iterated through the supported languages, built the payload, validated it against the schema using ajv.validate, and wrote the payload to the appropriate file if validation was successful.

By implementing a strict JSON schema and validating the generated payloads, the content-automation pipeline was restored to publishing correctly to Bluesky.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

This story

This is one outlet's version. Read the fullest account.

Read the original at dev.to →

More in Tech

「大きなブレークスルー」はソフトウェア側から来るのかもしれない

「大きなブレークスルー」はソフトウェア側から来るのかもしれない Metaが四半期決算で「Questの販売台数は減少している」と認め、今後は“major breakthroughs(大きなブレークスルー)”を伴うVRヘッドセットだけを製品化すると明言しました。Reality LabsのQ3売上は4億4,300万ドル。AIグラスは伸びてはいるものの、VRの落ち込みを完全には埋めていません。…

  • Meta acknowledges decreasing sales of Quest VR headset
  • Software breakthroughs in VR focus on existing devices
  • Seven Sports' Amblyotube uses Meta Quest for visual training

Lightweight Email API for Password Reset Emails: Suppression List Support Without Lock-In

TL;DR: For a logistics password-reset flow, choose the template boundary that can be migrated and rolled back without changing recovery semantics.

  • Lightweight API defines portable unit of recipient, reset URL, locale, and expiry policy
  • Suppression treated as separate input, producing blocked result for suppressed recipients
  • Template migrations as compatibility changes with version 2 selectable until stable

Everyone has better models. Why do some teams fly while others don't?

Models got dramatically better over the past year. But they got better for everyone. In that time, our team went from 5.3 to 13.7 PRs per person per month, and I personally went from 4.8 to 51.3.

  • AI models improved significantly over past year, boosting team productivity
  • Keboola Connection repository accelerated team's progress
  • CLI, skills, and automation reduced time to merge dramatically

"Trace Shape Reveals Model Capability: 3B vs 7B"

Trace Shape Reveals Model Capability: 3B vs 7B Last week I traced the same agent running on two different model sizes. Same code, same task, same prompts. The only difference: the model.

  • 3B model trace consists of two spans: agent.run and llm.call
  • 7B model trace has an average of 5.8 spans per iteration
  • Larger models exhibit richer trace shapes indicative of agentic behavior

全部を守ろうとしなくてもいい。まずできることから

あなたの仕事と、大切なつながりを守るために — 第 5 回 何から始めればよいのだろう? ここまで、自分の仕事が多くの人やサービスにつながっていること、そして、そのどこかで問題が起きると、仕事そのものに影響することがあると考えてきました。 では、何をすればよいのでしょうか。 パソコンに詳しい人を雇う必要があるのでしょうか。高価なセキュリティ製品を導入しなければならないのでしょうか。…

  • Focus on protecting work and important connections, not everything
  • Update software, activate virus protection, change passwords
  • Back up data in separate location, check cloud services regularly

More from Wednesday 4 November →