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

Sync shared code from runtime #57440

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Conversation

github-actions[bot]
Copy link
Contributor

This PR was automatically generated to sync shared code changes from runtime. Fixes #18943

@javiercn javiercn enabled auto-merge (squash) August 21, 2024 08:21
@javiercn javiercn merged commit 6ae0eb3 into main Aug 21, 2024
25 checks passed
@javiercn javiercn deleted the github-action/sync-runtime-1724227466 branch August 21, 2024 10:11
@dotnet-policy-service dotnet-policy-service bot added this to the 10.0-preview1 milestone Aug 21, 2024
@@ -151,25 +151,6 @@ public void DecodesIndexedHeaderField_DynamicTable()
Assert.Equal(_headerValueString, _handler.DecodedHeaders[_headerNameString]);
}

[Fact]
public void DecodesIndexedHeaderField_DynamicTable_ReferencedEntryRemovedOnInsertion()
Copy link
Member

Choose a reason for hiding this comment

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

@amcasey just added this test in #57221. It should have been sync'd the other way - to dotnet/runtime.

@amcasey - would it be better if you first added tests like this to dotnet/runtime, and then let the code flow to aspnetcore?

cc @Tratcher - is this the preferred way to add tests to these shared files?

@Tratcher
Copy link
Member

@javiercn please don't merge these sync PRs without checking with whoever made the original change to figure out which way the sync should go. The default is runtime -> aspnetcore, but sometimes we need to go the other way instead.

@eerhardt @amcasey Making changes in either repo is fine, but to sync aspnetcore -> runtime you need to trigger it manually:
https://github.com/dotnet/runtime/actions/workflows/aspnetcore-sync.yml

@javiercn
Copy link
Member

javiercn commented Aug 21, 2024

@Tratcher sorry, I'll revert the change.

Auto merge was on.

Created a PR to undo it. #57444

javiercn added a commit that referenced this pull request Aug 21, 2024
@amcasey
Copy link
Member

amcasey commented Aug 21, 2024

It seems easier to remember to make the changes in runtime than to run that action every time, so I'll try doing it that way next time. Sorry for the confusion.

Edit: I kicked off the workflow
Edit 2: The workflow had no effect because the revert hasn't gone through yet 🤦

javiercn added a commit that referenced this pull request Aug 21, 2024
@amcasey
Copy link
Member

amcasey commented Aug 21, 2024

Reverse PR is dotnet/runtime#106773

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.

The runtime<->aspnetcore shared src is out of sync
4 participants