Context#
I was trying to publish from the CI/CD, but I have already published my posts locally while testing Sequoia.
I noticed that even running sync in the CI/CD, the injection on HTML verification was not happening:
Scanning for HTML files in: /tangled/workspace/dist/
Found 71 slug mappings from published posts
Found 227 HTML files
---
Injected: 0
Already has tag: 0
Skipped (no match): 227
Tip: Skipped files had no matching published post. This is normal for non-post pages.
Locally it worked.
Debugging#
So I compared .sequoia-state.json and found a possible bug. Locally this file has records with slug field, like:
{
"posts": {
"content/2026-03-18-building-a-custom-bluesky-feed-part-3.md": {
"contentHash": "731fee35b4a07f59806202039af02d91d7eb9f2a3e0903ae18685dca2aeb6b39",
"atUri": "at://did:plc:3272gdrjsuikiff7qsgokgas/site.standard.document/3mjb2toufy32l",
"lastPublished": "2026-04-12T00:10:57.769Z",
"slug": "building-a-custom-bluesky-feed-part-3"
},
"content/2026-03-13-building-a-custom-bluesky-feed-part-2.md": {
"contentHash": "7fa682ed98f8747e4cfdae80ff2199e8a89a2396adddafd4ea5198f37abc0803",
"atUri": "at://did:plc:3272gdrjsuikiff7qsgokgas/site.standard.document/3mjb2town5i2v",
"lastPublished": "2026-04-12T00:10:57.844Z",
"slug": "building-a-custom-bluesky-feed-part-2"
},
"content/2026-03-11-building-a-custom-bluesky-feed-part-1.md": {
"contentHash": "1cb481d5b4078a6412aee5338461ad0852794bb6d15eca323bce5632aea796b0",
"atUri": "at://did:plc:3272gdrjsuikiff7qsgokgas/site.standard.document/3mjb2toyqm62l",
"lastPublished": "2026-04-12T00:10:57.902Z",
"slug": "building-a-custom-bluesky-feed-part-1"
}
}
In the CI/CD environment these slug fields were missing. I deleted locally the .sequoia-state.json and tried to regenerate it with syncand got a file without the slug fields.
Maybe a bug?#
I noticed that around these lines there is no slug field, so maybe we could add it? Not sure.
How to reproduce it#
$ sequoia publish
$ rm .sequoia-state.json
$ sequoia sync
For reference, this is my config.
Thanks for catching this! I think it really could be that simple and we just need to add that slug field. Let me do some testing and see what I can do ๐ซก