Skip to content

Mutating a backend node with extra attrs logs instead of raising #6350

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 25, 2025

Conversation

LucasG0
Copy link
Contributor

@LucasG0 LucasG0 commented Apr 24, 2025

Fixes #6349

@github-actions github-actions bot added the group/backend Issue related to the backend (API Server, Git Agent) label Apr 24, 2025
Copy link

codspeed-hq bot commented Apr 24, 2025

CodSpeed Performance Report

Merging #6350 will not alter performance

Comparing lgu-log-on-extra-attr (a564eb0) with stable (a987255)

Summary

✅ 10 untouched benchmarks

@LucasG0 LucasG0 marked this pull request as ready for review April 24, 2025 08:42
@LucasG0 LucasG0 requested a review from a team as a code owner April 24, 2025 08:42
@LucasG0 LucasG0 force-pushed the lgu-log-on-extra-attr branch 2 times, most recently from 8a227ee to 7274f67 Compare April 24, 2025 08:57
@LucasG0 LucasG0 force-pushed the lgu-log-on-extra-attr branch from 7274f67 to a564eb0 Compare April 24, 2025 08:57
assert "not a valid input" in str(exc.value)
assert node.name.value == "low"
assert node.level.value == 4
assert not hasattr(node, "notvalid")
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be nice if the test captured the log entry.

@LucasG0 LucasG0 merged commit 81d9f74 into stable Apr 25, 2025
35 checks passed
@LucasG0 LucasG0 deleted the lgu-log-on-extra-attr branch April 25, 2025 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
group/backend Issue related to the backend (API Server, Git Agent)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: Deleted attribute still exists on some records
2 participants