Skip to content

BB2-5221 Filtering stacktraces - #1794

Draft
annamontare-nava wants to merge 3 commits into
masterfrom
anna/bb2-5221-do-not-output-database-rows-in-stacktraces
Draft

annamontare-nava wants to merge 3 commits into
masterfrom
anna/bb2-5221-do-not-output-database-rows-in-stacktraces

Conversation

@annamontare-nava

Copy link
Copy Markdown
Contributor

JIRA Ticket:
BB2-5221

What Does This PR Do?

Filters stacktraces to not output failing rows when database constraints are violated.

What Should Reviewers Watch For?

If you're reviewing this PR, please check for these things in particular:

  • Does this work for all cases?

Validation

  • filtering on the admin page
  • filtering on an API view (currently doesn't work)

What Security Implications Does This PR Have?

Please indicate if this PR does any of the following:

  • Adds any new software dependencies
  • Modifies any security controls
  • Adds new transmission or storage of data
  • Any other changes that could possibly affect security?
  • Yes, one or more of the above security implications apply. This PR must not be merged without the ISSO or team
    security engineer's approval.

Any Migrations?

  • Yes, there are migrations
    • The migrations should be run PRIOR to the code being deployed
    • The migrations should be run AFTER the code is deployed
    • There is a more complicated migration plan (downtime,
      etc)
  • No migrations

Some migrations in here for a test model but those will be removed before merging.

@annamontare-nava annamontare-nava changed the title WIP on filtering stacktraces BB2-5221 Filtering stacktraces Nov 3, 2026
record.args = mask_mbi(record.args)
record.msg = mask_mbi(record.msg)
record.args = mask_erroring_database_rows(record.args)
record.msg = mask_erroring_database_rows(record.msg)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

don't really need this?

This branch has not been deployed

No deployments
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