instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
taskforcesh__bullmq__3511
taskforcesh/bullmq
3,511
defect
2375f25e7a23b44af166dba9025a41ecd9bf14ac
c60b5f25724c560e566d6f4f6f8cba74eb5a9ed1
feat(queue): support getGlobalRateLimit method
<!-- Thank you for submitting a PR! Please fill out all sections below to help us understand your changes. --> ### Why <!-- 2. What problem does it solve or improve? 3. Link to any relevant issues, if applicable. --> 1. Why is this change necessary? In order to get the rate limit values being sav...
diff --git a/src/classes/queue-getters.ts b/src/classes/queue-getters.ts index 5bd9f20263d..64851af9ed9 100644 --- a/src/classes/queue-getters.ts +++ b/src/classes/queue-getters.ts @@ -117,6 +117,42 @@ export class QueueGetters<JobBase extends Job = Job> extends QueueBase { return client.get(`${this.keys.de}:${id}...
1
1
0
[{"id": "G0", "claim": "For consistency with the earlier Chai assertion style on line 103, the null check should use 'to.be.null' instead of 'to.be.equal(null)'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
taskforcesh__bullmq__3596
taskforcesh/bullmq
3,596
defect
6468a9921c788312fc62488734317ac5f609b857
bef4f266bbeb197fcfd3635d7616213c6ffbe6cd
feat(job): allow resetting attemptsMade and attemptsStarted attributes
<!-- Thank you for submitting a PR! Please fill out all sections below to help us understand your changes. --> ### Why <!-- 2. What problem does it solve or improve? 3. Link to any relevant issues, if applicable. --> 1. Why is this change necessary? Sometimes it's useful to retry a job from the v...
diff --git a/src/classes/job.ts b/src/classes/job.ts index 6b794dc41a5..f395e505228 100644 --- a/src/classes/job.ts +++ b/src/classes/job.ts @@ -11,6 +11,7 @@ import { ParentKeys, ParentKeyOpts, RedisClient, + RetryOptions, WorkerOptions, } from '../interfaces'; import { @@ -1387,17 +1388,28 @@ export cl...
3
1
0
[{"id": "G0", "claim": "Using unpack() on an empty attributesToRemove table will cause issues in Lua, so HDEL should be called conditionally on whether attributesToRemove has elements.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The local resets of...
null
taskforcesh__bullmq__3637
taskforcesh/bullmq
3,637
defect
5b6fbd2ce310c54c823201701e350a986df76c64
3a58e2d86b61da05c69ab903da84672ad24cb85d
fix(flow): remove deduplication option from flow producer
<!-- Thank you for submitting a PR! Please fill out all sections below to help us understand your changes. --> ### Why <!-- 2. What problem does it solve or improve? 3. Link to any relevant issues, if applicable. --> 1. Why is this change necessary? Flows do not support multiple parents and dedup...
diff --git a/src/commands/includes/removeDeduplicationKeyIfNeededOnRemoval.lua b/src/commands/includes/removeDeduplicationKeyIfNeededOnRemoval.lua index 21c51bcb73b..24564c496e8 100644 --- a/src/commands/includes/removeDeduplicationKeyIfNeededOnRemoval.lua +++ b/src/commands/includes/removeDeduplicationKeyIfNeededOnRem...
4
2
1
[{"id": "G0", "claim": "The refactor leaves jobKey as an unused parameter of removeDeduplicationKeyIfNeededOnRemoval; the suggestion asks to drop it from the signature (and its call sites).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR b...
null
taskforcesh__bullmq__3646
taskforcesh/bullmq
3,646
defect
f888b309944a76f0b695b87b5a303d1f41b109de
70bc90d5f1190a9f43ccacab0c86c964727f6c94
fix(flow): remove debounce option from flow producer
<!-- Thank you for submitting a PR! Please fill out all sections below to help us understand your changes. --> ### Why <!-- 2. What problem does it solve or improve? 3. Link to any relevant issues, if applicable. --> 1. Why is this change necessary? Deduplication option was removed but debounce o...
diff --git a/docs/gitbook/guide/flows/README.md b/docs/gitbook/guide/flows/README.md index 6616e14e407..566fb4ab275 100644 --- a/docs/gitbook/guide/flows/README.md +++ b/docs/gitbook/guide/flows/README.md @@ -11,17 +11,19 @@ Flows are added to a queue using the `FlowProducer` class. In order to create "flows" you must...
1
1
0
[{"id": "G0", "claim": "Since line 1314 asserts `job` is non-null with `job!`, line 1315 should use `job!.id` instead of `job?.id` for consistent optional-chaining usage.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
taskforcesh__bullmq__3660
taskforcesh/bullmq
3,660
defect
96ab8c97822707f6d47231f3b3bb06e2cef58476
334af0b531c50783467fa0df43906e56e79b991f
Fix worker connection name on cluster #3340
### Why <!-- 1. Why is this change necessary? 2. What problem does it solve or improve? 3. Link to any relevant issues, if applicable. --> This is an attempt to fix the issue https://github.com/taskforcesh/bullmq/issues/3340 When the bullmq is connected to a redis cluster the connection option change and ...
diff --git a/src/classes/queue-getters.ts b/src/classes/queue-getters.ts index 0cfd4a10fd7..ed03d21ee50 100644 --- a/src/classes/queue-getters.ts +++ b/src/classes/queue-getters.ts @@ -5,7 +5,8 @@ import { QueueBase } from './queue-base'; import { Job } from './job'; import { clientCommandMessageReg, QUEUE_EVENT_SUFF...
5
4
0
[{"id": "G0", "claim": "Rename the loop counter 'index' (used both as loop variable and as the type's key name) to 'i' or 'nodeIndex' to avoid confusion and improve readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The type definition'...
null
taskforcesh__bullmq__3694
taskforcesh/bullmq
3,694
defect
83ac452c1f106be3da12061fb410f631db8a2d0b
c35e99e088d8f679c429549e92888decc7ce9408
perf(job): apply limit when removing jobs by max age
<!-- Thank you for submitting a PR! Please fill out all sections below to help us understand your changes. --> ### Why <!-- 2. What problem does it solve or improve? 3. Link to any relevant issues, if applicable. --> 1. Why is this change necessary? If there are too many pending jobs to be remove...
diff --git a/src/commands/includes/removeJobsByMaxAge.lua b/src/commands/includes/removeJobsByMaxAge.lua index ca24fad3a73..68289b658da 100644 --- a/src/commands/includes/removeJobsByMaxAge.lua +++ b/src/commands/includes/removeJobsByMaxAge.lua @@ -8,7 +8,7 @@ local function removeJobsByMaxAge(timestamp, maxAge, targe...
3
1
0
[{"id": "G0", "claim": "The hardcoded limit value of 1000 should be extracted as a named constant or made configurable to make the code more maintainable and tunable per deployment.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fetching only th...
null
taskforcesh__bullmq__3797
taskforcesh/bullmq
3,797
defect
93ebc9d95e7240d8ab31bc08d892ae5b14980c70
b7eaa6c3e308db4c8d51ea59902074a875eecdf2
fix(job-scheduler): handle empty scheduler hash fallback
Fixes https://github.com/taskforcesh/bullmq/issues/3796 ### Why I make this change to check when having empty hash data (Object.keys(jobData).length > 0), so it does not build malformed object. It then goes to legacy fallback (keyToData) when applicable, and returns parsed fields like name, id, pattern, etc. ...
diff --git a/src/classes/job-scheduler.ts b/src/classes/job-scheduler.ts index 223ba436238..4ac7c5182ee 100644 --- a/src/classes/job-scheduler.ts +++ b/src/classes/job-scheduler.ts @@ -273,7 +273,7 @@ export class JobScheduler extends QueueBase { jobData: any, next?: number, ): JobSchedulerJson<D> | undefi...
1
1
0
[{"id": "G0", "claim": "The new legacy-fallback test should be rewritten to reuse the queue and connection fixtures already defined at the top of the test file instead of creating its own queue, connection and try/finally boilerplate.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "...
null
taskforcesh__bullmq__3811
taskforcesh/bullmq
3,811
defect
0e6f9bd2f3b95ea72ab827c96ee450b553bc586a
316a25dedbf8e5b4ffd5b22b757ae4256205c724
feat(otel): support gauge metric when counting jobs by state
<!-- Thank you for submitting a PR! Please fill out all sections below to help us understand your changes. --> ### Why <!-- 2. What problem does it solve or improve? 3. Link to any relevant issues, if applicable. --> 1. Why is this change necessary? Queue size can be emitted as a metric. In this ...
diff --git a/docs/gitbook/guide/telemetry/metrics.md b/docs/gitbook/guide/telemetry/metrics.md index b4e42857e27..5dc73ee1ea2 100644 --- a/docs/gitbook/guide/telemetry/metrics.md +++ b/docs/gitbook/guide/telemetry/metrics.md @@ -73,15 +73,24 @@ BullMQ automatically records the following metrics: | --------------------...
10
10
4
[{"id": "G0", "claim": "The gauge is created with unit '{jobs}' in code while the documentation and examples use 'jobs'; align the unit string across code and docs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the docs example the result of q...
null
taskforcesh__bullmq__3817
taskforcesh/bullmq
3,817
defect
b3d90854dda71916a6b53721d933e202be47f020
37c99db53dec9a848855e24467a3c65dc1e96395
fix(flow): allow deduplication from root parent
<!-- Thank you for submitting a PR! Please fill out all sections below to help us understand your changes. --> ### Why <!-- 2. What problem does it solve or improve? 3. Link to any relevant issues, if applicable. --> 1. Why is this change necessary? In order to support deduplication from root par...
diff --git a/src/classes/job.ts b/src/classes/job.ts index c62f0d07de3..b97b6c52641 100644 --- a/src/classes/job.ts +++ b/src/classes/job.ts @@ -1608,6 +1608,12 @@ export class Job< if (!this.opts.deduplication?.id) { throw new Error('Deduplication id must be provided'); } + + if (this.paren...
2
1
0
[{"id": "G0", "claim": "The header comment of the new deduplicateJobWithoutReplace.lua says \"Function to debounce a job\" but should say \"Function to deduplicate a job\", since debounce is deprecated and the file is specifically for deduplication without the replace option.", "category": "documentation", "verdict": "...
null
taskforcesh__bullmq__3832
taskforcesh/bullmq
3,832
defect
223aa0a559d97afa88cfa042f8eb99ed4744e4e4
1acdc50bc89b74342dcff2adf52b75e872bc6ca3
fix(otel): use job timestamps for process span attributes
<!-- Thank you for submitting a PR! Please fill out all sections below to help us understand your changes. --> ### Why <!-- 2. What problem does it solve or improve? 3. Link to any relevant issues, if applicable. --> 1. Why is this change necessary? Span attribute names under process trace are ...
diff --git a/docs/gitbook/guide/telemetry/traces.md b/docs/gitbook/guide/telemetry/traces.md new file mode 100644 index 00000000000..f5e0a2728e4 --- /dev/null +++ b/docs/gitbook/guide/telemetry/traces.md @@ -0,0 +1,266 @@ +# Traces + +BullMQ provides comprehensive distributed tracing support through OpenTelemetry. Trac...
5
3
1
[{"id": "G0", "claim": "Passing job.processedOn (optional and possibly undefined, e.g. when processJob is invoked directly with a freshly added job) to lockManager.trackJob can delay the first lock renewal cycle and, with certain lockRenewTime/lockDuration settings, increases the risk of the lock expiring before renewa...
null
taskforcesh__bullmq__3870
taskforcesh/bullmq
3,870
defect
7e64ce60646e8457a9ce544221ebcad9612f2ac6
7f3825e1cd1b209c79211542d3017d7e3a62b3f9
perf(delayed): allow to fetch next job when moving job to delayed (python) (elixir)
<!-- Thank you for submitting a PR! Please fill out all sections below to help us understand your changes. --> ### Why <!-- 2. What problem does it solve or improve? 3. Link to any relevant issues, if applicable. --> 1. Why is this change necessary? When a job is being moved to delayed, a new job...
diff --git a/python/bullmq/job.py b/python/bullmq/job.py index a2cf25ad616..b96e0afc0fe 100644 --- a/python/bullmq/job.py +++ b/python/bullmq/job.py @@ -234,7 +234,9 @@ async def moveToFailed(self, err, token:str, fetchNext:bool = False): delay, token, { - ...
6
6
3
[{"id": "G0", "claim": "When fetchNext is enabled, the packed opts passed into fetchNextJob omit the worker name, so prepareJobForProcessing will not set the job's processedBy (pb) field for the fetched next job, inconsistent with the moveToActive/moveToFinished fast-paths; include name: workerOpts.name in the packed o...
null
taskforcesh__bullmq__3905
taskforcesh/bullmq
3,905
defect
60f645a472102336a6294e66f2b0a801a5a5207d
0c8fafdd22f601988168239a610b771ff49105c8
fix(flow): correctly propagate jobId from pipeline results
Fixes #3878 ### Problem When adding flows using FlowProducer, deduplicated jobs return incorrect job.id. And Redis was correctly returning deduplicated jobId, but it was not propagated back to the Job instances because multi.exec() results were not mapped. ### Soluution Tracking command index for each job.add...
diff --git a/src/classes/flow-producer.ts b/src/classes/flow-producer.ts index e8e1e749014..7efa93c4274 100644 --- a/src/classes/flow-producer.ts +++ b/src/classes/flow-producer.ts @@ -21,6 +21,7 @@ import { SpanKind, TelemetryAttributes } from '../enums'; export interface AddNodeOpts { multi: ChainableCommander; ...
1
1
0
[{"id": "G0", "claim": "Since PR #3817 only the root parent job of a flow is expected to use the deduplication option, there is no need to keep track of the jobsToUpdate array; only the root parent job's id needs to be updated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introdu...
null
taskforcesh__bullmq__3922
taskforcesh/bullmq
3,922
defect
0c9c5fe210249d74a793e3ea13d3e10b30b936a6
6c69e8f953276b0c62120bbdea950dfb745fd352
feat(sandbox): add getDependencies proxy for sandboxed processors
### Why Sandboxed processors cannot call `job.getDependencies()` because the IPC proxy is missing. Refs #3533 ### How Following the existing `getChildrenValues` proxy pattern: 1. Added `GetDependencies` to `ParentCommand` enum 2. Added `GetDependenciesResponse` to `ChildCommand` enum 3. Added proxy method in `child-pr...
diff --git a/src/classes/child-processor.ts b/src/classes/child-processor.ts index 4f3066bdf52..087501ede32 100644 --- a/src/classes/child-processor.ts +++ b/src/classes/child-processor.ts @@ -266,6 +266,25 @@ export class ChildProcessor { 'getIgnoredChildrenFailures', ); }, + + /** + ...
5
5
4
[{"id": "G0", "claim": "Inserting GetDependencies/GetDependenciesResponse before existing members renumbers later ParentCommand/ChildCommand values, which can break IPC compatibility in mixed-version scenarios; new commands should be appended at the end or given explicit numeric values.", "category": "correctness", "ve...
null
taskforcesh__bullmq__3923
taskforcesh/bullmq
3,923
defect
220afbfa8d0176fbbec5687027f3fafda910c247
b929599d6933a9513cce22dbc552af93c3b09dd7
feat(sandbox): add getDependenciesCount proxy for sandboxed processors
### Why Sandboxed processors cannot call `job.getDependenciesCount()` because the IPC proxy is missing. Fixes #3533 ### How Following the existing `getChildrenValues` proxy pattern: 1. Added `GetDependenciesCount` to `ParentCommand` enum 2. Added `GetDependenciesCountResponse` to `ChildCommand` enum 3. Added proxy met...
diff --git a/src/classes/child-processor.ts b/src/classes/child-processor.ts index 4f3066bdf52..3affc35e07e 100644 --- a/src/classes/child-processor.ts +++ b/src/classes/child-processor.ts @@ -266,6 +266,25 @@ export class ChildProcessor { 'getIgnoredChildrenFailures', ); }, + + /** + ...
2
1
0
[{"id": "G0", "claim": "The getDependenciesCount proxy in ChildProcessor should type its opts parameter (and return type) to match the exact shape of Job.getDependenciesCount instead of Record<string, any>, so typos and misuse are caught at compile time.", "category": "design", "verdict": "supported", "priority": "P2",...
null
taskforcesh__bullmq__3936
taskforcesh/bullmq
3,936
defect
0b8e07f6db1be15624083a1d537358e982fa4615
4c7266900eac3b6e13f01d01a4593315f343ec8b
fix(worker): emit active event as soon as getting next job (elixir) (python)
<!-- Thank you for submitting a PR! Please fill out all sections below to help us understand your changes. --> ### Why <!-- 2. What problem does it solve or improve? 3. Link to any relevant issues, if applicable. --> 1. Why is this change necessary? Manual processing was not emitting active event a...
diff --git a/elixir/lib/bullmq/worker.ex b/elixir/lib/bullmq/worker.ex index 9b5a67c8e2d..a33660867fc 100644 --- a/elixir/lib/bullmq/worker.ex +++ b/elixir/lib/bullmq/worker.ex @@ -742,6 +742,12 @@ defmodule BullMQ.Worker do :job_available -> # A job became available, try to fetch it ...
1
1
1
[{"id": "G0", "claim": "The `active` event is now emitted only from the public `getNextJob` wrapper, while the worker's normal autorun path (mainLoop) fetches jobs via the private `_getNextJob` and the emission was removed from `processJob`, so `active` will stop firing for standard processing and likely break existing...
null
taskforcesh__bullmq__3967
taskforcesh/bullmq
3,967
defect
9224dc029fe5c4efae10d041cb9383b0a409c074
5b3187a029c04291113743f5ab6d3bfe521c946d
fix(metrics): add total counters to Prometheus export for accurate counts with auto-removal
## Summary - Fixes #3603 - `exportPrometheusMetrics()` now includes `bullmq_job_completed_total` and `bullmq_job_failed_total` counter-type metrics sourced from `getMetrics()`, which tracks historical totals via `meta.count` - The existing gauge metrics from `getJobCounts()` are preserved unchanged; the new counters a...
diff --git a/src/classes/queue-getters.ts b/src/classes/queue-getters.ts index b870672c2ab..6aede4ea085 100644 --- a/src/classes/queue-getters.ts +++ b/src/classes/queue-getters.ts @@ -705,6 +705,29 @@ export class QueueGetters<JobBase extends Job = Job> extends QueueBase { ); } + try { + const co...
5
4
3
[{"id": "G0", "claim": "The try/catch around getMetrics() should be removed because getMetrics does not throw when metrics are not enabled (it returns fields parsed as 0), so the catch is unnecessary and swallows unrelated errors.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "intr...
null
taskforcesh__bullmq__4007
taskforcesh/bullmq
4,007
defect
ce9bf0da1e95540aa5885206f56ca3ed7acd250f
fcaac020ea3e9dfe586c27905adb07d9a49fa5bb
fix(worker): use scheduler registry to discriminate repeatable keys
### Why Closes #3828. Repeatable jobs whose scheduler id contains 5 or more colon-separated segments (e.g. `tenant:region:env:service:queue`) were creating duplicate schedulers on every run. Root cause: `worker.ts` used colon-segment count (`>= 5`) as the sole heuristic to classify a `repeatJobKey` as a "legacy repe...
diff --git a/src/classes/job-scheduler.ts b/src/classes/job-scheduler.ts index 8d48f496511..3e6343f2b88 100644 --- a/src/classes/job-scheduler.ts +++ b/src/classes/job-scheduler.ts @@ -343,6 +343,22 @@ export class JobScheduler extends QueueBase { }; } + /** + * Checks if a given id corresponds to a regist...
3
3
1
[{"id": "G0", "claim": "The ZSCORE-based isJobScheduler misclassifies legacy repeatable keys (which are also members of the shared repeat ZSET) as job schedulers, so 5+ segment legacy keys reaching the worker's 5+ segment branch would be routed to the scheduler path where updateJobSchedulerNextMillis no-ops, breaking r...
null
taskforcesh__bullmq__4058
taskforcesh/bullmq
4,058
defect
40f2ce94f9d30526ad9f3507a8b71b2aaf6c6134
2307a49a59071631fb10fceaea2194917c109cd2
fix(flow-producer): surface ParentJobNotExist errors from add() (#3264)
### Why Closes #3264. `FlowProducer.add()` silently swallowed negative result codes (e.g. `-5` `ParentJobNotExist`) returned from the underlying `multi.exec()`. When a job's `opts.parent` referenced a non-existent parent key — including the common scenario where a sandboxed worker tries to attach a child to a parent it...
diff --git a/src/classes/flow-producer.ts b/src/classes/flow-producer.ts index 660592dd2c0..65224b9b06c 100644 --- a/src/classes/flow-producer.ts +++ b/src/classes/flow-producer.ts @@ -16,7 +16,7 @@ import { getParentKey, isRedisInstance, trace } from '../utils'; import { Job } from './job'; import { KeysMap, QueueKe...
2
2
1
[{"id": "G0", "claim": "toFlowError duplicates the error-code-to-message mapping that already exists in src/classes/scripts.ts and drops the numeric code on the thrown Error, so the reviewer asks that the code property be attached and the switch expanded to cover the other ErrorCode values (or the shared translation re...
null
taskforcesh__bullmq__4099
taskforcesh/bullmq
4,099
defect
a88892d8a64805f48da3f541500d0454e5380a30
21e1e9cd17f623b221ec1118856f6e4d7969b566
fix(deps): replace uuid with crypto
<!-- Thank you for submitting a PR! Please fill out all sections below to help us understand your changes. --> ### Why <!-- 1. Why is this change necessary? 2. What problem does it solve or improve? 3. Link to any relevant issues, if applicable. --> Why is this change necessary? Current uuid dep...
diff --git a/src/classes/flow-producer.ts b/src/classes/flow-producer.ts index 660592dd2c0..1d3b4f3ffc3 100644 --- a/src/classes/flow-producer.ts +++ b/src/classes/flow-producer.ts @@ -1,6 +1,6 @@ import { EventEmitter } from 'events'; import { Redis, ChainableCommander } from 'ioredis'; -import { v4 } from 'uuid'; +...
2
2
2
[{"id": "G0", "claim": "tests/flow.test.ts still contains many v4() calls after the v4 import was removed in this PR, so the file will fail with ReferenceError: v4 is not defined; replace the remaining v4() usages with randomUUID() or keep the uuid import until the migration is complete.", "category": "correctness", "v...
null
taskforcesh__bullmq__4113
taskforcesh/bullmq
4,113
defect
0866f39123010c9664fe32c1066f5e075faa4e23
362073d2419aafec1f6afca2dcb81d8eea623ec7
fix(scheduler): align first 'every' job to the next offset slot
### Port Impact Checklist - [ ] **Python** – does this change need to be ported or documented in the Python library? - [ ] **Elixir** – does this change need to be ported or documented in the Elixir library? - [ ] **PHP** – does this change need to be ported or documented in the PHP library? ### Why Fixes #3705. `u...
diff --git a/src/commands/includes/getJobSchedulerEveryNextMillis.lua b/src/commands/includes/getJobSchedulerEveryNextMillis.lua index 40ca80e6865..d2ef030027f 100644 --- a/src/commands/includes/getJobSchedulerEveryNextMillis.lua +++ b/src/commands/includes/getJobSchedulerEveryNextMillis.lua @@ -9,6 +9,18 @@ local func...
1
1
1
[{"id": "G0", "claim": "The fix breaks a test, and it is unclear whether the test fails because it was wrong before or because the fix actually introduces a regression.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
taskforcesh__bullmq__4151
taskforcesh/bullmq
4,151
defect
726c573e16c81a91ce2ce31f1bf1864c9ba1560e
4dd8e04870e4ab91cbca26095220f09602fa428d
fix(connection): reconnect wedged blocking cluster clients
<!-- Thank you for submitting a PR! Please fill out all sections below to help us understand your changes. PR TITLE FORMAT ─────────────── We use Conventional Commits: <type>(<scope>): <description> If your change affects one or more ports, append a tag at the end of the PR title (outside the ...
diff --git a/src/classes/redis-connection.ts b/src/classes/redis-connection.ts index d502e344305..884c434d4ed 100644 --- a/src/classes/redis-connection.ts +++ b/src/classes/redis-connection.ts @@ -24,6 +24,9 @@ const overrideMessage = [ const deprecationMessage = 'BullMQ: Your redis options maxRetriesPerRequest mus...
3
3
3
[{"id": "G0", "claim": "In the bzpopmin wrapper, if reconnectCluster() throws (e.g. connect fails), that error will replace the original bzpopmin error and change what callers observe; consider catching reconnect errors and rethrowing the original command error.", "category": "correctness", "verdict": "supported", "pri...
null
taskipy__taskipy__15
taskipy/taskipy
15
defect
d5e7b5eb6b2641edafbda99db7ef28026585d8b8
495db74ae30c0d671f1ecacceab5a09634b40bd6
Refactor taskipy into Task, PyProject, and TaskRunner
## Rationale While looking into #14, I ended up doing some refactoring to the taskipy package to split up the separate concerns in the `run_task` method since it appeared to be becoming unwieldy. ## How this affects #14 Since this is a refactor and #14 is a new feature, they work better as separate pull reques...
diff --git a/.hooks/make_release_commit.py b/.hooks/make_release_commit.py index 34caea6..a0cdf18 100644 --- a/.hooks/make_release_commit.py +++ b/.hooks/make_release_commit.py @@ -1,16 +1,16 @@ #!/usr/bin/env python3 import toml import subprocess -import os -from os import path +from pathlib import Path def crea...
11
11
2
[{"id": "G0", "claim": "Add a default exception case (except Exception) in cli.py's main, since it should be the top-level handler, just in case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add an exit_code class variable to the TaskipyError base...
null
taskipy__taskipy__44
taskipy/taskipy
44
defect
e42c3c23fc7ce60b2294307a100167d2b736cd30
719824442ff4ec2d13fd97332642b8b1f55b23a4
Add support for recursive variables
An implementation for #40. I assume we can discuss the details and polish from here (and add documentation).
diff --git a/pyproject.toml b/pyproject.toml index e02d0ea..08ef5b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,6 @@ colorama = "^0.4.4" pylint = "^2.4.4" mypy = "^0.812" rope = "^0.14.0" -psutil = "^5.6.7" [tool.taskipy.tasks] test = { cmd = "python -m unittest -v tests/test_*.py", help = "run...
14
14
2
[{"id": "G0", "claim": "Rename the test test_variables_can_be_used_within_themselves to make clear it tests recursive variables using other variables (suggested name: test_recursive_variables_can_use_other_variables).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
tastejs__todomvc__1212
tastejs/todomvc
1,212
defect
28b669e4a2155c577720c65a59050341f56c3cb6
9404882712937304c6d479c2bf34ef8cdeeb0258
CI Test work
Master still runs deploy but all other branches and PR's will run the tests on the changes. :sparkles: :dancer: :sparkles: I anticipate a bit of friction when we flip this on.. just with the sauce keys and such but, everything works on my fork :+1: - First we add the real remote and fetch the contents - then we dif...
diff --git a/.travis.yml b/.travis.yml index e25c6990bb..560fd891f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,12 @@ node_js: - '0.12' notifications: irc: 'irc.freenode.org#tastejs' -branches: - only: - - master +addons: + sauce_connect: true env: global: + - secure: K1W...
7
6
0
[{"id": "G0", "claim": "The frameworks that require the laxMode setting are not documented anywhere and should perhaps be recorded in allTests.js alongside the other metadata.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The launchBrowser code...
null
tastejs__todomvc__1439
tastejs/todomvc
1,439
defect
aeb5e7e2ce8a6a918ce6b9020156f126baae9d76
6af78625117f6a96e24fc2c7580c417c67177849
🚀 run jscs over tests
ref: https://github.com/tastejs/todomvc/commit/07353bcd844b41a2bf214d9c42845b65157a8bf7#commitcomment-13197635 https://github.com/tastejs/todomvc/commit/abee8bdedb4913a6f70b4ad5167fad16ad333def R: @arthurvr
diff --git a/tests/knownIssues.js b/tests/knownIssues.js index e79739e793..f1b59f0559 100644 --- a/tests/knownIssues.js +++ b/tests/knownIssues.js @@ -4,7 +4,9 @@ module.exports = [ // chapling brunch does not mark items as completed via the completed CSS class 'TodoMVC - chaplin-brunch, No Todos, should hide #main...
2
2
0
[{"id": "G0", "claim": "The added jscs disable/enable markers in tests/knownIssues.js use multiline /* */ comments while the rest of the file uses // comments — is there a reason for the inconsistency?", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim...
null
taubyte__tau__158
taubyte/tau
158
defect
79f170c7176b70c3ff1a1d1d1b60dd6a0ed3bd11
6ff2448255657bf06b14d3575b1fa17f21dda824
Add select wrapper
Fix #151
diff --git a/protocols/monkey/jobs/run.go b/protocols/monkey/jobs/run.go index 2d3a4f91..a6c63fd3 100644 --- a/protocols/monkey/jobs/run.go +++ b/protocols/monkey/jobs/run.go @@ -2,6 +2,7 @@ package jobs import ( "context" + "errors" "time" "github.com/ipfs/go-log/v2" @@ -17,7 +18,13 @@ func (c *Context) Run...
2
2
0
[{"id": "G0", "claim": "Remove the extra trailing space in the context-cancellation error message, i.e. errors.New(\"context cancel \") should read errors.New(\"context cancel\").", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Delete the empty l...
null
taubyte__tau__74
taubyte/tau
74
defect
114736350b3c893ad8878f7af4e2cde574a05388
47b2ae93c949bcf65a6b853ae104dd5e7dac4e72
71 shadow runtimes
Tests: https://asciinema.org/a/cHr4a4Z4kr1TrmlOVJzwCeNfZ Benchmark Test: https://asciinema.org/a/6r50DLr9tETp18F81TBHplOmX
diff --git a/go.mod b/go.mod index e268afc3..3f8f43db 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,9 @@ module github.com/taubyte/tau go 1.19 +replace github.com/taubyte/go-interfaces => ../go-interfaces +replace github.com/taubyte/vm-core-plugins => ../vm-core-plugins + require ( github.com/alecthomas/units v0....
7
6
0
[{"id": "G0", "claim": "Database.Project() should return a cid.Cid rather than a plain string, as it did before.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Serviceables should implement String() and the type-cast error should not print the serviceabl...
null
tauri-apps__cef-rs__217
tauri-apps/cef-rs
217
defect
a835e9ec950308c692c97b2fcab8a2b6fb1f6680
c357ec6cab8129643f7dce81377b4bd2b488874c
feat: Allow to download CEF binaries with custom base url
In many companies, internet access is impossible. In order to download binaries from a company repository (like Artifactory by example), using an environment variable (CEF_DOWNLOAD_URL) rather than a constant is interesting.
diff --git a/download-cef/src/lib.rs b/download-cef/src/lib.rs index 8ccd78fd..68d0b71d 100644 --- a/download-cef/src/lib.rs +++ b/download-cef/src/lib.rs @@ -126,8 +126,6 @@ where location.as_ref().join("archive.json") } -const URL: &str = "https://cef-builds.spotifycdn.com"; - #[derive(Clone, PartialEq, Eq, ...
1
1
0
[{"id": "G0", "claim": "Instead of moving the CDN URL to a string literal argument at the callsite, make it a pub const (renamed to DEFAULT_CDN_URL) that callers can reference.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
tauri-apps__tauri__10210
tauri-apps/tauri
10,210
defect
fbff6388ad6e3fcc450f262125823bdc3861ed6a
eff05961f275e5f69626acd2f661231fcf64c662
feat(core): add a new function to set theme dynamically
<!-- Before submitting a PR, please read https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines 1. Give the PR a descriptive title. Examples of good title: - fix(windows): fix race condition in event loop - docs: update docstrings - feat: add `Window::set_fullscreen...
diff --git a/Cargo.lock b/Cargo.lock index 7351397d2d86..9e63e6dc131a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -7243,9 +7243,9 @@ dependencies = [ [[package]] name = "tao" -version = "0.30.0" +version = "0.30.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a93f2c6b8fdaeb7f417bd...
4
3
2
[{"id": "G0", "claim": "The setTheme doc comment should say \"Set window theme, pass null to follow system theme\" instead of the current wording.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Setting the theme should also update the webview them...
null
tauri-apps__tauri__10397
tauri-apps/tauri
10,397
defect
2a402b4845d2e0a176047376d076b22810d4af35
a1693057b7ee52c36ba9eecceb61c493fc4c500b
feat(core): make setting of gtk app id optional
<!-- Before submitting a PR, please read https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines 1. Give the PR a descriptive title. Examples of good title: - fix(windows): fix race condition in event loop - docs: update docstrings - feat: add `Window::set_fu...
diff --git a/.changes/linux-option-gtk-app-id.md b/.changes/linux-option-gtk-app-id.md new file mode 100644 index 000000000000..dbc8c3288f5d --- /dev/null +++ b/.changes/linux-option-gtk-app-id.md @@ -0,0 +1,18 @@ +--- +"@tauri-apps/api": "patch" +"tauri-utils": "patch" +"tauri-macos-sign": "patch" +"tauri-bundler": "p...
1
1
0
[{"id": "G0", "claim": "The change file should list only `\"tauri-utils\": \"patch:enhance\"` and `\"tauri\": \"patch:enhance\"` instead of a patch bump for every crate, since covector will update the rest itself.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
tauri-apps__tauri__11477
tauri-apps/tauri
11,477
defect
54cbf59b5a572570a47237a3b5e6505f2a9e5d5d
55ff7d5f2c78e933a04195cc9455c0d093826286
feat: add `use_https_scheme` for Windows and Android
closes #11252 <!-- Before submitting a PR, please read https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines 1. Give the PR a descriptive title. Examples of good title: - fix(windows): fix race condition in event loop - docs: update example for `App::show` - feat:...
diff --git a/.changes/use_https_windows-and-android-config.md b/.changes/use_https_windows-and-android-config.md new file mode 100644 index 000000000000..3ed79b05a8a4 --- /dev/null +++ b/.changes/use_https_windows-and-android-config.md @@ -0,0 +1,9 @@ +--- +"tauri": "minor:feat" +"tauri-utils": "minor:feat" +--- + +Add...
2
2
0
[{"id": "G0", "claim": "The doc comment on the new use_https_scheme option should read \"...and therefore will not match...\" instead of the ungrammatical \"...and is therefore will not match...\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
tauri-apps__tauri__11661
tauri-apps/tauri
11,661
defect
cccb308c7b559b0838138d6cea280665f060c925
337d498f90be0641bfc890d041269d0bd29a2730
feat: Implement Badging API
closes #4489 This PR implements badging api for Windows, macOS, Linux, IOS from tao upstream [ref #1002](https://github.com/tauri-apps/tao/pull/1002) <!-- Before submitting a PR, please read https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines 1. Give the PR a descriptive...
diff --git a/.changes/overlay.md b/.changes/overlay.md new file mode 100644 index 000000000000..682643834e4e --- /dev/null +++ b/.changes/overlay.md @@ -0,0 +1,17 @@ +--- +"tauri": minor:feat +"tauri-utils": minor:feat +"tauri-runtime-wry": minor:feat +"tauri-runtime": minor:feat +"tauri-bundler": minor:feat +'@tauri-a...
17
16
5
[{"id": "G0", "claim": "The reviewer asks why the iOS badge count is clamped to the i32 range in the wry runtime handler.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "WebviewWindow::set_overlay_icon should be gated with #[cfg(target_os = \"windows\")] ...
null
tauri-apps__tauri__12665
tauri-apps/tauri
12,665
defect
8e9339e8807338597132ffd8688fb9da00f4102b
bccd107a4b5eef6ae735285ffa015a5f5848882a
feat: add `Webview::cookies` and `Webview::cookies_for_url()`
**Closes** - https://github.com/tauri-apps/tauri/issues/11330 **Related** - Relevant discussion https://github.com/tauri-apps/tauri/discussions/11655 - Relevant merge into Wry https://github.com/tauri-apps/wry/pull/1394 Related issues not fully handled by this PR: - https://github.com/tauri-apps/tauri/i...
diff --git a/.changes/cookies-for-url.md b/.changes/cookies-for-url.md new file mode 100644 index 000000000000..175132a677b0 --- /dev/null +++ b/.changes/cookies-for-url.md @@ -0,0 +1,7 @@ +--- +"tauri": minor:feat +"tauri-runtime": minor:feat +"tauri-runtime-wry": minor:feat +--- + +Added `Webview::cookies_for_url()` ...
6
5
3
[{"id": "G0", "claim": "The new cookies_for_url documentation should add a note about the scheme requirements (cookies are only returned for http/https URLs), which the reviewer considered quite important.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
tauri-apps__tauri__13276
tauri-apps/tauri
13,276
defect
4e00b279130b46483f7a4d8a377d7d4eb45314f1
73ca82ead26c762121f2878404462e7c4c42a2e1
feat: add workarea getter for monitor
<!-- Before submitting a PR, please read https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines 1. Give the PR a descriptive title. Examples of good title: - fix(windows): fix race condition in event loop - docs: update example for `App::show` - feat: add `Window::s...
diff --git a/.changes/monitor-workarea-js.md b/.changes/monitor-workarea-js.md new file mode 100644 index 000000000000..2a5dedc88c86 --- /dev/null +++ b/.changes/monitor-workarea-js.md @@ -0,0 +1,5 @@ +--- +"@tauri-apps/api": "minor:feat" +--- + +Add `Monitor.workArea` field. diff --git a/.changes/monitor-workarea-rust...
2
1
1
[{"id": "G0", "claim": "The work_area getter should return a dedicated PhysicalRect type instead of the generic Rect, whose position and size may be either logical or physical.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "On macOS the monitor work_area...
null
tauri-apps__tauri__14008
tauri-apps/tauri
14,008
defect
21ebc6e82062b55a12f3a360d9a979daf5ae7e66
0f17521cc3b21c8ba3690283ec8621e8ebdc6fbd
feat(tauri): impl `App::set_device_event_filter` for `AppHandle` also
Not sure why this API wasn't added before: <https://github.com/tauri-apps/tauri/pull/5562#issuecomment-3190866523>. For the symmetry, I submitted this PR. I encountered this issue while implementing API bindings for pytauri. Generally, for APIs that exist on both `App` and `AppHandle`, I only implement them on `AppH...
diff --git a/.changes/impl-set_device_event_filter-for-apphandle.md b/.changes/impl-set_device_event_filter-for-apphandle.md new file mode 100644 index 000000000000..b22818599552 --- /dev/null +++ b/.changes/impl-set_device_event_filter-for-apphandle.md @@ -0,0 +1,7 @@ +--- +"tauri-runtime-wry": minor +"tauri-runtime":...
1
1
0
[{"id": "G0", "claim": "The change-file version bumps should be tagged as features — \"tauri-runtime-wry\": minor:feat, \"tauri-runtime\": minor:feat and \"tauri\": minor:feat — instead of plain minor.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
tauri-apps__tauri__14925
tauri-apps/tauri
14,925
defect
7d01aa04174744f7c27516a48d6ac1e6c3f84e77
e6b376bf0663b624c7fe097e479ce73c9fc67aad
feat: add `eval_with_callback` to Webview and WebviewWindow
close #5441 This PR adds a new method `eval_with_callback` to **tauri::webview::Webview** and **tauri::webview::WebviewWindow**, providing a way to evaluate JavaScript in the webview and receive the evaluation result (serialized as a JSON string) via a callback function. The feature addresses the long-standing r...
diff --git a/crates/tauri-runtime-wry/src/lib.rs b/crates/tauri-runtime-wry/src/lib.rs index 61799d0394c9..c8af13e56f87 100644 --- a/crates/tauri-runtime-wry/src/lib.rs +++ b/crates/tauri-runtime-wry/src/lib.rs @@ -1427,6 +1427,15 @@ pub enum WebviewMessage { EvaluateScript(String), #[cfg(all(feature = "tracing",...
5
5
0
[{"id": "G0", "claim": "The eval_with_callback doc comment on Webview should say \"webview\" instead of \"window\", \"Windows\" instead of \"windows\", and use a '## Platform-specific' heading before the Android note.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"...
null
tauri-apps__tauri__9687
tauri-apps/tauri
9,687
defect
5529c5ab69bda3de5c25ce266368e0d01be13222
34517554e3b625556effbb9095770bfcda484c10
feat(core): add an option for preventing window overflow
<!-- Before submitting a PR, please read https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines 1. Give the PR a descriptive title. Examples of good title: - fix(windows): fix race condition in event loop - docs: update docstrings - feat: add `Window::set_fullscreen...
diff --git a/core/tauri-config-schema/schema.json b/core/tauri-config-schema/schema.json index 964c616d8bf7..7c1c0e33b51c 100644 --- a/core/tauri-config-schema/schema.json +++ b/core/tauri-config-schema/schema.json @@ -291,6 +291,17 @@ ], "format": "double" }, + "preventOverflow": ...
8
7
4
[{"id": "G0", "claim": "The PR probably needs better documentation and names, and implementations for Linux and macOS.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The macOS branch imports MonitorHandleExtMacOS from tao::platform::windows; it should co...
null
tauri-apps__tauri__9770
tauri-apps/tauri
9,770
defect
4a33bc6a62d2ed9371191c8a7f78ff3f33930455
e5fddcf0d02a0c9c7446214f9a8b626798bb7461
feat: adds monitor_from_point method
Exposes this [Tao method](https://docs.rs/tao/latest/tao/window/struct.Window.html#method.monitor_from_point) in Tauri too. Merging this closes #3057 and unblocks https://github.com/spyglass-search/spyglass/issues/312
diff --git a/core/tauri-runtime-wry/src/lib.rs b/core/tauri-runtime-wry/src/lib.rs index daea161a78b5..1569a57ef000 100644 --- a/core/tauri-runtime-wry/src/lib.rs +++ b/core/tauri-runtime-wry/src/lib.rs @@ -1092,6 +1092,7 @@ pub enum WindowMessage { Title(Sender<String>), CurrentMonitor(Sender<Option<MonitorHandl...
5
5
2
[{"id": "G0", "claim": "monitor_from_point does not pass x and y through the WindowMessage, so the message handler falls back to monitor_from_point(0.0, 0.0) and the dispatcher can return the wrong monitor for the given point.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
tauri-apps__tauri__9788
tauri-apps/tauri
9,788
defect
a7354f9a81d4db83ff3d34b29617717117ad64d2
34312d004ab6c6b05cde1a6ebfcca8899c53eea7
feat(macos): support changing title bar style dynamically, close #9763
Close #9763 Depends on PR [tao#926](https://github.com/tauri-apps/tao/pull/926) TODO: - [x] Wait for tao v0.28.1 release, and update tao version in `Cargo.toml`
diff --git a/.changes/tauri-set-title-bar-style.md b/.changes/tauri-set-title-bar-style.md new file mode 100644 index 000000000000..bd46ea23662a --- /dev/null +++ b/.changes/tauri-set-title-bar-style.md @@ -0,0 +1,6 @@ +--- +'tauri': 'patch:feat' +'@tauri-apps/api': 'patch:feat' +--- + +Add a new method to set title ba...
1
1
0
[{"id": "G0", "claim": "The `set_title_bar_style` doc comment should be reworded to \"Sets the title bar style. **macOS only**.\" instead of the longer \"Available on macOS only.\" plus the Platform-specific block, in webview_window.rs, window/mod.rs and tooling/api/src/window.ts.", "category": "documentation", "verdic...
null
tauri-apps__tauri__9983
tauri-apps/tauri
9,983
defect
8b66174f0d04d440d32a15ae52ed9771fedc005e
cc080c13b30e7aee6a62e241fbf0256393df7c32
integration tests related to recent security advisory
<!-- Before submitting a PR, please read https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines 1. Give the PR a descriptive title. Examples of good title: - fix(windows): fix race condition in event loop - docs: update docstrings - feat: add `Window::set_fu...
diff --git a/Cargo.lock b/Cargo.lock index 01fb39a19840..b67e836110e3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1921,6 +1921,15 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "invoke-key" +version = "0.1.0" +dependencies = [ + "tauri", + "tauri-build", + "tracing", +] + [[package]] name = "io-lifetimes"...
1
1
1
[{"id": "G0", "claim": "The added `eprintln!(error)` call passes a variable as the format string, which triggers a clippy error in CI, and should be changed (e.g. to `eprintln!(\"{}\", error)`) to fix it.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
tauri-apps__wry__1183
tauri-apps/wry
1,183
defect
00bc96d115879c841fc47242271db3761d19f746
d14867a4a2aa9ac644e84fafb9b9fd811d3a41ba
refactor(ipc): use http::Request on with_ipc_handler
This pull request changes the ipc_handler closure to get a new IpcRequest type instead of only receive the message string. On macOS, iOS and Windows, we can read the request URL which enhances the security checks to verify the request source (currently only the url() function can be used, which does not work on contex...
diff --git a/.cargo/config.toml b/.cargo/config.toml index 3f6a4c76b..d186dc177 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,3 +2,11 @@ # target = "aarch64-linux-android" [target.x86_64-apple-darwin] rustflags = ["-C", "link-arg=-mmacosx-version-min=10.12"] + +[target.x86_64-pc-windows-msvc] +linke...
4
4
2
[{"id": "G0", "claim": "The new [target.x86_64-pc-windows-msvc] cross-compilation config block in .cargo/config.toml is a leftover of the author's local setup and should not be committed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of...
null
tauri-apps__wry__270
tauri-apps/wry
270
defect
1d5cc590856e1be1428f8516595ace6d8099f41f
00c6f4335a6d63d3c17b5632a47db24edfa45d9c
chore(bench): add benches
<!-- Please make sure to read the Pull Request Guidelines: https://github.com/tauri-apps/tauri/blob/dev/.github/CONTRIBUTING.md#pull-request-guidelines --> <!-- PULL REQUEST TEMPLATE --> <!-- (Update "[ ]" to "[x]" to check a box) --> **What kind of change does this PR introduce?** (check at least one) - [...
diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml new file mode 100644 index 000000000..c059bcab8 --- /dev/null +++ b/.github/workflows/bench.yml @@ -0,0 +1,68 @@ +name: benches + +on: [push, pull_request, workflow_dispatch] + +jobs: + bench: + strategy: + fail-fast: false + matrix: +...
3
3
0
[{"id": "G0", "claim": "The benches workflow should not run on every pull request; running it on pushes to the dev branch (instead of on pull_request) should be enough.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dev||feat/benches ref conditions o...
null
tbabej__taskwiki__272
tbabej/taskwiki
272
defect
377aac68ba55c74e981fa1b851e6c8f5784c06be
8bb71aadb740c729980f4fd15fade6c562c6a50c
Adds count viewport setting
This adds a viewport option to limit the number of tasks shown under the viewport: ``` # Show only 4 tasks | project:my-project *4 ``` My use case is that I want to have a "daily tasks" file that gets updated with the top 2 most urgent tasks across all projects. I tried to experiment with the `limit:4` taskwarr...
diff --git a/doc/taskwiki.txt b/doc/taskwiki.txt index 790e27641..858a85ea9 100644 --- a/doc/taskwiki.txt +++ b/doc/taskwiki.txt @@ -382,8 +382,22 @@ viewport definition: ~ == Differently ordered home tasks | project:Home $T == +------------------ +5.2.4 Limiting number of tasks displayed + +By default, taskwiki...
5
3
1
[{"id": "G0", "claim": "The pull request mixes in unrelated whitespace changes (and quote-style changes) that should be removed to keep the diff reviewable.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of introducing a new `*<limit>` s...
null
tbphp__gpt-load__397
tbphp/gpt-load
397
defect
8ffcb469a873e29165e1bc61b5a66aea390b5f9d
313c9198a4ec3f467adfe16fa92c260e90c23714
feat: 支持分组级故障转移状态码
### 关联 Issue / Related Issue Closes #394 ### 变更内容 / Change Content - [ ] Bug 修复 / Bug fix - [x] 新功能 / New feature - [ ] 其他改动 / Other changes - 新增分组级配置 `failover_status_codes`,支持: - 多值:`404,429` - 范围:`250-260` - 混合:`404,429,250-260` - 保留原有全局故障转移策略,并支持在分组维度追加状态码规则;任一规则命中时即可触发故障转移。 - 系统设置页不再暴露 `failover_status_c...
diff --git a/internal/config/system_settings.go b/internal/config/system_settings.go index 94e53e3fa..13d0b6ddc 100644 --- a/internal/config/system_settings.go +++ b/internal/config/system_settings.go @@ -5,6 +5,7 @@ import ( "encoding/json" "fmt" "gpt-load/internal/db" + "gpt-load/internal/failover" "gpt-load/...
4
2
1
[{"id": "G0", "claim": "A group override can replace the global extra failover codes instead of incrementally adding to them, conflicting with the stated global-OR-group-incremental behavior.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The debug ...
null
tc39__eshost__32
tc39/eshost
32
defect
ad26299b4b797f70eed03d3d3b69b5e156359e1c
0d5b04c3216aaa9522178324b162777f86b8005f
Implement new host: "remote"
The "remote" host allows for executing code in any externally-hosted web browser via a remote Selenium/WebDriver server. This is tested entirely within TravisCI through a dedicated job that runs such a server locally.
diff --git a/.travis.yml b/.travis.yml index 2cbb527..60e4481 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,18 +12,18 @@ env: - ESHOST_TARGET=chakra - ESHOST_TARGET=jsshell - ESHOST_TARGET=chrome + - ESHOST_TARGET=remote ESHOST_REMOTE_BROWSERNAME=firefox install: | export ESHOST_SKIP_D8=1 expor...
6
3
0
[{"id": "G0", "claim": "The URL built by string concatenation in BrowserAgent.initialize() could be cleaned up using template strings.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The RemoteAgent constructor should take a default parameter (co...
null
tchiotludo__akhq__1235
tchiotludo/akhq
1,235
defect
fea745d3d8377207dff35a1675604f41b6e4385b
70d6ec243b9ac1acae1cd86c09f5ff54ab5fa15c
Added CustomHttpResponseHeadersFilter
With this filter we can configurably define response headers to be added to each HTTP response.
diff --git a/src/main/java/org/akhq/middlewares/CustomHttpResponseHeadersFilter.java b/src/main/java/org/akhq/middlewares/CustomHttpResponseHeadersFilter.java new file mode 100644 index 000000000..8f93c6bfd --- /dev/null +++ b/src/main/java/org/akhq/middlewares/CustomHttpResponseHeadersFilter.java @@ -0,0 +1,75 @@ +pac...
2
2
2
[{"id": "G0", "claim": "The headers should be provided by users as a structured configuration (a Map / a true configuration class) instead of pipe-split strings, and the property constant should be renamed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
tchiotludo__akhq__1281
tchiotludo/akhq
1,281
defect
3ba88fc3b4e331a3022399f8b52b57c0e2442aa1
52e5d0cb6dcfafae86ea0f9ac6e0ec618502e07a
enhancement: support for acls-filter-regexp
This PR contains changes to support Regex for filtering security groups based on principal names added to the acl bindings
diff --git a/docs/docs/configuration/authentifications/groups.md b/docs/docs/configuration/authentifications/groups.md index d92232699..a85a48920 100644 --- a/docs/docs/configuration/authentifications/groups.md +++ b/docs/docs/configuration/authentifications/groups.md @@ -12,9 +12,10 @@ Define groups with specific role...
3
1
0
[{"id": "G0", "claim": "A space is missing after the comma in the new isMatchRegex filter call (getAclFilterRegex(),aclBinding...); a suggestion to add it was left.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The second assertion in the new f...
null
tchiotludo__akhq__139
tchiotludo/akhq
139
defect
ec471f6beab2814a62fbcee98b009d1493fd562c
c0bbbb14ca9045b329b1b41b1bb29340a4a39510
Added user visualisation - closes #131
In order to implement #131 Added : - user/read role - userlist page - user detail page with topic and group tab - topic acls tab - group acls tab
diff --git a/README.md b/README.md index bcf6dd83d..0af36bd39 100644 --- a/README.md +++ b/README.md @@ -190,6 +190,7 @@ These parameters are the default values used in the topic creation page. * `group/read` * `group/delete` * `group/offsets/update` + * `user/read` * `registry/read` * `registry/insert`...
8
8
1
[{"id": "G0", "claim": "Instead of appending ACLs to the Topic after construction, pass the ACL data to the Topic constructor.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Surround the empty-ACL message in acls.ftl with a warning alert div so it looks ...
null
tchiotludo__akhq__144
tchiotludo/akhq
144
defect
8fd76c109f16a12b5f5cbc404d2dabe2f8eef57d
ee20304350b524c448cd5075359a877a9cd30ffc
Ldap Suppport with Groups
A first approach to resolve #101. Already implemented groups based on #143.
diff --git a/application.example.yml b/application.example.yml index ea3b504d0..f1cfc8a4b 100644 --- a/application.example.yml +++ b/application.example.yml @@ -111,14 +111,56 @@ kafkahq: - connect/delete - connect/state/update - # Basic auth configuration - basic-auth: - user: # Username - ...
5
4
0
[{"id": "G0", "claim": "Remove the whole docker-compose.yml modification (whitespace changes to the kafkacat command) because it does not concern the LDAP feature.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a description to the javadoc @...
null
tchiotludo__akhq__1612
tchiotludo/akhq
1,612
defect
56a042f0c15741200c1669c779266af9b4b96818
31159bd0c64aca98a30bdc9b7507dfbbadd08c5d
fix(RecordRepository): fix copy infinite loop when record added durin…
Fix #1377 Hey, Fix for the infinite loop in the case records are copied to an other topic and an other record has been queued. I filter them with the last offset we got in the start state. Can be reproduced easily.
diff --git a/src/main/java/org/akhq/repositories/RecordRepository.java b/src/main/java/org/akhq/repositories/RecordRepository.java index f8833cd73f..bd95b301a9 100644 --- a/src/main/java/org/akhq/repositories/RecordRepository.java +++ b/src/main/java/org/akhq/repositories/RecordRepository.java @@ -1035,12 +1035,17 @@ p...
1
1
1
[{"id": "G0", "claim": "Some tests are failing and the author is asked to fix them before the pull request can go on.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
tchiotludo__akhq__1706
tchiotludo/akhq
1,706
defect
c7739fdf47bd9a63769604d6337f933d78059bb9
7a0179b7d168e5c3f2cc3884a0fa5313506f9f47
Use no op security service when security is off #1705
When security is not enabled, we inject a NoOp security service implementation, this means the username would not be looked up but the rest of the audit feature would still work. Fixes #1704
diff --git a/src/main/java/org/akhq/modules/AuditModule.java b/src/main/java/org/akhq/modules/AuditModule.java index 251ded309..a7ea54113 100644 --- a/src/main/java/org/akhq/modules/AuditModule.java +++ b/src/main/java/org/akhq/modules/AuditModule.java @@ -1,7 +1,11 @@ package org.akhq.modules; import com.fasterxml...
1
1
0
[{"id": "G0", "claim": "Prefer injecting the security service as Optional<SecurityService> and guarding the username lookup with ifPresent instead of maintaining a NoOpSecurityService wired through the application context, since it is a smaller change to the code.", "category": "design", "verdict": "supported", "priori...
null
tchiotludo__akhq__1899
tchiotludo/akhq
1,899
defect
b6468bf10029b6ed8c5f559bb80756faa9740d7d
3437ae086d803bcc04a35c3f36595a3c9c0f33ae
feat: JSON Masking
Hi! AKHQ is fantastic, but the data masking using regex doesn't really scale well if you have complex personal data (pii) requirements (for example, if you need to mask *all* fields by default apart from carefully selected fields in a production environment). Crafting a regex for this can be flaky. Especially if you...
diff --git a/src/main/java/org/akhq/configs/DataMasking.java b/src/main/java/org/akhq/configs/DataMasking.java index 6fb838e4fc..b2ba6a694b 100644 --- a/src/main/java/org/akhq/configs/DataMasking.java +++ b/src/main/java/org/akhq/configs/DataMasking.java @@ -9,5 +9,9 @@ @ConfigurationProperties("akhq.security.data-mas...
13
12
4
[{"id": "G0", "claim": "The JSON maskers should test for record.getValue() != null first (for tombstones) instead of calling trim() on the value directly, to avoid generating an exception.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "maskRecord in...
null
tchiotludo__akhq__2051
tchiotludo/akhq
2,051
defect
73beccbf3e4c422b41cd8c3d9296b9c52ef50e82
0deedd704c0ca11f6d078ecbd7a86b68b411a870
fix(masking): Various performance, functional, and readability fixes for JSON-based masking
Several fixes here: 1) I realised after further usage and some extensive testing in more complex scenarios that JSON Arrays weren't handled correctly - they were always either masked at the whole field level (on Mask By Default mode), or left unmasked (on Show By Default mode). Now, the same settings that apply now al...
diff --git a/src/main/java/org/akhq/utils/JsonMaskByDefaultMasker.java b/src/main/java/org/akhq/utils/JsonMaskByDefaultMasker.java index b93ff5c46..8ec878d0d 100644 --- a/src/main/java/org/akhq/utils/JsonMaskByDefaultMasker.java +++ b/src/main/java/org/akhq/utils/JsonMaskByDefaultMasker.java @@ -1,8 +1,6 @@ package or...
7
7
0
[{"id": "G0", "claim": "Avoid the com.google.gson.* wildcard import and import only the specific types used.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "buildTopicKeysMap is duplicated in JsonShowByDefaultMasker and JsonMaskByDefaultMasker an...
null
tchiotludo__akhq__2125
tchiotludo/akhq
2,125
defect
f3dea5af136c832099ddc848eaf35cbefec36352
b7bdfdf6a7ac5daa48a45aafc29f56971f005b47
chore: do not pass externally mapped groups in token
Closes https://github.com/tchiotludo/akhq/issues/2111 Please see discussion under the above issue. This PR has four main changes: 1. In `OidcUserDetailsMapper`, do _not_ use the `ClaimProvider` to change the groups in the token, but rather keep the original groups from OIDC. Also, add a `provider_name` attribu...
diff --git a/src/main/java/org/akhq/controllers/AbstractController.java b/src/main/java/org/akhq/controllers/AbstractController.java index a267e25f6..25e587225 100644 --- a/src/main/java/org/akhq/controllers/AbstractController.java +++ b/src/main/java/org/akhq/controllers/AbstractController.java @@ -10,6 +10,7 @@ impo...
7
5
2
[{"id": "G0", "claim": "The OIDC mapper should put the provider type into the authentication attributes and getClaimProviderGroups should read it from there, so the claim-provider lookup can be made generic if the same is done for the other auth providers.", "category": "design", "verdict": "supported", "priority": "P2...
null
tchiotludo__akhq__219
tchiotludo/akhq
219
defect
1aac14ef7041533ff334998ce0dbd52fbd13e794
03a86c933b773a56b5b8406f16d48e1605a65036
Role assignments to individual LDAP users
Role assignments to individual LDAP users makes it possible to use LDAP purely for authentication, when defining LDAP groups is not wanted. Role assignments from groups are merged together with individual role assignments. Description is added in README.md.
diff --git a/README.md b/README.md index 3497cce7e..db2d4c1d1 100644 --- a/README.md +++ b/README.md @@ -295,7 +295,7 @@ micronaut: base: "dc=example,dc=com" ``` -Configure KafkaHQ groups and Ldap groups +Configure KafkaHQ groups and Ldap groups and users ```yaml kafkahq: security: @@ -323,6 +323,12 ...
2
2
1
[{"id": "G0", "claim": "An example of the new per-user LDAP role assignment should be added to application.example.yml, which is kept up to date with all configuration possibilities.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A unit test shoul...
null
tchiotludo__akhq__2249
tchiotludo/akhq
2,249
defect
e9dd24ee677e11a3822ebbbea0bcaec6531cc776
44597af3f3cab932ebce8fb32ade662da908752f
Fix: Support Large Retention Values in Topic Config
The [Issue:2247](https://github.com/tchiotludo/akhq/issues/2247) was caused because TopicController.retention was defined as an Integer, which has a max value of 2,147,483,647 — too small for realistic retention.ms values like 315576000000 (10 years in milliseconds). Since Kafka supports this config as a 64-bit long...
diff --git a/src/main/java/org/akhq/controllers/TopicController.java b/src/main/java/org/akhq/controllers/TopicController.java index 5ae17965d..b7a47dbbe 100644 --- a/src/main/java/org/akhq/controllers/TopicController.java +++ b/src/main/java/org/akhq/controllers/TopicController.java @@ -73,16 +73,16 @@ public class To...
1
1
1
[{"id": "G0", "claim": "Keep the original types for replication and partition instead of converting them to long: change the return type of getDefaultConf to Map<String, Object> and remove the .longValue() calls.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
tchiotludo__akhq__228
tchiotludo/akhq
228
defect
c09be06d175104f4a3509d2a0566f7be781406d8
dafa0b1c6b7df13f350c00f6a462b6abdc58a429
WIP: Produce with schema
TODO : - [x] add unit test - [x] refactoring : should we create a dedicated Record object for the production? or merge with the actual Record?
diff --git a/src/main/java/org/kafkahq/controllers/TopicController.java b/src/main/java/org/kafkahq/controllers/TopicController.java index 207d51045..eb0d255ec 100644 --- a/src/main/java/org/kafkahq/controllers/TopicController.java +++ b/src/main/java/org/kafkahq/controllers/TopicController.java @@ -193,7 +193,9 @@ pub...
3
3
0
[{"id": "G0", "claim": "Remove the java.util.Optional import added to Record.java, which is not used and is just noise in the diff.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Replace the key/value schema id text inputs with a combo box like ...
null
tchiotludo__akhq__408
tchiotludo/akhq
408
defect
7bf700ba9689d3e3d8a7d3f33eaf3dce44ab61a2
5c1dd473657dd701edd86c728eb088c0862784ff
Feat/304 support references
Manage Avro schema references coming with Confluent schema registry 5.5.0: - manage Avro schema references to read messages from topics - manage Avro schema references to display schemas from the schema registry - add possibility to register a schema with its type references in the UI (old way with only a json avr...
diff --git a/client/src/containers/Schema/SchemaCreate/SchemaCreate.jsx b/client/src/containers/Schema/SchemaCreate/SchemaCreate.jsx index 3b6d4aeed..f3dda656a 100644 --- a/client/src/containers/Schema/SchemaCreate/SchemaCreate.jsx +++ b/client/src/containers/Schema/SchemaCreate/SchemaCreate.jsx @@ -47,10 +47,16 @@ cla...
3
3
2
[{"id": "G0", "claim": "The new test constant SUBJECT_4 is wrongly set to \"SCHEMA_3\" instead of \"SCHEMA_4\", so the test exercises a wrong subject.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add something to README.md documenting the special ...
null
tchiotludo__akhq__477
tchiotludo/akhq
477
defect
3ebfd4b5435045a0143754fc9e3edbfbf7097e24
6d13555d61062fba8d55c366e3063bef877464fa
New attribute to filter Connect Configs by regexp
I followed the same logic you implemented for topics. It has the sames limitations as your implementation : it only makes sense when the user have Read-Only acces, because the filter is only verified on list and search. It has the same vulnerability as your implementation : if the user have roles read/create/update/d...
diff --git a/README.md b/README.md index 23282bc87..ce1b51882 100644 --- a/README.md +++ b/README.md @@ -336,6 +336,7 @@ Define groups with specific roles for your users * `- name: group-name` Group identifier * `roles`: Roles list for the group * `attributes.topics-filter-regexp`: Regexp to filter topics ...
1
1
1
[{"id": "G0", "claim": "A unit test should be added to validate the new connect config regexp filtering before merge.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
tchiotludo__akhq__526
tchiotludo/akhq
526
defect
d3770f0b885de619312d5a076f120b8825871671
6aa96f34e8beaa405893bacc3778f485a3fdcfce
fix(auth): Rolling back group configuration to a map format
Hi @tchiotludo This is a proposed fix for an issue with 0.16.0 that happens when you configure security groups (akhq.security.groups). I believe it's related to [this issue](https://github.com/tchiotludo/akhq/issues/524). The root cause is, since the groups are now configured as a list (and not a map) the config...
diff --git a/.gitignore b/.gitignore index 3a52fd62e..cd506bc87 100644 --- a/.gitignore +++ b/.gitignore @@ -36,7 +36,7 @@ out/* logs/* ### Kafka HQ ### -src/**/*-*.yml +src/main/*-*.yml connects-plugins/ ### Docs diff --git a/src/main/java/org/akhq/configs/SecurityProperties.java b/src/main/java/org/akhq/confi...
2
2
2
[{"id": "G0", "claim": "The pull request should be repurposed as a rollback of the group configuration from a list to a map format, with the map key bound to a dedicated `key` property rather than `name`, because Micronaut overwrites the keys of arrays and changes their case, which has caused LDAP issues.", "category":...
null
tchiotludo__akhq__558
tchiotludo/akhq
558
defect
ed57614c31b64aa0f992bc0d48ceb05bb31f4d75
d31b6187278f67db9d84cefa266ed0c6b65ea3e5
Add support for TIBCO's Avro serializer/deserializer
This PR works as-is for me for deserializing & displaying messages that were serialized by the TIBCO Avro serialization library. Since the TIBCO client library isn't currently available via a public Maven repository, it must be manually downloaded (as part of the "TIBCO® Messaging - Schema Repository for Apache Kafka ...
diff --git a/src/main/java/org/akhq/configs/Connection.java b/src/main/java/org/akhq/configs/Connection.java index 93f2536f7..5201720f8 100644 --- a/src/main/java/org/akhq/configs/Connection.java +++ b/src/main/java/org/akhq/configs/Connection.java @@ -31,6 +31,7 @@ public static class SchemaRegistry { String ...
4
3
2
[{"id": "G0", "claim": "Change the new schema-registry \"type\" option from a plain String field to an Enum with a default value of Confluent.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The TIBCO deserializer should not be instantiated via reflection...
null
tchiotludo__akhq__602
tchiotludo/akhq
602
defect
9646c0a7294a68323b300b4c16918cc1d0b05259
94e294d25dc2742d09cc483325a3c5e8212c6e00
kafka-connect-sorting-filtering
Hello, First PR on this repository to add a search bar in the Kafka Connect list. I use as an example the Schema Registry screen and implementation.
diff --git a/client/src/containers/Connect/ConnectList/ConnectList.jsx b/client/src/containers/Connect/ConnectList/ConnectList.jsx index ef1e882a5b..c1337b5a2e 100644 --- a/client/src/containers/Connect/ConnectList/ConnectList.jsx +++ b/client/src/containers/Connect/ConnectList/ConnectList.jsx @@ -12,6 +12,8 @@ import ...
2
1
1
[{"id": "G0", "claim": "GroupControllerTest.listApi() fails (expected 1 but was 5) and the author cannot tell why; he believes the failure is unrelated to this change and does not break the global build.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "...
null
tdewolff__minify__212
tdewolff/minify
212
defect
5ba3abdf255ad71035cec25b615b32b478c50720
9bf33c10b100fa201f6d601cf0eeca1ff37649c7
run go fmt and replace repeated if-else with a switch
This PR fixes formatting issues where apparently `go fmt` had not been run in a while. Tip for all Go coders: The trick is to run the command `go fmt ./...` so that `fmt` is executed in the current directory and all packages below. Also, a series of repeated if-else statements is replaced here with a switch, as is t...
diff --git a/css/css.go b/css/css.go index 8771995806..3f43592c6d 100644 --- a/css/css.go +++ b/css/css.go @@ -70,7 +70,8 @@ func (c *cssMinifier) minifyGrammar() error { semicolonQueued := false for { gt, _, data := c.p.Next() - if gt == css.ErrorGrammar { + switch gt { + case css.ErrorGrammar: if perr, ...
8
6
0
[{"id": "G0", "claim": "The pre-allocated capacity of 2 for vals is pointless because the first append already grows capacity to 2, so the reviewer asks why 2 was chosen and suggests something like len(values)/2 instead.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id...
null
tdewolff__minify__222
tdewolff/minify
222
defect
948b6490cf3cacab5f4d7474104c3d21bf6eda46
e441e126348c78aef17499fb4d6b84e3e395d229
Fix background-position minification
Fixes #221: order of converted numbers for `background-position: top right`, `bottom left`, `top center`, `bottom center`; disables incorrect conversion for `background-position: top` and `background-position: bottom`.
diff --git a/css/css.go b/css/css.go index 1c9f466a9..b436c548e 100644 --- a/css/css.go +++ b/css/css.go @@ -664,7 +664,21 @@ func (c *cssMinifier) minifyProperty(prop css.Hash, values []Token) []Token { } } // removing zero offsets in the previous loop might make it eligible for the next loop - if len(value...
2
1
0
[{"id": "G0", "claim": "The `len(values) == 1 || len(values) == 2` condition is a nit: it makes two comparisons where `< 3` would do, so why is it better?", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "`background: center left` is minified to `bac...
null
tdewolff__parse__21
tdewolff/parse
21
defect
f5b417179f975c1c22d14d0d99505bf1e5ef28f3
37612af31a69bfd4b3d804af599c9c560e62ee5c
Fix regexp following a keyword
This reflects similar rule to what Acorn and Esprima use in JS parsing world - if you see a keyword, and it's not `this`, it can be followed only by either regular expression or be a syntax error (we don't check the latter). This might still run into edge cases such as `yield` being an identifier in legacy code, in ...
diff --git a/js/lex.go b/js/lex.go index 757844a..cb41360 100644 --- a/js/lex.go +++ b/js/lex.go @@ -161,6 +161,9 @@ func (l *Lexer) Next() (TokenType, []byte) { // ErrorToken, WhitespaceToken and CommentToken are already returned if tt == LineTerminatorToken || tt == PunctuatorToken && regexpStateByte[c] { l.re...
1
1
1
[{"id": "G0", "claim": "The new regexp-state condition treats every hash-table word as a regexp trigger, so `null`, `true` and `false` (literals in the table that are not followed by a regexp) would be matched too; tdewolff asks whether that is intended and suggests a hash=>bool lookup table instead.", "category": "cor...
null
teableio__teable__930
teableio/teable
930
defect
7d4c17ce4cb601f152d6365f88a4fed4ce80be13
c8104a54129df8d2d9bf157436ffa9f13306a571
feat: implement duplicate row functionality
close #796
diff --git a/apps/nestjs-backend/src/features/record/open-api/record-open-api.controller.ts b/apps/nestjs-backend/src/features/record/open-api/record-open-api.controller.ts index 710fe4b4ab3..aeb4f89535e 100644 --- a/apps/nestjs-backend/src/features/record/open-api/record-open-api.controller.ts +++ b/apps/nestjs-backen...
4
1
1
[{"id": "G0", "claim": "After a successful duplicate, the duplicated record does not show up without a page refresh - the expand card should be updated with the new record rather than just closing, and the reviewer asked the author to wrap the underlying createRecords call in prismaService.$tx to make it work.", "categ...
null
tealdeer-rs__tealdeer__108
tealdeer-rs/tealdeer
108
defect
a9fa0c7f1ae69bd0b16b393093d7ee61dd5b240b
2e9f2c625dc66728ece46964e3dabd8763303239
Argument parsing: Switch from docopt to clap
Fixes #106.
diff --git a/Cargo.lock b/Cargo.lock index ad4556605..1b0d8d74b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -101,6 +101,35 @@ name = "cfg-if" version = "0.1.10" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "clap" +version = "3.0.0-beta.1" +source = "git+https://github.com/cl...
15
8
2
[{"id": "G0", "claim": "Running tldr with no arguments still runs silently without printing anything; the command should be required unless a flag that doesn't require a command is used, but neither `requires` nor `min_values = 1` enforces this.", "category": "correctness", "verdict": "supported", "priority": "P1", "sc...
null
tealdeer-rs__tealdeer__115
tealdeer-rs/tealdeer
115
defect
a45c19647f8c14663a3555d266fd6208d619439a
35ec79a461ce5a254407b35545b0441ab88ae4c0
Implement automatic cache updates
This PR implements automatic updates of the cache. This behavior is disabled by default and can be enabled in `config.toml`: ```toml [updates] auto_update = true auto_update_interval_hours = 720 ``` Fixes #90 Fixes #78
diff --git a/src/config.rs b/src/config.rs index cfa810cd3..56e8bff47 100644 --- a/src/config.rs +++ b/src/config.rs @@ -2,6 +2,7 @@ use std::env; use std::fs; use std::io::{Error as IoError, Read, Write}; use std::path::PathBuf; +use std::time::Duration; use ansi_term::{Color, Style}; use app_dirs::{get_app_roo...
4
4
2
[{"id": "G0", "claim": "The new test uses the unmaintained `utime` crate; the actively maintained `filetime` crate (e.g. `FileTime::from_system_time()`) could be used instead to set the atime and mtime.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
tealdeer-rs__tealdeer__157
tealdeer-rs/tealdeer
157
defect
c632407a25a5f5a2f2df6a61c9ddf98318c6d214
5e3388782031551a8a491a5fb77c4e4c98ac4459
Consider only standalone command names for styling
In my styling configuration, command names are printed boldly. With that, one part of the TL;DR page for the command `make` looks like: ![make-before](https://user-images.githubusercontent.com/16365760/102695917-bf459480-422a-11eb-94a9-67507a12fb89.png) You clearly see the "make" in the command line argument `--a...
diff --git a/src/formatter.rs b/src/formatter.rs index 40ec5bf38..4915f21d3 100644 --- a/src/formatter.rs +++ b/src/formatter.rs @@ -19,7 +19,18 @@ fn highlight_command<'a>( while let Some(command_start) = example_code[code_part_end_pos..].find(&command) { let code_part = &example_code[code_part_end_pos.....
1
1
0
[{"id": "G0", "claim": "Add an explanatory comment at the styling branch in src/formatter.rs summarizing that only command names at the start of the line or preceded by whitespace are highlighted.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
tealdeer-rs__tealdeer__171
tealdeer-rs/tealdeer
171
defect
071680800a875357aa2f798eac0b080d7188345c
8a6abc78f915e367a7ba4d006aae2c795b59c488
Send all progress logging messages to stderr.
Adresses #169. - Send logging messages to stderr instead of stdout so pagers do not intercept them. - Updated tests to match these changes. - Changed test_markdown_rendering to no longer rely on the tldr pages repo. Instead manually adding a known page to use in this test, because it failed due to...
diff --git a/src/main.rs b/src/main.rs index 4b4309057..7c69f651f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -175,7 +175,7 @@ fn update_cache(cache: &Cache, quietly: bool) { process::exit(1); }); if !quietly { - println!("Successfully updated cache."); + eprintln!("Successfully updat...
2
2
2
[{"id": "G0", "claim": "To keep the output consistent with the rest of the program, progress messages such as \"Successfully deleted cache.\" should also be printed on stderr, and possibly the \"page not found\" output too (hedged, pending dbrgn's opinion).", "category": "design", "verdict": "supported", "priority": "P...
null
tealdeer-rs__tealdeer__183
tealdeer-rs/tealdeer
183
defect
42816d3d09aa59f15dbc2efe6719652c452bbedf
170208079f20250cf713986fa498897fdd0d98c0
Tests for PR #142
PR for Issue: #180 Adds tests that should have been added in PR #182 Added - 3 integration tests for custom pages, including a 2 new markdown files for testing - renamed my poorly named variable when I came across it again - Unit tests for PageLookupResult - Some new helper functions for the TestEnv struct ...
diff --git a/src/cache.rs b/src/cache.rs index 6fd2d822d..16e76ef09 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -224,20 +224,20 @@ impl Cache { } } - let maybe_patch = Self::find_patch(&patch_filename, custom_pages_dir.as_deref()); + let patch_path = Self::find_patch(&patch_fil...
1
1
0
[{"id": "G0", "claim": "The test should create the expected values directly as `Path`s (e.g. `Path::new(\"test.page\")`) instead of going through `PathBuf::from(...).as_path()`.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
tealdeer-rs__tealdeer__188
tealdeer-rs/tealdeer
188
defect
a92e974ac26312354a2f85272eb4c32476c319f5
40091c2b73d6b1db641e28cdd7bf791e285de5eb
Fix clippy warnings
- allow struct excessive bools for Args struct. - change tests to use write_all instead of write - allow dead_code for the ConvigVar variant of PathSource
diff --git a/src/main.rs b/src/main.rs index 2a92f7aec..f9ed2f880 100644 --- a/src/main.rs +++ b/src/main.rs @@ -57,6 +57,7 @@ const ARCHIVE_URL: &str = "https://github.com/tldr-pages/tldr/archive/master.tar #[cfg(not(target_os = "windows"))] const PAGER_COMMAND: &str = "less -R"; +#[allow(clippy::struct_excessive_...
2
2
1
[{"id": "G0", "claim": "The clippy version used in CI does not know the struct_excessive_bools lint yet, so the CI clippy check does not accept the pull request's new #[allow(clippy::struct_excessive_bools)] annotation; the reviewer asks to update the clippy job's toolchain in the CI config to the latest stable (1.52.0...
null
tealdeer-rs__tealdeer__201
tealdeer-rs/tealdeer
201
defect
d5d3d20451014bcbb4772ca7bdf0deb6a85b2431
9da9cf07fb1d50dd8e10d847b08ca777c29d3b6c
Add various small refactorings
Highlights: - Remove redundant `.iter()` / `.into_iter()` calls - Use arrays and their new IntoIterator impl (instead of vecs/slices) - Remove redundant `.as_bytes()` calls
diff --git a/src/cache.rs b/src/cache.rs index f69a76de8..081dea21e 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -42,7 +42,7 @@ impl PageLookupResult { } pub fn paths(&self) -> impl Iterator<Item = &Path> { - iter::once(self.page_path.as_path()).chain(self.patch_path.as_deref().into_iter()) + ...
2
2
2
[{"id": "G0", "claim": "CI pins Rust 1.52 while the refactored code in src/cache.rs relies on the IntoIterator impl for arrays that is only available from Rust 1.53, so the CI version should be bumped.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
tealdeer-rs__tealdeer__249
tealdeer-rs/tealdeer
249
defect
47a4d6d7ca3be54aca13c183127e4aedb5e486d1
411d94696f6bcf0738b69647f8d182a4ecbc7957
Use anyhow for error handling
Use [anyhow](https://docs.rs/anyhow/) instead of custom error types and strings for error handling. This should give us "caused by" style traces when an error occurs. Before: ``` $ tldr --update Error: Could not update cache: Could not remove cache directory (/home/danilo/.cache/tealdeer/tldr-pages): Permission...
diff --git a/Cargo.lock b/Cargo.lock index e8e10730c..12da21045 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -26,6 +26,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "anyhow" +version = "1.0.52" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84450d0b4a8bd1ba4144ce8ce718fbc5d...
13
12
1
[{"id": "G0", "claim": "The not-a-directory check in Cache::get_cache_dir could be expressed more precisely with the ensure! (or bail!) macro instead of an if plus return Err(anyhow!(...)).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Building...
null
tealdeer-rs__tealdeer__276
tealdeer-rs/tealdeer
276
defect
543fa2290d4866d677325a7c8f2a7d7a3e02d838
477eed0d5c38c2819f1728e080eb37dcd7cc6b0a
Allow overriding cache directory through config
Based on #212. Thanks @hgaiser for the initial work! - Config: Add `cache_dir` to `[directories]` section - Deprecate old `TEALDEER_CACHE_DIR` env variable - Introduce path source for `custom_pages_dir` as well - Add integration test - Update docs Implementation notes: - Logic to handle legacy env var, con...
diff --git a/docs/src/config_directories.md b/docs/src/config_directories.md index d894e90c2..b194dbb23 100644 --- a/docs/src/config_directories.md +++ b/docs/src/config_directories.md @@ -2,6 +2,19 @@ This section allows overriding some directory paths. +## `cache_dir` + +Override the cache directory. Remember to...
16
13
1
[{"id": "G0", "claim": "The config docs should at some point also support `~` in `cache_dir` (variable expansion), though not necessarily in this PR.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sentence \"If the directory does not yet exist, it wi...
null
tealdeer-rs__tealdeer__322
tealdeer-rs/tealdeer
322
defect
2e731d7d17b33f917b58587eacf552c44c54e80d
3174dcabdfe8ba1ff97d6da05c6250ab355b4107
Change custom page files to use a `.md` extension.
My rationale for this PR is in #320. Closes #320. To summarise, the lack of a `.md` extension causes problems for external tools working with the custom page files, and my solution is to simply add the extension to the end. e.g. - `{name}.page.md` - `{name}.patch.md` This *will* be a breaking change for anyo...
diff --git a/docs/src/usage_custom_pages.md b/docs/src/usage_custom_pages.md index d3d1e81af..d5d0f89e4 100644 --- a/docs/src/usage_custom_pages.md +++ b/docs/src/usage_custom_pages.md @@ -1,5 +1,13 @@ # Custom Pages and Patches +> ⚠️ **Breaking change in version 1.7.0:** The file name extension for custom +> pages ...
3
3
3
[{"id": "G0", "claim": "The pull request should print a warning when custom pages with the old `.page` or `.patch` extension are found in the custom pages directory (temporary, removable after a few releases).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
tealdeer-rs__tealdeer__386
tealdeer-rs/tealdeer
386
defect
d44613cf59445b910a75b7df489466f1948b5d44
c4ba0ddaecb58e5bd78bceaca8380e3b5caf36f5
Allows configuring TLS backend
Fixes #384.
diff --git a/Cargo.toml b/Cargo.toml index 954a52c61..8bca62276 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ app_dirs = { version = "2", package = "app_dirs2" } clap = { version = "4", features = ["std", "derive", "help", "usage", "cargo", "error-context", "color", "wrap_help"], default-features = false ...
9
9
2
[{"id": "G0", "claim": "Tealdeer's own TLS features should also enable/disable the corresponding reqwest features so the resulting binary stays as small as possible, instead of compiling every reqwest TLS backend in unconditionally.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"...
null
tealdeer-rs__tealdeer__401
tealdeer-rs/tealdeer
401
defect
00c777812569f2fc0d1e285289106ebb1b3da5e0
ad6bb44f9ca517ea8c2507658ccd59f45e705b36
Add `common` platform to CLI
Fixes #323
diff --git a/docs/src/usage.txt b/docs/src/usage.txt index 5129fbef..4ac8600c 100644 --- a/docs/src/usage.txt +++ b/docs/src/usage.txt @@ -9,9 +9,9 @@ Arguments: Options: -l, --list List all commands in the cache -f, --render <FILE> Render a specific markdown file - -p, --platform <PLATFO...
5
5
3
[{"id": "G0", "claim": "The 'common' fallback should not be hardcoded in the code of Cache; instead the new Platform::Common should be included in the list of searched platforms in main.rs.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "Cache still spe...
null
tealdeer-rs__tealdeer__416
tealdeer-rs/tealdeer
416
defect
d1be7d6bb92bed580257edcf82d665fb86ff2788
4fec66e470518a457203bc930d29e51598236216
Cache rewrite
This is the implementation of the new `Cache` I first described in #345. The main design differences are 1. The `Cache` is tied to a specific pages directory, not to the whole `~/.cache/tealdeer` directory. Each `Cache` instance has a `CacheConfig` which contains all parameters for page lookup (languages, platforms...
diff --git a/Cargo.lock b/Cargo.lock index e8db079e..4da46eff 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1068,7 +1068,6 @@ dependencies = [ "tempfile", "toml", "ureq", - "walkdir", "yansi", "zip", ] diff --git a/Cargo.toml b/Cargo.toml index 628c9bb8..6594b14e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2...
6
4
0
[{"id": "G0", "claim": "The metadata check in Cache::open should be rewritten in a more imperative style (if/else with early returns) instead of map_or over a bool tuple, per the attached suggestion.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim":...
null
tealdeer-rs__tealdeer__422
tealdeer-rs/tealdeer
422
defect
769ef4da20dcaa7c00ba638ab11f063b83d99b01
49ff64bb1613068bc78016c961118d5d0406a88d
Add an option to specify a custom config file to be used
Inspired by #141 Closes #107 Note: In the original PR, some modifications were made so that the path specified by the config file flag can be used as the output path of the seed-config option. I chose not to do that here for now, because I think the meaning of this usage wouldn't be visible and clear to the user. L...
diff --git a/docs/src/usage.txt b/docs/src/usage.txt index a4a5fcb3..57e7e9e4 100644 --- a/docs/src/usage.txt +++ b/docs/src/usage.txt @@ -11,13 +11,13 @@ Options: --edit-page Edit custom page with `EDITOR` --edit-patch Edit custom patch with `EDITOR` -f, --render <FILE> Ren...
8
8
7
[{"id": "G0", "claim": "The new PathSource variant should be named `Cli` instead of `Override`, and its Display string should say something like \"command line argument\" instead of \"override by flag\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
tealdeer-rs__tealdeer__430
tealdeer-rs/tealdeer
430
defect
630b7f442376232012b01f4fde5fcae6fc236aa2
a41c47a94d8ff94c3eda16380cf9067999ca2c27
Add `search.languages` and `updates.download_languages` settings
Closes #251 Best reviewed commit by commit. Test for the download_languages setting are just destined to be flaky if we update from the upstream repository. I would just test it by hand for now and defer automatic tests until we have #390.
diff --git a/src/cache.rs b/src/cache.rs index c18f03f2..8bbbd423 100644 --- a/src/cache.rs +++ b/src/cache.rs @@ -14,20 +14,21 @@ use ureq::{ }; use zip::ZipArchive; -use crate::{config::TlsBackend, types::PlatformType}; +use crate::{ + config::{Language, TlsBackend}, + types::PlatformType, +}; pub static...
3
2
1
[{"id": "G0", "claim": "Download failures are hidden from users now that `download_languages` exists (e.g. `Self::download` returns Ok(None) on 404 and nothing is reported); the pull request should expose download outcomes/errors to users instead of staying silent.", "category": "correctness", "verdict": "supported", "...
null
tealdeer-rs__tealdeer__435
tealdeer-rs/tealdeer
435
defect
92b6c64c8747bff700e6c8a52d1d598d43e5b382
6c11752135cb50eef513f9d6c5147096c041d9bc
Add `search.platforms` config option and search all platforms by default
Closes #378, closes #278 The current version is implemented to also use extra platforms when passing `--platform`, so for example running `tldr --platform linux` would still show Windows pages with the default config. We could also make it so that the setting is only taken if `--platform` is not used. I actually sus...
diff --git a/docs/src/config_search.md b/docs/src/config_search.md index 2d59d65c..29d2efe7 100644 --- a/docs/src/config_search.md +++ b/docs/src/config_search.md @@ -12,3 +12,13 @@ Either way, the language used can be overwritten using the `--language` command [search] # Show pages in German if available, ot...
1
1
0
[{"id": "G0", "claim": "The `try_all_platforms` option name and its documentation should be renamed/reworded (e.g. `search_other_platforms` with clearer prose), since 'try' is vague and the current wording reads poorly.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
tealdeer-rs__tealdeer__439
tealdeer-rs/tealdeer
439
defect
abb7e8ac5525f4b65141b996ef00e89f5c42bab4
6d698bb6b26ea425d131b5f2594ce6fe7223673e
Add show-title option to display command titles in output
This PR adds a new CLI option: --show-title. #431
diff --git a/docs/src/config.md b/docs/src/config.md index 6eeede4c..b0bf922a 100644 --- a/docs/src/config.md +++ b/docs/src/config.md @@ -29,6 +29,7 @@ please refer to the subsections of this documentation page [display] compact = false use_pager = true +show_title = false [style.command_name] foreground = "red...
5
5
4
[{"id": "G0", "claim": "The CLI should not gain a --show-title flag at this time because the feature is niche and the config file option is enough.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The '// Display the title using the Title variant' comment ...
null
tealdeer-rs__tealdeer__471
tealdeer-rs/tealdeer
471
defect
6f91c3a765513c1030723e2ab96a8c6d5ea1dca0
4c32d62bd797acee6aa6a3c66d171d1a2bbe6e96
Add `display.indent` config option
This pull request introduces a new -C / --compact flag that displays output without indentation for commands, texts, and descriptions. This makes the output more compact and suitable for environments where minimal whitespace is preferred. When the flag is enabled, indentation is removed from the generated output, re...
diff --git a/docs/src/config_display.md b/docs/src/config_display.md index 78656a48..bd05f4e6 100644 --- a/docs/src/config_display.md +++ b/docs/src/config_display.md @@ -37,3 +37,25 @@ show_title = true When enabled, the command name will be displayed at the top of the output, styled with the `command_name` style ...
8
8
4
[{"id": "G0", "claim": "Replace the -C/--compact CLI flag with an option in the configuration file (e.g. display.indent) so users can specify any number of indent spaces.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Being able to configure only one kin...
null
tealdeer-rs__tealdeer__472
tealdeer-rs/tealdeer
472
defect
6f91c3a765513c1030723e2ab96a8c6d5ea1dca0
ea0a40d56812419a61183a57cea867cce938f84c
Add builtin `tldr tealdeer` page
Adds examples section to the bottom: ``` To view the user documentation, please visit https://tealdeer-rs.github.io/tealdeer/. EXAMPLES: # View the TLDR page for ip: tldr ip # View a multi-word TLDR page: tldr git rebase # Update TLDR with pages for a specific language: tldr --update --language es #...
diff --git a/src/cli.rs b/src/cli.rs index d461a3e5..b238ea8e 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -6,6 +6,21 @@ use clap::{builder::ArgAction, ArgGroup, Parser}; use crate::types::{ColorOptions, PlatformType}; +const AFTER_HELP: &str = r#"To view the user documentation, please visit https://tealdeer-rs.git...
2
2
1
[{"id": "G0", "claim": "In the S1 --help output the \"Examples\" heading does not look the same as the \"Arguments\"/\"Options\" headings; the author should make it look the same if there is a good/easy way, and otherwise it can be left as is.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "...
null
team-attention__tide__58
team-attention/tide
58
defect
add415354eae9e8af2b965d95d5746dcec6f5e30
cb6e52cdf49774fbd876d8de79cd3a7591cb518b
Add E2E test crate using Agent Gateway socket
## Summary - New `tide-e2e-tests` crate that launches real Tide processes in isolated temp directories and drives test scenarios via Agent Gateway (Unix socket, JSON-RPC 2.0) - TestApp harness: process lifecycle management, socket client, convenience methods (list_panes, send_keys, capture_pane, etc.), Drop cleanup - 8...
diff --git a/Cargo.lock b/Cargo.lock index be0aac94..bee595b8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3002,7 +3002,7 @@ dependencies = [ [[package]] name = "tide-app" -version = "0.46.0" +version = "0.47.0" dependencies = [ "alacritty_terminal", "arboard", @@ -3042,6 +3042,16 @@ dependencies = [ "wgpu",...
4
4
2
[{"id": "G0", "claim": "The `XDG_CONFIG_HOME` directory should be explicitly created before spawning the Tide process, because if it does not exist Tide might fail to write its configuration or state files, leading to unexpected behavior or crashes in the test environment.", "category": "correctness", "verdict": "suppo...
null
team-attention__tide__59
team-attention/tide
59
defect
add415354eae9e8af2b965d95d5746dcec6f5e30
47d903bde728bf8794eb144d4d0c295f0a008f95
Enhance agent notification visual indicators
## Summary - **Pane border blink**: NeedsInput + unfocused panes now have orange blinking borders with glow shadow, making agent input requests much more noticeable - **Workspace sidebar blink**: Sidebar notification dots now blink with glow effect instead of static display - **Tab group agent dots**: Agent status dots...
diff --git a/crates/tide-app/src/adapter/inward/cli_adapter/commands.rs b/crates/tide-app/src/adapter/inward/cli_adapter/commands.rs index 2b100000..052748d6 100644 --- a/crates/tide-app/src/adapter/inward/cli_adapter/commands.rs +++ b/crates/tide-app/src/adapter/inward/cli_adapter/commands.rs @@ -820,8 +820,8 @@ fn cl...
2
1
0
[{"id": "G0", "claim": "The hardcoded blink frequency 4.2, used in several places (tab_bar.rs, titlebar.rs, header.rs), should be defined as a shared constant (e.g., AGENT_BLINK_FREQUENCY in theme.rs) to ensure consistency.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
team-attention__tide__65
team-attention/tide
65
defect
bff18138404e0165806d057c988324f2ff7662fd
e3d918c17169f571c12c94c7f8ab59f700257533
[codex] Add Browser Pane UX
## Summary Implements `browser-pane-ux` UC-1 through UC-5 in `tide-app` by making Browser Pane first-action routing explicit across empty, loading, navigated, and search-active states. Empty and loading Browser Panes now keep the URL bar as the default text target, navigated Browser Panes remain content-first, Browser...
diff --git a/crates/tide-app/src/adapter/inward/click_adapter/hit_test.rs b/crates/tide-app/src/adapter/inward/click_adapter/hit_test.rs index 800efbe8..fc92d39e 100644 --- a/crates/tide-app/src/adapter/inward/click_adapter/hit_test.rs +++ b/crates/tide-app/src/adapter/inward/click_adapter/hit_test.rs @@ -267,6 +267,18...
3
3
3
[{"id": "G0", "claim": "The click-to-position-cursor logic in the HoverTarget::BrowserUrlBar arm uses a hardcoded offset that must be updated to account for the newly added 'Copy URL' and 'Open externally' nav-bar buttons (from 6.0 * cell_w to 10.0 * cell_w with adjusted gaps), otherwise clicking the URL bar positions ...
null
team-attention__tide__68
team-attention/tide
68
defect
59dc0c24ba224bb39ed1343efcd340880aaba063
b8c59986b85bd099bc7d27af99fa221e727d0409
[codex] Add Browser Pane coworking in tide-app
## Summary Add Browser Pane coworking to the Agent Gateway so adjacent Browser Pane content is observable and controllable from CLI and MCP. This closes the gap where `capture-pane` only returned Terminal or Editor content and there was no stable command for driving an existing Browser Pane. ## Bounded Context - [ ]...
diff --git a/crates/tide-app/src/adapter/inward/cli_adapter/client.rs b/crates/tide-app/src/adapter/inward/cli_adapter/client.rs index 27961ddf..3d1032c4 100644 --- a/crates/tide-app/src/adapter/inward/cli_adapter/client.rs +++ b/crates/tide-app/src/adapter/inward/cli_adapter/client.rs @@ -27,6 +27,10 @@ pub fn run_cli...
2
2
1
[{"id": "G0", "claim": "If the value after `-t` cannot be parsed as a `u64`, the parser still consumes both the flag and the invalid value by unconditionally incrementing `i` by 2, so subsequent arguments (e.g. `--script`) can be skipped or mis-parsed; the index should only advance by 2 on a successful parse.", "catego...
null
team-attention__tide__69
team-attention/tide
69
defect
59dc0c24ba224bb39ed1343efcd340880aaba063
4003990e63a0a119ddc002ce2ac36610b61fd56d
Fix scroll axis isolation and Browser Pane UX
## Summary - Remove scroll axis isolation that suppressed horizontal scroll when vertical component present - Fix tab bar scroll: prefer horizontal with mouse wheel fallback, reduce sensitivity - Fix Browser URL bar stuck in focused state on content click (caused stale URL + IME ghost text) - Add webview navigation del...
diff --git a/crates/tide-app/src/adapter/inward/scroll_adapter/mod.rs b/crates/tide-app/src/adapter/inward/scroll_adapter/mod.rs index fa828a40..63231ddc 100644 --- a/crates/tide-app/src/adapter/inward/scroll_adapter/mod.rs +++ b/crates/tide-app/src/adapter/inward/scroll_adapter/mod.rs @@ -64,12 +64,8 @@ pub(crate) fn ...
3
3
1
[{"id": "G0", "claim": "The condition `dx.abs() > 0.0` is too sensitive for trackpad users — a tiny horizontal component (e.g. dx = 0.01) would suppress the intended vertical scroll — so the dominant-axis check (`dx.abs() > dy.abs()`) should be restored to keep the mouse-wheel fallback while making trackpad navigation ...
null
team-attention__tide__70
team-attention/tide
70
defect
59dc0c24ba224bb39ed1343efcd340880aaba063
65f93724e6bc01bf6000b6603253e8a9d94e7afa
[codex] Fix Browser Pane UX hardening in tide-app
## Summary - harden Browser Pane focus ownership so `WebViewFocused` moves navigated Browser Pane interaction into page content instead of bouncing back to the Browser URL bar - keep committed Browser URL state truthful after content-driven navigation, while preserving a distinct Browser URL draft when the user is acti...
diff --git a/crates/tide-app/src/adapter/inward/event_loop_adapter/mod.rs b/crates/tide-app/src/adapter/inward/event_loop_adapter/mod.rs index 27ebd167..54956562 100644 --- a/crates/tide-app/src/adapter/inward/event_loop_adapter/mod.rs +++ b/crates/tide-app/src/adapter/inward/event_loop_adapter/mod.rs @@ -240,10 +240,1...
4
4
3
[{"id": "G0", "claim": "The browser-external-handoff message is applied to the focused pane (self.focus.focused), so a download or external handoff triggered by a background Browser Pane incorrectly updates the focused pane's state instead of the originating one; the bridge message should include a pane_id (like the br...
null
team-attention__tide__79
team-attention/tide
79
defect
56f44a1b88e88beeab846c55002c2149b6ad7f0b
6dfa147ecd24cf876e50faaf8aa440b2e9199022
[codex] Fix Markdown Pane Soft Wrap scroll reset
## Summary Fixes the Markdown Pane Soft Wrap scroll regression where scrolling could jump to the end and then reset because input-time WrapMap rebuilds used a different viewport width than render-time cache preparation. The change centralizes viewport sizing in `EditorPane` and reuses that calculation across keyboard,...
diff --git a/crates/tide-app/src/adapter/inward/scroll_adapter/mod.rs b/crates/tide-app/src/adapter/inward/scroll_adapter/mod.rs index db58ba89..6756ccd3 100644 --- a/crates/tide-app/src/adapter/inward/scroll_adapter/mod.rs +++ b/crates/tide-app/src/adapter/inward/scroll_adapter/mod.rs @@ -4,17 +4,24 @@ use crate::pane...
1
1
0
[{"id": "G0", "claim": "The content_rect calculation (pane area excluding padding and tab bar) is duplicated across action_service.rs, scroll_adapter.rs, text_routing_adapter.rs and soft_wrap_behavior.rs, and should be centralized into a shared helper function to improve maintainability and keep layout changes consiste...
null
team-attention__tide__80
team-attention/tide
80
defect
56f44a1b88e88beeab846c55002c2149b6ad7f0b
6780e87571907c45644d4a6e7cdf41d2083541f5
[codex] Fix Stage Terminal Pane close freeze
## Summary This PR removes synchronous git worktree discovery from the Stage Terminal Pane close path so close clicks no longer block the app thread and freeze the whole Workspace window. The root cause was branch cleanup detection calling blocking git subprocesses during `close_specific_pane()`, so the fix moves curr...
diff --git a/crates/tide-app/src/application/behavior_tests/diff_auto_refresh.rs b/crates/tide-app/src/application/behavior_tests/diff_auto_refresh.rs index 8af6865b..1c91b094 100644 --- a/crates/tide-app/src/application/behavior_tests/diff_auto_refresh.rs +++ b/crates/tide-app/src/application/behavior_tests/diff_auto_...
1
1
1
[{"id": "G0", "claim": "The PR's use of the cached current_worktree risks stale data when the terminal's CWD changed recently but the background poller has not refreshed the cache, so the branch cleanup prompt could refer to the wrong worktree and a confirmed cleanup could delete the wrong directory; a safety check tha...
null
team-attention__tide__83
team-attention/tide
83
defect
0f2c7d0c7f48fb59216996f49dd283df65e9df03
e8a99664cf2ee86338121756a5cfa608bf92141e
[codex] Fix GitSwitcher worktree actions
## Summary Fix `GitSwitcher` worktree actions so mouse users can activate a worktree row directly and worktree deletion resolves the repo's main worktree before mutating git state. This PR also adds a focused spec and behavior tests for `git-switcher-worktree-actions`, plus the small `#[cfg(test)]` gating needed for t...
diff --git a/crates/tide-app/src/adapter/inward/click_adapter/header.rs b/crates/tide-app/src/adapter/inward/click_adapter/header.rs index daca18bb..eca1f1be 100644 --- a/crates/tide-app/src/adapter/inward/click_adapter/header.rs +++ b/crates/tide-app/src/adapter/inward/click_adapter/header.rs @@ -217,6 +217,20 @@ fn g...
1
1
0
[{"id": "G0", "claim": "The bot asks that `git_switcher_main_worktree_cwd` resolve the main worktree path from the worktree list already held in `GitSwitcherState` in memory instead of re-querying git by spawning a new process via `ctx.git_list_worktrees`, to avoid unnecessary I/O and process overhead during UI interac...
null
team-attention__tide__84
team-attention/tide
84
defect
0f2c7d0c7f48fb59216996f49dd283df65e9df03
d01588d123172e8fcfb26cbdb355adf611483ba9
[codex] Clamp editor reload cursor to UTF-8 boundaries
## What changed - clamp the preserved editor cursor column to a valid UTF-8 character boundary during clean file reload - add a behavior test that reloads a file from ASCII content into multibyte Korean text and verifies the cursor lands on a valid boundary - document the file-watch reload boundary rule in the editor f...
diff --git a/crates/tide-app/src/application/behavior_tests/editor_file_watch_sync.rs b/crates/tide-app/src/application/behavior_tests/editor_file_watch_sync.rs index 4054db6d..d0f3e336 100644 --- a/crates/tide-app/src/application/behavior_tests/editor_file_watch_sync.rs +++ b/crates/tide-app/src/application/behavior_t...
1
1
0
[{"id": "G0", "claim": "The business-rule numbering in docs/specs/editor-file-watch-sync.md is inconsistent (UC-1 has BR-1, BR-2, BR-5 while UC-2 has BR-3, BR-4) and should be made sequential for clarity.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
team-attention__tide__85
team-attention/tide
85
defect
0f2c7d0c7f48fb59216996f49dd283df65e9df03
9811dfbc40c3a0358e2adb6bdb21ae93b2ae1b14
[codex] Fix browser webview auth and markdown soft-wrap scrolling
## What changed - evaluate valid `NSURLAuthenticationMethodServerTrust` challenges before surfacing Tide's certificate-error flow so normal HTTPS pages continue loading - route `WKWebView` navigation/state calls through the main thread and guard `goBack`/`goForward` behind availability checks - stop soft-wrap scroll ac...
diff --git a/crates/tide-app/src/adapter/outward/platform_adapter/macos/webview.rs b/crates/tide-app/src/adapter/outward/platform_adapter/macos/webview.rs index 45303f42..2f0cba7e 100644 --- a/crates/tide-app/src/adapter/outward/platform_adapter/macos/webview.rs +++ b/crates/tide-app/src/adapter/outward/platform_adapte...
4
4
1
[{"id": "G0", "claim": "The StackBlock passed as completionHandler to removeDataOfTypes:modifiedSince:completionHandler: is destroyed when clear_website_data_inner returns while WebKit may invoke it asynchronously later, causing a crash or undefined behavior; nil should be passed instead.", "category": "correctness", "...
null
team-attention__tide__87
team-attention/tide
87
defect
ed837175bddafcba9067fcdd637728d8f961cde2
8154ffca6e74a1ff22344e9ac53d0e7f9bba80fd
[codex] Fix Wrapped Agent notifications
## Summary Fixes Wrapped Agent notification routing so focused `Terminal` completion (`Idle`) still queues a macOS notification, while duplicate suppression prevents the later Tide Window blur path from surfacing the same completion as an on-leave notification. Also strengthens notification activation reveal for a `Ti...
diff --git a/crates/tide-app/src/adapter/outward/platform_adapter/macos/window.rs b/crates/tide-app/src/adapter/outward/platform_adapter/macos/window.rs index 1c68068b..ec1ca520 100644 --- a/crates/tide-app/src/adapter/outward/platform_adapter/macos/window.rs +++ b/crates/tide-app/src/adapter/outward/platform_adapter/m...
1
1
0
[{"id": "G0", "claim": "The NSApplication class lookup and the deprecated `activateIgnoringOtherApps:` call in `show_window()` are redundant with the new `NSRunningApplication::activateWithOptions` call (which already passes `NSApplicationActivateIgnoringOtherApps`) and should be removed.", "category": "maintainability...
null
team-attention__tide__88
team-attention/tide
88
defect
ed837175bddafcba9067fcdd637728d8f961cde2
07dc893de6224728537a29f2efcd7764828f1c57
[codex] Fix Terminal Pane copy serialization
## Summary Fixes `Terminal Pane` copy serialization so copied text trims only common selected blank margin cells and joins visual wraps only when terminal wrap metadata says the visible row wrapped. This prevents copied Terminal output from gaining unwanted indentation while preserving hard line breaks and intentional...
diff --git a/crates/tide-app/src/application/behavior_tests/terminal_text_interaction.rs b/crates/tide-app/src/application/behavior_tests/terminal_text_interaction.rs index 89d0f643..0e91d464 100644 --- a/crates/tide-app/src/application/behavior_tests/terminal_text_interaction.rs +++ b/crates/tide-app/src/application/b...
1
1
0
[{"id": "G0", "claim": "The common blank margin-trimming logic performs multiple redundant iterations and filtering operations on logical_lines and can be optimized by collecting mutable references to non-empty lines once, improving both performance and readability.", "category": "performance", "verdict": "supported", ...
null
team-attention__tide__89
team-attention/tide
89
defect
ed837175bddafcba9067fcdd637728d8f961cde2
5cb2a7bc16c8d299dc175a657c8bbb4abbfc95e2
[codex] Add Codex App Server NeedsInput
## Summary Adds a Codex App Server path for detecting Codex approval and input waits as `AgentStatus::NeedsInput` in Tide. The Codex `Agent Wrapper` now prefers an app-server-backed remote TUI with a wrapper-owned watcher, while preserving the existing direct Codex CLI fallback and hook-based lifecycle reporting. Run...
diff --git a/crates/tide-app/resources/bin/codex b/crates/tide-app/resources/bin/codex index 39d849de..80f81999 100755 --- a/crates/tide-app/resources/bin/codex +++ b/crates/tide-app/resources/bin/codex @@ -100,12 +100,102 @@ else TIDE_EOF fi -trap 'tide_notify "agent-detached"; rm -rf "$TIDE_CODEX_HOME"' EXIT - -C...
1
1
1
[{"id": "G0", "claim": "The log files created in codex_app_server_launch are not cleaned up when the script exits and, since their names include the PID, they accumulate in the temporary directory over time; add rm -f commands for CODEX_APP_SERVER_LOG and CODEX_APP_SERVER_WATCHER_LOG in codex_app_server_cleanup.", "cat...
null
team-attention__tide__97
team-attention/tide
97
defect
6324f9b8c0c4aa314ac1d5297417047972bc6192
ac5f0c6e3d47118b7c2ed73ea228e8e019c621d4
[codex] Fix Pane resize and FileTree handoff
## Summary Fixes several resize regressions around `Terminal Pane` layout: side-surface animation no longer rewrites Stage `SplitLayout` ratios, Terminal backend resize is throttled during active motion, pathologically narrow backend widths are clamped, and normal primary-screen terminal reflow is preserved. Also keep...
diff --git a/crates/alacritty_terminal/src/term/mod.rs b/crates/alacritty_terminal/src/term/mod.rs index 08eedb6a..1420aa3a 100644 --- a/crates/alacritty_terminal/src/term/mod.rs +++ b/crates/alacritty_terminal/src/term/mod.rs @@ -2578,6 +2578,20 @@ mod tests { assert_eq!(term.grid.display_offset(), 0); }...
2
2
0
[{"id": "G0", "claim": "The repeated test setup creating an `App` with a `RecordingProcess` should be extracted into a shared helper function like `app_with_recording_process()` to reduce boilerplate across tests in file_tree_bundle_behavior.rs.", "category": "maintainability", "verdict": "supported", "priority": "P2",...
null