Skip to main content
Version: 1.3.0

fix-queue-publish

🐛 Bug Fixes​

[Certificate jobs go through Hotep]​

Goal: The watcher must enqueue a certificate without a Vercel token on Neo. That token expires after twelve hours.

Solution: The queue publish calls Hotep /api/queues/certificates/publish with the service token. Retries use the same call. A failed head on the certificate bucket counts as absent and the retry still sends the proof to Hotep. For an automatic document, a zip whose PDF is not stored publishes the job and answers 409. A manual document still renders in the request. Neo no longer reads VERCEL_QUEUE_*. A preview behind Vercel SSO gets x-vercel-protection-bypass when HOTEP_PROTECTION_BYPASS is set.

Files Modified:

  • src/core/hotep/hotep.service.ts - Publish call
  • src/domains/document/zip.service.ts - Queue a missing automatic certificate and answer 409
  • src/core/certificates/certificate-queue.service.ts - A failed head still republishes
  • src/core/proof-watcher/proof-watcher.service.ts - Run the certificate sweep on startup
  • src/core/config/certificate-queue.config.ts - Drop the queue credentials