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

[Release] 8.9.0 changelog #2806

Merged
merged 4 commits into from
Jul 25, 2023
Merged

Conversation

juliaElastic
Copy link
Contributor

@juliaElastic juliaElastic commented Jul 20, 2023

What is the problem this PR solves?

8.9.0 changelog

How does this PR solve the problem?

// Explain HOW you solved the problem in your code. It is possible that during PR reviews this changes and then this section should be updated.

How to test this PR locally

Design Checklist

  • I have ensured my design is stateless and will work when multiple fleet-server instances are behind a load balancer.
  • I have or intend to scale test my changes, ensuring it will work reliably with 100K+ agents connected.
  • I have included fail safe mechanisms to limit the load on fleet-server: rate limiting, circuit breakers, caching, load shedding, etc.

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool

Related issues

@juliaElastic juliaElastic self-assigned this Jul 20, 2023
@juliaElastic juliaElastic changed the title Prep 8.9.0 changelog [Release] 8.9.0 changelog Jul 20, 2023
@juliaElastic juliaElastic marked this pull request as ready for review July 20, 2023 15:13
@juliaElastic juliaElastic requested a review from a team as a code owner July 20, 2023 15:13
checksum: 159350f6e8e2e60912b5ca57c2d0ee3fe10b1026
- kind: breaking-change
summary: API default error is now 500
description: Up until now when any not expected error was encountered it resulted int Bad Request response.\n This is changing and any not expected error will return Internal Server Error while keeping most of the current behavior\n unchanged and returning Bad Request on expected failure paths (e.g. Agent Inactive, Missing Agent ID, Missing Auth Header).
Copy link
Contributor Author

Choose a reason for hiding this comment

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

replaced newlines with \n as the changelog tool complained, is there a way to check the rendered version?

Choose a reason for hiding this comment

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

@juliaElastic The output here looks to be yaml format rather than asciidoc. It may not matter though, since I just copy the contents into a separate docs PR. Here's what I have for this breaking change:

Asciidoc:

[discrete]
[[breaking-2531]]
.API default error code is now 500
[%collapsible]
====
*Details* +
Previously, when {fleet-server} encountered an unexpected error it resulted in a `Bad Request` response.

*Impact* +
Now, any unexpected error returns an `Internal Server Error` response while keeping most of the current behavior
unchanged. On expected failure paths (for example, Agent Inactive, Missing Agent ID, Missing Auth Header) a `Bad Request` response is returned. For more information, refer to {fleet-server-pull}2531[#2531].
====

Rendering:
Screenshot 2023-07-20 at 11 33 26 AM

@juliaElastic
Copy link
Contributor Author

juliaElastic commented Jul 20, 2023

The build failed with this message. Hey @kroustou could you help fixing this?

2023-07-20 15:12:54 ERROR  Unrecoverable error, skipping retries
--
  | 2023-07-20 15:12:54 FATAL  Failed to upload and process pipeline: Pipeline upload rejected: Pipeline "serverless-gitops-update-stack-image-tag" does not exist
  | 🚨 Error: The command exited with status 1


@kroustou
Copy link
Contributor

This step should have been removed, I am on PTO, I can point to the PR that removes it next week

@elasticmachine
Copy link
Contributor

elasticmachine commented Jul 20, 2023

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2023-07-24T07:22:49.681+0000

  • Duration: 45 min 35 sec

Test stats 🧪

Test Results
Failed 0
Passed 742
Skipped 1
Total 743

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@kroustou
Copy link
Contributor

Hello again #2771 should have removed this step

@juliaElastic
Copy link
Contributor Author

Hello again #2771 should have removed this step

Thanks! We should backport it to 8.9 branch.

criamico
criamico previously approved these changes Jul 25, 2023
Copy link

@criamico criamico left a comment

Choose a reason for hiding this comment

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

I left a small comment but overall LGTM

changelog/8.9.0.yaml Outdated Show resolved Hide resolved
Copy link

@criamico criamico left a comment

Choose a reason for hiding this comment

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

LGTM

@juliaElastic
Copy link
Contributor Author

/test

@juliaElastic
Copy link
Contributor Author

@kroustou The build step fleet-server/pr-merge Expected — Waiting for status to be reported doesn't seem to start, do you know how to trigger it?

@kroustou
Copy link
Contributor

@kroustou The build step fleet-server/pr-merge Expected — Waiting for status to be reported doesn't seem to start, do you know how to trigger it?

No idea, maybe you need some help from the @elastic/ci-systems team?

Copy link

@kilfoyle kilfoyle left a comment

Choose a reason for hiding this comment

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

LGTM for the changelog text! 👍

@juliaElastic
Copy link
Contributor Author

juliaElastic commented Jul 25, 2023

Created a jira ticket for ci-systems: https://elasticco.atlassian.net/browse/ENGPRD-217
Could this be caused by the buildkite changes?

@jlind23
Copy link
Contributor

jlind23 commented Jul 25, 2023

@juliaElastic You can close the ticket, this is due to the fleet server migration to buildkite. Jenkins resources has been removed but the check is still mandatory on the 8.9 branch as it was only removed on main.

@juliaElastic juliaElastic merged commit 71625b6 into elastic:8.9 Jul 25, 2023
6 checks passed
mergify bot pushed a commit that referenced this pull request Jul 25, 2023
* 8.9.0 changelog

* asciidoc

* Backport pr 2771

* added quotes around apm.Tracer

---------

Co-authored-by: Stavros Kroustouris <[email protected]>
(cherry picked from commit 71625b6)

# Conflicts:
#	.buildkite/pipeline.yml
juliaElastic added a commit that referenced this pull request Jul 26, 2023
* 8.9.0 changelog

* asciidoc

* Backport pr 2771

* added quotes around apm.Tracer

---------

Co-authored-by: Stavros Kroustouris <[email protected]>
(cherry picked from commit 71625b6)

# Conflicts:
#	.buildkite/pipeline.yml

Co-authored-by: Julia Bardi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants