Skip to content

Comments

Use topmost parent context for all subsequent functions during switch reconfigure#180

Merged
iljarotar merged 4 commits intomasterfrom
more-logs-for-sonic-applier
Feb 3, 2026
Merged

Use topmost parent context for all subsequent functions during switch reconfigure#180
iljarotar merged 4 commits intomasterfrom
more-logs-for-sonic-applier

Conversation

@iljarotar
Copy link
Contributor

Description

None

@iljarotar iljarotar requested a review from a team as a code owner January 22, 2026 15:04
@iljarotar iljarotar requested a review from majst01 January 23, 2026 10:57
@iljarotar iljarotar changed the title Add more logs to sonic applier Use topmost parent context for all subsequent functions during switch reconfigure Jan 26, 2026
@Gerrit91 Gerrit91 moved this to In Progress in Development Jan 26, 2026
@Gerrit91 Gerrit91 added the area: network Affects the network area. label Jan 26, 2026
for {
select {
case <-ticker.C:
withTimeout, cancel := context.WithTimeout(ctx, 15*time.Second)
Copy link
Contributor

Choose a reason for hiding this comment

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

I would prefer to have the timeout somehow configurable to prevent situations where we need a new build just to make the reconfigure work again

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

managementUser string
)

withTimeout, cancel := context.WithTimeout(ctx, 5*time.Second)
Copy link
Contributor

Choose a reason for hiding this comment

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

same

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done.

@iljarotar iljarotar merged commit 7b869a9 into master Feb 3, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Development Feb 3, 2026
@iljarotar iljarotar deleted the more-logs-for-sonic-applier branch February 3, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: network Affects the network area.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants