hive icon indicating copy to clipboard operation
hive copied to clipboard

cmd/hiveview: Update max entries on hiveview

Open spencer-tb opened this issue 1 year ago • 2 comments

Currently the hiveview public CI only displays up to 200 entries.

In some cases this means we only display logs for the past 3-4 days, even though we have logs for many more.

I updated this manually within https://hivetests.ethdevops.io/ and note it now stores more than 200 entries.

This is a quick hack, we could alternatively set this value as a cmd line option when serving or deploying ./hiveview.

spencer-tb avatar Apr 04 '24 12:04 spencer-tb

The reason why this limit exists is because we want to limit the summary file size for quick load. If we index all runs, it takes a lot longer to load initially.

There are a couple possible fixes. One would be creating a separate file for the full index, and then loading that asynchronously. Or we could change the UI to parse the file and update the display while it is loading, to reduce the initial display latency.

fjl avatar Apr 04 '24 15:04 fjl

This makes sense thanks. I'll look into the first option you mention next week:

One would be creating a separate file for the full index, and then loading that asynchronously.

spencer-tb avatar Apr 10 '24 11:04 spencer-tb

Closing this PR. There's now a -limit flag on the hiveview command which allows doing this. By default it's 200.

skylenet avatar Jun 12 '25 08:06 skylenet