SShortSingh.
Back to feed

Supabase developers can now locally test background jobs: cron, queues, HTTP calls, and webhooks

0
·1 views

Supabase applications often require background tasks like scheduled cleanups and webhooks, which are typically built using SQL-based tools. These tools include pg_cron for scheduling, pgmq for queued work, pg_net for HTTP calls, and database webhooks for reacting to data changes. Developers frequently deploy these jobs directly to production without local testing, leading to issues with time zones or failed requests. A recent guide demonstrates how to combine these tools and test the entire background layer on a local machine before deployment.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Deloitte accused of falsifying documents to evade taxes for Roman Abramovich

Deloitte has been accused of falsifying documents to help Russian billionaire Roman Abramovich evade taxes. The allegations were reported by the BBC and discussed on the Hacker News forum. The professional services firm allegedly took these actions to reduce Abramovich's tax liabilities. The accusations involve the submission of inaccurate paperwork to tax authorities. The case highlights potential misconduct by a major global auditing firm.

0
ProgrammingHacker News ·

Ledger Confirms Hidden Chip in Crypto Wallet Amid $92M Theft Claims

Hardware wallet maker Ledger confirmed the presence of a previously undisclosed chip in its latest product. This confirmation came in response to an online video alleging the chip could facilitate a $92 million theft. The company stated the chip is a standard secure element sourced from an established supplier. It is intended to enhance security and is not a secret backdoor.

0
ProgrammingDEV Community ·

Critical Langflow Vulnerability Allows Unauthenticated Code Execution

A critical security flaw designated CVE-2026-0768 has been discovered in Langflow, an AI workflow building platform. The vulnerability, rated 9.8 in severity, allows unauthenticated attackers to execute arbitrary Python code on affected systems. Exploitation activity increased significantly after proof-of-concept details became publicly available. Security researchers advise administrators to immediately apply available patches. They also recommend restricting internet access to these platforms, which are often intended for internal use.

0
ProgrammingDEV Community ·

Selenium ModHeader Extension Fails Due to Chrome MV2 Deprecation

The ModHeader browser extension, widely used in Selenium automation tests to set HTTP headers, stopped working in 2024. Chrome's deprecation of Manifest V2 extensions rendered the unmaintained ModHeader package non-functional. The package still receives approximately 150,000 monthly downloads, meaning many automated test pipelines are now broken. Alternative methods include using Playwright's built-in header features or Selenium 4's Chrome DevTools Protocol integration. For complex scenarios, newer tools like the open-source Headerwise extension offer a replacement.