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

Sup 2313/fix view #285

Merged
merged 3 commits into from
Jun 14, 2024
Merged

Sup 2313/fix view #285

merged 3 commits into from
Jun 14, 2024

Conversation

mcncl
Copy link
Contributor

@mcncl mcncl commented Jun 14, 2024

For now, this ensures we don't get seg faults on non-command job outputs.

@mcncl mcncl enabled auto-merge (squash) June 14, 2024 06:19
@@ -16,8 +16,8 @@ func BuildSummary(build *buildkite.Build) string {
buildCreator(build),
build.CreatedAt.UTC().Format(time.RFC1123Z))
hash := *build.Commit
if len(hash) >= 7 {
Copy link
Contributor

Choose a reason for hiding this comment

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

Ohh could hash, or rather build.Commit actually be null even? So should check for that as well? I guess technically it could 🤷‍♂️ so might be best to check regardless

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jradtilbrook that isn't a change in this pr

Copy link
Contributor Author

Choose a reason for hiding this comment

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

And Go will just return an empty string

@mcncl mcncl merged commit 4d06f6c into 3.x Jun 14, 2024
1 check passed
@mcncl mcncl deleted the SUP-2313/fix_view branch June 14, 2024 06:23
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.

2 participants