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
tikv__tikv__18526
tikv/tikv
18,526
defect
72760df16e6ccd931eb91eb6d530b225f3583767
2b524aa069d65b87fa7e8b86c0e01f17af284aca
import: track inflight ingests during write stall check
<!-- Thank you for contributing to TiKV! If you haven't already, please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document. If you're unsure about anything, just ask; somebody should be along to answer within a day or two. PR Title Format: 1. module [, module2, modu...
diff --git a/components/engine_panic/src/misc.rs b/components/engine_panic/src/misc.rs index 311674880df..ecd76ca11c3 100644 --- a/components/engine_panic/src/misc.rs +++ b/components/engine_panic/src/misc.rs @@ -55,7 +55,7 @@ impl MiscExt for PanicEngine { panic!() } - fn ingest_maybe_slowdown_write...
2
1
1
[{"id": "G0", "claim": "The added stall check counts sst_cnt against the slowdown_trigger comparison but not against the compaction_trigger comparison, and the reviewer asks why it is considered for one but not the other (the author later conceded the asymmetry lets concurrent inflight ingests through and violate admis...
null
tikv__tikv__18702
tikv/tikv
18,702
defect
701e6337b9dfa50dd84b3cf38bc9fc4b646543d0
797e020f26309d7f65cd46e081ac1bd8d21a5046
raftstore: invalidate follower read cache when region is destroyed
<!-- Thank you for contributing to TiKV! If you haven't already, please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document. If you're unsure about anything, just ask; somebody should be along to answer within a day or two. PR Title Format: 1. module [, module2, modu...
diff --git a/components/raftstore/src/store/util.rs b/components/raftstore/src/store/util.rs index f27aad7f50e..b068bae0dc3 100644 --- a/components/raftstore/src/store/util.rs +++ b/components/raftstore/src/store/util.rs @@ -1524,11 +1524,12 @@ impl RegionReadProgress { find_store_id(&core.leader_info.peer...
6
3
2
[{"id": "G0", "claim": "Reset `read_index_safe_ts` in `discard` as well, as `pause` already does, and check for other missing operations on the new field.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Without a correction like `safe_ts`'s, the sour...
null
tikv__tikv__18757
tikv/tikv
18,757
defect
ed504baa35c36fa2f05ee1e5bb8f5e3f60da46d6
8b496fa8d44f79920a2a5a81e269460dd74f195e
cdc: add watchdog for cdc conn
<!-- Thank you for contributing to TiKV! If you haven't already, please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document. If you're unsure about anything, just ask; somebody should be along to answer within a day or two. PR Title Format: 1. module [, module2, modu...
diff --git a/components/cdc/src/channel.rs b/components/cdc/src/channel.rs index 0a3eb15d04c..7330d92fbbb 100644 --- a/components/cdc/src/channel.rs +++ b/components/cdc/src/channel.rs @@ -29,6 +29,7 @@ use tikv_util::{ warn, }; + use crate::{metrics::*, service::ConnId}; /// The maximum bytes of events can...
15
13
2
[{"id": "G0", "claim": "`use` statements should be placed at the top of the function or module rather than inside a block.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The send-loop should close the stream (sink) as well, not only cancel the f...
null
tikv__tikv__19015
tikv/tikv
19,015
defect
36e563e0af1e1f181dc07204643ee6f395bafc4b
ad63286fa3d1e4c2edc26ce4e94d7e5bdb4d43d4
raftstore: handle `ReadyToDestroyPeer` with incorrect order if the sender is delayed.
<!-- Thank you for contributing to TiKV! If you haven't already, please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document. If you're unsure about anything, just ask; somebody should be along to answer within a day or two. PR Title Format: 1. module [, module2, modu...
diff --git a/components/raftstore/src/store/fsm/peer.rs b/components/raftstore/src/store/fsm/peer.rs index be62706b35d..6951b26e364 100644 --- a/components/raftstore/src/store/fsm/peer.rs +++ b/components/raftstore/src/store/fsm/peer.rs @@ -89,7 +89,10 @@ use crate::{ memory::*, metrics::*, m...
4
4
0
[{"id": "G0", "claim": "PendingRemoveReason should be an enum instead of bitflags, since the flags are never combined with bitwise operations.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The assert_eq! on pending_remove in terminate_nightly should car...
null
tikv__tikv__19082
tikv/tikv
19,082
defect
f02d2904696ff6276ccc6f86dbeb3a557df3b9ce
4f9b1af22da9848ea581d502cba2b7c7513f1c9f
raftstore: optimize hibernate condition
<!-- Thank you for contributing to TiKV! If you haven't already, please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document. If you're unsure about anything, just ask; somebody should be along to answer within a day or two. PR Title Format: 1. module [, module2, modu...
diff --git a/components/raftstore/src/store/fsm/peer.rs b/components/raftstore/src/store/fsm/peer.rs index 88026d393be..e33b1d02041 100644 --- a/components/raftstore/src/store/fsm/peer.rs +++ b/components/raftstore/src/store/fsm/peer.rs @@ -415,9 +415,13 @@ where } } - pub fn maybe_hibernate(&mut sel...
20
18
1
[{"id": "G0", "claim": "The debug logs added in HibernateState::maybe_hibernate are too verbose.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pre-formatted debug-log strings should be removed and formatted automatically with \"xxx\" => ?hi...
null
tikv__tikv__19166
tikv/tikv
19,166
defect
b98b60ff1ce20fd82219c5b49465acbb069a6f85
0d662c4f82bec6fbde43f993de5f8b2625bb6954
coprocessor: support return _tidb_commit_ts column for TableScan coprocessor request
<!-- Thank you for contributing to TiKV! If you haven't already, please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document. If you're unsure about anything, just ask; somebody should be along to answer within a day or two. PR Title Format: 1. module [, module2, modu...
diff --git a/components/api_version/src/keyspace.rs b/components/api_version/src/keyspace.rs index 4b263822a1b..1216e90d5d2 100644 --- a/components/api_version/src/keyspace.rs +++ b/components/api_version/src/keyspace.rs @@ -7,26 +7,31 @@ use super::*; const KEYSPACE_PREFIX_LEN: usize = 4; -pub trait KvPair { +pub...
3
3
2
[{"id": "G0", "claim": "The table scan executor should return an error when the query asks for the EXTRA_COMMIT_TS_COL_ID column but commit_ts is None, since that is unexpected.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Tests should be added to...
null
tikv__tikv__19271
tikv/tikv
19,271
defect
607a79a004343dc13d5b93b0ed84cb928c76d055
60822ccb002ca43a644682cdedc6ca53fed93050
txn: support shared lock for lock wait table
<!-- Thank you for contributing to TiKV! If you haven't already, please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document. If you're unsure about anything, just ask; somebody should be along to answer within a day or two. PR Title Format: 1. module [, module2, modu...
diff --git a/src/server/lock_manager/mod.rs b/src/server/lock_manager/mod.rs index 697f6ae6193..b41d84498c1 100644 --- a/src/server/lock_manager/mod.rs +++ b/src/server/lock_manager/mod.rs @@ -290,7 +290,10 @@ impl LockManagerTrait for LockManager { // If it is the first lock the transaction tries to lock, i...
6
5
0
[{"id": "G0", "claim": "The added doc comment on `keys` starts with a duplicated `///` prefix, creating malformed documentation; it should be a single-line doc comment.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The debug_assert message \"only...
null
tikv__tikv__19294
tikv/tikv
19,294
defect
2d4737da47e4116fdd5c57276da9fdd844a5596d
2a59f189f5edde2b0d16a8420c74d0033bd06b7d
resolved_ts: fix OOM due to rts tasks pile up on channel
<!-- Thank you for contributing to TiKV! If you haven't already, please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document. If you're unsure about anything, just ask; somebody should be along to answer within a day or two. PR Title Format: 1. module [, module2, modu...
diff --git a/Cargo.lock b/Cargo.lock index 3a51db1640b..d7be9984323 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5739,6 +5739,7 @@ dependencies = [ "protobuf 2.8.0", "raft", "raftstore", + "rand 0.8.5", "security", "slog", "slog-global", diff --git a/components/raftstore/src/coprocessor/mod.rs b/components/...
6
4
2
[{"id": "G0", "claim": "Passing `e.to_string().as_str()` (and likewise `cause.to_string().as_str()`) creates a temporary String that is dropped while the slice is still borrowed, a use-after-free, and a temporary variable or `&e.to_string()` should be used instead.", "category": "correctness", "verdict": "supported", "...
null
tikv__tikv__19313
tikv/tikv
19,313
defect
3e01f6c6c5e588492dd73975b2def465bb2e754a
321e238fb6002b874a79719f796e204026bf7b3f
txn: avoid xlock starvation by setting slock shrink-only
<!-- Thank you for contributing to TiKV! If you haven't already, please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document. If you're unsure about anything, just ask; somebody should be along to answer within a day or two. PR Title Format: 1. module [, module2, modu...
diff --git a/components/txn_types/src/lib.rs b/components/txn_types/src/lib.rs index 1d2fd6df5a3..d9fe3b2f564 100644 --- a/components/txn_types/src/lib.rs +++ b/components/txn_types/src/lib.rs @@ -11,8 +11,9 @@ use std::io; use error_code::{self, ErrorCode, ErrorCodeExt}; use kvproto::kvrpcpb; pub use lock::{ - L...
1
1
1
[{"id": "G0", "claim": "Pushing shared locks as Waiting lock infos from the NotInShrinkMode arm of AcquirePessimisticLockResumed could lead to a panic at the assert in scheduler.rs:2131 when resumable requests encounter shared locks.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "intro...
null
tikv__tikv__19325
tikv/tikv
19,325
defect
3e01f6c6c5e588492dd73975b2def465bb2e754a
1481e4628b54ed341963b38f05740595ff893a1d
tracker: enrich write RPC scan_detail
### What is changed and how it works? Issue Number: close #18871 What's Changed: - Propagate MVCC scan statistics collected in txn scheduler into the per-request tracker for txn write RPCs (prewrite/commit/pessimistic lock/...) and merge them into `ExecDetailsV2.scan_detail_v2`. - No kvproto/protobuf changes; e...
diff --git a/components/tracker/src/lib.rs b/components/tracker/src/lib.rs index b678120b92c..79fbc571505 100644 --- a/components/tracker/src/lib.rs +++ b/components/tracker/src/lib.rs @@ -57,6 +57,25 @@ impl Tracker { detail_v2.set_read_index_propose_wait_nanos(self.metrics.read_index_propose_wait_nanos); ...
2
2
2
[{"id": "G0", "claim": "The scheduler's error path returns before propagating the MVCC scan stats this PR collects, so failed executions never report them; the reviewer asks whether this omission is intentional.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", ...
null
tikv__tikv__19382
tikv/tikv
19,382
defect
faed5a7982160172d1462bd169a53435a5b4e111
6dc54651b416b490db471f5fa943b0d7b1504ab3
txn: Implement compare-and-delete semantics for RawCompareAndSwap
<!-- Thank you for contributing to TiKV! If you haven't already, please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document. If you're unsure about anything, just ask; somebody should be along to answer within a day or two. PR Title Format: 1. module [, module2, modu...
diff --git a/Cargo.lock b/Cargo.lock index ea5556806e6..ba2b11ea219 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3771,7 +3771,7 @@ dependencies = [ [[package]] name = "kvproto" version = "0.0.2" -source = "git+https://github.com/pingcap/kvproto.git#c5ab144dc6c7b4eb2091270b3f06e8ccc1b47c8a" +source = "git+https://git...
8
5
1
[{"id": "G0", "claim": "Pin the kvproto patch to a specific commit hash instead of the moving branch compare-and-delete2 for reproducible builds.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a raw_compare_and_swap_atomic_delete_err compani...
null
tikv__tikv__19391
tikv/tikv
19,391
defect
188d9fd96c4d923d8ef4ed2342b78e4166d564b8
4d00507b6d234e3bb862055c6532738b5f45f7b1
raftstore: iops aggregation adaptive optimization
<!-- Thank you for contributing to TiKV! If you haven't already, please read TiKV's [CONTRIBUTING](https://github.com/tikv/tikv/blob/master/CONTRIBUTING.md) document. If you're unsure about anything, just ask; somebody should be along to answer within a day or two. PR Title Format: 1. module [, module2, modu...
diff --git a/components/raftstore/src/store/async_io/write.rs b/components/raftstore/src/store/async_io/write.rs index b9edb3b62c8..efb82c58632 100644 --- a/components/raftstore/src/store/async_io/write.rs +++ b/components/raftstore/src/store/async_io/write.rs @@ -68,6 +68,112 @@ const RAFT_WB_SPLIT_SIZE: usize = Reada...
25
20
4
[{"id": "G0", "claim": "When adaptive batching is enabled, wait_duration_adaptive is initialized to a hard-coded 20µs and the fallback hard-resets wait_duration to 20µs regardless of the configured raft_write_wait_duration, which can override operator tuning; initialize/clamp relative to the configured value instead (e...
null
tikv__tikv__19407
tikv/tikv
19,407
defect
eb8aa3aab39ab0648dde7a934933fcc7147bc898
64a2f809efe89c8713adf5fdd8d5dabbe54c2da5
backup-stream: ensure monotonically increasing flush_ts per store
### What is changed and how it works? Issue Number: Close #19406 What's Changed: ```commit-message backup-stream: ensure monotonically increasing flush_ts per store Meta path format is updated to a deterministic, parseable layout: - Old: v1/backupmeta/{flush_ts}-{min_begin_ts}-{min_ts}-{max_ts}[-SYNTHET...
diff --git a/components/backup-stream/Cargo.toml b/components/backup-stream/Cargo.toml index cf48d2b310c..811c9222600 100644 --- a/components/backup-stream/Cargo.toml +++ b/components/backup-stream/Cargo.toml @@ -10,6 +10,12 @@ test-engine-kv-rocksdb = ["tikv/test-engine-kv-rocksdb", "engine_test/test-engin test-engin...
4
3
2
[{"id": "G0", "claim": "When prepare_min_ts() fails in on_force_flush, the function returns without sending any FlushResult into the provided sender, so for the flush_now RPC the failure is indistinguishable from \"no tasks\"; it should send an error FlushResult for each selected task (and/or a single failure result) s...
null
tikv__yatp__38
tikv/yatp
38
defect
58d186fd495efc0b3facddba17c2a1eb20309ce1
03a65c2950a54f2173d164085077c3625e6cf22b
*: adjust benchmark
100 is hard to be distinguished from 1000 when filtering benchmark case, so this PR changes the dataset to be 2 based. A benchmark to multilevel queue is also added.
diff --git a/Cargo.toml b/Cargo.toml index 69bccc4..9025909 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -45,3 +45,4 @@ harness = false [profile.bench] codegen-units = 1 +debug = true diff --git a/benches/chained_spawn.rs b/benches/chained_spawn.rs index da4a756..6af425c 100644 --- a/benches/chained_spawn.rs +++ b/b...
2
2
0
[{"id": "G0", "claim": "The multilevel pool benchmark should also be added to the chained_spawn, ping_pong and yield_many benchmark files instead of only to spawn_many.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since criterion 0.3.1 supports regex f...
null
tildeio__rsvp.js__214
tildeio/rsvp.js
214
defect
8f0ea747584194577a0a109c72c8a261f0d4fe82
4c837241ac694d7ee39e7531d325f8f0eaad4523
Inheritance for denodeify
Set the `__proto__` on the denodeified function so that it inherits from the original function. I added a practical example why this is useful.
diff --git a/CHANGELOG.md b/CHANGELOG.md index b3a7408e..c1149ba8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # Master +* Changes to RSVP.denodeify + # 3.0.2 * [Spec compliance] Promise.all and Promise.race should reject, not throw on invalid input diff --git a/lib/rsvp/node.js b/lib/rsvp/node.j...
2
2
0
[{"id": "G0", "claim": "The new docs for the denodeify inheritance behaviour should add a compatibility note stating it works in all environments except IE <= 10.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CHANGELOG entry 'Changes to RSVP....
null
tildeio__rsvp.js__241
tildeio/rsvp.js
241
defect
77db61772034c5db5ef78314ca762603f319197f
33edd648dddefe9b12b5fb8e999906385768ef0f
web worker support
adds web worker support for rsvp, as rsvp doesn't use message channel as a fallback for mutation observer workers are going to be using set timeout.
diff --git a/tasks/browser.js b/tasks/browser.js index 4599c501..6816c88c 100644 --- a/tasks/browser.js +++ b/tasks/browser.js @@ -6,7 +6,7 @@ module.exports = function(grunt) { output.push.apply(output, f.src.map(grunt.file.read)); output.push("global.<%= pkg.namespace %> = require('<%= pkg.name %>');"...
1
1
0
[{"id": "G0", "claim": "The browser build's closing wrapper should just use `self` in all cases instead of the window/global/self conditional the PR added.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
tildeio__rsvp.js__337
tildeio/rsvp.js
337
defect
e4b2f24610079dca747a4795124f0aba91ac0c2b
2b47794790531724ba2ad3c3b911ee48b33521bc
Cross library interleaving can cause node 10's nextTick limit to be hit.
On Node 0.10.33, using RSVP causes deprecation error: `(node) warning: Recursive process.nextTick detected. This will break in the next version of node. Please use setImmediate for recursive deferral.` This issue seems to appear and disappear under strange circumstances: - https://github.com/stefanpenner/ember-cli/is...
diff --git a/lib/rsvp/asap.js b/lib/rsvp/asap.js index fc612720..2e45019a 100644 --- a/lib/rsvp/asap.js +++ b/lib/rsvp/asap.js @@ -24,7 +24,7 @@ var isWorker = typeof Uint8ClampedArray !== 'undefined' && // node function useNextTick() { return function() { - process.nextTick(flush); + setImmediate(flush); ...
2
2
2
[{"id": "G0", "claim": "The blanket switch from process.nextTick to setImmediate should be applied only on node < 0.11.0 (e.g. 0.10.x), not unconditionally.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A test case that reproduces the deep recursiv...
null
tildeio__rsvp.js__456
tildeio/rsvp.js
456
defect
9d3bb500999f6db86f278828cba0ac12c58064b1
ecf2bf45f49872ba4667b37b55b369bab3dcf1e2
eager map and filter
made map async so values are passed to map as FIFO
diff --git a/lib/rsvp/-internal.js b/lib/rsvp/-internal.js index 53aae0aa..eaa093c9 100644 --- a/lib/rsvp/-internal.js +++ b/lib/rsvp/-internal.js @@ -19,6 +19,10 @@ export const PENDING = void 0; export const FULFILLED = 1; export const REJECTED = 2; +function ErrorObject() { + this.error = null; +} + const G...
5
4
1
[{"id": "G0", "claim": "Create a custom Enumerator for `filter` too (as done for `map`), if the maintainer approves the idea.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The module-level `tryCatchCallback` added by the new `tryCatch` is never visibly ...
null
tillitis__tillitis-key1__161
tillitis/tillitis-key1
161
defect
fcccee8ec880d1c0b14c75dea27265987e525ae5
e843c181defa74011a464b59b2b464cfb5a52b8f
Memory map constants as defines
Turning on `-W pedantic` shows us that our memory constants can't fit in an enum in ISO C. Not a real problem for GNU99 but makes it hard to run `-W pedantic` to find other problems. I propose we change the memory constants from an enum into pre-processor defines instead and use simple direct values for the memory a...
diff --git a/hw/application_fpga/Makefile b/hw/application_fpga/Makefile index 38efc6c2c..cf0c829a0 100644 --- a/hw/application_fpga/Makefile +++ b/hw/application_fpga/Makefile @@ -36,7 +36,7 @@ CC = clang CFLAGS = -target riscv32-unknown-none-elf -march=rv32iczmmul -mabi=ilp32 \ -static -std=gnu99 -O2 -ffast-math...
3
2
0
[{"id": "G0", "claim": "A stray space character is left where the line should simply end with a newline; the extra space (a typo) should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new header omits the *_BASE define for some c...
null
tillitis__tillitis-key1__285
tillitis/tillitis-key1
285
defect
c6e8b6930c64125c398fd4f51651a0dd981c7457
4365004b51a51e624e089ff616f977d6478c7b65
Harmonize the naming of Firmware/App mode.
## Description Harmonize the naming of Firmware/App mode. ## Type of change Please tick any that are relevant to this PR and remove any that aren't. - [ ] Bugfix (non breaking change which resolve an issue) - [ ] Feature (non breaking change which adds functionality) - [ ] Breaking Change (a change which ...
diff --git a/doc/system_description/system_description.md b/doc/system_description/system_description.md index f8029f9b8..4d3a2437b 100644 --- a/doc/system_description/system_description.md +++ b/doc/system_description/system_description.md @@ -227,51 +227,51 @@ Assigned core prefixes: *Nota bene*: MMIO accesses shoul...
1
1
1
[{"id": "G0", "claim": "Keep the old TK1_MMIO_TK1_SWITCH_APP define alongside the new TK1_MMIO_TK1_SYSTEM_MODE_CTRL and add a '// Deprecated - use _SYSTEM_MODE_CTRL instead' comment above it, so existing apps are not broken right away.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduc...
null
tillitis__tillitis-key1__320
tillitis/tillitis-key1
320
defect
3126a9c51ed1b4a320ad14da005490dec80cee08
66e587715b3016b00e1d2fbb14548360a50b3f42
Resize ROM and FW_RAM, add RESETINFO partition inside FW_RAM.
## Description - Change size of ROM from 6 KB to 8 KB. - Change size of FW_RAM, from 2 KB to 4 KB. - Add RESETINFO memory partition inside FW_RAM. - Add generation of map file. - Change CFLAGS from using -O2 to using -Os. - Update address ranges for valid access to ROM and FW_RAM. - Move stack to be located be...
diff --git a/hw/application_fpga/Makefile b/hw/application_fpga/Makefile index 61c9f0dd3..09e1f842b 100644 --- a/hw/application_fpga/Makefile +++ b/hw/application_fpga/Makefile @@ -32,7 +32,7 @@ TARGET_FREQ ?= 24 # Size in 32-bit words, must be divisible by 256 (pairs of EBRs, because 16 # bits wide; an EBR is 128 ...
4
3
1
[{"id": "G0", "claim": "The changes to application_fpga.v are not available when simulating; please apply the same changes to application_fpga_sim.v.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "objcopy does not follow the NOLOAD flag, so the gene...
null
tillitis__tillitis-key1__374
tillitis/tillitis-key1
374
defect
ea82b0c1fd23db4c3d6a4b60e33aeaf357dc067a
e8aac1f37f12451246b748c0f5b148c01a76b9f1
License change
## Description - Change license to BSD-2-Clause - Follow REUSE - Fix nit in gitignore to ignore *.a files NOTE: The readme in LICENSES/ are not allowed to be there according to REUSE. So merged with top dir readme. Fixes #306 ## Type of change Please tick any that are relevant to this PR and remove ...
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f43f7ee6..6122248f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,9 +31,6 @@ jobs: run: | make checkfmt - - name: check for SPDX tags - run: ./LICENSES/spdx-ensure - check-firmwar...
6
4
2
[{"id": "G0", "claim": "The Macronix flash-model README.txt newly added under hw/application_fpga/core/tk1/tb/ is questioned as belonging there at all, since the rest of the files in that directory seem unrelated to it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {...
null
tillitis__tillitis-key1__392
tillitis/tillitis-key1
392
defect
c99944d4681b469da235c327ab23b8f2b8336995
ca5c33a1ab3a006fd7c06c93f189e9d5740ec53e
Extend syscall user data location checks
## Description Extend syscall user data location checks. - Check that `preload_store` and `preload_get_digsig` does not access user data outside of app RAM - Instead of relying on the hardware security monitor to catch if data is partially above app RAM we add the function `in_app_ram()` to check that the entire...
diff --git a/hw/application_fpga/Makefile b/hw/application_fpga/Makefile index 34bbbc1a..71656865 100644 --- a/hw/application_fpga/Makefile +++ b/hw/application_fpga/Makefile @@ -155,7 +155,8 @@ FIRMWARE_OBJS = \ $(P)/fw/tk1/rng.o \ $(P)/fw/tk1/reset.o \ $(P)/fw/tk1/preload_app.o \ - $(P)/fw/tk1/mgmt_app.o + $(P)...
3
2
0
[{"id": "G0", "claim": "in_app_ram would read more clearly if rewritten with an intermediate `left` variable (check lower bound, then upper bound, then compare size to the space left) instead of the single subtract-based overflow check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope":...
null
tilt-dev__tilt__1832
tilt-dev/tilt
1,832
defect
bc7f3d37ba1d44aa5c230c3fb1f094f5a3b33798
1cc758a020030c2fd3ff7463a778d6a61ba53000
build: stream tar to docker
The basic strategy is to have the tar archiver be responsible only for _writing_ to a `io.Writer`. Whenever we call the tar archiver we need to either 1. pass in a byte buffer and [deal with it](https://gph.is/1lDpHWH) 2. wire up an `io.Pipe`, pass the writer end in to the archiver and pass the reader end to Docker...
diff --git a/cmd/buildkitapi/main.go b/cmd/buildkitapi/main.go index 311611d3d5..c60ed79e6d 100644 --- a/cmd/buildkitapi/main.go +++ b/cmd/buildkitapi/main.go @@ -41,20 +41,25 @@ func run() error { d.NegotiateAPIVersion(ctx) - archive, err := build.TarPath(ctx, ".") - if err != nil { - return err - } + pr, pw :=...
5
3
1
[{"id": "G0", "claim": "t.Fatal must not be called inside the goroutines in tar_test.go because it will not work correctly there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "These tests could be a lot simpler using a bytes.Buffer as the Writer in...
null
tilt-dev__tilt__2522
tilt-dev/tilt
2,522
defect
00ae0e8b25ff72497f49142af362b646063ab24a
4659947cf7a53615821077c5baf741e385e3f515
ability to disable upgrade nag #2520
This fixes #2520
diff --git a/internal/engine/configs/actions.go b/internal/engine/configs/actions.go index e142a9e657..10b091157b 100644 --- a/internal/engine/configs/actions.go +++ b/internal/engine/configs/actions.go @@ -29,6 +29,7 @@ type ConfigsReloadedAction struct { Secrets model.SecretSet DockerPruneSettings m...
5
5
0
[{"id": "G0", "claim": "The engine state should hold the whole VersionSettings model (one Tiltfile result data model) instead of the artisanal CheckVersionUpdates bool.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The '// from GitHub' comment no longer...
null
tilt-dev__tilt__2620
tilt-dev/tilt
2,620
defect
e0b128b0152f83c37eb185d265f58d681c452489
d69f0683f4060d6f0b877e1d170bd725112654cf
build: execute custom build cmd in Tiltfile directory
Fixes #2616
diff --git a/internal/build/custom_builder.go b/internal/build/custom_builder.go index 5f3dda2200..f117ed7058 100644 --- a/internal/build/custom_builder.go +++ b/internal/build/custom_builder.go @@ -16,7 +16,7 @@ import ( ) type CustomBuilder interface { - Build(ctx context.Context, ref reference.Named, command str...
2
2
0
[{"id": "G0", "claim": "Consider passing the whole CustomBuild model to CustomBuilder.Build instead of breaking it apart into individual parameters.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename the CustomBuild field TiltfilePath to something lik...
null
tilt-dev__tilt__2871
tilt-dev/tilt
2,871
defect
bea2ac404fbaf4924a5bf6492125da1f6a7e5425
e7c4ec3d867e7b30e34b13ccc7fa017044f8a6f6
tiltfile: error in default_registry if registry is not canonical
This causes a stack trace to be printed during Tiltfile execution which makes it more obvious where this error is coming from. Previously the error would only surface when the default registry was being transformed in to the engine state model, at which point we don't know what line it occurred on. Fixes #2768
diff --git a/internal/tiltfile/docker.go b/internal/tiltfile/docker.go index aafd18eb71..2b4e5b1933 100644 --- a/internal/tiltfile/docker.go +++ b/internal/tiltfile/docker.go @@ -458,6 +458,11 @@ func (s *tiltfileState) defaultRegistry(thread *starlark.Thread, fn *starlark.Bu return nil, err } + _, err := refere...
4
3
1
[{"id": "G0", "claim": "The PR validates the default registry by parsing it as an image name (reference.ParseNamed on the bare registry string), which wrongly rejects valid registries like 'bar.com' and may wrongly fail for others (too-long names, names like 'rose-quartz'); the registry should be validated differently,...
null
tilt-dev__tilt__4570
tilt-dev/tilt
4,570
defect
07333dd35b6caaf0d8ae378b7d1b4fc4330cf025
773728567d4497c9df195aa6e8d0bba2d916a0f2
rollout: make clear when tilt is attaching to an existing pod rather than rolling out a new one
Fixes #4566 ### Problems 1. When you run `tilt up` and the existing pod suffices, the tilt log still makes it look like it's rolling out a new pod, which is confusing: ``` Tracking new pod rollout (matt-fortune-6b8dc4dc74-24llm): ┊ Scheduled - <1s ┊ Initialized - <1s ┊ Ready ...
diff --git a/internal/engine/k8srollout/podmonitor.go b/internal/engine/k8srollout/podmonitor.go index 5d65dc63b4..9437ffe1cb 100644 --- a/internal/engine/k8srollout/podmonitor.go +++ b/internal/engine/k8srollout/podmonitor.go @@ -25,13 +25,13 @@ type podManifest struct { type PodMonitor struct { pods m...
2
2
1
[{"id": "G0", "claim": "print should use updateStartTime instead of updateFinishTime as the update timestamp, because a new pod can start before the update finishes deploying.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reusing/tracking check...
null
tilt-dev__tilt__4773
tilt-dev/tilt
4,773
defect
7288cb6d6eed6ccd698791c445949ea2e0d42759
7035ee9735e9fc67fb8d9a7491a7bdc95ac61026
tiltfile: pass TILT_HOST + TILT_PORT to local() commands
Various Tilt extensions have been using `local()` to shell back out to Tilt to use the API (e.g. `tilt apply -f ...`). This does not play nice with custom ports if Tilt was invoked using the `--port` argument. Now, the current Tilt instance's port is passed as the `TILT_PORT` argument so that the invoked command...
diff --git a/internal/cli/wire_gen.go b/internal/cli/wire_gen.go index ea63d2574f..40d510a4da 100644 --- a/internal/cli/wire_gen.go +++ b/internal/cli/wire_gen.go @@ -103,8 +103,9 @@ func wireTiltfileResult(ctx context.Context, analytics2 *analytics.TiltAnalytics localEnv := docker.ProvideLocalEnv(ctx, kubeContext, e...
3
2
2
[{"id": "G0", "claim": "The env-var check should use HasPrefix(e, \"TILT_PORT=\") with the '=' so an env var whose name merely starts with TILT_PORT does not suppress injecting the real port.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Consider p...
null
tilt-dev__tilt__4819
tilt-dev/tilt
4,819
defect
fd4ba8883be9f0ba6cda87d02469ba1ad34fc313
dedeaff1e76a19abd81430c9df196092716d17cf
tiltfile: add exit() built-in to stop execution
Currently we have `fatal()` for terminating Tiltfile execution with an error. However, there are some circumstances where it's desirable to stop Tiltfile execution but NOT trigger an error. For example, when debugging a problem, it's useful to disable everything subsequent in the Tiltfile. This adds `exit()` ...
diff --git a/internal/tiltfile/print/print.go b/internal/tiltfile/print/print.go index 804d1b9484..73427167f2 100644 --- a/internal/tiltfile/print/print.go +++ b/internal/tiltfile/print/print.go @@ -25,6 +25,10 @@ func (Extension) OnStart(env *starkit.Environment) error { if err != nil { return err } + err = env...
2
2
0
[{"id": "G0", "claim": "exit() should take an exit code (any value) like Python's exit rather than a message, for consistency with existing conventions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There should be a test that calls exit() from an inclu...
null
tilt-dev__tilt__4943
tilt-dev/tilt
4,943
defect
d987ede805c6dfbc7f80832d347809d1d22b3e84
dc871b579bf11b97617e90d1fe3081014acdc01a
docker-compose: log tailing robustness fixes
The core issue this aims to solve is that for a stopped container, `docker-compose logs` exits, and Tilt would continuously attempt to re-launch it, resulting in high CPU usage due to repeatedly invoking the command. However, there were actually several intermingled issues that this exposed/worsened. These mostl...
diff --git a/internal/dockercompose/client.go b/internal/dockercompose/client.go index a2ddb2025b..14a3018cbb 100644 --- a/internal/dockercompose/client.go +++ b/internal/dockercompose/client.go @@ -50,6 +50,8 @@ func NewDockerComposeClient(env docker.LocalEnv) DockerComposeClient { func (c *cmdDCClient) Up(ctx cont...
4
3
0
[{"id": "G0", "claim": "The hand-rolled StdoutPipe/io.Copy/io.Pipe plumbing in StreamLogs is strange and should be replaced with the simpler pattern of assigning cmd.Stdout to the pipe writer and calling cmd.Wait() in a goroutine, without StdoutPipe().", "category": "design", "verdict": "supported", "priority": "P2", "...
null
tilt-dev__tilt__5013
tilt-dev/tilt
5,013
defect
939084d3b8ce183c116029c11a474086efbc289f
6c34c732b8f085e6c4e5def197beffa0793ddedf
engine: don't treat Jobs as "OK" until they complete
Fixes #4809 1. Jobs now have a runtime status of "pending" until the pod completes (they are currently "ok" as soon as the pod is ready) 2. A resource that has a resource_dep on a Job resource will now start only once the job's pod succeeds (it currently starts as soon as the job's pod is ready)
diff --git a/integration/fixture_test.go b/integration/fixture_test.go index 89a74742d9..0ad03b72e1 100644 --- a/integration/fixture_test.go +++ b/integration/fixture_test.go @@ -3,7 +3,9 @@ package integration import ( + "bytes" "context" + "encoding/json" "fmt" "go/build" "io" @@ -19,8 +21,10 @@ import ( ...
1
1
1
[{"id": "G0", "claim": "The new job path treats the model's \"Complete\" pod-readiness mode as meaning the pod's phase is \"Succeeded\", conflating two notions that are not interchangeable.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
tilt-dev__tilt__5242
tilt-dev/tilt
5,242
defect
da32d75851c2aa70a086ed249021e951adfb53b1
84a2f6381472aa42c36a17cf5fdbdff9f0d7b1fb
dockercompose: fix spurious full rebuild instead of Live Update
Occasionally, when using Live Update with a Docker Compose project, a file change would trigger a full rebuild instead of Live Update despite matching a sync path. The root cause here is that the Docker Compose target watched files in addition to the image target, so there was a race: if the Docker Compose targe...
diff --git a/internal/controllers/core/tiltfile/filewatch.go b/internal/controllers/core/tiltfile/filewatch.go index d057cac96f..80e367ddc7 100644 --- a/internal/controllers/core/tiltfile/filewatch.go +++ b/internal/controllers/core/tiltfile/filewatch.go @@ -32,7 +32,6 @@ type WatchableTarget interface { var _ Watch...
3
2
2
[{"id": "G0", "claim": "The PR regressed rebuild triggering so that local/bind mount volumes are not ignored for DockerComposeBuild targets; LocalIgnoredDirectories needs to be re-introduced and used for DockerComposeBuild targets.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu...
null
tilt-dev__tilt__5259
tilt-dev/tilt
5,259
defect
e3f1eaab9c5817119e5dea843317d3d08dc32b47
b79566c703234c242215db73ef7301f839dc1d84
dockercompose: get `docker_compose(Blob)` wired up
Fixes #4999. Supports any combination of compose file paths and blobs, with the following path resolution: 1. The compose project directory will be set to the parent directory of the first file, if any. 2. Otherwise, the compose project directory will be set to the parent directory of the executing Tiltfile. Ca...
diff --git a/internal/dockercompose/client.go b/internal/dockercompose/client.go index 90100522c3..377c7ca839 100644 --- a/internal/dockercompose/client.go +++ b/internal/dockercompose/client.go @@ -303,17 +303,35 @@ func (c *cmdDCClient) loadProjectCLI(ctx context.Context, proj model.DockerCompo }, }, // no ...
3
2
2
[{"id": "G0", "claim": "Check whether a YAML blob is intended to wipe out previously set project YAML, since each blob overwrites project.YAML and silently discards earlier compose config.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Emit an error...
null
tilt-dev__tilt__5392
tilt-dev/tilt
5,392
defect
330e24b4c8804895a1f4ea8a433225c31a7b2928
f6cad47b183626a0ea8723574d011ee82ab100a6
cli: fix `tilt docker-prune` command panic
Re-use the logic from the reconciler directly to determine the registry (based on the cluster + `default_registry` in Tiltfile) in the CLI code. This addresses a crash resulting from the image properties not being present, as they're inferred + populated during Tiltfile reconciliation, which does not occur here....
diff --git a/integration/docker_prune/Tiltfile b/integration/docker_prune/Tiltfile new file mode 100644 index 0000000000..d4a59ffa47 --- /dev/null +++ b/integration/docker_prune/Tiltfile @@ -0,0 +1,14 @@ +# -*- mode: Python -*- + +include('../Tiltfile') + +docker_build('gcr.io/tilt-dev/image-for-prune', '.', dockerfile...
1
1
1
[{"id": "G0", "claim": "Commenting out the logger setup in `tilt docker-prune` silently drops the command's forced logging output, and nicks asks whether that was intentional.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
tilt-dev__tilt__5428
tilt-dev/tilt
5,428
defect
ae85cd4b25230d2bb0823cefcd07b86f8593d157
c50a5cf7763b86f06590e6bf48aa77f64042072d
Kustomize: specify custom executable path
Enable kustomize executable path to be kustomized. Fixes #5412.
diff --git a/internal/tiltfile/files.go b/internal/tiltfile/files.go index 55281ea24e..8095b91d09 100644 --- a/internal/tiltfile/files.go +++ b/internal/tiltfile/files.go @@ -125,8 +125,8 @@ func (s *tiltfileState) execLocalCmd(t *starlark.Thread, cmd model.Cmd, options } func (s *tiltfileState) kustomize(thread *s...
2
2
1
[{"id": "G0", "claim": "Unpack both `path` and `kustomize_bin` with `NewLocalPathUnpacker()` instead of manual value handling, since starlark now supports custom unpackers with deserialization built into the type object.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ...
null
tilt-dev__tilt__5668
tilt-dev/tilt
5,668
defect
b784fb3d2004edcee1d3b67ccb673addb054a4bb
94bbbdef2396d8c383fcd7f4897e8e7da59a9d2e
Build dependency graph for k8s deletion in tilt down
When running tilt down, the order of deletion isn't dependent on the resource_deps specified. These changes introduce a dependency graph to the down command to determine the correct deletion order. Fixes #4431
diff --git a/internal/cli/down.go b/internal/cli/down.go index 36caa7c550..8699ced153 100644 --- a/internal/cli/down.go +++ b/internal/cli/down.go @@ -25,6 +25,12 @@ type downCmd struct { downDepsProvider func(ctx context.Context, tiltAnalytics *analytics.TiltAnalytics, subcommand model.TiltSubcommand) (DownDeps, err...
2
2
0
[{"id": "G0", "claim": "Factor the reverse-sorting out of deleteK8sManifests into a function that sorts the list of manifests in reverse order and returns it, and sort before both k8s and docker-compose deletion so docker-compose benefits too.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "...
null
tilt-dev__tilt__5735
tilt-dev/tilt
5,735
defect
d9570e81eed3b2dbf85c523ac9a413b8baa4e010
575a1197a7965809998e2af1321ebe7fdb99df0f
portforward: deprecate implicit container port behavior
Tilt supports a bunch of variations when defining a port forward in a Tiltfile. It's possible to specify a single value (a local port), and in this case, Tilt will look for a matching exposed port to use. If none is found, it'll use the first exposed port. This behavior is confusing and doesn't match existing ...
diff --git a/internal/controllers/core/kubernetesdiscovery/portforwards.go b/internal/controllers/core/kubernetesdiscovery/portforwards.go index 8e5d29cf57..00afb7bb9e 100644 --- a/internal/controllers/core/kubernetesdiscovery/portforwards.go +++ b/internal/controllers/core/kubernetesdiscovery/portforwards.go @@ -3,6 +...
4
2
2
[{"id": "G0", "claim": "The warning message is too vague; it should state explicitly what the current implicit mapping is, what it will change to in a future Tilt version, and the exact Tiltfile change (e.g. k8s_resource(name=x, port_forward='8000:8001')) the user needs to make.", "category": "design", "verdict": "supp...
null
tilt-dev__tilt__5742
tilt-dev/tilt
5,742
defect
0f2bc969705b5093905c36e1bb5fc525d8ed7014
aa4e5983c2b8e69827e303ef7e6c37c3275773c9
docker: fix spurious double builds on Dockerfile change
Do not _watch_ the Dockerfile from the image target, as this is handled by the Tiltfile, which provides the full contents to the target in-memory (i.e. the on-disk Dockerfile isn't actually used when we execute the build). This prevents race conditions from them both watching it, and ensures that the flow always...
diff --git a/internal/tiltfile/docker.go b/internal/tiltfile/docker.go index e68e6a42ac..ef31336aa1 100644 --- a/internal/tiltfile/docker.go +++ b/internal/tiltfile/docker.go @@ -91,7 +91,7 @@ func (d *dockerImage) ImageMapName() string { type dockerImageBuildType int const ( - UnknownBuild = iota + UnknownBuild do...
2
1
0
[{"id": "G0", "claim": "The DeepCopy of each contextIgnore into fileWatchIgnores is unnecessary: per the k8s API convention a copy should only be made when the object is known to be modified, so the extra copies should be dropped.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {...
null
tilt-dev__tilt__5750
tilt-dev/tilt
5,750
defect
db7dce0ac4d72c23e4a00911312908134ceb7f09
dc6bbe13acf4d10a2f63b151914c5c48635f5af9
dockercompose: watch service env files
This simple fix appears to give the desired behavior described in #5605. It also causes the Tiltfile to be reevaluated, and may causes an image build (which should be fast because everything is cached), but it does reload the service with the env file changes injected. I put up a branch https://github.com/tilt-dev/til...
diff --git a/internal/tiltfile/docker_compose.go b/internal/tiltfile/docker_compose.go index 73329e0cf7..9c0e11ac6d 100644 --- a/internal/tiltfile/docker_compose.go +++ b/internal/tiltfile/docker_compose.go @@ -145,6 +145,12 @@ func (s *tiltfileState) dockerCompose(thread *starlark.Thread, fn *starlark.Buil return ...
1
1
1
[{"id": "G0", "claim": "Service env_file paths should be resolved relative to the project path (e.g. by passing filepath.Join(project.ProjectPath, f)) instead of recorded as written.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
tilt-dev__tilt__5774
tilt-dev/tilt
5,774
defect
d6cc8a7484bdb21fcd2b8b0f924e51c5bf1c433f
03021311ff2c8c6a409354a3e33367aa39f016be
kubernetesapply: support extra_pod_selectors with custom_k8s_deploy
Fixes #5773 Neither my brain nor the unit tests have come up with a reason it'd be problematic to use the yaml from the status instead of the spec, but I'm not super familiar with this part of the code.
diff --git a/internal/controllers/core/kubernetesapply/disco.go b/internal/controllers/core/kubernetesapply/disco.go index 773d4ef950..95a3efe454 100644 --- a/internal/controllers/core/kubernetesapply/disco.go +++ b/internal/controllers/core/kubernetesapply/disco.go @@ -158,7 +158,7 @@ func (r *Reconciler) toWatchRefs(...
1
1
1
[{"id": "G0", "claim": "toWatchRefs should keep parsing ka.Spec.YAML instead of switching to ka.Status.ResultYAML, because using the Status loses performance/parallelism (watchers cannot connect to pods before the image build starts) and stability (a deploy error would disconnect all the watchers); preferring the Statu...
null
tilt-dev__tilt__5823
tilt-dev/tilt
5,823
defect
3d728756ae4084a761160194cc297b388efcf13c
eb5d782478e323b470f397fcbc06609ca3da88f1
docker: recognize docker desktop for linux socket location
Fixes #5812.
diff --git a/internal/docker/client_test.go b/internal/docker/client_test.go index b26bbe6e16..7b8e070f5f 100644 --- a/internal/docker/client_test.go +++ b/internal/docker/client_test.go @@ -311,6 +311,22 @@ func TestProvideClusterProduct(t *testing.T) { BuildToKubeContexts: []string{"docker-desktop-me", "docker-d...
2
1
1
[{"id": "G0", "claim": "Use MatchString instead of ddLinux.Match([]byte(host)) when matching the host, as the more idiomatic regexp API.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ddLinux regexp is too restrictive because it assumes home...
null
tilt-dev__tilt__6327
tilt-dev/tilt
6,327
defect
fd80cb8753662ae9cb8e8c1bf1d85203d52c0d1e
112a15c5b326a6ff42a34b1f39934389e63c250e
dockercompose: fix dc_resource new_name parameter causing depends_on problems (#6325)
This solves the issue I reported in #6325 by modifying the loop in the `renameDCService` function to also patch `s.dc[projectName].services[n].ServiceConfig.DependsOn[name]` and `s.dc[projectName].services[n].Options.resourceDeps[name]` I also made some temporary local variables because there was a lot of repeated `...
diff --git a/internal/tiltfile/docker_compose.go b/internal/tiltfile/docker_compose.go index b072b3d182..14b9380382 100644 --- a/internal/tiltfile/docker_compose.go +++ b/internal/tiltfile/docker_compose.go @@ -335,20 +335,26 @@ func (s *tiltfileState) renameDCService(projectName, name, newName string, svc * return ...
4
2
2
[{"id": "G0", "claim": "Overwriting the dependency's resourceDeps with []string{newName} is wrong if resourceDeps has other elements.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a test for the new depends_on rename behavior.", "category": "te...
null
tilt-dev__tilt__6513
tilt-dev/tilt
6,513
defect
36fa659860d2c04e346ad7c656bbf5fade89b6de
3a3bd32752e3706672b77b517814566ab1b700d0
feat(cli): allow specifying log filters
Filter CLI logs by span prefix. Multiple filters can be specified and exclusion takes precedence. For example: - to print only pod logs: `tilt up --log-filters 'pod'` - to exclude pod logs: `tilt up --log-filters '!pod'` - to print only pod and build logs: `tilt up --log-filters 'pod' --log-filters 'build'` o...
diff --git a/internal/cli/ci.go b/internal/cli/ci.go index 626d05281b..3d20764c1c 100644 --- a/internal/cli/ci.go +++ b/internal/cli/ci.go @@ -49,6 +49,7 @@ See blog post for additional information: https://blog.tilt.dev/2020/04/16/how-t addTiltfileFlag(cmd, &c.fileName) addKubeContextFlag(cmd) addNamespaceFlag(c...
3
3
1
[{"id": "G0", "claim": "The PR's span-ID-based log filtering duplicates the UI's existing but subtly different log filtering system; rework it to filter like the UI does — by log type (all vs runtime vs build) and by resource — since span IDs are an internal implementation detail not exposed anywhere else.", "category"...
null
tilt-dev__tilt__6656
tilt-dev/tilt
6,656
defect
41cc177b2a87d33a45d236fa20b1518f46a8aca3
acd5e01ffc356f82fa8e19a28efeade3bdd6e31b
feat(cli): add --since, --tail, --json flags to tilt logs
## Summary Implements #6652 - adds filtering and JSON output capabilities to `tilt logs`: - `--since`: Filter logs by time (e.g., `--since 5m`, `--since 1h`) - `--tail`: Limit output to last N lines (applies only to initial history when combined with `-f`) - `--json`: Output logs as JSON Lines (JSONL) format ...
diff --git a/.gitignore b/.gitignore index c18e656e67..52e72ee7ff 100644 --- a/.gitignore +++ b/.gitignore @@ -63,3 +63,9 @@ yarn-error.log* # http caches from running kubectl in integration tests integration/.kube .aider* + +# Claude Code state files +.claude/ + +# Built binary at repo root +/tilt diff --git a/inte...
2
2
2
[{"id": "G0", "claim": "Remove the bespoke --json-fields flag and rely on the existing --json flag, letting users filter fields with jq instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Model the since filter internally as a timestamp instead of a ...
null
tilt-dev__tilt__6662
tilt-dev/tilt
6,662
defect
41cc177b2a87d33a45d236fa20b1518f46a8aca3
31ff0723709da3b031800c4fcac250ab3cc99da5
Fix service grouping across namespaces
## Summary Fix service grouping across namespaces (#6311) ## Problem When multiple namespaces contain same-named Services and Deployments (e.g., `shop-phoenix` in both `local` and `upfit` namespaces), Tilt incorrectly groups all Services under one workload, leaving other workloads without their Service...
diff --git a/internal/k8s/entity.go b/internal/k8s/entity.go index a8f1c07180..5f3995906c 100644 --- a/internal/k8s/entity.go +++ b/internal/k8s/entity.go @@ -260,12 +260,16 @@ func FilterByMatchesPodTemplateSpec(withPodSpec K8sEntity, entities []K8sEntity) return nil, entities, nil } + // Get the namespace of t...
2
2
0
[{"id": "G0", "claim": "FilterBySelectorMatchesLabels is now unused, so it can be removed and callers replaced with the new namespace-aware function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a test for the namespace-aware service match...
null
timbray__quamina__109
timbray/quamina
109
defect
44774840ebb4f07fc0fd5739c4ae4290d74f94ed
975b876cc65b5ad2e739392e22638c6f63e5f4ad
matchSet.addX / matchSet.addXSingleThreaded performance improvements
- addX: adding length check to avoid copying the map if nothing was changed. - Introducing addXSingleThreaded which allows update-in-place in single-threaded usages. ``` name \ time/op benchs/1_baseline benchs/2_len_check benchs/3_thread_safe_add benchs/4_thread_safe_len_check _Quamina...
diff --git a/core_matcher.go b/core_matcher.go index dd7e4740..db1f8857 100644 --- a/core_matcher.go +++ b/core_matcher.go @@ -178,11 +178,11 @@ func (m *coreMatcher) matchesForSortedFields(fields []Field) *matchSet { for _, nextState := range nextStates { // if arriving at this state means we've matched one o...
1
1
1
[{"id": "G0", "claim": "The code-coverage report for the reviewed commit shows match_set.go coverage decreased noticeably, suggesting the unit tests no longer visit many of its lines, and the author should investigate what is going on.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introdu...
null
timbray__quamina__494
timbray/quamina
494
defect
4fed1ccd3239828d711947c70cb54b25dec4bf70
550f14f92bf345a1322bae98e595b4a4b9992341
kaizen: fix duplicate states during closure traversal
Here's what dedup_fix does relative to main: Problem: During FA merges (especially with shell-style * patterns), the same smallTable can end up referenced by multiple faState nodes. When epsilon closures are computed, these duplicat...
diff --git a/epsi_closure.go b/epsi_closure.go index ea192cd4..03e59749 100644 --- a/epsi_closure.go +++ b/epsi_closure.go @@ -4,6 +4,7 @@ package quamina // Each smallTable stores the generation it was last visited in, avoiding // the need for a visited map. var closureGeneration uint64 +var closureRepGeneration ui...
11
7
2
[{"id": "G0", "claim": "The benchmark output in the pull request has not been updated after the additional pushes and the numbers as written are disappointing.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "unclear"}, {"id": "G1", "claim": "The PR slows down ShellStyleBuildTest's pat...
null
timbrel__GitSavvy__1075
timbrel/GitSavvy
1,075
defect
a6d8ffecbb58083797fac5429a34731272d76f03
552a3c1e6338c5e7cf3e9b66d9a3d8ffc726ac4f
Implement Undo for diff-view
Fixes #1036 Fixes #1074 Bugs/Observations: - [ ] ~~can't double click into a new file ('@@ -16,7 +16 @@ ...')~~ Now in #1091 - [x] just checking the hunk start ('@@ ...') for a good jump position isn't good enough. This line is just not stable enough. I will instead search for the actual hunk content. - [x]...
diff --git a/Default (Linux).sublime-keymap b/Default (Linux).sublime-keymap index 7a6717f62..d1c7aa663 100644 --- a/Default (Linux).sublime-keymap +++ b/Default (Linux).sublime-keymap @@ -54,6 +54,15 @@ { "key": "setting.git_savvy.diff_view.disable_stage", "operator": "equal", "operand": false } ...
13
6
3
[{"id": "G0", "claim": "The cursor-restore behaviour together with the `last_cursors` getter/setter should be moved into their own method (e.g. `move_to_hunk`) for readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Undo did not work whe...
null
timbrel__GitSavvy__1119
timbrel/GitSavvy
1,119
defect
8b5b5e78da62b439d5568387b9befedfce3624a2
f3ce8dbefe0decce2af63ebe984f54ffd39ba2c1
Mostly accurate jumping from diff to file
Jumping from diff to file really was super sloppy implemented. It almost never jumped to the correct position. Implements mostly accurate jumping from diff to file by actually parsing the hunk and recounting its lines. For lines which are present on the b side (the view we jump to) this is accurate of course. ...
diff --git a/core/commands/diff.py b/core/commands/diff.py index 4b9bccc6c..14db9efa4 100644 --- a/core/commands/diff.py +++ b/core/commands/diff.py @@ -4,10 +4,10 @@ """ from contextlib import contextmanager +from functools import partial from itertools import dropwhile, takewhile import os import re -import bi...
7
3
0
[{"id": "G0", "claim": "The typing block should use the `MYPY = False; if MYPY:` idiom instead of `if False:` so that mypy still picks it up correctly.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "jump_position_to_file should return a named tupl...
null
timbrel__GitSavvy__1120
timbrel/GitSavvy
1,120
defect
8b5b5e78da62b439d5568387b9befedfce3624a2
5176e319e2415aa921a5e562fe3370b674cd5856
Implement dynamic context lines (zooming)
Fixes #1065 Add `[+]`/`[-]` shortcuts to increase or decrease the contextual lines `git diff` will output. Uses the already implemented fuzzy hunk search to place the cursor correctly after refreshing the view. Note: We set `"--unidiff-zero"` when hunking if we do not show any contextual lines which is othe...
diff --git a/Default.sublime-keymap b/Default.sublime-keymap index 77e1e2c25..02ce23825 100644 --- a/Default.sublime-keymap +++ b/Default.sublime-keymap @@ -631,6 +631,25 @@ { "key": "setting.git_savvy.diff_view", "operator": "equal", "operand": true } ] }, + { + "keys": ["+"], + ...
4
3
0
[{"id": "G0", "claim": "Question whether the underscore-cased `gs_pin_x_axis` TextCommand is meant to be an internal command and whether wrapping this code in a command is necessary at all, since a plain method on `GsReplaceViewTextCommand` might do.", "category": "design", "verdict": "supported", "priority": "P2", "sc...
null
timbrel__GitSavvy__779
timbrel/GitSavvy
779
defect
9e200cd9da40dfdc69ffe14e62daf2873f4b872c
59ccf72972e20446bafc8a1e778b23ec19c0c07e
Add unittest to check JSON resource formats
This PR proposes to add a unittest to check for malformed JSON resources. The goal is to ensure valid JSON resources, even though ST might forgive some format errors. The great test itself was created by @facelessuser. I merged his two files used in mdpopups to get one test_json.py out of it. <!-- maintainerd: DO...
diff --git a/tests/test_json.py b/tests/test_json.py new file mode 100644 index 000000000..aa1c72548 --- /dev/null +++ b/tests/test_json.py @@ -0,0 +1,257 @@ +""" +Validate JSON format. + +Licensed under MIT +Copyright (c) 2012-2015 Isaac Muse <isaacmuse@gmail.com> + +Some smaller fixes are applied by <deathaxe@gmail.c...
1
1
0
[{"id": "G0", "claim": "Maybe add a link to the original tests (facelessuser/sublime-markdown-popups) at the top of the new tests/test_json.py.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
timdeschryver__zod-fixture__38
timdeschryver/zod-fixture
38
defect
8551a6b62cc57e464bac8c80951b258439600e50
2fb6f31236ad8308a1eef20affcf394eadeffa7c
`expect` Helper Semantics
The test helper `toProduce` was renamed `toReasonablySatisfy` as it more clearly describes what the helper is actually doing. This type of test doesn't guarantee that the fixture will actually parse with the zod schema provided, but it does bolster our confidence that we will eventually catch edge cases where it doesn'...
diff --git a/.vitest/extend.ts b/.vitest/extend.ts index a81b292..0c5b8de 100644 --- a/.vitest/extend.ts +++ b/.vitest/extend.ts @@ -1,36 +1,26 @@ import { expect } from 'vitest'; - -const ITERATIONS = 100; +import { ZodTypeAny } from 'zod'; expect.extend({ - toProduce(core, schema, result) { - for (let i = 0; i <...
1
1
1
[{"id": "G0", "claim": "The expected result (18, and likewise 16.5) was mechanically replaced with toReasonablySatisfy so it is now passed as the number of iterations and no longer checked as the produced value, which needs to be updated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "...
null
timelinize__timelinize__181
timelinize/timelinize
181
defect
1fa223a95ff518b2207d4bdb5b9a62aa2dce780e
681ed509ef1f9984ea73cf8756c9526231e29fd8
WhatsApp: update import rules
## Assistance Disclosure <!-- Thank you for contributing! Please note: The use of AI/LLM tools is allowed so long as it is disclosed so that we can provide better code review and maintain project quality. If you used AI/LLM tooling in any way related to this PR, please let us know to what extent it was ut...
diff --git a/datasources/whatsapp/helpers.go b/datasources/whatsapp/helpers.go new file mode 100644 index 00000000..ae35d0d8 --- /dev/null +++ b/datasources/whatsapp/helpers.go @@ -0,0 +1,14 @@ +package whatsapp + +// extractMatchParts normalizes the regex capture groups for both bracketed and dash formats. +func extra...
3
3
1
[{"id": "G0", "claim": "Move the extractMatchParts helper into the file that uses it and delete the new helpers.go file.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The multi-alternative messageStartRegex has become unreadable, so the string ...
null
timelinize__timelinize__40
timelinize/timelinize
40
defect
55b503ae4d0391059d1bb4d5a4c455c9e840125c
51bd767f22c41d9edb8c950b471a5d15e14e28da
chore: add workflow to run go test
Builds timelinize and runs existing tests. Adds a small typo fix for a test broken in recent, linter related, refactor.
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 00000000..a3d7e9b2 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,52 @@ +name: Run tests + +on: + push: + branches: + - main + pull_request: + +jobs: + build: + + runs-on: ubuntu-latest + strategy...
1
1
0
[{"id": "G0", "claim": "The PR should keep the expected value spelled correctly (\"GPS Satellites\") instead of the intentionally misspelled \"GPS Satelites\".", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
timelinize__timelinize__48
timelinize/timelinize
48
defect
d47462f527845e1e2dbb9518b2826734eb71f439
e1c1287b2c6718523664964dfbd9c9f2423fe155
GitHub stars data source
Data source that imports GitHub starred repositories in JSON format. Each starred repo is imported individually, the starred repo metadata comes from the GitHub API. The item timestamp is set to the starred date, so they appear in the timeline the day the repo was starred. A small json file is saved in the tim...
diff --git a/datasources/ghstars/ghstars.go b/datasources/ghstars/ghstars.go new file mode 100644 index 00000000..fe78c7b6 --- /dev/null +++ b/datasources/ghstars/ghstars.go @@ -0,0 +1,152 @@ +/* + Timelinize + Copyright (c) 2024 Sergio Rubio + + This program is free software: you can redistribute it and/or modify + it...
4
4
0
[{"id": "G0", "claim": "The stars importer should be a single general \"GitHub\" data source (supporting stars now and other GitHub data later) instead of a separate \"GitHub Stars\"/ghstars data source.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The...
null
timelinize__timelinize__55
timelinize/timelinize
55
defect
294e2a72a9f6f1bb1982c778d2e3f5db684fd8a5
1f50940dce96f1697eb0fcec5148f465e44c674b
Firefox data source
Work in progress. Implements a new Firefox datasource capable of reading its places.sqlite database to import the browser history (page visits). The implementation currently has a number of issues: * Firefox (and Firefox based) browsers keep an exclusive lock on the places.sqlite database, and we can't dump or...
diff --git a/datasources/firefox/firefox.go b/datasources/firefox/firefox.go new file mode 100644 index 00000000..d5c76b20 --- /dev/null +++ b/datasources/firefox/firefox.go @@ -0,0 +1,177 @@ +/* + Timelinize + Copyright (c) 2024 Sergio Rubio + + This program is free software: you can redistribute it and/or modify + it...
3
1
1
[{"id": "G0", "claim": "The \"Visit date\" metadata key does not have to be in the item metadata, since the visit date is already carried by the item's actual timestamp.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since this data source only imports t...
null
timeplus-io__proton__1046
timeplus-io/proton
1,046
defect
900e14bab27ca06b812a7b78df51f727708f090c
a20979f1b5d19dff0751edf7345deff7fb8ffa71
Feat/1044 rename stream state log to introspection state log
PR checklist: - Did you run ClangFormat ? - Did you separate headers to a different section in existing community code base ? - Did you surround `proton: starts/ends` for new code in existing community code base ? Please write user-readable short description of the changes: Since it is not only stream for now ...
diff --git a/programs/server/config.yaml b/programs/server/config.yaml index 5a9c882d418..64382a0eb01 100644 --- a/programs/server/config.yaml +++ b/programs/server/config.yaml @@ -722,7 +722,7 @@ stream_metric_log: collect_interval_milliseconds: 5000 # We use weak_hash32(node_id) here since it doesn't matter a...
1
1
1
[{"id": "G0", "claim": "In getPipelineResourceMetrics and getPipelineMetrics the code reads block_io->process_list_entry before checking whether block_io is non-null, so collecting metrics for a materialized view with no active pipeline will dereference a null pointer and crash; the null check must precede the derefere...
null
timeplus-io__proton__176
timeplus-io/proton
176
defect
0509dc0bf2613a0e2cd623e5b73ec7a9a0adf33e
98e98c554874fa27ebd029df8c3b0ceb2ea91082
Bugfix/issue-174 disable append-only stream left all join append-only stream
Disable append-only stream left join append-only stream and block some smoke test about this.So far, the `left join` is only supported in `data enrichment join`.The join results can not be guaranteed.
diff --git a/src/Interpreters/Streaming/HashJoin.cpp b/src/Interpreters/Streaming/HashJoin.cpp index 7acbc4a112c..6e1da47dd5a 100644 --- a/src/Interpreters/Streaming/HashJoin.cpp +++ b/src/Interpreters/Streaming/HashJoin.cpp @@ -781,7 +781,6 @@ size_t insertFromBlockImpl( const HashJoin::SupportMatrix HashJoin::suppor...
4
4
2
[{"id": "G0", "claim": "In test 0018 the tag `data_enrichment_join` on test id 356 should be modified to `bidirectional join`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In test 0009_stream_join_stream_case2 the tag `data_enrichment_join` on...
null
timeplus-io__proton__206
timeplus-io/proton
206
defect
957c37a32dc7e0c471da85027ae6b796160e11ff
d6343cde8a5d26da30caaee9698e764b54598e64
feat: Kafka external streams read from specific partitions
Closes #201 PR checklist: - Did you run ClangFormat ? - Did you separate headers to a different section in existing community code base ? - Did you surround `proton: starts/ends` for new code in existing community code base ? Please write user-readable short description of the changes:
diff --git a/src/Core/Settings.h b/src/Core/Settings.h index e03953e9f2d..b5708009088 100644 --- a/src/Core/Settings.h +++ b/src/Core/Settings.h @@ -623,6 +623,11 @@ static constexpr UInt64 operator""_GiB(unsigned long long value) M(TransactionsWaitCSNMode, wait_changes_become_visible_after_commit_mode, Transactio...
5
4
0
[{"id": "G0", "claim": "The loop building the pairs from timestamps should be written as a range-for with the counter in its initializer (for(size_t i = 0; auto t : timestamps) partition_timestamps.emplace_back(i++, t)) instead of a counter incremented in the loop body.", "category": "maintainability", "verdict": "supp...
null
timeplus-io__proton__385
timeplus-io/proton
385
defect
1efa1ab49ccc1c64bcc307ff9e637b1ffbc07ac4
93fd160cf9c5cd9e71df00d7dffb49debe6c35b4
fix sql format
fix #278
diff --git a/src/Common/tests/gtest_ident.cpp b/src/Common/tests/gtest_ident.cpp index 03aaa3a5375..e2588519e16 100644 --- a/src/Common/tests/gtest_ident.cpp +++ b/src/Common/tests/gtest_ident.cpp @@ -21,21 +21,21 @@ String convertQueryToFormat(String query,bool one_line) TEST(indent, stream_name) { - //test for...
1
1
0
[{"id": "G0", "claim": "The pull request's changed code should be quoted with \"proton: starts\" and \"proton: ends\" comment markers per the code convention, instead of the \"proton: updated\"/\"proton: added\" tags (or no marker) it uses.", "category": "maintainability", "verdict": "supported", "priority": "P3", "sco...
null
timeplus-io__proton__399
timeplus-io/proton
399
defect
27e1e8edf01daa5f061eb85291c541d4bd7d9691
84ba1c4bf1f68797db7cbd11b8cdd8e939ba2ccc
feat: manage format schemas with SQL.
PR checklist: - Did you run ClangFormat ? - Did you separate headers to a different section in existing community code base ? - Did you surround `proton: starts/ends` for new code in existing community code base ? Please write user-readable short description of the changes: refs #175 Introduce new SQL comm...
diff --git a/src/Access/Common/AccessType.h b/src/Access/Common/AccessType.h index 366667410d5..45ca97fe235 100644 --- a/src/Access/Common/AccessType.h +++ b/src/Access/Common/AccessType.h @@ -24,6 +24,9 @@ enum class AccessType implicitly enabled with any grant on the column *...
14
10
1
[{"id": "G0", "claim": "The new `FORMAT SCHEMA` SQL wording reads redundantly and `DATA SCHEMA` would read better.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The ExistsOP enum values should be renamed to `Ignore`, `Overwrite`, `Throw`.", "category": "d...
null
timeplus-io__proton__426
timeplus-io/proton
426
defect
af0adf90b25cb0fad5c34349b05e39027d67bb14
425677202dba910b5b693b771a3d572d2ed7a16f
Feature/issue 3303 distinct aggr support changelog
Please write user-readable short description of the changes: - make distinct this aggr combinator support changelog/retract. - the basic design uses a hashmap(internal is using btreemap) to save the state(count value). and pass the processed data to the next function. - also enhance changelog function parse. - a...
diff --git a/src/AggregateFunctions/FactoryHelpers.h b/src/AggregateFunctions/FactoryHelpers.h index bb45e224e6f..cc3472afd57 100644 --- a/src/AggregateFunctions/FactoryHelpers.h +++ b/src/AggregateFunctions/FactoryHelpers.h @@ -40,13 +40,18 @@ inline void assertArityAtMost(const std::string & name, const DataTypes & a...
10
9
1
[{"id": "G0", "claim": "Function-name substitution should go through a shared ASTFunction::substitute helper that preserves covered_name (always show original func name), and that helper should be used everywhere a name is substituted, including StreamingNowFunctionData::visit.", "category": "design", "verdict": "suppo...
null
timeplus-io__proton__492
timeplus-io/proton
492
defect
0df5058523118f86672897f70440f5bf89145001
8ef79b76b127c9d37f080638f10b30bcdbcf3502
Add more metrics log
This close #491 Please write user-readable short description of the changes: - Add aggregated data metrics - Add more metrics for cached blocks - Remove metrics serialization (we should avoid serialize/deserialize metrics, since they are volatile)
diff --git a/src/Common/HashMapsTemplate.h b/src/Common/HashMapsTemplate.h index ead88b2e4b8..8eb33d1d1d4 100644 --- a/src/Common/HashMapsTemplate.h +++ b/src/Common/HashMapsTemplate.h @@ -133,7 +133,7 @@ struct HashMapsTemplate UNREACHABLE(); } - size_t getTotalByteCountImpl() const + size_t getB...
7
3
1
[{"id": "G0", "claim": "Block::allocatedMetadataBytes() may be undercounting because it does not count what ColumnWithTypeAndName itself allocates.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new updateMetrics call may be expensive - the revi...
null
timeplus-io__proton__587
timeplus-io/proton
587
defect
adc09d0597ee46d55546481fd52a0d42c25a27df
c8f3dea2b86482159ae5b1ed8c8e7abf59a54477
Feature/issue 578 refine proton exit
some notable change: 1. when signal handler: sleepForSecons(20) => https://github.com/timeplus-io/proton/pull/587/commits/b780b43c31b87a08200f3d015f3a6586c77a517e ``` for (size_t i = 0; i < 300; ++i) { /// We will synchronize with the thread printing the messages with an atomic variable to fini...
diff --git a/docker/test/stress/run.sh b/docker/test/stress/run.sh index 4afc4131a8b..c9df9d0673d 100755 --- a/docker/test/stress/run.sh +++ b/docker/test/stress/run.sh @@ -77,16 +77,16 @@ function configure() # max_server_memory_usage will be hard limit, and queries that should be # executed regardless memor...
1
1
0
[{"id": "G0", "claim": "The comment line '/// Should we send internal logs to client?' added in TCPHandler::runImpl() should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
timeplus-io__proton__647
timeplus-io/proton
647
defect
a3c4090fb7e2f04e8b0cf6afe34cc01cf583eb3c
d3d0806c8b2276ffaf692e9969f9b22883374f3f
Feature/issue 634 support left join for versioned kv streams
This close #634 Please write user-readable short description of the changes:
diff --git a/src/Interpreters/Streaming/HashJoin.cpp b/src/Interpreters/Streaming/HashJoin.cpp index 0e11f730df0..c794bc22c58 100644 --- a/src/Interpreters/Streaming/HashJoin.cpp +++ b/src/Interpreters/Streaming/HashJoin.cpp @@ -438,6 +438,7 @@ joinColumns(std::vector<KeyGetter> && key_getter_vector, const std::vector<...
21
18
1
[{"id": "G0", "claim": "Replace the terse watermarking comment in joinBidirectionally() with the fuller explanation of why retracted and result chunks are processed consecutively.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In rangeJoinBidirect...
null
timeplus-io__proton__771
timeplus-io/proton
771
defect
49e71b9717f17690939825e1db01716e70435011
cb721c115ae227c51f16356efee44492aec86ff0
Bugfix/issue-770-log-stream-analysis
PR checklist: - Did you run ClangFormat ? - Did you separate headers to a different section in existing community code base ? - Did you surround `proton: starts/ends` for new code in existing community code base ? Please write user-readable short description of the changes:
diff --git a/src/Storages/ExternalStream/BreakLines.cpp b/src/Storages/ExternalStream/BreakLines.cpp index 950d64e8e27..a66af3710bf 100644 --- a/src/Storages/ExternalStream/BreakLines.cpp +++ b/src/Storages/ExternalStream/BreakLines.cpp @@ -12,7 +12,6 @@ std::vector<std::string_view> breakLines(const char * data, size_...
4
4
1
[{"id": "G0", "claim": "Do not remove the previous explanatory comments in breakLines; add the new comment alongside them instead of replacing them.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added comment line in searchForCandidates is mi...
null
timeplus-io__proton__802
timeplus-io/proton
802
defect
45fe9c514466943d559fd03542aae7d8cd3e4ff5
97f66fe2420b65cc2400f7031864a57f512f73d4
Feature/issue 5262 support to create remote udf in sql
PR checklist: - Did you run ClangFormat ? - Did you separate headers to a different section in existing community code base ? - Did you surround `proton: starts/ends` for new code in existing community code base ? Please write user-readable short description of the changes:
diff --git a/src/Interpreters/InterpreterCreateFunctionQuery.cpp b/src/Interpreters/InterpreterCreateFunctionQuery.cpp index 11c506324d1..821f38578f1 100644 --- a/src/Interpreters/InterpreterCreateFunctionQuery.cpp +++ b/src/Interpreters/InterpreterCreateFunctionQuery.cpp @@ -56,6 +56,8 @@ BlockIO InterpreterCreateFunc...
12
10
3
[{"id": "G0", "claim": "The comment added above the remote-function block misspells 'function' as 'functio'.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "It is unclear whether the 'TYPE Remote' keyword accepts other casings such as 'REMOTE' or '...
null
timeplus-io__proton__827
timeplus-io/proton
827
defect
75a150a1ce9b1413c2e52ffeae95e372f2c021e5
4ffb74abae9a9b320dc49e2abf9336253ee0b6ed
feature: add execution timeout for remote UDFs
PR checklist: - Did you run ClangFormat ? Yes - Did you separate headers to a different section in existing community code base ? Yes - Did you surround `proton: starts/ends` for new code in existing community code base ? Yes Please write user-readable short description of the changes: enable execution timeout s...
diff --git a/src/Common/sendRequest.cpp b/src/Common/sendRequest.cpp index 8ae54f7b2ed..33cc74c1b26 100644 --- a/src/Common/sendRequest.cpp +++ b/src/Common/sendRequest.cpp @@ -33,10 +33,10 @@ std::pair<String, Int32> sendRequest( const String & password, const String & payload, const std::vector<std::pa...
9
7
2
[{"id": "G0", "claim": "The else branch that silently inserts a default 'none' auth_method when AUTH_METHOD is absent yields incorrect results, so the 'else' should be removed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "formatImpl reads function...
null
timeplus-io__proton__858
timeplus-io/proton
858
defect
d852c96129bbea52a352ed9868d85462a806a6b6
c91a82d6ae442b651d1fe6c5f716aa45e67b9e41
add unique function support
PR checklist: - Did you run ClangFormat ? - Did you separate headers to a different section in existing community code base ? - Did you surround `proton: starts/ends` for new code in existing community code base ? Please write user-readable short description of the changes: close #857
diff --git a/src/AggregateFunctions/Streaming/AggregateFunctionUniq.cpp b/src/AggregateFunctions/Streaming/AggregateFunctionUniq.cpp new file mode 100644 index 00000000000..c9e27318530 --- /dev/null +++ b/src/AggregateFunctions/Streaming/AggregateFunctionUniq.cpp @@ -0,0 +1,141 @@ +#include "AggregateFunctionUniq.h" + ...
4
4
3
[{"id": "G0", "claim": "The repeated spelled-out type checks should use the class's existing STDMap/BTreeMap aliases instead of std::is_same_v<Map, std::map<T, uint32_t, Compare>> || std::is_same_v<Map, absl::btree_map<T, uint32_t, Compare>>.", "category": "maintainability", "verdict": "supported", "priority": "P3", "s...
null
timescale__ghost__5
timescale/ghost
5
defect
05c1e4316bd7e566b58347d5ce4749bb41e14958
bdd9efd6731401894fb5963bb90e8a6fb4f56d52
Add 'ghost upgrade' command to self-upgrade the CLI
Adds a new `ghost upgrade` command (alias `update`) that downloads the latest published release archive and replaces the currently running binary in place, using the same CloudFront-hosted artifacts (`${releases_url}/latest.txt` and `${releases_url}/releases/<version>/<archive>`) as `scripts/install.sh` and `scripts/in...
diff --git a/CLAUDE.md b/CLAUDE.md index a3248b3..ea3b26c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,7 +4,7 @@ - **`cmd/`** - Binary entry points. Contains `ghost/main.go` (the main CLI binary, which sets up context/signal handling and delegates to the internal command infrastructure), `npm-publisher/` (a CI tool ...
4
2
1
[{"id": "G0", "claim": "The new command's --version and --force flags should not be part of the public interface: --version should be kept but hidden rather than documented, and --force's ability to overwrite a binary installed via a package manager should not be exposed at all.", "category": "design", "verdict": "supp...
null
timescale__pg_textsearch__182
timescale/pg_textsearch
182
defect
70747956a7287acc6da5743f831c4cfe651e8d22
8b26fa69812fa2cfe995ec5565f001c3e8c2aa5c
chore: drop directory prefix from the file identifiers
Drop directory prefix from the file identifiers so that we don't need to update them when moving files around.
diff --git a/src/debug/dump.c b/src/debug/dump.c index 6616745a0..26c6f5000 100644 --- a/src/debug/dump.c +++ b/src/debug/dump.c @@ -2,7 +2,7 @@ * Copyright (c) 2025 Tiger Data, Inc. * Licensed under the PostgreSQL License. See LICENSE for details. * - * dump.c - Index dump and debugging utilities + * debug/dump....
2
1
0
[{"id": "G0", "claim": "The file-identifier comments should not encode full directory paths, since paths are just another thing to maintain when files move — drop the directory prefix from the file identifiers that include it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduc...
null
timescale__pg_textsearch__270
timescale/pg_textsearch
270
defect
272c0236035809da065518b64a105ca4799c5c2a
e64f92b90283c5cafec7b6f73989417574fb3412
fix: address security review findings for 1.0 GA
## Summary Addresses findings 1-5 from the [pre-GA security code review](https://docs.google.com/document/d/1bzlc9MXS-B2PiqyP4p4lXpE8xdYUkqorKs2a4CBG61M/edit): - **(High) Missing authorization on spill/merge**: Add `superuser()` checks to `tp_spill_memtable` and `tp_force_merge` so unprivileged users cannot trigg...
diff --git a/sql/pg_textsearch--0.5.0--1.0.0-dev.sql b/sql/pg_textsearch--0.5.0--1.0.0-dev.sql index 09fe5a014..8b251969c 100644 --- a/sql/pg_textsearch--0.5.0--1.0.0-dev.sql +++ b/sql/pg_textsearch--0.5.0--1.0.0-dev.sql @@ -25,6 +25,20 @@ RETURNS void AS 'MODULE_PATHNAME', 'tp_force_merge' LANGUAGE C VOLATILE STRICT...
2
1
1
[{"id": "G0", "claim": "The new cross-field validation in tpvector_recv can be bypassed: entry_count * (int)sizeof(TpVectorEntry) overflows signed int for large entry_count, and the check accounts only for fixed entry headers, not variable-length lexeme data, so crafted bm25vectors can still trigger heap out-of-bounds ...
null
timescale__pg_textsearch__287
timescale/pg_textsearch
287
defect
d67a7bd4d7f4e6a72a7d8317cb327e3db1cfd90e
35103905dd80a46fd0c6821431d03d0a97fe1467
docs: expand README limitations and fix stale docs
## Summary - Add missing limitation sections to README for GA: no phrase queries, no expression indexing, no built-in faceted search, insert/update performance, no background compaction - Each limitation includes SQL examples showing workarounds - Fix incorrect "LZ4 compression" in CHANGELOG (actual: delta encodin...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c217da4c..051f7c2be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,8 @@ ### New Features -- **Segment block compression**: LZ4 compression for posting list blocks, - reducing index size +- **Segment block compression**: Delta encoding with variable-width + ...
5
5
3
[{"id": "G0", "claim": "The README claim that 'CREATE INDEX always produces a single segment' is incorrect for serial builds and should be qualified to parallel builds (or the serial build path should get a final compaction pass); the related CLAUDE.md step-5 phrase 'If multiple levels accumulate, the leader compacts t...
null
timescale__pg_textsearch__324
timescale/pg_textsearch
324
defect
092cd0dfc019793d02aa96bf35f31e480db5ebe0
54344a311fc7707d3d78bba865ee7ffed7c0ef55
refactor: deduplicate read_term_at_index into dictionary.c
## Summary - Extract shared term-reading logic from `segment.c` and `merge.c` into `dictionary.c` as `tp_segment_read_term_at_index()` - Both files had nearly identical static functions for reading a term string from the segment string pool ## Testing - Compiles cleanly on PG17 and PG18 - All regression tests pa...
diff --git a/src/segment/dictionary.c b/src/segment/dictionary.c index 64dd48b9e..bc97847d9 100644 --- a/src/segment/dictionary.c +++ b/src/segment/dictionary.c @@ -9,11 +9,13 @@ #include <lib/dshash.h> #include <utils/memutils.h> +#include "constants.h" #include "index/state.h" #include "memtable/memtable.h" #i...
1
1
1
[{"id": "G0", "claim": "The new shared function tp_segment_read_term_at_index() declares string_offset as uint32 while header->strings_offset is uint64, silently truncating the computed file offset modulo 2^32 for large segments, regressing the previously correct uint64 declaration in the deleted segment.c read_term_at...
null
timescale__pg_textsearch__327
timescale/pg_textsearch
327
defect
54ab691bfad94b016bdeb5dbd22ed7680e12e393
8b11edd3dba22cd0ed1dc4472f9d1064f9e35b94
ci: test segment format backward-compat in upgrade tests
Closes #318 ## Summary - Expands upgrade test data to 200 rows across two segments (batch 1 built by CREATE INDEX, batch 2 spilled via `bm25_spill_index`) - Splits upgrade behavior at v0.5.1 using `dpkg --compare-versions`: - **Compat tier (v0.5.1+):** skips REINDEX, validates query results at five ph...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9930c4d63..8c9bd23ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -577,6 +577,95 @@ jobs: pg_ctl stop -D tmp_hypertable_test/data || true rm -rf tmp_hypertable_test + - name: Run upgrade compat test ...
2
2
2
[{"id": "G0", "claim": "The V4 branch of tp_dump_segment_to_output still reads the header with the two-halves memcpy approach, so V4's unpadded total_tokens lands straddling V5's 4-byte padding gap, producing a wrong total_tokens and page_index = 0; apply the same TpSegmentHeaderV4 field-by-field conversion there that ...
null
timescale__pg_textsearch__336
timescale/pg_textsearch
336
defect
6dc8f52918ff7d09e0f6a4095891dddfedb611c6
43a561d32be5ecb7f7867fcab9e8478039bc7c75
fix: keep total_docs = Σ segment.num_docs invariant across VACUUM
## The invariant `metap->total_docs` is defined as the sum of per-segment doc counts: > `total_docs = Σ segment.num_docs` over all on-disk segments reachable from `level_heads[]`, where `num_docs` is the segment-header field (fixed at segment creation). The shared-memory atomic additionally counts unflushed memtable...
diff --git a/src/access/vacuum.c b/src/access/vacuum.c index 8f1af3037..6ac528440 100644 --- a/src/access/vacuum.c +++ b/src/access/vacuum.c @@ -675,8 +675,6 @@ tp_bulkdelete( /* Phase 3: Mark dead docs or rebuild affected segments */ { - uint64 new_total_docs = 0; - for (int level = 0; level < TP_MAX_LEVELS;...
2
2
1
[{"id": "G0", "claim": "After this PR, tp_bulkdelete's stats formula (cumulative total_docs minus only this round's new deletes) systematically over-estimates reltuples on the 2nd+ VACUUM with new deletes, and the tp_vacuumcleanup no-deletes fallback overwrites the prior live count with the cumulative metap->total_docs...
null
timescale__timescaledb-toolkit__133
timescale/timescaledb-toolkit
133
defect
71ecf30e86ac4fd625c7d3019f5dd4253228c2da
0bd64deadf78173d11ecddfa6b309cb43b89a16a
Removing experimental tag from TDigest
Also refactored some APIs to match UddSketch, added a continous aggregate example to the docs, improved the UddSketch docs a bit and added some usabllity to the generate_periodic_normal_series utility
diff --git a/Cargo.lock b/Cargo.lock index 6b4d9640..5f5ef947 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1852,6 +1852,7 @@ dependencies = [ "pgx-macros", "pgx-tests", "rand 0.8.3", + "rand_chacha 0.3.0", "rand_distr", "serde", "serde_json", diff --git a/extension/Cargo.toml b/extension/Cargo.toml index e4...
8
7
0
[{"id": "G0", "claim": "In the tdigest summary-form sample-usage sentence, 'examples' should be 'example' or 'this' should be 'these'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The tdigest point-form sample-usage sentence has the same 'For th...
null
timescale__timescaledb-toolkit__367
timescale/timescaledb-toolkit
367
defect
bc5e0fe621168e04db2bb7c5500d5533d945bfc5
777646469089a5c05882ebea32065486ba8c723d
Switch stabilization tests to new info
This commit switches the stabilization tests to the new stabilization info file, meaning there's exactly one central location that decides if things are stable. It also cleans the actual stabilization test code, and documents what invariants we're trying to maintain.
diff --git a/extension/src/hyperloglog.rs b/extension/src/hyperloglog.rs index 732f8c82a..7215ad2fd 100644 --- a/extension/src/hyperloglog.rs +++ b/extension/src/hyperloglog.rs @@ -194,7 +194,7 @@ fn hyperloglog_final_inner( } extension_sql!("\n\ - CREATE AGGREGATE hyperloglog(size int, value AnyElement)\n\ + ...
1
1
0
[{"id": "G0", "claim": "There is also a use of `INT` in the lttb aggregate declaration (extension/src/lttb.rs, the resolution argument), which should be switched to `integer` like the other aggregates in this change.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
timescale__timescaledb-toolkit__388
timescale/timescaledb-toolkit
388
defect
665e9f6ae26cbfdab05fbdc446c746fe9e601d20
ba4df9bfed7dd9dd28907484c87945bc06a4b334
Create Count-Min Sketch crate
Implement Count-Min sketch probabilistic data structure with basic add, subtract, and (point) estimate functions. Addresses some of #373
diff --git a/Cargo.lock b/Cargo.lock index c35490bc4..42c06a638 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -422,6 +422,14 @@ dependencies = [ "time_series", ] +[[package]] +name = "countminsketch" +version = "0.1.0" +dependencies = [ + "rand 0.8.4", + "serde", +] + [[package]] name = "cpufeatures" version = "0...
4
4
0
[{"id": "G0", "claim": "The paper URL in the module-level doc comment should be wrapped in angle brackets because cargo doc complains without them.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The parameter assertions should use plain `<` compar...
null
timescale__timescaledb-toolkit__488
timescale/timescaledb-toolkit
488
defect
c7a5dd0cfdaeb8b04c3e3235a83ffdb877c486b0
cc3c7b25f2766d72c2d4c5f76e3370671345e3b7
Stabilize timevector
This change moves the timevector function and object out of the toolkit_experimental schema. It also adds a template issue for feature stabilization.
diff --git a/.github/ISSUE_TEMPLATE/feature-stabilization.md b/.github/ISSUE_TEMPLATE/feature-stabilization.md new file mode 100644 index 000000000..38b11b329 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature-stabilization.md @@ -0,0 +1,36 @@ +--- +name: Feature Stabilization +about: Checklist of tasks to move a featu...
3
1
1
[{"id": "G0", "claim": "The update tests still fail with \"ERROR: function timevector(timestamp with time zone, double precision) does not exist\", which the reviewer can reproduce locally, because the PR's changes reference that function where it does not exist.", "category": "correctness", "verdict": "supported", "pr...
null
timescale__timescaledb-toolkit__85
timescale/timescaledb-toolkit
85
defect
b94d2431a9ec16f98e5a9bc4566aadd6a81144d3
7bd1442b3701b498525b1586f62c191df4ee04a0
Add trigger disabling deps on experimental features
"experimental" features are just that, and there usage can be fraught: we are neither capable, not desirous, of providing an upgrade path for someone using experimental features to a newer version of this extension, and we would prefer users to not become reliant on experimental features. As such, our upgrade scripts f...
diff --git a/extension/sql/load-order.txt b/extension/sql/load-order.txt index 4c9aa9f1e..7e8d0df3f 100644 --- a/extension/sql/load-order.txt +++ b/extension/sql/load-order.txt @@ -1,3 +1,4 @@ tdigest.generated.sql hyperloglog.generated.sql uddsketch.generated.sql +triggers.generated.sql diff --git a/extension/src/l...
5
4
2
[{"id": "G0", "claim": "Add a few tests around the event trigger to make sure it is catching dependencies, since relying on it incidentally breaking existing tests probably won't work in the future if the code is modified.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
timescale__timescaledb-tune__59
timescale/timescaledb-tune
59
defect
3546c233b869d172f8d8129d75f7c6de28aac55b
507a6e22428ac87c0ab08f037786223f5bc8bc89
Add flag for specifying the size of the WAL disk
Previously the values for min_wal_size and max_wal_size could be too aggressive for machines with shared WAL and data disks or with small WAL disks. To that end, this PR introduces a new flag for specifying the size of the WAL disk (or, the amount of disk space reserved for the WAL) to base calculations on. The max...
diff --git a/cmd/timescaledb-tune/main.go b/cmd/timescaledb-tune/main.go index b116c41..6edd56a 100644 --- a/cmd/timescaledb-tune/main.go +++ b/cmd/timescaledb-tune/main.go @@ -33,6 +33,7 @@ func init() { flag.StringVar(&f.Memory, "memory", "", "Amount of memory to base recommendations on in the PostgreSQL format <in...
1
1
1
[{"id": "G0", "claim": "The pull request should not cap max_wal_size at 8GB (the default maximum); for very active instances checkpoints tuned ~30 minutes apart need a far larger max_wal_size, so the maximum should be unbound since passing the WAL disk size already lets users limit it.", "category": "design", "verdict"...
null
timescale__timescaledb__7212
timescale/timescaledb
7,212
defect
eaecdff4713dd37a6e40873aac7cc4b422a99126
f2a8f5645880a49bedaabd0162eb529114be1f8b
Add ts_stat_statements support on Jobs
Since our scheduler don't use SQL statements to execute Job procedures but instead we rely on internal Postgres API then `ts_stat_statements` can't record it execution. Added the callbacks to `ts_stat_staments` on our scheduler to record the job procedure execution sending a query string like this: ```sql CALL _...
diff --git a/src/bgw/job.c b/src/bgw/job.c index 9c57d895fbc5..088038afd2eb 100644 --- a/src/bgw/job.c +++ b/src/bgw/job.c @@ -45,6 +45,7 @@ #include "license_guc.h" #include "scan_iterator.h" #include "scanner.h" +#include "tss_callbacks.h" #include "utils.h" #ifdef USE_TELEMETRY @@ -1176,8 +1177,15 @@ ts_bgw_j...
2
2
1
[{"id": "G0", "claim": "The entrypoint records a hardcoded CALL statement even though jobs can be functions as well as procedures, so the recorded statement is wrong for function jobs.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Not passing at le...
null
timescale__timescaledb__7284
timescale/timescaledb
7,284
defect
616080ef107a8f1dfbc7983b24f998678da3ae24
8f47bc21b17e2f895281870ed7248f0ab401e81e
Add ability to plan based on chunk table AM
A chunk can use different table access methods so to support this more easily, cache the AM oid in the chunk struct. This allows identifying the access method quickly at, e.g., planning time. Disable-check: force-changelog-file
diff --git a/src/chunk.c b/src/chunk.c index 1863a24a91a4..3c84ae4fe38f 100644 --- a/src/chunk.c +++ b/src/chunk.c @@ -1620,6 +1620,7 @@ chunk_tuple_found(TupleInfo *ti, void *arg) chunk->hypertable_relid = ts_hypertable_id_to_relid(chunk->fd.hypertable_id, false); chunk->relkind = get_rel_relkind(chunk->table_id...
3
3
1
[{"id": "G0", "claim": "Set the chunk's amoid in ts_chunk_scan_by_chunk_ids too, and fetch amoid together with relkind in a single catalog lookup via a shared helper used in both places, so that no new catalog lookups are introduced in chunk expansion.", "category": "performance", "verdict": "supported", "priority": "P...
null
timescale__timescaledb__7291
timescale/timescaledb
7,291
defect
57c1dec450068c86077519854b365d47d03f2805
e9dd7d7f5b614176f1b1d06774e64f12f1e35a07
Refactor job error handling
Reorganized a bit the code to also record more failures in `bgw_job_stat_history` table. Also improved a bit the code coverage and added regression tests for `failed do start job` case. Disable-check: force-changelog-file
diff --git a/src/bgw/job.c b/src/bgw/job.c index 9c57d895fbc5..6cbba4634553 100644 --- a/src/bgw/job.c +++ b/src/bgw/job.c @@ -41,7 +41,6 @@ #include "extension.h" #include "job.h" #include "job_stat.h" -#include "jsonb_utils.h" #include "license_guc.h" #include "scan_iterator.h" #include "scanner.h" @@ -162,57 +...
2
2
0
[{"id": "G0", "claim": "The enum constant JOB_FAILURE should be renamed to something like JOB_FAILURE_IN_EXECUTION to make it absolutely clear it is not a generic error code and that failure to start has its own code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
timescale__timescaledb__7364
timescale/timescaledb
7,364
defect
64c36719fbe4a830d6a80eb9d4f45fe48c31387f
cfbcc74a88fcc15e7f1fe4a07e28c7254b4b467e
Fix issues with Hypercore TAM recompression
A truncate on a hypercore TAM table is executed across both compressed and non-compressed data. This caused an issue when recompressing because it tries to truncate also the compressed data. Fix this issue by introducing a flag that allows truncating only the non-compressed data. Another issue releated to cache inva...
diff --git a/tsl/src/compression/api.c b/tsl/src/compression/api.c index dcb5d7690778..257e71b36c4b 100644 --- a/tsl/src/compression/api.c +++ b/tsl/src/compression/api.c @@ -457,6 +457,20 @@ compress_chunk_impl(Oid hypertable_relid, Oid chunk_relid) (errmsg("new compressed chunk \"%s.%s\" created", NameStr...
3
2
1
[{"id": "G0", "claim": "Add a test covering the newly added SK_NO_COMPRESSED branch in hypercore_rescan (hypercore_handler.c line 595), which the pull request leaves uncovered.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The recompression test should...
null
timescale__timescaledb__7443
timescale/timescaledb
7,443
defect
5ae1d40d36f7c80b5d914d8abc463207c3e2818e
48d9385d0dae1e87d5a0f89282f1ceccaadc0c88
Add aliases for compression functions and views
This adds a set of aliases for existing compression functions and view to better reflect the column store capabilities of compressed hypertables. Note that there are no changes to the old interface at all, it remains the same. The procedures `convert_to_rowstore` and `convert_to_columnstore` are added as aliases to ...
diff --git a/.unreleased/pr_7443 b/.unreleased/pr_7443 new file mode 100644 index 000000000000..1a644d5066c8 --- /dev/null +++ b/.unreleased/pr_7443 @@ -0,0 +1 @@ +Implements: #7443 Add Hypercore aliases diff --git a/sql/maintenance_utils.sql b/sql/maintenance_utils.sql index 430f62dd81c4..e52b2b227a53 100644 --- a/sql...
12
8
2
[{"id": "G0", "claim": "The new maintenance API aliases (convert_to_columnstore/convert_to_rowstore) should be procedures rather than functions, to leave room for more flexible conversions such as using multiple transactions.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
timescale__timescaledb__7701
timescale/timescaledb
7,701
defect
55fec68c17984672e28a110b022041774f5874e9
85aa2ea4e9326965e413cb689b856690335a1ece
Implement bool compression (#7233)
Reusing the existing Simple8bRLE algorithm for bools. I added a new compression type specifically for this case called 'bool'. A new GUC is introduced so we can revert to the previous, array compression for bools: `timescaledb.enable_bool_compression`. It defaults to `false`. To enable bool compression set the...
diff --git a/.unreleased/pr_7700 b/.unreleased/pr_7700 new file mode 100644 index 000000000000..9517f522ca20 --- /dev/null +++ b/.unreleased/pr_7700 @@ -0,0 +1 @@ +Implements: #7700 Implement bool compression diff --git a/sql/pre_install/insert_data.sql b/sql/pre_install/insert_data.sql index 0ef2cf907c77..65f01bbc127b...
12
10
5
[{"id": "G0", "claim": "Compress bools directly in the Arrow representation (a values bitmap and a validity bitmap of the same length, validity 1 = non-null) instead of a nulls bitmap, so decompression needs no negation or reshuffling and the code is simpler.", "category": "design", "verdict": "supported", "priority": ...
null
timescale__timescaledb__7890
timescale/timescaledb
7,890
defect
23a1fd395ff7496c847d74acc05de4f37ef5c97f
672aa0c19c534219a8332e6d4e6123a7ef9ec71f
Flush error state before doing anything else
If the function `FlushErrorState` is not called immediately after `CopyErrorData`, or at least before doing any serious work that can throw another error, it can exhaust the error stack (which is very small). This commit moved calls of `FlushErrorState` to immediately after `CopyErrorData` to reset the error stack a...
diff --git a/.unreleased/pr_7890 b/.unreleased/pr_7890 new file mode 100644 index 000000000000..82f53817a592 --- /dev/null +++ b/.unreleased/pr_7890 @@ -0,0 +1 @@ +Fixes: #7890 Flush error state before doing anything else diff --git a/src/bgw/job.c b/src/bgw/job.c index b28f21fba532..73e27a40c8a7 100644 --- a/src/bgw/j...
1
1
0
[{"id": "G0", "claim": "The try-catch error handling in calculate_next_start_on_failure (and similar spots in this code) does neither local cleanup plus rethrow nor cleanup plus a new transaction, so processing continues with the next tuple while still in error state; the reviewer questions whether the change makes muc...
null
timescale__timescaledb__7893
timescale/timescaledb
7,893
defect
23a1fd395ff7496c847d74acc05de4f37ef5c97f
a55c32a8aa309e1a3e222ed0920e0605031a3ae8
Don't process hard errors in with-clause parser
When parsing WITH clause arguments for ALTER TABLE to extract compression parameters, syntax errors in the text format are caught using PG_TRY and PG_CATCH and then processing the errors to add more information. If an out-of-memory error occurs inside execution of the input function and this error is caught, it can ...
diff --git a/src/with_clause_parser.c b/src/with_clause_parser.c index d8826b1f9189..c9c3e8e38e9f 100644 --- a/src/with_clause_parser.c +++ b/src/with_clause_parser.c @@ -9,6 +9,7 @@ #include <access/htup_details.h> #include <catalog/pg_type.h> #include <commands/defrem.h> +#include <nodes/miscnodes.h> #include <no...
1
1
1
[{"id": "G0", "claim": "InputFunctionCallSafe() only exists in PostgreSQL 16 and later, so the unconditional call added in S1 will not build on the older PostgreSQL versions this code supports.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
timescale__timescaledb__7899
timescale/timescaledb
7,899
defect
4653c721c5c4c6f0ef880bf06d6676fcec36343b
00c9ffb1aaf51b35df6b725a3015903fb84faeb8
Implement vectorized decompression for bools
This change decompresses into an array of uint64 values and add the supporting code into Simple8bRleBitArray. With this the ArrowArray stores bits and not bytes. A new DecompressionType was added: DT_ArrowBits to inform the decompression logic about the data format. The TSL planner is also modified so it generates t...
diff --git a/.github/workflows/linux-build-and-test.yaml b/.github/workflows/linux-build-and-test.yaml index db8977de5a97..35c63f86c167 100644 --- a/.github/workflows/linux-build-and-test.yaml +++ b/.github/workflows/linux-build-and-test.yaml @@ -318,7 +318,9 @@ jobs: if: always() && contains(matrix.name, 'Flaky...
7
7
3
[{"id": "G0", "claim": "The PR should not silence the debug GUC's elog(ERROR) by filtering it out in the CI jq checks and annotating the test output with 'ignore this error in CI'; instead the debug check should be adjusted to not use elog and raise a proper SQL state code (ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE rath...
null
timescale__timescaledb__8014
timescale/timescaledb
8,014
defect
c3bb352b29805328cb7b0e10c4019b89205701e0
8d388a1e0b714b6f209d4d0302163f8c058d6544
Enable bool compression
This change sets the default for the GUC value: `timescaledb.enable_bool_compression=true` It enables bulk decompression for array and dictionary compression for BOOLs because this is mandatory to support upgrades to 2.20.
diff --git a/.unreleased/pr_8014 b/.unreleased/pr_8014 new file mode 100644 index 000000000000..ad87cfdd38c5 --- /dev/null +++ b/.unreleased/pr_8014 @@ -0,0 +1 @@ +Implements: #8014 enable bool compression by default by setting `timescaledb.enable_bool_compression=true` diff --git a/src/guc.c b/src/guc.c index 1ede05aa...
4
2
1
[{"id": "G0", "claim": "The changelog should mention that downgrading to a version without bool compression support (2.18 or earlier) requires using the script that recompresses the affected chunks.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": ...
null
timescale__timescaledb__8085
timescale/timescaledb
8,085
defect
6b30abdcb770feb27612cea3b6dcadfc55b68c63
743a98b9b40b0b7d41c046acd37a43545b8100f3
Account for startup costs for likely SkipScan plans
Fixes: #8056 Disable-check: force-changelog-file We want to backport to 2.20 to make sure more valid compressed SkipScan plans are selected.
diff --git a/src/import/allpaths.c b/src/import/allpaths.c index 31e350a96af5..5de2b57492a8 100644 --- a/src/import/allpaths.c +++ b/src/import/allpaths.c @@ -218,6 +218,11 @@ ts_set_append_rel_pathlist(PlannerInfo *root, RelOptInfo *parent_rel, Index pare * Child is live, so add it to the live_childrels list for u...
3
1
0
[{"id": "G0", "claim": "Propagating consider_startup from chunk to the hypertable parent rel seems unnecessary because SkipScan planning is strictly per-chunk, and for append paths above SkipScan the startup cost is not important, so the change probably masks some unrelated cost problem.", "category": "design", "verdic...
null
timescale__timescaledb__8369
timescale/timescaledb
8,369
defect
053a913cbbb93262a558cfd756c6f24facfb7a5e
3093a10ab8772fc82c367e36301251b1688b445f
Refactor parts of the delta-delta compression
to split up the UUID compression PR. In this refactor, I make changes such that we can serialize compressed but data into a buffer, rather than let finalize() allocate the space and then we copy the data. This saves a few allocations and memcpy calls. To enable the above changes we need a precise way to know the si...
diff --git a/tsl/src/compression/algorithms/deltadelta.c b/tsl/src/compression/algorithms/deltadelta.c index 45d573e365c5..3f9912216f8f 100644 --- a/tsl/src/compression/algorithms/deltadelta.c +++ b/tsl/src/compression/algorithms/deltadelta.c @@ -301,69 +301,97 @@ delta_delta_compressor_alloc(void) return compressor;...
5
4
3
[{"id": "G0", "claim": "The check `delta_deltas->num_elements < nulls->num_elements` would reject old data for which the two element counts can be equal (data written before the NULL compression algorithm existed).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1...
null
timescale__timescaledb__8414
timescale/timescaledb
8,414
defect
c6cf17a44d8ea437e50b9af205ea4cc525e9c1ef
20188fa666a2ed35b0a17caec2e40572314ab721
Vectorize uuid eq, ne and bulk decomp UUIDs
Add vectorisation for UUID Eq and Ne filters and support bulk decompression for UUIDs for: - the new UUID compression - dictionary compression - array compression The vectorisation brings about 2x improvements for the UUID filters, plus it allows combining vectorised UUID filters with other vectorised filter c...
diff --git a/.unreleased/pr_8414 b/.unreleased/pr_8414 new file mode 100644 index 000000000000..d87d65b13452 --- /dev/null +++ b/.unreleased/pr_8414 @@ -0,0 +1 @@ +Implements: #8414 Vectorised filtering of UUID Eq and Ne filters, plus bulk decompression of UUIDs diff --git a/tsl/src/compression/algorithms/array.c b/tsl...
6
5
1
[{"id": "G0", "claim": "uuid_decompress_all should assert that the compressed datum is already detoasted (detoasting is the caller's responsibility, via the more efficient custom detoaster) instead of calling PG_DETOAST_DATUM itself.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced...
null
timescale__timescaledb__9257
timescale/timescaledb
9,257
defect
ec1c680de0e4dcad50151125644ab7e826974258
62fbdacde6a48ca5978f946b519b6e17cce4b4f7
Fix created EM datatype for metadata columns
When dealing with binary coercable types like varchar in compression settings, equivalence members need to include RelabelTypes on top of generated Vars in order to be correct. This change also uncovered an issue with using such types with segmentby columns and vectorized aggregation so disabling it for such cases...
diff --git a/.unreleased/pr_9257 b/.unreleased/pr_9257 new file mode 100644 index 000000000000..9e88ce69bbbb --- /dev/null +++ b/.unreleased/pr_9257 @@ -0,0 +1 @@ +Fixes: #9257 Handle type coercion for metadata column equivalence members diff --git a/src/import/planner.c b/src/import/planner.c index f2fd7dae8beb..8d5ec...
4
3
0
[{"id": "G0", "claim": "The code strips a RelabelType above and then canonicalize_ec_expression adds one back, so consider reusing the original expression instead.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Reword the comment on the vectorizability che...
null
timescale__timescaledb__9312
timescale/timescaledb
9,312
defect
f19465e25240cb48c6eaeba9f9c5509c8edc7c28
8d4c5edd004f4d9ecc5f4f78ed2e4c93052b9281
Remove advisory locks from bgw jobs and add graceful cancellation
Replace advisory lock-based job synchronization with a simpler signal-based approach. Advisory locks caused deadlocks between delete_job and running workers. Fixes: #6152
diff --git a/src/bgw/job.c b/src/bgw/job.c index 8fcac042a546..ca3a4caf0027 100644 --- a/src/bgw/job.c +++ b/src/bgw/job.c @@ -16,13 +16,12 @@ #include <parser/parser.h> #include <pgstat.h> #include <postmaster/bgworker.h> +#include <signal.h> #include <storage/ipc.h> #include <storage/lock.h> -#include <storage/p...
3
2
2
[{"id": "G0", "claim": "Removing the advisory locks appears to leave running jobs unprotected against concurrent modification, and the author should share context or a doc describing why the change is needed and why it does not break job processing.", "category": "correctness", "verdict": "opposed", "priority": "P1", "...
null
timewave-computer__covenants__115
timewave-computer/covenants
115
defect
47e0bf99f131f54ff053a071652b9315ecc1bf50
6d6684e2593a3485fd0054f73886a841796b0740
interchain router
Closes #114
diff --git a/Cargo.lock b/Cargo.lock index 2c2b52be..37465e2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -453,6 +453,35 @@ dependencies = [ "thiserror", ] +[[package]] +name = "covenant-interchain-router" +version = "1.0.0" +dependencies = [ + "anyhow", + "base64 0.13.1", + "bech32", + "cosmos-sdk-proto 0.14.0", ...
1
1
0
[{"id": "G0", "claim": "The README should mention that the router tries to send all the balances for all denoms in the contract account.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
timewave-computer__covenants__19
timewave-computer/covenants
19
defect
7d55dc1002219083588fa82dbd332c223d6695d5
4b905144cdf2f0bada0bcd57be2fedcd9069f555
base covenant
Base covenant implementation. On instantiation starts a chain of submessages that instantiates clock, holder, lp, ls, and depositor. Not unit tested.
diff --git a/.gitignore b/.gitignore index 8ba95355..a4e8210c 100644 --- a/.gitignore +++ b/.gitignore @@ -31,4 +31,4 @@ ci/configs/cosm-orc/local.yaml contracts/**/Cargo.lock packages/**/Cargo.lock -*.lock +Cargo.lock diff --git a/Cargo.lock b/Cargo.lock index 91fb5689..69e10113 100644 --- a/Cargo.lock +++ b/Cargo...
4
3
0
[{"id": "G0", "claim": "Use the new schema generation approach (write_api! bin) instead of export_schema, and add query responses so query return types appear in the generated schema.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use the #[cw_ser...
null