Skip to content
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

BED-3828: Audit bare channel writes #61

Merged
merged 9 commits into from
Nov 8, 2023
Merged

BED-3828: Audit bare channel writes #61

merged 9 commits into from
Nov 8, 2023

Conversation

computator
Copy link
Contributor

@computator computator commented Oct 28, 2023

The team identified several channel writes that could potentially lead to lock contention. While some of these cases are eventually resolved through other mechanisms, it is better to be explicit and handle context cancellation where it is expected to be handled and there is a chance that in some cases it isn’t being appropriately handled at all.

@irshadaj irshadaj marked this pull request as ready for review October 30, 2023 22:09
@irshadaj irshadaj requested a review from ddlees October 31, 2023 13:43
cmd/list-app-role-assignments.go Outdated Show resolved Hide resolved
cmd/list-automation-accounts.go Outdated Show resolved Hide resolved
cmd/list-container-registries.go Outdated Show resolved Hide resolved
cmd/list-container-registry-role-assignments.go Outdated Show resolved Hide resolved
cmd/list-device-owners.go Outdated Show resolved Hide resolved
cmd/list-web-app-role-assignments.go Outdated Show resolved Hide resolved
cmd/list-web-apps.go Outdated Show resolved Hide resolved
cmd/list-automation-account-role-assignments.go Outdated Show resolved Hide resolved
cmd/list-tenants.go Outdated Show resolved Hide resolved
pipeline/pipeline.go Outdated Show resolved Hide resolved
client/mocks/client.go Outdated Show resolved Hide resolved
chore: keep SendAny improvement and remove the unnecessary type casting
@irshadaj
Copy link
Contributor

irshadaj commented Nov 7, 2023

After discussion with the team, some of the changes that were starting to get introduced in this MR were reverted in order to prevent scope creep. They will be addressed as a separate refactoring effort at a later time.

@irshadaj irshadaj merged commit faeb09f into main Nov 8, 2023
9 checks passed
@irshadaj irshadaj deleted the channel-audit branch November 8, 2023 15:05
@github-actions github-actions bot locked and limited conversation to collaborators Nov 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants