Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This unconditionally overrides explicit user settings for conneg. If a user explicitly sets
--conneg=false,JSS_CONNEG=false, or"conneg": falsein their config file, this code will override their choice. The auto-enable logic should only apply when conneg hasn't been explicitly configured by the user. Consider checking if conneg was explicitly set in cliOptions, envConfig, or fileConfig before auto-enabling it, or at minimum only enable it when the merged value is still false (the default).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.
@copilot open a new pull request to apply changes based on this feedback
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.
Thanks for the review. In this case,
--mashlibwithout conneg is a broken combination — mashlib requires Turtle content negotiation to function. Serving .ttl files as raw JSON-LD always causes parse errors.This is an implicit dependency, similar to how
--ssl-certrequires--ssl-key. There's no valid use case for--mashlib --no-conneg, so auto-enabling is the correct behavior.