fix(process): normalize ports that end a sentence
Contextual port normalization refused any port followed by a period, so common log lines such as "Listening on port: 8080." or "http://localhost:8080." kept their run-specific port and equivalent captures compared as changed. Accept a sentence-ending period while still refusing a period that continues a decimal, version, or host name, and bump the committed port-normalization version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
33bf585185
commit
db98a51dd1
@@ -63,7 +63,7 @@ itWithCaptureCapability(
|
||||
),
|
||||
).toBe(true);
|
||||
expect(capture.manifest.comparison_contract).toMatchObject({
|
||||
port_normalization_version: "contextual-endpoints-v1",
|
||||
port_normalization_version: "contextual-endpoints-v2",
|
||||
});
|
||||
expect(capture.exit).toMatchObject({ code: 0, reason: "exited" });
|
||||
expect(capture.cleanup).toMatchObject({
|
||||
|
||||
Reference in New Issue
Block a user