Skip to content

chore: sync release v1.89.1 to main branch - #7439

Merged
achettyiitr merged 2 commits into
masterfrom
sync-release-88d0d5236de32704e6be939c617a2861cce96bcb
Sep 29, 2026
Merged

achettyiitr merged 2 commits into
masterfrom
sync-release-88d0d5236de32704e6be939c617a2861cce96bcb

Conversation

@rudderstack-github-actions

Copy link
Copy Markdown
Contributor

Description

Syncing patch release v1.89.1 to main branch

↓↓ Please review and edit commit overrides before merging ↓↓

BEGIN_COMMIT_OVERRIDE
fix(batchrouter): recover snowpipe streaming channels for tables dropped externally (#7434)
END_COMMIT_OVERRIDE

achettyiitr and others added 2 commits September 29, 2026 16:31
…ped externally (#7434)

# Description

Fixes two Snowpipe Streaming failures when a table is dropped externally
while its channel is still open.

**1. Stale channel + new columns aborts every upload.** The cached (or
Snowpipe service's) channel has the old schema, so we `ALTER TABLE ...
ADD COLUMN` on the dropped table, abort the jobs, and keep reusing the
same channel:
```
adding columns for table T: adding column: abort error, ... 002003 (42S02): Table '...T' does not exist or not authorized.
```
Fix: when adding columns fails, delete the channel and retry once with a
fresh one, which recreates the missing table.

**2. Failed channel recreation is cached after bulk status.**
`handleChannelRecoveryPostBulkStatus` didn't check `Success`, cached a
response with an empty channel ID, then failed with:
```
getBulkChannelStatus.channelIds: must not be empty
```
Fix: return the error instead of caching the response.

**Testing:** unit tests in `channel_test.go` (fail on master), and
verified end to end against Snowflake: dropping a table while events add
a new column now recreates the table instead of aborting.

## Linear Ticket

Resolves INT-7242

## Security

- [ ] The code changed/added as part of this pull request won't create
any security issues with how the software is being used.

🤖 Generated with [Claude Code](https://claude.com/claude-code)
🤖 I have created a release *beep* *boop*
---


##
[1.89.1](v1.89.0...v1.89.1)
(2026-09-29)


### Bug Fixes

* **batchrouter:** recover snowpipe streaming channels for tables
dropped externally
([#7434](#7434))
([2c79aa8](2c79aa8))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: rudderstack-github-actions[bot] <236995729+rudderstack-github-actions[bot]@users.noreply.github.com>
@achettyiitr
achettyiitr merged commit 93cd81d into master Sep 29, 2026
127 of 129 checks passed
@achettyiitr
achettyiitr deleted the sync-release-88d0d5236de32704e6be939c617a2861cce96bcb branch September 29, 2026 11:22
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.

2 participants