Skip to content

fix(db): pass sender to update_channel in deletion tests - #9620

Closed
wpfleger96 wants to merge 1 commit into
mainfrom
hayt/fix-deletion-update-channel-args
Closed

wpfleger96 wants to merge 1 commit into
mainfrom
hayt/fix-deletion-update-channel-args

Conversation

@wpfleger96

Copy link
Copy Markdown
Member

Main fails to compile buzz-db tests: #9581 added a sender argument to update_channel, and two calls in deletion.rs (from #9363) still pass three.

Both calls now pass the channel's creator (&[1; 32]). The test only renames an open channel to check the community binding, so #9581's private-to-open rule doesn't apply and the test's intent is unchanged.

Verified: cargo clippy -p buzz-db --tests -- -D warnings passes.

Note: main has a second, separate failure: embedded_migrator_contains_consolidated_initial_schema expects 93 migrations but #9598 brought it to 94. Not fixed here.

#9581 added a sender argument to update_channel; two test calls from #9363 still passed three.

Co-authored-by: Hayt <211b96e6a2b7f45fd4047988976c7bbbeeda0c15f3ae7b32eec20834b5a55118@buzz.block.builderlab.xyz>
Signed-off-by: Will Pfleger <wpfleger@block.xyz>
@wpfleger96
wpfleger96 requested a review from a team as a code owner November 17, 2026 19:14
@wpfleger96
wpfleger96 enabled auto-merge (squash) November 17, 2026 19:19
@github-actions github-actions Bot added the codex-security-review-current The posted Codex security review matches its recorded range. label Nov 17, 2026
@github-actions

Copy link
Copy Markdown

🔐 Codex Security Review

Note: This is an automated, security-focused review generated by Codex.
Use it as a supplement to human review; false positives are possible.

Scope

  • Exact PR diff: 4e8f836576c457c2fd51a1a0072240fd7d95aecf...77e44c1b195eb8461f846fa04e10acdd8a0c7d90
  • Model: gpt-6.1-sol

💡 Click "edited" above to see earlier reviews for this PR.


Review Summary

Overall Risk: NONE

The PR supplies the existing channel creator pubkey to two test calls requiring a sender argument. Both changes are confined to a Postgres test; production behavior and community isolation checks are unchanged. No concrete findings.

Findings

No concrete security, correctness, or reliability findings were identified.

Notes

  • Review used read-only inspection. Tests were not executed, as requested.

Generated by Codex Security Review |
Requested by: @wpfleger96 |
Workflow run

@wpfleger96 wpfleger96 closed this Nov 17, 2026
auto-merge was automatically disabled November 17, 2026 20:11

Pull request was closed

This branch was previously deployed

1 inactive deployment
codex-review — 77e44c1b Deployed Nov 17, 2026 by wpfleger96 via Run Codex Security Review #15757
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex-security-review-current The posted Codex security review matches its recorded range.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants