Skip to content

Feat--unify-running-and-evicted#3248

Merged
grutt merged 6 commits intofeat-durable-executionfrom
feat--unify-running-and-evicted
Mar 13, 2026
Merged

Feat--unify-running-and-evicted#3248
grutt merged 6 commits intofeat-durable-executionfrom
feat--unify-running-and-evicted

Conversation

@grutt
Copy link
Contributor

@grutt grutt commented Mar 12, 2026

Description

Unifies single count for running + evicted and exposes new params for granular details and filtering

Type of change

  • New feature (non-breaking change which adds

@vercel
Copy link

vercel bot commented Mar 12, 2026

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

Project Deployment Actions Updated (UTC)
hatchet-docs Ready Ready Preview, Comment Mar 12, 2026 8:03pm

Request Review

@promptless-for-oss
Copy link

📝 Documentation updates detected!

New suggestion: Clarify evicted task status representation in task eviction docs


Tip: Sort by Shortest Review in the Dashboard to find quick wins ⚡

Copy link
Contributor

@mrkaye97 mrkaye97 left a comment

Choose a reason for hiding this comment

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

couple small comments, but mostly looks good

return result
}

func mapOlapStatus(olapStatus string) (gen.V1TaskStatus, bool) {
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be a string or an enum?

Comment on lines +392 to +408
let newValue;
if (checked) {
newValue = [...selectedValues, option.value];
if (subColumn && option.subOptions) {
subColumn.setFilterValue(undefined);
}
} else {
newValue = selectedValues.filter(
(v) => v !== option.value,
);
if (subColumn) {
subColumn.setFilterValue(undefined);
}
}
column?.setFilterValue(
newValue.length > 0 ? newValue : undefined,
);
Copy link
Contributor

Choose a reason for hiding this comment

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

this stuff (and the same below for onCheckedChange) feels really complicated. can we simplify this somehow? I'm having trouble figuring out what it's doing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah i put very little effort here because i REALLY want to rip this and replace it with our nice filters we use in the logs component ASAP... more pain here maybe we'll do it

Copy link
Contributor

Choose a reason for hiding this comment

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

yeah, good call, would love that too 😅

@github-actions
Copy link
Contributor

github-actions bot commented Mar 12, 2026

Benchmark results

goos: linux
goarch: amd64
pkg: github.com/hatchet-dev/hatchet/internal/msgqueue/rabbitmq
cpu: AMD Ryzen 9 7950X3D 16-Core Processor          
                              │ /tmp/new.txt │
                              │    sec/op    │
CompressPayloads_1x10KiB-8       77.06µ ± 2%
CompressPayloads_10x10KiB-8      907.5µ ± 2%
CompressPayloads_10x100KiB-8     10.60m ± 3%
CompressPayloads_Concurrent-8    56.32µ ± 1%
geomean                          452.0µ

                              │ /tmp/new.txt │
                              │     B/op     │
CompressPayloads_1x10KiB-8      10.98Ki ± 1%
CompressPayloads_10x10KiB-8     108.9Ki ± 1%
CompressPayloads_10x100KiB-8    2.920Mi ± 0%
CompressPayloads_Concurrent-8   54.20Ki ± 0%
geomean                         118.0Ki

                              │ /tmp/new.txt │
                              │  allocs/op   │
CompressPayloads_1x10KiB-8        5.000 ± 0%
CompressPayloads_10x10KiB-8       32.00 ± 0%
CompressPayloads_10x100KiB-8      63.00 ± 0%
CompressPayloads_Concurrent-8     17.00 ± 0%
geomean                           20.35

Compared against feat-durable-execution (3bd565c)

@grutt grutt merged commit 583bb6f into feat-durable-execution Mar 13, 2026
52 checks passed
@grutt grutt deleted the feat--unify-running-and-evicted branch March 13, 2026 12:57
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.

3 participants