Skip to content

Switch function triggers from Pub/Sub to HTTP#3

Merged
patrickeasters merged 1 commit into
mainfrom
http-triggers
May 31, 2026
Merged

Switch function triggers from Pub/Sub to HTTP#3
patrickeasters merged 1 commit into
mainfrom
http-triggers

Conversation

@patrickeasters

Copy link
Copy Markdown
Member

Summary

  • Replaces @functions_framework.cloud_event entry points with @functions_framework.http in both functions
  • Swaps --trigger-topic for --trigger-http --allow-unauthenticated in the deploy workflow
  • Adds ?dry_run=true query param support for ad-hoc test invocations
  • Moves all GCP setup documentation to a new DEPLOYMENT.md, slimming down the README
  • Updates Make.com instructions: use HTTP → Make a request instead of the Pub/Sub module

One-time manual GCP step (after merge + deploy)

Delete existing Cloud Scheduler Pub/Sub jobs and recreate as HTTP jobs — commands in DEPLOYMENT.md.

Test plan

  • curl -X POST <function-url> returns OK
  • curl -X POST "<function-url>?dry_run=true" logs "would" actions without making changes
  • Cloud Scheduler HTTP job fires on schedule

🤖 Generated with Claude Code

Replaces cloud_event entry points with HTTP handlers, enabling direct
webhook invocation from Make.com or curl without a Pub/Sub intermediary.
Adds ?dry_run=true query param support. Moves GCP setup docs to
DEPLOYMENT.md to slim down the README.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@patrickeasters
patrickeasters merged commit dc899a0 into main May 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant