Repository navigation
Cover the line reader's escapes, comments and quoted switch - #16
Open
dmccoystephenson wants to merge 1 commit into
Open
dmccoystephenson wants to merge 1 commit into
dmccoystephenson wants to merge 1 commit into
Conversation
Pins the double-quoted escapes, the YAML indicators that drop a value, when a hash starts a comment, the enabled: line's tolerance of comments and indent, and the overlong installId precondition. A quoted enabled: "false" not disabling is characterized for #15. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Member
Author
|
Self-review rubric (CI anchor green on the PR head:
Judgment calls flagged for the reviewer:
Summary: test-only PR, CI green on all legs. No do-not-auto-merge path matched. A human merge is still required, because this dispatch is not authorized to merge. This review was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener). drafted by Claude on behalf of Daniel Stephenson |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Stage B test expansion: the server-wide config line reader and the
installIdbuilder precondition. OnlyTraceClientTest.javais changed. Production code is untouched.Summary
serverWideTags_doubleQuotedValuesUnescapeNewlineTabCarriageReturnAndBackslash: covers the\n,\t,\r,\\and unknown-escape branches ofscalar(), and confirms that single-quoted values do not unescape. Before this, only\"had a test.serverWideTags_dropValuesThatOpenAnAnchorAliasTagOrFoldedScalar: covers the&,*,!,%,@, backtick and>indicators. Before this, only[,{and|had a test.serverWideTags_aHashIsACommentOnlyAfterWhitespace:issue#13stays whole, a tab before#starts a comment, a tab after the colon separates the value, and a tab-indented line under a space-indented block is skipped.serverWideConfig_theSwitchIgnoresATrailingCommentAndLeadingIndent:enabled: false # ..., an indentedenabled:outsidetags:, andenabled :\tFALSEall disable.serverWideConfig_aQuotedFalseDoesNotDisableYet: characterization.enabled: "false"currently leaves reporting on. This is filed as A quoted enabled: "false" in the server-wide config does not turn reporting off #15 (opt-out contract, needs a maintainer decision). The test pins today's behaviour and should be flipped by whatever PR resolves A quoted enabled: "false" in the server-wide config does not turn reporting off #15.builder_rejectsAnOverlongInstallIdAndAcceptsOneAtTheLimit: theIllegalArgumentExceptionmessage, and a 255-character ID with surrounding whitespace that is accepted after trimming.Test plan
mvn -B verifylocally (Java 21):Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, and the 6 new tests appear in the surefire reportbuild (8),build (17),build (21)green (the new tests use only Java 8 APIs)Deferred issues
withVersionexceedsMAX_TAGS): skipped because it changes what is sent on the wire and is listed as a maintainer decision.enabled:): filed this cycle and skipped for the same reason, since it changes the opt-out contract.No tracking issue — gap found during triage.
This PR description was drafted during a Gardener session (https://github.com/Stephenson-Software/gardener).
🤖 Generated with Claude Code
drafted by Claude on behalf of Daniel Stephenson