Repository navigation
logger: show an excerpt of a line over 1,000 bytes wherever the error is #43313
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
Draft
robobun
wants to merge
49
commits into
main
Choose a base branch
from
robobun/097de884/bound-printed-line-excerpt
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 4 commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
01f8c7c
logger: indent the caret relative to the windowed line excerpt
robobun 85fb611
logger: keep the full line for tail errors, port caret tests, fix lin…
robobun 0f236ab
logger: trim comments
robobun eb8100d
logger: shorten comments
robobun 0e8105a
test: split install stderr on CRLF too
robobun bb6ecf2
Merge branch 'main' into robobun/9216d528/caret-under-windowed-excerpt
Jarred-Sumner d825771
logger: bound the excerpt printed for an error on a long line
robobun 86c3429
logger: print a redacted line whole
robobun e8f7683
test: assert the exit code in the excerpt tests
robobun 239fad0
logger: shorten comments
robobun 4add19d
ci: retrigger
robobun 62cfbe5
Merge remote-tracking branch 'origin/main' into robobun/9216d528/care…
robobun c0d24b3
logger: keep Location at 96 bytes
robobun aff16d5
logger: keep Location.length in place
robobun 7be9837
ci: retrigger
robobun 2d5e976
Merge branch 'main' into robobun/9216d528/caret-under-windowed-excerpt
robobun 48f179d
test: pin the excerpt window at its two limits
robobun 8657159
Merge branch 'main' into robobun/097de884/bound-printed-line-excerpt
robobun 0091de2
logger: bun lint, bun check and bun fmt print their lines uncut
robobun 5df8b47
logger: trim the end of the excerpt
robobun b3bfbd6
Merge branch 'robobun/9216d528/caret-under-windowed-excerpt' (#41658)…
robobun c363aa1
logger: keep an excerpt of a line of more than 1000 bytes wherever th…
robobun 5bbf963
logger: name the rule that the 1000-byte limit follows
robobun 4e978ba
logger: count a CSS or plugin column in its own line, and test the ex…
robobun 2aa8789
Merge branch 'main' into robobun/9216d528/caret-under-windowed-excerpt
robobun 0438b03
Merge branch 'robobun/9216d528/caret-under-windowed-excerpt' (#41658)…
robobun b80f198
Merge remote-tracking branch 'origin/main' into robobun/097de884/boun…
robobun 4e4600d
Fit the two readers of Location.length that main added to its u32
robobun e961622
Merge remote-tracking branch 'origin/main' into robobun/097de884/boun…
robobun 072af93
logger: never cut the line of a redacted message
robobun 72d1aa2
Merge remote-tracking branch 'origin/main' into robobun/9216d528/care…
robobun 840302d
logger: keep the whole line in lineText for lines up to 1,000 bytes
robobun e20d0ce
Pin the whole line in the dev server payload and in redacted config e…
robobun 24d26db
logger: never cut the line of a redacted message
robobun 7dadc87
test: keep the short bundleFailed fixture and add the long line as a …
robobun 7556ab7
Merge remote-tracking branch 'origin/main' into robobun/9216d528/care…
robobun d876713
logger: a config file keeps the short excerpt at every line length
robobun a1f7bb7
logger: store the whole line up to 1,000 bytes and cut the excerpt wh…
robobun 14c7b5d
logger: one line for each new doc comment
robobun df581aa
test: wait for the bundle of the fixed file before the next bundleFai…
robobun fccb24c
logger: cut the excerpt around the byte of the error, and send it to …
robobun b557205
Merge remote-tracking branch 'origin/main' into robobun/9216d528/care…
robobun d75c630
Merge branch 'robobun/9216d528/caret-under-windowed-excerpt' into rob…
robobun d1bab1d
logger: show an excerpt of every line of more than 1,000 bytes
robobun 6cdada1
bake: take the payload contract for a location without a column, and …
robobun e2b0912
Merge remote-tracking branch 'origin/main' into robobun/9216d528/care…
robobun 5711302
logger: say in the doc of the limit that column indexes valid UTF-8
robobun e9efdd3
Merge branch 'robobun/9216d528/caret-under-windowed-excerpt' into rob…
robobun 45e26ac
logger: show a redacted line over the limit as it is stored
robobun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.