Skip to content

fix: preserve report url through cache serialization#2363

Merged
kovsu merged 1 commit intoflint-fyi:mainfrom
kovsu:fix-1
Mar 4, 2026
Merged

fix: preserve report url through cache serialization#2363
kovsu merged 1 commit intoflint-fyi:mainfrom
kovsu:fix-1

Conversation

@kovsu
Copy link
Member

@kovsu kovsu commented Feb 27, 2026

PR Checklist

Overview

before after
CleanShot 2026-02-27 at 17 47 02@2x CleanShot 2026-02-27 at 17 12 44@2x

@vercel
Copy link

vercel bot commented Feb 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flint Ready Ready Preview, Comment Feb 27, 2026 9:49am

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Feb 27, 2026

🦋 Changeset detected

Latest commit: 1ab5e91

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 24 packages
Name Type
@flint.fyi/core Patch
@flint.fyi/cli Patch
@flint.fyi/astro Patch
@flint.fyi/browser Patch
@flint.fyi/json-language Patch
@flint.fyi/json Patch
@flint.fyi/jsx Patch
@flint.fyi/markdown-language Patch
@flint.fyi/md Patch
@flint.fyi/next Patch
@flint.fyi/node Patch
@flint.fyi/nuxt Patch
@flint.fyi/package-json Patch
@flint.fyi/performance Patch
@flint.fyi/plugin-flint Patch
@flint.fyi/react Patch
@flint.fyi/rule-tester Patch
@flint.fyi/solid Patch
@flint.fyi/spelling Patch
@flint.fyi/text-language Patch
@flint.fyi/ts Patch
@flint.fyi/typescript-language Patch
@flint.fyi/yaml-language Patch
@flint.fyi/yaml Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@michaelfaith michaelfaith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and easy 🙌


if (report.about.url) {
yield `${indenter} `;
yield `\n${indenter}\n${indenter} `;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: do we need an indention on an empty line?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not, it's not the empty line. It's the line for report url.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think he means this:

Suggested change
yield `\n${indenter}\n${indenter} `;
yield `\n\n${indenter} `;

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think he means this:

if not indenter here

CleanShot 2026-03-02 at 09 48 22@2x

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, so indenter includes what Clack terms the "guide". Hmmm... would be nice if there was a better name to communicate that but not sure of one.

(And cc @michaelfaith to make sure we're on the same page)

Copy link
Contributor

@michaelfaith michaelfaith Mar 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's what I was referring to. 👍

Hmmm... would be nice if there was a better name to communicate that but not sure of one

Also agree with this. Maybe frameWithIndent? But I also think that could be a separate change.

@michaelfaith michaelfaith added the 1 approval One team member approved; we're now waiting for a second approval or for 2 business days to pass. label Feb 27, 2026
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes me wonder if we should use z.infer instead of defining these separately, but that's certainly a followup.

@kovsu kovsu merged commit 5c64fbb into flint-fyi:main Mar 4, 2026
17 checks passed
@kovsu kovsu deleted the fix-1 branch March 4, 2026 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1 approval One team member approved; we're now waiting for a second approval or for 2 business days to pass.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants