[PR #69] [MERGED] Fix AI Gateway auth and Google Chat webhook diagnostics #287

Closed
opened 2026-05-06 12:38:59 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/cloudflare/vinext/pull/69
Author: @southpolesteve
Created: 2/25/2026
Status: Merged
Merged: 2/25/2026
Merged by: @southpolesteve

Base: mainHead: feat/gchat-release-notification


📝 Commits (1)

  • 43652c9 Fix AI Gateway auth (use cf-aig-authorization) and show Google Chat error body

📊 Changes

1 file changed (+29 additions, -8 deletions)

View changed files

📝 .github/workflows/publish.yml (+29 -8)

📄 Description

Summary

Fixes the two failures from the publish workflow run (#68):

  • AI Gateway: Changed auth header from x-api-key (wrong — that's for Anthropic API keys) to cf-aig-authorization: Bearer (correct — the gateway has stored Anthropic credentials via BYOK). Also switched to claude-sonnet-4-20250514 as the model.
  • Google Chat 400: Removed -o /dev/null so the error response body is visible in logs. Also builds the JSON payload entirely inside jq to eliminate shell quoting edge cases. Next run will show the actual rejection reason.
  • Added ::group:: log sections for commits, summary, and payload for easier debugging.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/cloudflare/vinext/pull/69 **Author:** [@southpolesteve](https://github.com/southpolesteve) **Created:** 2/25/2026 **Status:** ✅ Merged **Merged:** 2/25/2026 **Merged by:** [@southpolesteve](https://github.com/southpolesteve) **Base:** `main` ← **Head:** `feat/gchat-release-notification` --- ### 📝 Commits (1) - [`43652c9`](https://github.com/cloudflare/vinext/commit/43652c92c562fd7920ea957a886e4e2e341f5472) Fix AI Gateway auth (use cf-aig-authorization) and show Google Chat error body ### 📊 Changes **1 file changed** (+29 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/publish.yml` (+29 -8) </details> ### 📄 Description ## Summary Fixes the two failures from the publish workflow run (#68): - **AI Gateway**: Changed auth header from `x-api-key` (wrong — that's for Anthropic API keys) to `cf-aig-authorization: Bearer` (correct — the gateway has stored Anthropic credentials via BYOK). Also switched to `claude-sonnet-4-20250514` as the model. - **Google Chat 400**: Removed `-o /dev/null` so the error response body is visible in logs. Also builds the JSON payload entirely inside `jq` to eliminate shell quoting edge cases. Next run will show the actual rejection reason. - Added `::group::` log sections for commits, summary, and payload for easier debugging. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:38:59 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vinext#287
No description provided.