-
Notifications
You must be signed in to change notification settings - Fork 7
update summary for host param #44
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
Conversation
WalkthroughClarified Host XML documentation across multiple Frends.LDAP task modules, updated example host values, bumped package versions, added changelog entries, and applied minor formatting/attribute removals. No public API signatures or runtime logic were changed. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
Frends.LDAP.RemoveUserFromGroups/Frends.LDAP.RemoveUserFromGroups/Frends.LDAP.RemoveUserFromGroups.csproj (1)
3-26:⚠️ Potential issue | 🟠 MajorFix whitespace formatting to unblock CI.
Pipeline reports WHITESPACE errors in this file; normalize indentation (tabs → spaces) or run the formatter.🧹 Suggested indentation cleanup
- <PropertyGroup> - <TargetFrameworks>net6.0</TargetFrameworks> - <Version>1.1.0</Version> - <Authors>Frends</Authors> - <Copyright>Frends</Copyright> - <Company>Frends</Company> - <Product>Frends</Product> - <PackageTags>Frends</PackageTags> - <PackageLicenseExpression>MIT</PackageLicenseExpression> - <GenerateDocumentationFile>true</GenerateDocumentationFile> - <Description>Remove a user from Active Directory groups.</Description> - <PackageProjectUrl>https://frends.com/</PackageProjectUrl> - <RepositoryUrl>https://github.com/FrendsPlatform/Frends.LDAP</RepositoryUrl> - </PropertyGroup> - - <ItemGroup> - <None Include="FrendsTaskMetadata.json" Pack="true" PackagePath="/"> - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> - </None> - </ItemGroup> - - <ItemGroup> + <PropertyGroup> + <TargetFrameworks>net6.0</TargetFrameworks> + <Version>1.1.0</Version> + <Authors>Frends</Authors> + <Copyright>Frends</Copyright> + <Company>Frends</Company> + <Product>Frends</Product> + <PackageTags>Frends</PackageTags> + <PackageLicenseExpression>MIT</PackageLicenseExpression> + <GenerateDocumentationFile>true</GenerateDocumentationFile> + <Description>Remove a user from Active Directory groups.</Description> + <PackageProjectUrl>https://frends.com/</PackageProjectUrl> + <RepositoryUrl>https://github.com/FrendsPlatform/Frends.LDAP</RepositoryUrl> + </PropertyGroup> + + <ItemGroup> + <None Include="FrendsTaskMetadata.json" Pack="true" PackagePath="/"> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </None> + </ItemGroup> + + <ItemGroup> <PackageReference Include="Novell.Directory.Ldap.NETStandard" Version="3.6.0" /> </ItemGroup>
🤖 Fix all issues with AI agents
In `@Frends.LDAP.UpdateUser/Frends.LDAP.UpdateUser/Definitions/Connection.cs`:
- Around line 10-15: Update the XML documentation example for the Host property
on the Connection class to use a Domain Controller-style FQDN rather than a
generic hostname; locate the public property "Host" in Connection.cs and change
the <example> value to something like "dc1.emea.company.com" to match the
requirement that the host must resolve to a DC/FQDN.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (2)
Frends.LDAP.DeleteUser/Frends.LDAP.DeleteUser/DeleteUser.cs (2)
10-11:⚠️ Potential issue | 🔴 CriticalMake the task class static to satisfy FT0004.
The pipeline error indicates the task class must be static.Proposed fix
-public class LDAP +public static class LDAP
19-26:⚠️ Potential issue | 🔴 CriticalAdd required Options and CancellationToken parameters (FT0007) and honor cancellation.
The task signature is missing mandatory parameters, causing build failure.Proposed fix
- public static Result DeleteUser([PropertyTab] Input input, [PropertyTab] Connection connection) + public static Result DeleteUser( + [PropertyTab] Input input, + [PropertyTab] Connection connection, + [PropertyTab] Options options, + CancellationToken cancellationToken) { + cancellationToken.ThrowIfCancellationRequested(); if (string.IsNullOrWhiteSpace(connection.Host) || string.IsNullOrWhiteSpace(connection.User) || string.IsNullOrWhiteSpace(connection.Password)) throw new Exception("Connection parameters missing.");+using System.Threading;
Please review my changes :)
Review Checklist
Summary by CodeRabbit