Skip to content

Conversation

Lukasa
Copy link
Contributor

@Lukasa Lukasa commented Jun 8, 2021

Motivation:

Our 5.5 allocation counts were off. Rather than just update that by hand
we should bring over some tooling to do it automatically.

Modifications:

  • Bring over and adapt the update-alloc-limits scripts from NIO.
  • Run them and commit the updates.

Result:

CI should pass again.

@Lukasa Lukasa added the semver/none No version bump required. label Jun 8, 2021
target_repo=${2-"$here/.."}
tmpdir=$(mktemp -d /tmp/.last-build_XXXXXX)

for f in swift51 swift52 swift53 swift54 swift55 nightly; do
Copy link
Contributor

Choose a reason for hiding this comment

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

With apple/swift-nio#1860 in mind, should we drop swift51 from this list?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For now I'd like to keep it: when we make the equivalent PR here, we'll need to remove 51 from this script, just as the linked PR does.

Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add swift50 then since we still track allocations for it in http/2?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, we'll just stop tracking allocs for it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Even better!

Motivation:

Our 5.5 allocation counts were off. Rather than just update that by hand
we should bring over some tooling to do it automatically.

Modifications:

- Bring over and adapt the update-alloc-limits scripts from NIO.
- Run them and commit the updates.

Result:

CI should pass again.
@Lukasa Lukasa force-pushed the cb-update-alloc-numbers branch from 950715a to a13d068 Compare June 8, 2021 15:15
@glbrntt glbrntt merged commit 798079d into apple:main Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants