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

Isolate the agents from the engine #1619

Merged
merged 5 commits into from
Feb 4, 2025
Merged

Isolate the agents from the engine #1619

merged 5 commits into from
Feb 4, 2025

Conversation

CharliePoole
Copy link
Member

Fixes #1578

Copy link
Member

@manfred-brands manfred-brands left a comment

Choose a reason for hiding this comment

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

Looks good as far as I can see on phone.
A few TODOs.

<ExposedInternals>true</ExposedInternals>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)'=='net462' OR '$(TargetFramework)'=='net6.0' OR '$(TargetFramework)'=='net8.0'">
Copy link
Member

Choose a reason for hiding this comment

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

There is no net6.0 target anymore.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup. I'll make that change but wait to see what else you have. You may also notice that there are untested agent-core targets: netcoreap3.1 and net6.0. I keep them because I know I'll use them later for separate user-installable agents. I see no point of doing it for anything older than those.

Copy link
Member Author

Choose a reason for hiding this comment

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

I left it in for now as it does no harm.

@@ -21,9 +21,11 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\Extensibility\nunit.extensibility\nunit.extensibility.csproj" />
<ProjectReference Condition="'$(TargetFramework)'=='net8.0'"
Include="..\..\NUnitCommon\nunit.agent.core\nunit.agent.core.csproj" />
Copy link
Member

Choose a reason for hiding this comment

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

Engine references agent? But only for .net8.0.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes... because the .NET 8.0 engine only runs in process, making it a sort of agent in itself. I want to eventually create an in-process agent, at which point we can drop the reference.

@CharliePoole CharliePoole merged commit fe55a6f into version4 Feb 4, 2025
4 checks passed
@CharliePoole CharliePoole deleted the issue-1578 branch February 4, 2025 04:00
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