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

LogRedirector panic #2697

Closed
VenelinMartinov opened this issue Dec 6, 2024 · 1 comment · Fixed by #2699
Closed

LogRedirector panic #2697

VenelinMartinov opened this issue Dec 6, 2024 · 1 comment · Fixed by #2699
Assignees
Labels
kind/bug Some behavior is incorrect or out of spec p1 A bug severe enough to be the next item assigned to an engineer resolution/fixed This issue was fixed

Comments

@VenelinMartinov
Copy link
Contributor

What happened?

On the latest bridge one of the GCP tests fails reproducibly with a panic: https://github.com/pulumi/pulumi-gcp/actions/runs/12199367880/job/34039408594?pr=2708

Discovered in downstream tests for a bridge release.

Example

https://github.com/pulumi/pulumi-gcp/actions/runs/12199367880/job/34039408594?pr=2708

Output of pulumi about

.

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@VenelinMartinov VenelinMartinov added the kind/bug Some behavior is incorrect or out of spec label Dec 6, 2024
@pulumi-bot pulumi-bot added the needs-triage Needs attention from the triage team label Dec 6, 2024
@VenelinMartinov VenelinMartinov added the p1 A bug severe enough to be the next item assigned to an engineer label Dec 6, 2024
@iwahbe iwahbe self-assigned this Dec 7, 2024
@iwahbe iwahbe removed the needs-triage Needs attention from the triage team label Dec 9, 2024
iwahbe added a commit that referenced this issue Dec 9, 2024
This change prevents test providers from being initialized with partially nil logging
sinks, which panicked in tests. Happily, the problem is restricted to `MakeMuxedServer`, a
testing API. This was never present in production code.

Fixes #2697

---

This is [my least favorite go feature](https://www.iwahbe.com/blog/go-pointers-considered-confusing/).
iwahbe added a commit that referenced this issue Dec 9, 2024
This change prevents test providers from being initialized with partially nil logging
sinks, which panicked in tests. Happily, the problem is restricted to `MakeMuxedServer`, a
testing API. This was never present in production code.

Fixes #2697

---

This is [my least favorite go feature](https://www.iwahbe.com/blog/go-pointers-considered-confusing/).
iwahbe added a commit that referenced this issue Dec 9, 2024
This change prevents test providers from being initialized with partially nil logging
sinks, which panicked in tests. Happily, the problem is restricted to `MakeMuxedServer`, a
testing API. This was never present in production code.

Fixes #2697

---

This is [my least favorite go feature](https://www.iwahbe.com/blog/go-pointers-considered-confusing/).
iwahbe added a commit that referenced this issue Dec 9, 2024
This change prevents test providers from being initialized with partially nil logging
sinks, which panicked in tests. Happily, the problem is restricted to `MakeMuxedServer`, a
testing API. This was never present in production code.

Fixes #2697

---

This is [my least favorite go feature](https://www.iwahbe.com/blog/go-pointers-considered-confusing/).
@pulumi-bot pulumi-bot added the resolution/fixed This issue was fixed label Dec 9, 2024
@pulumi-bot
Copy link
Contributor

This issue has been addressed in PR #2699 and shipped in release v3.97.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec p1 A bug severe enough to be the next item assigned to an engineer resolution/fixed This issue was fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants