Skip to content

Search highlight - #306

Merged
shahsank3t merged 2 commits into
open-metadata:mainfrom
ShaileshParmar11:search-highlight
Aug 25, 2021
Merged

shahsank3t merged 2 commits into
open-metadata:mainfrom
ShaileshParmar11:search-highlight

Conversation

@ShaileshParmar11

@ShaileshParmar11 ShaileshParmar11 commented Aug 25, 2021 •

Copy link
Copy Markdown
Contributor

Describe your changes :

Closes #40

Type of change :

  • New feature

Frontend Preview (Screenshots) :

image

Checklist:

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my own.
  • I have tagged my reviewers below.
  • I have commented on my code, particularly in hard-to-understand areas.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • All new and existing tests passed.

Reviewers

@shahsank3t, @darth-coder00, @Sachin-chaurasiya

@Sachin-chaurasiya Sachin-chaurasiya left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@shahsank3t
shahsank3t merged commit 476333f into open-metadata:main Aug 25, 2021
@ShaileshParmar11
ShaileshParmar11 deleted the search-highlight branch August 25, 2021 15:14
harshach added a commit that referenced this pull request Sep 14, 2026
`onwarn` threw on `CIRCULAR_CHUNK` under the coarse Playwright bundle.
That is Rollup's warning code, and `package.json` resolves `vite` to
`npm:rolldown-vite@7.3.1`; rolldown never emits it — `grep -rl
CIRCULAR_CHUNK node_modules/rolldown/` finds nothing, and its own code,
visible in the native binding's string table next to MISSING_EXPORT and
INVALID_OPTION, is CIRCULAR_DEPENDENCY. The guard could not fire, so the
bundle read as checked while being unchecked.

Correcting the code alone would still not have helped: rolldown gates the
warning behind `checks.circularDependency`, which its typings document as
`@default false`. Both halves were needed.

Left reporting rather than throwing. Two lazy-chunk failures on this
branch are still unexplained — a facade resolving to `undefined` (React
#306) and a named import the target chunk "does not provide" — and a
cycle would explain both, but since nothing has ever looked, the existing
backlog is unknown. Failing the build on it sight-unseen would be a guess
about what is already there rather than a guard against what gets added.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
harshach added a commit that referenced this pull request Sep 14, 2026
Twice on this branch a shard died on a timeout that named the wrong
thing. chromium-04 spent 167s waiting for a lineage tab that was never
going to render, and chromium-08 15s on a sidebar; in both cases the app
had already been replaced by its error boundary -- once by a chunk that
failed to link ("does not provide an export named 't'"), once by a lazy
element that resolved to undefined (React #306). Working that out took a
trace download and, for the first, pulling the built bundle apart.

The context fixture now watches every page in the context for those
signatures and attaches what it saw to the test. The listener is
deliberately narrow: only errors that mean the route is gone, not console
noise, 404s or React warnings. Checked against both real messages plus a
benign 404, a key-prop warning, and `#3060` -- which the word boundary
correctly leaves alone.

Recorded rather than thrown. Failing a test that otherwise passed would
change behaviour across every spec at once, and the cost here was never
detection -- it was diagnosis. This puts the cause next to the timeout it
produced.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Highlight the matching texts in the search results

3 participants