Skip to content

Bug 2083532 - Webhook bug.modify payload has empty bug.flags when flags are set at bug creation - #2791

Merged
dklawren merged 1 commit into
mozilla:masterfrom
dklawren:2083532
Oct 20, 2026
Merged

dklawren merged 1 commit into
mozilla:masterfrom
dklawren:2083532

Conversation

@dklawren

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The targeted cache invalidation addresses the stale payload, with regression coverage and no unresolved findings.

No open issues 🎉

What changed in this PR

Fixes stale Push webhook payloads so bug.modify includes flags set during bug creation.

Changes:

  • Clears cached deep and shallow serialization before pushing an object.
  • Adds a regression test covering flags set during creation.
File Description
extensions/​Push/​t/​bmo/​bug_create_flags.t Tests flag contents in create and modify payloads.
extensions/​Push/​lib/​Serialize.pm Adds object-specific cache invalidation.
extensions/​Push/​Extension.pm Invalidates cached serialization before each push.

Review effort: Balanced

@dklawren
dklawren requested review from Xzzz and cgsheeh October 18, 2026 23:18
@dklawren
dklawren merged commit 6384eec into mozilla:master Oct 20, 2026
8 checks passed
@dklawren
dklawren deleted the 2083532 branch October 20, 2026 01:55
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.

3 participants