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
wiredtiger__wiredtiger__13028
wiredtiger/wiredtiger
13,028
defect
16020c3f168a034367bf8d0feed2ecd4235fb911
70511ecd1b9161c7caaf82c68b30b8c4ef893602
WT-16282 test/format (disagg multi node) Synchronise leader and follower
I used socketpair for synchronisation (signal) and shared memory for hashes. The logic implements a double-barrier synchronisation. I initially attempted to use named semaphores, but faced compatibility issues on macOS. I also considered using shared murexes, but they introduced too much complexity for this specific re...
diff --git a/test/format/format.h b/test/format/format.h index 81f1dab79f1..653405425e7 100644 --- a/test/format/format.h +++ b/test/format/format.h @@ -35,6 +35,7 @@ #include <sys/resource.h> #endif #include <signal.h> +#include <sys/socket.h> #define BUILDDIR "../../" #define EXTPATH BUILDDIR "ext/" /* Extensi...
4
3
1
[{"id": "G0", "claim": "The wt_shared qualifier the PR removed from the leader/follower hash fields may still be needed, since without it the compiler or processor could delay updating these fields across the sync boundary.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {...
null
wiredtiger__wiredtiger__13040
wiredtiger/wiredtiger
13,040
defect
549e9abfc5397c8dcb6df412e327b60cccec0f89
da7fc6b6aa91d11cccf3c0c9dc82a2fca0c82c92
WT-16383 Refactor checkpoint crash point
This pull request refactors our checkpoint crash mechanism. Here are some technical changes I have done: - Combined key_provider and checkpoint crash points together and extracted it to a seperate function. - Seperate existing checkpoint crash points into relative checkpoint crash point and specific checkpoint crash...
diff --git a/dist/api_data.py b/dist/api_data.py index 3179583cd0f..90eeb29775f 100755 --- a/dist/api_data.py +++ b/dist/api_data.py @@ -2078,17 +2078,17 @@ def __ge__(self, other): Config('checkpoint_cleanup', 'false', r''' if true, checkpoint cleanup thread is triggered to perform the checkpoint...
4
3
2
[{"id": "G0", "claim": "The name checkpoint_crash_relative_point (and the matching session variable) does not capture the intent and renaming the existing parameter is unfortunate; pick a better name for the new parameter instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
wiredtiger__wiredtiger__13042
wiredtiger/wiredtiger
13,042
defect
e00d8383d7b88b555332c3d51cfcddbb5a530d12
e3d36b809371c90d6b886fe1f24eab4a5e21f89a
WT-16458 Unify the mechanisms for updating shared metadata table
Refactor and unify different mechanisms through which the shared metadata table is updated. The new mechanism works as follows: * After the local metadata is updated, call __wt_disagg_update_metadata_later, which collects all relevant local metadata, and adds it to a queue of pending updates. * The checkpoint comp...
diff --git a/src/block_disagg/block_disagg_ckpt.c b/src/block_disagg/block_disagg_ckpt.c index 1d771bdbd96..9369e969dfb 100644 --- a/src/block_disagg/block_disagg_ckpt.c +++ b/src/block_disagg/block_disagg_ckpt.c @@ -119,14 +119,15 @@ __block_disagg_checkpoint_resolve(WT_BM *bm, WT_SESSION_IMPL *session, bool fail ...
6
6
1
[{"id": "G0", "claim": "The magic numbers 3 and 10 used for the metadata key buffer sizing should be replaced with something better.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "WT_CHECK_AND_RESET(ret, 0) is used incorrectly after WT_ERR_NOTFO...
null
wiredtiger__wiredtiger__13054
wiredtiger/wiredtiger
13,054
defect
4865e47766eb73685c8ef976492936f2ab67507a
0956be04c38778c6eac3753e60c7457e9ea92698
WT-16292 Ensure that we read from the matching shared history store checkpoints after reading a stable table in standby
This approach is inspired by how history store checkpoints are handled for checkpoint cursors. When opening a checkpoint cursor, the matching history store checkpoint is pinned in the btree cursor, preventing it from disappearing while data is being read. For reading history in standby mode, a similar mechanism is i...
diff --git a/src/btree/bt_debug.c b/src/btree/bt_debug.c index 34f77c5c5ad..2e0a278b691 100644 --- a/src/btree/bt_debug.c +++ b/src/btree/bt_debug.c @@ -272,7 +272,7 @@ __debug_config(WT_SESSION_IMPL *session, WT_DBG *ds, const char *ofile, uint32_t if (!F_ISSET(conn, WT_CONN_IN_MEMORY) && !WT_IS_HS(session->dhand...
4
1
1
[{"id": "G0", "claim": "Taking the checkpoint lock may be unacceptable if picking up a new checkpoint may take a long time.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "If holding the checkpoint lock makes the checkpoint-missing race impossible, t...
null
wiredtiger__wiredtiger__13068
wiredtiger/wiredtiger
13,068
defect
3951d18f031f2f8abaa8bb4b76a3f0242a72df52
198ddc84f2ef892e48ed47db5e4bcabfccfbdddd
WT-15800 Prevent follower from writing pages to shared btrees.
- Assert all cursors on shared btrees are now readonly. - Don't do truncate on history store on the standby.
diff --git a/src/cursor/cur_hs.c b/src/cursor/cur_hs.c index eb8d9eeab95..ae3ccee7802 100644 --- a/src/cursor/cur_hs.c +++ b/src/cursor/cur_hs.c @@ -56,6 +56,7 @@ __curhs_file_cursor_open(WT_SESSION_IMPL *session, const char *uri, const char * */ WT_ERR(__wt_buf_fmt(session, stable_uri_buf, "%s/%s", ...
8
4
2
[{"id": "G0", "claim": "Setting the read-only config on the history-store checkpoint cursor open in cur_hs.c is redundant because the btree is already marked read-only elsewhere, so it should be removed and the underlying mechanism relied on instead.", "category": "design", "verdict": "supported", "priority": "P2", "sc...
null
wiredtiger__wiredtiger__13092
wiredtiger/wiredtiger
13,092
defect
17a1fb9198280160d913d6d3aabc95eeee3da48e
02ed5040bd6e00f71c51c6c296ef97df62886798
WT-16269 Make 'drain_threads' configurable in test format
[WT-16268](https://jira.mongodb.org/browse/WT-16268) implemented multi threaded ingest table drain. In doing so it added the configuration drain_threads under the disaggregated config. This config is currently hard coded to 4 in test format but to increase our testing coverage we should allow it to be randomized from 1...
diff --git a/test/format/config.h b/test/format/config.h index 5a6bc48f2ad..d3bd0004330 100644 --- a/test/format/config.h +++ b/test/format/config.h @@ -95,95 +95,96 @@ typedef struct { #define V_GLOBAL_DISAGG_PAGE_LOG 63 #define V_GLOBAL_DISAGG_KEY_PROVIDER 64 #define V_GLOBAL_DISAGG_PAGE_LOG_VERBOSE 65 -#define V_...
5
5
2
[{"id": "G0", "claim": "test_util.h still needs to pass drain_threads into TESTUTIL_ENV_CONFIG_DISAGG, using the value test/format determines, rather than leaving the connection string without it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The c...
null
wiredtiger__wiredtiger__13115
wiredtiger/wiredtiger
13,115
defect
e01abe8f3bf1fb2d8b6763a1266c38a288c364ef
4a58c082ff35974766072c239346372357e4639e
WT-16565 Refactor removal of shared metadata to use queue
After WT-16458 refactors how we update the shared metadata table, so that we put all updates in a queue and then process them during a checkpoint. I have re-used the queue to also queue removes. Here are some technical changes I have made: - Renamed queue and related variables from `update_metadata_qh` to `shared_meta...
diff --git a/dist/s_string.ok b/dist/s_string.ok index 6bb8013533f..defa68d700d 100644 --- a/dist/s_string.ok +++ b/dist/s_string.ok @@ -755,6 +755,7 @@ encryptors endian endptr enomem +enqueue enum env eof diff --git a/src/block_disagg/block_disagg_ckpt.c b/src/block_disagg/block_disagg_ckpt.c index 62525e4481a....
11
11
0
[{"id": "G0", "claim": "The author would ideally like to combine __disagg_update_shared_metadata and __disagg_remove_shared_metadata into one function, pending reviewers' thoughts.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The doc comment of __wt_di...
null
wiredtiger__wiredtiger__13146
wiredtiger/wiredtiger
13,146
defect
66539698610e032e4e7fb5418e40e336e16e703a
34e5dad2f192683e4b5a4ebda5dffce7c1af95bd
WT-16543 Create a struct for disagg options in TEST_OPTS
As of [WT-16269](https://jira.mongodb.org/browse/WT-16269) there are several disagg-specific (prefixed with 'disagg_') options in the TEST_OPTS parsing structure that is commonly used across test suites, including test format. This goal of this ticket is to consolidate them into a struct field (in TEST_OPTS), making...
diff --git a/test/checkpoint/checkpointer.c b/test/checkpoint/checkpointer.c index d20b8c86574..df9a7d37271 100644 --- a/test/checkpoint/checkpointer.c +++ b/test/checkpoint/checkpointer.c @@ -332,7 +332,7 @@ real_checkpointer(THREAD_DATA *td) /* Verify the checkpoint we just wrote. */ /* FIXME-WT-1...
3
2
0
[{"id": "G0", "claim": "The remaining disagg-related fields — palm_map_size_mb (which should be renamed page_log_map_size_mb), page_log_verbose, and the internal/leaf page delta flags — should be moved into the disagg struct.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
wiredtiger__wiredtiger__13167
wiredtiger/wiredtiger
13,167
defect
002e80f091110f14038f8b0d21edcee3da605db6
2f893edb1df9c71cfdb0c0126cd4820ba5f57fb3
WT-16641 bytes_total leak in disagg during 1-for-1 page swap
Fix `bytes_total` leak during 1:1 page swaps by properly decrementing the size counter when old page versions are retained as part of disagg perf optimisations. In the `WT_PM_REC_REPLACE` path, we optimise 1:1 swaps by retaining old blocks instead of freeing them. This meant that `bytes_total` was only incremented duri...
diff --git a/src/block_disagg/block_disagg_addr.c b/src/block_disagg/block_disagg_addr.c index b1b88bf995e..31f0f914372 100644 --- a/src/block_disagg/block_disagg_addr.c +++ b/src/block_disagg/block_disagg_addr.c @@ -128,12 +128,12 @@ __wti_block_disagg_addr_pack( } /* - * __wti_block_disagg_addr_unpack -- + * __wt...
6
4
1
[{"id": "G0", "claim": "The reviewer asks whether bytes_total, being the on-disk size of the btree, should instead just be aggregated in checkpoint during reconciliation.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's test failures mus...
null
wiredtiger__wiredtiger__13201
wiredtiger/wiredtiger
13,201
defect
3b5967b714c99d71936bd491e97f24ea6bb802e9
614e8ec3f30232abfde059257d4daa1ab1f2db8c
WT-16497 Add atmoic operations for btree->evict_ref
This PR addresses the TSAN conflict related to btree->evict_ref arising from the following session stack traces: Read Path: __wt_ref_out __evict_page_clean_update __wt_evict __evict_page __evict_lru_pages __evict_thread_run __thread_run Write Path: __evict_clear_walk __evict_clear_walk_and_saved_tree_if_curr...
diff --git a/src/btree/bt_discard.c b/src/btree/bt_discard.c index 504fa43ee94..097b07c25d3 100644 --- a/src/btree/bt_discard.c +++ b/src/btree/bt_discard.c @@ -28,7 +28,7 @@ __wt_ref_out(WT_SESSION_IMPL *session, WT_REF *ref) * * The WT_REF cannot be the eviction thread's location. */ - WT_ASSERT(...
2
1
1
[{"id": "G0", "claim": "Test coverage of the added/changed code is very low (79% line, 76% branch); improve it if feasible.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use relaxed atomic loads/stores for the remaining plain accesses to btree->evict_r...
null
wiredtiger__wiredtiger__13233
wiredtiger/wiredtiger
13,233
defect
ba957128fdeb502d3fd9c878c993afa46875834d
4d90e17a27108298b8456e7d21e7d16456f6f3c0
WT-16698 Measure checkpoint cleanup time
The changes add statistics and verbose messages to track the time it takes for checkpoint cleanup to process eligible files and how many files are processed each iteration.
diff --git a/dist/stat_data.py b/dist/stat_data.py index 03788af625d..406a8f1384b 100644 --- a/dist/stat_data.py +++ b/dist/stat_data.py @@ -485,6 +485,8 @@ def __init__(self, name, desc, flags=''): ########################################## # Checkpoint statistics #######################################...
11
8
1
[{"id": "G0", "claim": "The reviewer thread asks whether checkpoint_cleanup_pages_visited should also be incremented inside __sync_obsolete_inmem_evict_or_mark_dirty to make it complete, or whether the pages visited by the walk should instead be counted at the caller level.", "category": "design", "verdict": "supported...
null
wiredtiger__wiredtiger__13235
wiredtiger/wiredtiger
13,235
defect
97a4d616ee5486c234b6ee53c3d3a75546cca807
26137c57c1c93c4a6169a00e63636609091d242c
WT-16652 evict file assertion failed page should be evictable during discard
When COMPACT and ALTER operations run on different btrees, the global split generation check in __wt_gen_active() incorrectly blocks eviction of internal pages. Modified __wt_page_can_evict to only split generation check when the dhandle is exclusively locked.
diff --git a/src/include/btree_inline.h b/src/include/btree_inline.h index 8d302d0e900..2b49572bd70 100644 --- a/src/include/btree_inline.h +++ b/src/include/btree_inline.h @@ -2409,6 +2409,7 @@ __wt_page_can_evict(WT_SESSION_IMPL *session, WT_REF *ref, bool *inmem_splitp) * be looking at an old index. */ ...
7
5
0
[{"id": "G0", "claim": "The test's description comment should mention ALTER (which is what thread_func_alter runs) rather than saying the DROP command triggers the scenario, or clarify why DROP is mentioned.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
wiredtiger__wiredtiger__13238
wiredtiger/wiredtiger
13,238
defect
1b665373914e499661b65a408c23700fdbff532b
64e3e4657efbd5e961614fab160af9aa022e816a
WT-16522 Sanitize stats
Added formatting of stat descriptions. Leading and trailing white spaces are removed, and trailing punctation is removed (.,;:!?).
diff --git a/dist/stat.py b/dist/stat.py index 513c5d262af..7b2e12a6b1e 100644 --- a/dist/stat.py +++ b/dist/stat.py @@ -19,6 +19,45 @@ ], prefix="../")]: sys.exit(0) +########################################## +# Check if line is a stat and extract the stat name. +######################################...
5
5
0
[{"id": "G0", "claim": "Remove the ########## banner comment above parse_stat_line for consistency with the other functions.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Rename the local variable `desc` in sanitize_description, which shadows t...
null
wiredtiger__wiredtiger__13250
wiredtiger/wiredtiger
13,250
defect
a1441ee91e2a764c88c721567ab81051f10931c0
51a84edf482d25c18a6310ef408cf2ee2ff14d60
WT-15207 Create POC Implementation Fast-Truncate
The pull request intends to create a POC implementation that produces a quick hacky way of performing fast truncate on leader and follower mode following the technical design. The aim is to implement a quick solution that implements planned design for MongoDB and WT. We want to understand that intended design has no hi...
diff --git a/dist/filelist b/dist/filelist index ae505b5bf2a..e3de6d91d9d 100644 --- a/dist/filelist +++ b/dist/filelist @@ -249,3 +249,4 @@ src/txn/txn.c src/txn/txn_log.c src/txn/txn_recover.c src/txn/txn_timestamp.c +src/txn/txn_truncate.c diff --git a/dist/filelist.bzl b/dist/filelist.bzl index 3f750b40401..24b0...
17
12
5
[{"id": "G0", "claim": "The new WT_TRUNCATE structure should not duplicate transaction ID and timestamp information that is retrieved from the session transaction information, to avoid accidentally using the wrong time information.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
wiredtiger__wiredtiger__13259
wiredtiger/wiredtiger
13,259
defect
2106bd37e8b7161e73b18b946115716a0c2d91f7
c22f1ab7f65904f7860adf25c9cada62783afb98
WT-16743 Refactor txn prepare resolution code to not depend on any session specific data
This is to allow the prepared resolution code to be shared with resolving prepared updates on the stable table during step-up.
diff --git a/dist/s_define.list b/dist/s_define.list index 83b4e4b4aa5..3838a23b27e 100644 --- a/dist/s_define.list +++ b/dist/s_define.list @@ -92,6 +92,7 @@ WT_READ_ONCE WT_REC_RESULT_SINGLE_PAGE WT_REF_SAVE_STATE_MAX WT_REF_SIZE +WT_RET_PANIC_ASSERT WT_SESSION_ID_INITIAL WT_SESSION_LOCKED_CHECKPOINT WT_SESSION...
6
4
1
[{"id": "G0", "claim": "Zunyiliu asks whether it is fine that, instead of switching on WT_TXN_OP_TYPE, the pull request now only distinguishes between BTREE_ROW and non-row cases when resolving prepared operations.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "cla...
null
wiredtiger__wiredtiger__13272
wiredtiger/wiredtiger
13,272
defect
bee330a7d7eb60283dddc991424776c0e2b5bb45
d08b491d338018d7fe030ceab7ed4bef9770f737
WT-16800 Create a checkpoint cleanup stats category
The checkpoint cleanup feature lives in its own thread therefore it deserves its own stat category. Currently, the related stats live in the Checkpoint category which can be confusing since those two features are independent.
diff --git a/dist/stat_data.py b/dist/stat_data.py index 2f63144fb4ed..af9968b556b4 100644 --- a/dist/stat_data.py +++ b/dist/stat_data.py @@ -72,6 +72,10 @@ class CapacityStat(Stat): prefix = 'capacity' def __init__(self, name, desc, flags=''): Stat.__init__(self, name, CapacityStat.prefix, desc, fl...
3
2
0
[{"id": "G0", "claim": "Remove the redundant 'checkpoint cleanup' phrase from the checkpoint_cleanup_inmem_pages_visited stat description.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The '-' in the 'checkpoint-cleanup' stat prefix is questionab...
null
wiredtiger__wiredtiger__13283
wiredtiger/wiredtiger
13,283
defect
e4a06290df0f2379dc2f9c08677f7227814296dc
a51caa72f7358d0d277dbc348e7034cef6bb5502
WT-16849 Fix checkpoint size mismatch due to double root accounting
Track root page transitions and handling root vs non-root page discards appropriately.
diff --git a/src/block_cache/block_mgr.c b/src/block_cache/block_mgr.c index 5cc54b5d776..b37e18553c0 100644 --- a/src/block_cache/block_mgr.c +++ b/src/block_cache/block_mgr.c @@ -495,8 +495,9 @@ __bm_encrypt_skip_size(WT_BM *bm, WT_SESSION_IMPL *session) * Free a block of space to the underlying file. */ sta...
10
7
1
[{"id": "G0", "claim": "Test coverage of the added/changed code is low (75% line, 60% branch) and the author should try to improve it if feasible.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new condition that skips the size decrement for root pa...
null
wiredtiger__wiredtiger__13336
wiredtiger/wiredtiger
13,336
defect
97150fa2623ea4c821c45460d4b595f5d534b43c
bb9093da957f380d4a21e9e96d5cce1f8a79ecd0
WT-16906 Fix a race condition between pushing checkpoint work and waiting for completion
Fix the race condition that we can hit if we get to `__wt_checkpoint_parallel_finish` before any of the done items get added to the queue and the semaphore is posted.
diff --git a/src/checkpoint/checkpoint_parallel.c b/src/checkpoint/checkpoint_parallel.c index ba75afc917f..5c326d6f839 100644 --- a/src/checkpoint/checkpoint_parallel.c +++ b/src/checkpoint/checkpoint_parallel.c @@ -393,8 +393,11 @@ __wt_checkpoint_parallel_finish(WT_SESSION_IMPL *session) WT_RET(__wt_semapho...
2
2
0
[{"id": "G0", "claim": "The retry after a NULL pop should call `__wt_yield()` rather than `__wt_sleep(0, 10)`.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `if os.name == 'nt':` skip in test_checkpoint38.py should be removed, since the test sh...
null
wiredtiger__wiredtiger__13344
wiredtiger/wiredtiger
13,344
defect
45fbfb7375c838044fc85a4a2224088c533726c6
fc079d241a97dc38561d918bba0cd2cbbf9e2892
WT-16559 On schema drop update the database size
This change pulls the metadata size, which is the size that we updated database size with out of the metadata for the table when it's metadata update is queued. The correctness here is provided via checkpoint, and therefore the same rollback mechanisms that apply to checkpoint are useful here too. Essentially a tab...
diff --git a/src/checkpoint/checkpoint_txn.c b/src/checkpoint/checkpoint_txn.c index e55bf8953d2..24a89b78652 100644 --- a/src/checkpoint/checkpoint_txn.c +++ b/src/checkpoint/checkpoint_txn.c @@ -864,7 +864,7 @@ __checkpoint_verbose_track(WT_SESSION_IMPL *session, const char *msg) * On completion of the checkpoi...
5
4
0
[{"id": "G0", "claim": "Add an assertion that session->ckpt.ckpt_size_delta is at least drop_size before subtracting it from the delta.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The get_database_size helper duplicated in test_disagg_checkpoint_size04....
null
wiredtiger__wiredtiger__13346
wiredtiger/wiredtiger
13,346
defect
45fbfb7375c838044fc85a4a2224088c533726c6
bfeff0f59ab9629bbc1f017b0df5ca48cff252cb
WT-16912 Add more information to checkpoint progress messages
The changes add two new fields to `__wti_ckpt_progress`: `files_checkpointed` and `pages_visited`. The `__checkpoint_progress` function is updated to report on the new fields.
diff --git a/src/btree/bt_sync.c b/src/btree/bt_sync.c index 563a22a945e..cd0b3f6d987 100644 --- a/src/btree/bt_sync.c +++ b/src/btree/bt_sync.c @@ -289,6 +289,7 @@ __wt_sync_file(WT_SESSION_IMPL *session, WT_CACHE_OP syncop) WT_STAT_CONN_INCR(session, checkpoint_pages_visited_internal); e...
8
5
0
[{"id": "G0", "claim": "The new progress message reports a cache-dirty figure the PR description does not mention; either update the PR description to include it or drop it from the message to keep the change aligned with the stated scope.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope"...
null
wiredtiger__wiredtiger__13352
wiredtiger/wiredtiger
13,352
defect
fb883bf51152f90871c91497c2e4ed3b4b90b541
4f8d794091333740e9a396e4780c5d33ab7e4775
WT-16893 Add functionality to preserve ingest and other tables on test/format data mismatches.
We save the ingest, current stable and layered table "views" as well as the current (combined - shared/unshared) metadata table.
diff --git a/test/format/config.h b/test/format/config.h index 711099d3725..7086bf5ecd2 100644 --- a/test/format/config.h +++ b/test/format/config.h @@ -96,96 +96,97 @@ typedef struct { #define V_GLOBAL_DISAGG_KEY_PROVIDER 64 #define V_GLOBAL_DISAGG_PAGE_LOG_VERBOSE 65 #define V_GLOBAL_DISAGG_DRAIN_THREADS 66 -#defi...
17
13
1
[{"id": "G0", "claim": "Preserving tables should be tied to a configurable option (e.g. disagg.preserve=10000) rather than being hardcoded, as the author flags the change as incomplete in that respect.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Dumpi...
null
wiredtiger__wiredtiger__13435
wiredtiger/wiredtiger
13,435
defect
04b6899b96755fe248cb208ee6557f734d29c4dd
02805718a860749a29de9f3c1556a6d7b316d8ef
WT-17035 relayering ckpt size from btree to bm
Size tracking fields (`bytes_total`, `current_root_size`, `previous_root_size`, `root_size_gen`) are disagg related and don't belong on `WT_BTREE`. This PR moves them to `WT_BLOCK_DISAGG` and consolidates all size operations into a new `block_disagg_size.c`. The three helpers in `btree_inline.h` have been replaced b...
diff --git a/src/block_disagg/block_disagg_ckpt.c b/src/block_disagg/block_disagg_ckpt.c index 56f489ecc5c..3cfa1a2df87 100644 --- a/src/block_disagg/block_disagg_ckpt.c +++ b/src/block_disagg/block_disagg_ckpt.c @@ -19,15 +19,12 @@ __bmd_checkpoint_pack_raw(WT_BLOCK_DISAGG *block_disagg, WT_SESSION_IMPL *sessio WT_...
4
4
4
[{"id": "G0", "claim": "Add block-manager increase_size and decrease_size APIs for DSC (without implementing them in ASC) so the btree inline helpers stop reaching into the disaggregated block manager, to make the layering work correctly.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "intro...
null
wiredtiger__wiredtiger__13442
wiredtiger/wiredtiger
13,442
defect
930102ef7d6cb5bd05825a794809f48f988f5b31
f4ab0538aa25c4209c763ae711b3eb3f1301dee4
WT-17002 Add snap verification for precise checkpoints
**Root cause:** This issue happens when we perform a test/format step down (Shutdown and then restart). After test/format restarts, it picks up a new checkpoint with a stable timestamp. Before shutdown, operations committed at timestamps > stable timestamp are invisible to the follower. However the snap verify mechanis...
diff --git a/test/format/format.h b/test/format/format.h index 13bda05fd6f..4d51364fb04 100644 --- a/test/format/format.h +++ b/test/format/format.h @@ -485,6 +485,7 @@ void set_core(bool); void snap_init(TINFO *); void snap_op_init(TINFO *, uint64_t, bool); void snap_repeat_rollback(WT_SESSION *, TINFO **, size_t);...
1
1
1
[{"id": "G0", "claim": "Instead of the S1 approach of clearing snap entries above the stable timestamp on stepdown, snap verification for precise checkpoints should run the snap check up to the stable timestamp by still calling snap_repeat_rollback in rollback_to_stable, which both checks and clears the snap lists.", "...
null
wiredtiger__wiredtiger__13444
wiredtiger/wiredtiger
13,444
defect
e554e91934c0988e4f054657c6b6c469711a73dd
688b705a566a78618ed68a26ac2fb2d53245974f
WT-16948 Remove chunk cache statistics
Remove all chunk cache statistics from WiredTiger as part of chunk cache deprecation.
diff --git a/dist/s_define.list b/dist/s_define.list index 3838a23b27e..ff25a30aa63 100644 --- a/dist/s_define.list +++ b/dist/s_define.list @@ -36,6 +36,7 @@ WT_ATOMIC_CAS_FUNC WT_ATOMIC_FUNC WT_ATOMIC_FUNC_STORE_LOAD WT_BACKUP_INVALID +WT_BINARY_SEARCH_STRING WT_BLOCK_DESC_SIZE WT_BLOCK_DISAGG_CHECKPOINT_BUFFER ...
2
2
1
[{"id": "G0", "claim": "The WT_BINARY_SEARCH_STRING entry this PR adds to dist/s_define.list is unexpected and unneeded: with the chunk-cache code removed, the macro's only remaining users are unit tests, so the removal looks incomplete.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope"...
null
wiredtiger__wiredtiger__13466
wiredtiger/wiredtiger
13,466
defect
732ed80387dfddcf4d73b83deaf244056d19f5a8
c401a48eff22ac77c8157bbf344b1af425df29ed
WT-17043 fix data race issue by saving a copy of checkpoint snapshot
This change uses a copy of the checkpoint snapshot for parallel checkpoint instead of reading txn->snapshot_data to prevent data races. Patch build: [link](https://spruce.corp.mongodb.com/version/69ccffc0219270000703fe88/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC)
diff --git a/src/checkpoint/checkpoint.h b/src/checkpoint/checkpoint.h index 863ec7f435d..3b3c57be06c 100644 --- a/src/checkpoint/checkpoint.h +++ b/src/checkpoint/checkpoint.h @@ -209,6 +209,10 @@ struct __wt_checkpoint_reconcile_threads { TAILQ_HEAD(__wt_checkpoint_reconcile_done_qh, __wt_checkpoint_page_to_reco...
7
6
0
[{"id": "G0", "claim": "Explicitly setting checkpoint_snapshot_array to NULL right after __wt_free is redundant, because __wt_free already sets the pointer to NULL.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The field checkpoint_snapshot_siz...
null
wiredtiger__wiredtiger__13469
wiredtiger/wiredtiger
13,469
defect
fc53678ff07d9732432ca0c1013ac366f8ec037b
a167a550d7ef92ec2041e74c1951bf7694f03265
WT-15380 Implement a new logging API for Hardware Corruption Logs leveraging WiredTiger Unique IDs
This pull request adds a new error logging API that attaches unique log IDs to hardware corruption messages in WiredTiger, and begins using it to tag block read checksum errors for easier detection in the Atlas fleet. Summary Introduce __wt_errx_id(session, log_id, ...), a new error macro that parallels the existin...
diff --git a/src/block/block_read.c b/src/block/block_read.c index 5f810f8f2a2..619623f3f1d 100644 --- a/src/block/block_read.c +++ b/src/block/block_read.c @@ -313,13 +313,13 @@ __wti_block_read_off(WT_SESSION_IMPL *session, WT_BLOCK *block, WT_ITEM *buf, ui if (!F_ISSET(session, WT_SESSION_QUIET_CORRUPT_FILE))...
2
1
0
[{"id": "G0", "claim": "The reviewer asks why the explanatory comment about ignoring error returns from underlying event handlers was removed from __wt_errx_func in src/support/err.c, implicitly seeking justification or its restoration.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "...
null
wiredtiger__wiredtiger__13486
wiredtiger/wiredtiger
13,486
defect
d4213d7d006b4e92a2a83c6782dca6aca9397ec3
2e965e883f97404e611ff5ac637c08d6fa20ce02
WT-17081 Dump corrupt page in __wti_page_inmem
Dump page image when `__wti_page_inmem` encounters wrong page type.
diff --git a/src/block/block_read.c b/src/block/block_read.c index 5f810f8f2a2b..01f32751d92a 100644 --- a/src/block/block_read.c +++ b/src/block/block_read.c @@ -61,46 +61,6 @@ __wt_bm_read(WT_BM *bm, WT_SESSION_IMPL *session, WT_ITEM *buf, WT_PAGE_BLOCK_ME return (ret); } -/* - * __wt_bm_corrupt_dump -- - * ...
3
2
2
[{"id": "G0", "claim": "Making __wt_log_data_dump return void swallows its failures: the call sites ignore what the old code propagated, and since the function does not return ret it should log its own error when a step fails instead of proceeding silently.", "category": "correctness", "verdict": "supported", "priority...
null
wiremock__wiremock__1111
wiremock/wiremock
1,111
defect
79a7cb6ac79cac2d4bdc003d159cd3f0b9d3434b
9af734f71544180b4bbedece7338736f406d1bd9
Add support for unix timestamp in seconds
Fixes #1110 by adding support for `{{now format='unix'}}`
diff --git a/docs-v2/_docs/response-templating.md b/docs-v2/_docs/response-templating.md index fadde60fa1..27261a2763 100644 --- a/docs-v2/_docs/response-templating.md +++ b/docs-v2/_docs/response-templating.md @@ -283,11 +283,13 @@ Dates can be rendered in a specific timezone (the default is UTC): ``` {% endraw %} ...
1
1
0
[{"id": "G0", "claim": "The literal 1000 used to convert milliseconds to seconds should be extracted to a constant or expressed with Duration.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wiremock__wiremock__1557
wiremock/wiremock
1,557
defect
8a35de8a9ec456c119c87ec8b703f86231993b55
b2e400002377aedb1f8573bfe00bbd5db075820c
Fix #1545 - Parse null json
fixes #1545 - Add 2 unit tests for if null is passed in (TAGTYPE.Section as an extra condition) - Add 2 unit tests for if "{}" is passed in (TAGTYPE.Section as an extra condition) - Fix these two edge cases by adding a conditional at the beginning and returning an empty map in this case
diff --git a/src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/helpers/ParseJsonHelper.java b/src/main/java/com/github/tomakehurst/wiremock/extension/responsetemplating/helpers/ParseJsonHelper.java index a7ed9a9bb0..84faab6e0a 100644 --- a/src/main/java/com/github/tomakehurst/wiremock/extension...
1
1
0
[{"id": "G0", "claim": "Bring the initialisation up so a single `result` variable is initialised to the empty map at the top of apply and returned in the edge cases, instead of declaring a separate `emptyJson` variable alongside a later `result`.", "category": "maintainability", "verdict": "supported", "priority": "P2"...
null
wiremock__wiremock__1592
wiremock/wiremock
1,592
defect
032348e504ffa29bc8cd7d92f12061dfd4a0e65a
7c180a94bed6c5a9597f52537dcf1413b7ec43f0
Allow standalone runner to fetch mappings from classpath
To allow consumers to shade their standalone JAR with the stubs they want to produce, for instance to allow there to be a single artefact with all their stubs and code, we should allow this being specified to be part of the classpath. This introduces a new flag, `--root-dir-under-classpath`, to allow configuring both ...
diff --git a/src/main/java/com/github/tomakehurst/wiremock/standalone/CommandLineOptions.java b/src/main/java/com/github/tomakehurst/wiremock/standalone/CommandLineOptions.java index 3add049fe9..420025a87e 100644 --- a/src/main/java/com/github/tomakehurst/wiremock/standalone/CommandLineOptions.java +++ b/src/main/java/...
3
3
0
[{"id": "G0", "claim": "The new mappings-source test is not good enough because a JsonFileMappingsSource is returned either way, and it should instead call CommandLineOptions.filesRoot() and check the runtime class of the result.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
wiremock__wiremock__1623
wiremock/wiremock
1,623
defect
9e80ce73216850d6c06e1bcd2b51f9ea41086caa
c667ed1dfdd191e8499e558d5af94d2072b7fbb8
Return an Bad Request when invalid `since` parameter is provided
As noted in #1595, we currently cause an Internal Server Error when an invalid date is provided to the admin `/requests` API. Instead of using the runtime exception `IllegalArgumentException`, which is less nice to try-catch, we can use a checked exception `ValidationException` which can then be mapped to a `Validatio...
diff --git a/src/main/java/com/github/tomakehurst/wiremock/admin/Conversions.java b/src/main/java/com/github/tomakehurst/wiremock/admin/Conversions.java index 660de8a951..119990ca6e 100644 --- a/src/main/java/com/github/tomakehurst/wiremock/admin/Conversions.java +++ b/src/main/java/com/github/tomakehurst/wiremock/admi...
6
5
2
[{"id": "G0", "claim": "Replace the deprecated com.fasterxml.jackson.databind.util.ISO8601DateFormat with StdDateFormat in Conversions.java, and ideally also in the other references across the project, since the pull request touches this code anyway.", "category": "maintainability", "verdict": "uncertain", "priority": ...
null
wiremock__wiremock__1625
wiremock/wiremock
1,625
defect
72c53cf8c0c23457a267c25bd3dd44a32500c8df
bb888a5a9171fc6bdd2d58fd44a792bdfe25a0b1
Adopt Apache HttpClient 5 for src/main
Replaces #1619 Fixes #1481 & #627
diff --git a/build.gradle b/build.gradle index 6bf416bf20..2ccb01d78e 100644 --- a/build.gradle +++ b/build.gradle @@ -51,6 +51,7 @@ dependencies { "com.fasterxml.jackson.core:jackson-annotations:$versions.jackson", "com.fasterxml.jackson.core:jackson-databind:$versions.jackson" compile "org.apac...
1
1
1
[{"id": "G0", "claim": "The pull request reverted the maintainer's recent change to this field, so it should be `private Boolean isPersistent = null;` again rather than `private boolean isPersistent = false;`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
wiremock__wiremock__1987
wiremock/wiremock
1,987
defect
5e22e6e34525796572fb0e6755ef8d893cdf99d5
39c58b5ca09a948fae93658dd828c2006d9b886a
Add NegativeContainsPattern (aka notContaining) (#1881)
Hi, found this issue https://github.com/wiremock/wiremock/issues/1881 as [good first issue](https://github.com/wiremock/wiremock/labels/good%20first%20issue) during [Hacktoberfest](https://hacktoberfest.com/).
diff --git a/src/main/java/com/github/tomakehurst/wiremock/client/WireMock.java b/src/main/java/com/github/tomakehurst/wiremock/client/WireMock.java index 353d9691e9..1f4857f1e7 100644 --- a/src/main/java/com/github/tomakehurst/wiremock/client/WireMock.java +++ b/src/main/java/com/github/tomakehurst/wiremock/client/Wir...
4
3
3
[{"id": "G0", "claim": "The JSON binding key for NegativeContainsPattern should be `doesNotContain` rather than the plural `doesNotContains`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The multipart test's Content-Type header should be matched with `...
null
wiremock__wiremock__2110
wiremock/wiremock
2,110
defect
18dc0dc86b9e11e99f116d83f13aa7e3eeca84b8
8d5ca643a7d3722cc29892651ee3a08105b9dace
Feature/multi value matcher for query params and headers
resolves #398 @tomakehurst Could you please check the approach and implementation? If it looks good, I will add more UTs. I have added functional tests to test multi-value matchers.
diff --git a/src/main/java/com/github/tomakehurst/wiremock/client/BasicMappingBuilder.java b/src/main/java/com/github/tomakehurst/wiremock/client/BasicMappingBuilder.java index 13d934ab68..fab7e030a2 100644 --- a/src/main/java/com/github/tomakehurst/wiremock/client/BasicMappingBuilder.java +++ b/src/main/java/com/githu...
6
6
5
[{"id": "G0", "claim": "The new withHeader overload on BasicMappingBuilder should return BasicMappingBuilder for consistency with the other overloads, instead of being typed ScenarioMappingBuilder (and returning null).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
wiremock__wiremock__2555
wiremock/wiremock
2,555
defect
b3874f041baad7c7466a11dfabc5125f802799b4
2f28e2d679e8d08f172bc6bbe25a2aa0456ff034
Added GET_OR_HEAD method.
<!-- Please describe your pull request here. --> Closes #2414 . This PR adds a GET_OR_HEAD method. This stub method could be used for both get as well as head Http method. The response and http header information is returned accordingly <!-- References to relevant GitHub issues and pull requests, esp. upstream and ...
diff --git a/src/main/java/com/github/tomakehurst/wiremock/client/WireMock.java b/src/main/java/com/github/tomakehurst/wiremock/client/WireMock.java index 4b14e82ea3..9a3b28f227 100644 --- a/src/main/java/com/github/tomakehurst/wiremock/client/WireMock.java +++ b/src/main/java/com/github/tomakehurst/wiremock/client/Wir...
3
2
1
[{"id": "G0", "claim": "Overriding equals() so that GET_OR_HEAD compares equal to GET and HEAD is not a good idea, since it would likely break using RequestMethod instances as map keys.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The GET_OR_HEAD accep...
null
wiremock__wiremock__3040
wiremock/wiremock
3,040
defect
206f90c8235933f4ebbecf6af2bf10c1043f2bf5
b1ceb445240619ec20a9d4cfa9c030a37ed2b938
allow StubMappingTransformer to return errors.
## Submitter checklist - [x] Recommended: Join [WireMock Slack](https://slack.wiremock.org/) to get any help in `#help-contributing` or a project-specific channel like `#wiremock-java` - [x] The PR request is well described and justified, including the body and the references - [x] The PR title represents the desi...
diff --git a/build.gradle.kts b/build.gradle.kts index 020cfd33b0..adac2b19da 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -46,6 +46,7 @@ dependencies { testImplementation(libs.json.schema.validator) testImplementation(libs.xmlunit.core) + testImplementation(libs.json.unit.core) implementation(...
1
1
0
[{"id": "G0", "claim": "The format method and its overrides in SnapshotOutputFormatter, along with the class itself, should be package private rather than public.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wiremock__wiremock__3041
wiremock/wiremock
3,041
defect
67e332a6727d27d10ac4e7cd604a75f5b440fc99
b5a93275394bc0c458c12b82c9eb506850a91af5
Mark APIs that will stop being public in v4.x as deprecated
## Submitter checklist - [x] Recommended: Join [WireMock Slack](https://slack.wiremock.org/) to get any help in `#help-contributing` or a project-specific channel like `#wiremock-java` - [x] The PR request is well described and justified, including the body and the references - [x] The PR title represents the desi...
diff --git a/src/main/java/com/github/tomakehurst/wiremock/recording/LoggedResponseDefinitionTransformer.java b/src/main/java/com/github/tomakehurst/wiremock/recording/LoggedResponseDefinitionTransformer.java index 934a2319d8..f9abe689a2 100644 --- a/src/main/java/com/github/tomakehurst/wiremock/recording/LoggedRespons...
1
1
1
[{"id": "G0", "claim": "The @Deprecated(forRemoval = true) and @SuppressWarnings(\"DeprecatedIsStillUsed\") this PR adds to LoggedResponseDefinitionTransformer may no longer be needed now that the v4.x change was reverted, and should be taken out if so.", "category": "design", "verdict": "supported", "priority": "P1", ...
null
wiremock__wiremock__3092
wiremock/wiremock
3,092
defect
c708c71c66f8d19a0ea311acd6fb7f4389c3cc8a
dbca38d66533090628ba9d6a7a6a708055d82b85
remove stubs in bulk where possible.
to allow implementations of MappingsSaver to be more efficient when persisting stubs. this change necessitated adding the ability to delete stubs in bulk via the admin api, so RemoveMatchingStubMappingTask was updated to accept multiple stubs as well as a single stub mapping. ## References https://github.com/w...
diff --git a/src/test/java/com/github/tomakehurst/wiremock/AcceptanceTestBase.java b/src/test/java/com/github/tomakehurst/wiremock/AcceptanceTestBase.java index 84a1d8ef29..644f20cffb 100644 --- a/src/test/java/com/github/tomakehurst/wiremock/AcceptanceTestBase.java +++ b/src/test/java/com/github/tomakehurst/wiremock/A...
2
2
1
[{"id": "G0", "claim": "The new test's @BeforeEach method calls super.init(), which may redundantly repeat setup that JUnit already performs via the annotated superclass method.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Renaming the test's ...
null
wiremock__wiremock__3154
wiremock/wiremock
3,154
defect
c5b913f41a23730b58a57a37249c20ceae12e84a
f2fd25dcd6e5018e4661f4ecd5516621716b310f
Soft parsing date to prevent DateTimeParseException
In https://github.com/wiremock/wiremock/blob/master/wiremock-common/src/main/java/com/github/tomakehurst/wiremock/common/Urls.java, for some reason (need some context here), isISOOffsetDateTime(String encoded) is called for each URL fragment. In real world, most of the fragments would not be dates. However right now...
diff --git a/buildSrc/.kotlin/sessions/kotlin-compiler-4605141833734471586.salive b/buildSrc/.kotlin/sessions/kotlin-compiler-4605141833734471586.salive new file mode 100644 index 0000000000..e69de29bb2 diff --git a/wiremock-common/src/main/java/com/github/tomakehurst/wiremock/common/Urls.java b/wiremock-common/src/mai...
3
2
2
[{"id": "G0", "claim": "The Kotlin compiler session file committed under buildSrc/.kotlin/sessions probably should not have been committed and should be removed from the pull request.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "There may be a...
null
wiremock__wiremock__3205
wiremock/wiremock
3,205
defect
cbb3f00a5d1a934eeee31862d706267ac538e7d3
0f894fd2385d42c1b95b56cd0369da1f9268a76d
Handle trying to proxy to a relative URL
Otherwise, we throw uncaught exceptions <!-- Please describe your pull request here. --> ## Submitter checklist - [x] Recommended: Join [WireMock Slack](https://slack.wiremock.org/) to get any help in `#help-contributing` or a project-specific channel like `#wiremock-java` - [x] The PR request is well describ...
diff --git a/src/test/java/com/github/tomakehurst/wiremock/ProxyAcceptanceTest.java b/src/test/java/com/github/tomakehurst/wiremock/ProxyAcceptanceTest.java index b4a74195b2..802ab50f20 100644 --- a/src/test/java/com/github/tomakehurst/wiremock/ProxyAcceptanceTest.java +++ b/src/test/java/com/github/tomakehurst/wiremoc...
1
1
1
[{"id": "G0", "claim": "The added absoluteUrlMatcher regex `[a-zA-Z1-9]` would return an error for a fully qualified domain starting with `0` (e.g. `https://0example.com`).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
wiremock__wiremock__3250
wiremock/wiremock
3,250
defect
b47480c2246b0d5aff4d69652718c3b82dd371dc
90b5b0273f60840d2bf00dbff10dcbef13a552f5
feat: Support the new http query method.
While WireMock will allow an arbitary request method to be specified, this PR adds support for the query request method 'officially' in the code by providing the corresponding DSL methods and an entry in the RequestMethod class. <!-- Please describe your pull request here. --> ## References - Implements https:...
diff --git a/src/test/java/com/github/tomakehurst/wiremock/AcceptanceTestBase.java b/src/test/java/com/github/tomakehurst/wiremock/AcceptanceTestBase.java index 644f20cffb..baf8304a7d 100644 --- a/src/test/java/com/github/tomakehurst/wiremock/AcceptanceTestBase.java +++ b/src/test/java/com/github/tomakehurst/wiremock/A...
3
3
0
[{"id": "G0", "claim": "The mappingWithExactUrlWithBodyAndQueryMethodMatch test can abbreviate the stubbed response to ok() and just assert on the 200 status, dropping the extra body/content-type stubbing and assertions.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ...
null
wiremock__wiremock__3344
wiremock/wiremock
3,344
defect
63fff588754e3bda0727cb1eb5e48cc1eb07e805
8e77d28f8ce5bccf66e9760dc837a6cd9f04a7c5
Update com.networknt:json-schema-validator to 2.0.1
<!-- Please describe your pull request here. --> The dependency `json-schema-validator` has seen a [major API rework after `1.5.6`](https://github.com/networknt/json-schema-validator/blob/master/doc/migration-2.0.0.md) , making keeping it up-to-date a tad more challenging. This PR addresses the required code changes t...
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 87b874835a..83a0c79adc 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -101,7 +101,7 @@ handlebars-helpers = { module = "com.github.jknack:handlebars-helpers", version. commons-fileupload = { module = "commons-fileupload...
3
1
1
[{"id": "G0", "claim": "The `.keyword(new NonValidationKeyword(\"nullable\"))` call may be unnecessary, since the tests seem to pass without it.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "There is a legitimate question whether the nullable key...
null
wiremock__wiremock__3351
wiremock/wiremock
3,351
defect
d042b025daf99c0b46a2bbc73b70478ec8a68f2b
2114fbf5dcae0bfb6b204be0280d34306dd0483f
add batch methods to StubLifecycleListener.
add batch methods to StubLifecycleListener so that multiple stubs can be processed at once if imported in a batch.
diff --git a/src/test/java/com/github/tomakehurst/wiremock/StubImportPeristenceAcceptanceTest.java b/src/test/java/com/github/tomakehurst/wiremock/StubImportPeristenceAcceptanceTest.java index cd15c8f8a9..129563c809 100644 --- a/src/test/java/com/github/tomakehurst/wiremock/StubImportPeristenceAcceptanceTest.java +++ b...
5
2
0
[{"id": "G0", "claim": "AbstractStubMappings should also be annotated @NullMarked, for consistency with the null-marked listener API this PR introduces.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Because all listeners are given the same mutable list ...
null
wiremock__wiremock__3383
wiremock/wiremock
3,383
defect
3eab5b86ba578e166fde648367515cf82bf323d1
6126b7e69e5195507534e885aa216c3fc0a4f0d2
Remove need for breaking change MappingsSaver.mutate
It wasn't necessary. ## Submitter checklist - [x] Recommended: Join [WireMock Slack](https://slack.wiremock.org/) to get any help in `#help-contributing` or a project-specific channel like `#wiremock-java` - [x] The PR request is well described and justified, including the body and the references - [x] The PR t...
diff --git a/src/test/java/com/github/tomakehurst/wiremock/StubImportAlternativeAcceptanceTest.java b/src/test/java/com/github/tomakehurst/wiremock/StubImportAlternativeAcceptanceTest.java new file mode 100644 index 0000000000..9266b65b6d --- /dev/null +++ b/src/test/java/com/github/tomakehurst/wiremock/StubImportAlter...
1
1
0
[{"id": "G0", "claim": "StoreBackedStubMappings.removeMappings should return the removed mappings rather than an empty list, though the reviewer notes the return value is currently unused so it is not a blocker.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
wisdompeak__LeetCode__28
wisdompeak/LeetCode
28
defect
9ff360bfc9569622e32f351930e7091fc1d89398
1047e1b820b512859a5499a627e5d045ce5d5ecd
315 count smaller after self
Implement the countSmaller using binary indexed tree benchmark an random 1e5 array, time cost of countSmaller using merge sort is 440 [ms] time cost of countSmaller using binary indexed tree is 11 [ms]
diff --git a/CMakeLists.txt b/CMakeLists.txt index 19850dfb6..fee2f7523 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.10) project(LeetCode VERSION 1.0) -set (CMAKE_CXX_STANDARD 11) +set (CMAKE_CXX_STANDARD 17) include_directories(PUBLIC ${CMAKE_CURRENT_SOURCE_...
1
1
0
[{"id": "G0", "claim": "Put the new binary indexed tree implementation in a separate new file (315.Count-of-Smaller-Numbers-After-Self_v2.cpp) in the same directory instead of adding it to 315.Count-of-Smaller-Numbers-After-Self.cpp.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
withastro__astro__15167
withastro/astro
15,167
defect
2f70bf14ec953cd6e813ed4e1aa0ef2245846dd0
7cc066eb39ba9fc14c31eb940d625eeb7413924c
Fix CSS collection in dev mode with content collections
## Changes Initially [reported on Discord](https://discord.com/channels/830184174198718474/1449132280432951398/1452629289584558110), this PR fixes an issue in development mode, when using content collections, where CSS from a previously visited page would incorrectly apply to other pages not using the components wit...
diff --git a/.changeset/big-forks-lead.md b/.changeset/big-forks-lead.md new file mode 100644 index 000000000000..15c24ed26da1 --- /dev/null +++ b/.changeset/big-forks-lead.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes an issue where CSS from unused components, when using content collections, could be incorrect...
2
2
0
[{"id": "G0", "claim": "The comment above the propagation-stopping-point early return should describe why the traversal stops rather than restating that it stops.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code should use the existing co...
null
withastro__astro__15603
withastro/astro
15,603
defect
999a7dd1f2913ea04e4f18f3557e8363edef45a8
8e607e4c4abe53ab3bc0c2afa20516b0d71d2b52
fix(assets): prevent circular dependency deadlock with SVG in content collections
## Summary Fixes #15575 - **Preserve `astroContentImageFlag`** through the Vite resolution pipeline in `vite-plugin-content-assets.ts` so downstream plugins can detect content collection images - **Return plain `ImageMetadata`** for content collection SVGs in `vite-plugin-assets.ts` instead of creating full Astro com...
diff --git a/.changeset/fix-svg-content-collection-deadlock.md b/.changeset/fix-svg-content-collection-deadlock.md new file mode 100644 index 000000000000..98c70dbcb519 --- /dev/null +++ b/.changeset/fix-svg-content-collection-deadlock.md @@ -0,0 +1,7 @@ +--- +'astro': patch +--- + +fix(assets): prevent circular depend...
4
3
0
[{"id": "G0", "claim": "The pull request ships no changeset, so the reviewer asks the author to add one with `pnpm changeset`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `CONTENT_IMAGE_FLAG` import added at line 32 of packages/astro/src/as...
null
withastro__astro__15725
withastro/astro
15,725
defect
cf074b3dc7b4097d09cb7b758b5f6f03bddf7a50
6f79552c6d7c185be0a78847dd74491ff986dab6
Add `"jsx"` option to `compressHTML`
## Changes I added a new `"jsx"` `compact` option to Astro compiler that strips whitespace in Astro using JSX whitespace stripping rules: https://github.com/withastro/compiler/pull/1151 This is the corresponding Astro PR. Docs PR is here: https://github.com/withastro/docs/pull/13326 While I was at it I also u...
diff --git a/.changeset/jsx-compress-html.md b/.changeset/jsx-compress-html.md new file mode 100644 index 000000000000..ab66bcb06637 --- /dev/null +++ b/.changeset/jsx-compress-html.md @@ -0,0 +1,25 @@ +--- +'astro': minor +--- + +Adds support for a new `'jsx'` value for the `compressHTML` option. When set, whitespace ...
2
1
1
[{"id": "G0", "claim": "The compressHTML JSDoc description in AstroUserConfig must be updated to cover the new \"jsx\" option before the PR is merged.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "With compressHTML set to \"jsx\", whitespace that...
null
withastro__astro__15757
withastro/astro
15,757
defect
3885e8da45efccf735518a26f9ef23b7267d1c0f
b71e2fb14428ff52b8dc09d9c48f6ec11edfb02b
Normalize backslash characters in URL pathname after decoding
## Changes - Normalizes backslash characters (`\`) in decoded URL pathnames before assigning to `url.pathname` - Ensures middleware and the router see a consistent, canonical pathname ## Testing - Added `test/units/app/encoded-backslash-bypass.test.js` with 6 tests covering encoded backslash (`%5C`) handling ...
diff --git a/.changeset/normalize-backslash-pathname.md b/.changeset/normalize-backslash-pathname.md new file mode 100644 index 000000000000..8484143ed228 --- /dev/null +++ b/.changeset/normalize-backslash-pathname.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Hardens URL pathname normalization to consistently handle...
2
2
0
[{"id": "G0", "claim": "The comment above the collapseDuplicateSlashes call should be updated to state that the code must stay at that position, since it was moved there and the position is important.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
withastro__astro__15908
withastro/astro
15,908
defect
23d5244361f9452c1d124600d2cc97aa3fe4a63c
c8f09693d45c09966a27b81b10a344ab5106e556
fix(language-server): rewrite Astro component auto-import names
## Summary - keep generated `AstroComponent` suffixes in the internal TSX output used by the language server - rewrite `.astro` auto-import completion labels and resolved import edits back to the expected component name - add regression coverage for the `.astro` auto-import completion path and the shared import-text re...
diff --git a/.changeset/green-lizards-drum.md b/.changeset/green-lizards-drum.md new file mode 100644 index 000000000000..07f999f16559 --- /dev/null +++ b/.changeset/green-lizards-drum.md @@ -0,0 +1,6 @@ +--- +'@astrojs/language-server': patch +'@astrojs/ts-plugin': patch +--- + +Avoid component name collisions when As...
2
1
1
[{"id": "G0", "claim": "Renaming the component inside patchTSX is not the proper approach because changing the component name will cause auto import to return something unexpected; instead the PR should always return the AstroComponent suffixes and patch auto-import to not add them (using Vue language-tools as referenc...
null
withastro__astro__15927
withastro/astro
15,927
defect
23d5244361f9452c1d124600d2cc97aa3fe4a63c
5e22ac8696eef243eafece900219de37bcaf711f
fix(language-server): defer HTML expression completions to TS
## Summary - let the HTML plugin return null when completion is requested inside a brace expression so the TypeScript service can handle it - add a regression test covering completions in HTML attribute expressions like href={some} - add a changeset for the language server fix Fixes #14671. ## Testing - pnpm -C packa...
diff --git a/.changeset/green-forks-laugh.md b/.changeset/green-forks-laugh.md new file mode 100644 index 000000000000..a422c19faefd --- /dev/null +++ b/.changeset/green-forks-laugh.md @@ -0,0 +1,4 @@ +'@astrojs/language-server': patch +--- + +Fix completions in HTML attribute expressions like `href={value}` by deferri...
2
2
0
[{"id": "G0", "claim": "The changeset file is missing the opening `---` frontmatter delimiter and the `'astro-vscode'` package entry, and should use the suggested frontmatter format.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changeset summa...
null
withastro__astro__15978
withastro/astro
15,978
defect
7eddf22cd4d4719d966ed7168e9890fac8fc29f5
e87cd576fe125a6359f5f67a546d51496dc89f8c
fix(actions): support for nested objects in form
Closes #14387 ## Changes - Added support for nested objects with dot notation in form data parsing - `formDataToObject` now recursively processes nested `ZodObject` schemas, converting dot-notation form keys (like `bc.b`) into nested object structures (`{ bc: { b: ... } }`) ## Testing - Covering most of c...
diff --git a/.changeset/yummy-canyons-attend.md b/.changeset/yummy-canyons-attend.md new file mode 100644 index 0000000000000..ae007a8201f41 --- /dev/null +++ b/.changeset/yummy-canyons-attend.md @@ -0,0 +1,5 @@ +--- +'astro': minor +--- + +support nested objects in forms diff --git a/packages/astro/src/actions/runtime...
2
2
0
[{"id": "G0", "claim": "Since the PR was marked minor and blocked until ready to ship, the author should decide whether the release should be minor or patch, and the changeset should be more descriptive.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
withastro__astro__15980
withastro/astro
15,980
defect
756fbfc34cd132a2b4b557ba6d96ca398909cfbe
949a1e1f79ab861893c30ecb48bb5351aa625831
fix: prevent script dedup inside <template>
Closes #15389, Closed #13795 When a component with a script was first used inside a `<template>`, Astro's deduplication prevented the script from rendering outside the template, breaking non-template instances. This PR makes such scripts are not deduplicated. Should be merged after https://github.com/withastro/comp...
diff --git a/.changeset/jolly-bars-play.md b/.changeset/jolly-bars-play.md new file mode 100644 index 0000000000000..a9ef4ecad5cb6 --- /dev/null +++ b/.changeset/jolly-bars-play.md @@ -0,0 +1,5 @@ +--- +'astro': minor +--- + +Prevent script deduplication inside `<template>` elements diff --git a/packages/astro/src/core...
4
4
3
[{"id": "G0", "claim": "Scanning every static HTML string for template depth in render-template.ts is too expensive for a corner case, so the change should not be done this way; detecting 'inside of a template' should instead come from a compiler change.", "category": "performance", "verdict": "supported", "priority": ...
null
withastro__astro__16022
withastro/astro
16,022
defect
ec89d39187c663397df81c0226aa10e0c1a27b2e
7923ac6958576e8eec05aba55e3a3fa7188bcaf9
fix(i18n): respect trailingSlash config in domain routing
Root path requests to domain-mapped locales returned 404 when trailingSlash was set to "never" because computePathnameFromDomain() always preserved the trailing slash from the original URL without consulting the trailingSlash config. Fixes #16019 ## Changes - `computePathnameFromDomain()` in `base.ts` now chec...
diff --git a/.changeset/two-eels-live.md b/.changeset/two-eels-live.md new file mode 100644 index 000000000000..dee7b6c6e04e --- /dev/null +++ b/.changeset/two-eels-live.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes i18n domain routing returning 404 for root path when trailingSlash: "never" diff --git a/package...
3
3
1
[{"id": "G0", "claim": "Pass all the i18n config (domains, domainLookupTable) in one makeI18nConfig call instead of mutating the config object after the factory.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new domain-routing tests should ...
null
withastro__astro__16102
withastro/astro
16,102
defect
88fcc98e58455167afa0233163680b833812b69d
1b5c668d2ddc6d6d219d99d1fe44314ead4e8c61
feat: run ts tests
## Changes This PR marks the start of writing and running test files using TypeScript, by using the Node.js `--experimental-strip-types` - I created two new `test:` commands so that we can migrate the files progressively. - I added a new `tsconfig.test.json` specifically for the tests - I added a new `typecheck...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c16277066fa..95038d18cf40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -140,6 +140,9 @@ jobs: - name: Lint publish code run: pnpm run publint + - name: Type-check test files + run: pnpm -C pa...
1
1
1
[{"id": "G0", "claim": "Having separate `test:unit` (js) and `test:unit:ts` scripts means people running `test:unit` locally will not realise they are only running some of the tests; the split scripts should be combined or named so `test:unit` runs both.", "category": "maintainability", "verdict": "supported", "priorit...
null
withastro__astro__16187
withastro/astro
16,187
defect
a0c1c869c9453e65c899b8001406430391990eb2
245cad9f6882a56bdd32306b2a487c9bfa0489ff
fix(cloudflare): pass waitUntil to cache providers
Closes #16145 ## Changes - Add optional `waitUntil` to the `CacheProvider.onRequest()` context type. - Thread `waitUntil` through `BaseApp.render()` so adapters can pass it to runtime cache providers. - Forward Cloudflare `ExecutionContext.waitUntil` from the adapter handler into `app.render()`. - Add a regres...
diff --git a/.changeset/fair-walls-raise.md b/.changeset/fair-walls-raise.md new file mode 100644 index 000000000000..2b1b7c36a242 --- /dev/null +++ b/.changeset/fair-walls-raise.md @@ -0,0 +1,6 @@ +--- +astro: patch +'@astrojs/cloudflare': patch +--- + +Fix passing `waitUntil` to `CacheProvider.onRequest()` when using...
6
5
3
[{"id": "G0", "claim": "The same waitUntil fix is relevant to the other hosting integrations (Netlify and Vercel), which also support waitUntil.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The waitUntil value passed to app.render() may not hold against ...
null
withastro__astro__16289
withastro/astro
16,289
defect
7fe40bc7381d981dedad16625d89c00e31cd8fd0
c30a9585086c488fb3107e8bc2945462a2ece869
fix: bump drizzle-orm version for CVE-2026-39356
## Changes Bumps `drizzle-orm` in `packages/db/package.json` from `^0.42.0` to `^0.45.2`, patching GHSA-gpj5-g38j-94v9 (CVE-2026-39356), a high severity SQL injection in `drizzle-orm`'s identifier escaping. Changeset added at `.changeset/late-lamps-attack.md`. Drizzle 0.44+ wraps query errors in a `DrizzleQueryEr...
diff --git a/.changeset/late-lamps-attack.md b/.changeset/late-lamps-attack.md new file mode 100644 index 000000000000..683fa4bc874f --- /dev/null +++ b/.changeset/late-lamps-attack.md @@ -0,0 +1,28 @@ +--- +'@astrojs/db': patch +--- + +Updates `drizzle-orm` to `^0.45.2` to patch GHSA-gpj5-g38j-94v9 (CVE-2026-39356), a...
1
1
1
[{"id": "G0", "claim": "This PR needs two changesets - a `patch` for the CVE bump and a `minor` for the new function - instead of the single patch changeset it has.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
withastro__astro__16333
withastro/astro
16,333
defect
940afd53040a14e924606b3218a8619c1e2674ee
410cd932ad0ae608b9dcdedd4a6a61b899b61fd8
feat: svg optimizer
## Changes - Updates how svg optimization works - Instead of having svgo directly in our config types, there's a new `SvgOptimizer` interface with a built-in `svgoOptimizer()` implementation. This is partly motivated by the nightmare that was the zod 3 to 4 update - This makes it easier to make changes to the API ...
diff --git a/.changeset/twelve-times-slide.md b/.changeset/twelve-times-slide.md new file mode 100644 index 000000000000..46709a031587 --- /dev/null +++ b/.changeset/twelve-times-slide.md @@ -0,0 +1,27 @@ +--- +'astro': minor +--- + +Adds an experimental flag `svgOptimizer` that enables automatic optimization of your S...
2
2
0
[{"id": "G0", "claim": "The doc comment should drop the stray \"pass a\" and read \"SVG optimizer using [SVGO](https://svgo.dev/).\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changeset sentence should read \"...based optimizer, but any c...
null
withastro__astro__16462
withastro/astro
16,462
defect
ebca722ca861879fb6e4a7a7adca5c2ac3798ce5
944f79f499c62d2ebaf94fe60d0f25926c8917d1
feat: make the Rust compiler the only option
## Changes What the title says ## Testing Previous tries at this were able to fully run the test suite, hopefully still the case! ## Docs Will need a docs PR to remove the page for the experimental option.
diff --git a/packages/astro/e2e/fixtures/view-transitions/src/components/AttributedLayout.astro b/packages/astro/e2e/fixtures/view-transitions/src/components/AttributedLayout.astro index 0d0e7a4c743b..bde541f70fa6 100644 --- a/packages/astro/e2e/fixtures/view-transitions/src/components/AttributedLayout.astro +++ b/pack...
1
1
1
[{"id": "G0", "claim": "The pull request needs a changeset with a `major` change, and it should be longer than the patch versions since users will see it in the changelog for the Astro 7 release.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
withastro__starlight__1151
withastro/starlight
1,151
defect
0533ba829648da9f8cdc62b0996328666470a9eb
b52ebd400b06a276b75752fe4391587cd407c2d4
fix: tree generation for autogenerated groups
#### Description - Closes #370 - This PR modifies `treeify()` to build the file tree depth first. This way if a file and a directory in within the same level have the same name, the file is included into the directory and renamed to `index`. #### Before ``` reference |- foo.md |- foo |- bar.md ``` ...
diff --git a/.changeset/dry-pandas-yawn.md b/.changeset/dry-pandas-yawn.md new file mode 100644 index 00000000000..7b02f0b07cb --- /dev/null +++ b/.changeset/dry-pandas-yawn.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes sidebar generation issues occurring when a file and a directory, located at the...
6
4
1
[{"id": "G0", "claim": "Autogenerated sidebar entries appear to be sorted inconsistently with the documented alphabetical-by-filename order: a `frontmatter` directory group is listed above `Configuration Reference`, and inside that group `A test` (from a.md) appears below `Frontmatter Reference`.", "category": "correct...
null
withastro__starlight__1298
withastro/starlight
1,298
defect
ea917d8db764f41a67700f0763e2bdb11c03f5c6
4b9eef067d30a9e32829d4adea7407db3969955a
fix: autogenerated sidebar alphabetical sort
<!-- Thank you for opening a PR! We really appreciate you taking the time to help out 🙌 --> #### Description - Closes #1296 - This PRs replaces the use of the `slug` property with the `filename` for sorting purposes when sorting file entries. <!-- Here’s what will happen next: One or more of our maintainer...
diff --git a/.changeset/many-bags-press.md b/.changeset/many-bags-press.md new file mode 100644 index 00000000000..082f786b908 --- /dev/null +++ b/.changeset/many-bags-press.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': minor +--- + +Fix issue causing incorrect sorting behavior for autogenerated sidebars diff --git a/...
6
5
2
[{"id": "G0", "claim": "Sorting autogenerated sidebar entries by the page title instead of the documented sorting key may break the expected behavior described in the current documentation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new sort...
null
withastro__starlight__1347
withastro/starlight
1,347
defect
b13b4624b50e1c28cc2255664e772c82f2604f99
5a62462e2dd133695c3476e59ca3b9ff89077de3
Use spawnSync instead of execaSync in `git.ts`
<!-- Thank you for opening a PR! We really appreciate you taking the time to help out 🙌 --> #### Description - Closes #887 - Replace `execa` with `node:child_process` <!-- Here’s what will happen next: One or more of our maintainers will take a look and may ask you to make changes. We try to be responsive...
diff --git a/.changeset/plenty-carrots-rescue.md b/.changeset/plenty-carrots-rescue.md new file mode 100644 index 00000000000..e256fc05ea4 --- /dev/null +++ b/.changeset/plenty-carrots-rescue.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Refactor `getLastUpdated` to use `node:child_process` instead of `e...
7
6
3
[{"id": "G0", "claim": "The git helper should use `spawnSync` instead of `execSync`, which spawns a new shell; `spawnSync` with an `encoding: 'utf-8'` option would be a better choice and would not change the current behavior.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id...
null
withastro__starlight__1708
withastro/starlight
1,708
defect
b799f409bc941fdbdb41c4808b5aa602717af71b
7449a58b368bf2a85c97a04bce187c93c3772829
Fix various Expressive Code translation issues
#### What kind of changes does this PR include? - Changes to Starlight code #### Description - Closes #1707 This PR fixes various issues with the UI strings translation in Expressive Code. I identified two issues: - The Expressive Code `getBlockLocale()` function uses `pathToLocale()` which can return `u...
diff --git a/.changeset/wet-lemons-drum.md b/.changeset/wet-lemons-drum.md new file mode 100644 index 00000000000..79a013a976f --- /dev/null +++ b/.changeset/wet-lemons-drum.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes translation issues with Expressive Code when using a default language other tha...
1
1
0
[{"id": "G0", "claim": "The `localeToLang()` helper added by this PR should maybe live in `packages/starlight/integrations/shared/` rather than in the Expressive Code integration directory.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
withastro__starlight__1987
withastro/starlight
1,987
defect
e6c0467100eaa76515d6dd1ee7485a457143f47a
e503112d287660bdb8b59500210c210748b66ba2
Improve locale text direction detection mechanism
#### Description - Closes #1961 and #1986 The newly locale text direction detection mechanism introduced in Starlight `0.24.0` is based on the v8 implementation of [`getTextInfo()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo) where it is implemented as...
diff --git a/.changeset/olive-oranges-poke.md b/.changeset/olive-oranges-poke.md new file mode 100644 index 00000000000..f9b1c2d824b --- /dev/null +++ b/.changeset/olive-oranges-poke.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes issues with the locale text direction detection mechanism in some envi...
2
1
0
[{"id": "G0", "claim": "The new `@ts-expect-error` comments in `getLocaleDir` are missing a word (the author dropped a negation while simplifying), e.g. the first should read \"`textInfo` is typed but is only available in v8 based environments\".", "category": "documentation", "verdict": "supported", "priority": "P2", ...
null
withastro__starlight__2105
withastro/starlight
2,105
defect
503ae55caf5e456e5dcea1d52c19f808224b173f
4e3bf007a737398849c3c9bb2701bf3f083822c3
Fixes an edge case in custom pagination link processing
<!-- Thank you for opening a PR! We really appreciate you taking the time to help out 🙌 --> #### Description - Closes #1886 - Fixes an edge case how custom prev/next links in frontmatter are handled - In general a custom prev/next link was applied directly to an existing link object, which produced the correct...
diff --git a/.changeset/small-kangaroos-smile.md b/.changeset/small-kangaroos-smile.md new file mode 100644 index 00000000000..ca882622ab4 --- /dev/null +++ b/.changeset/small-kangaroos-smile.md @@ -0,0 +1,8 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes an edge case in custom pagination link processing + +Custom l...
1
1
0
[{"id": "G0", "claim": "The test name should not say the pagination links are \"formatted correctly\" but something like \"used as authored\", to emphasize that custom frontmatter links are not formatted in this case.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
withastro__starlight__2154
withastro/starlight
2,154
defect
8c85be11d7328076dbe7d1c71060a5d163aa64b3
e3331bceac830fb78e0c5226382c313c40b8ae96
Merge <link rel="canonical" /> tags, quick fixes (#2153)
<!-- Thank you for opening a PR! We really appreciate you taking the time to help out 🙌 --> #### Description - Closes #2153 - What does this PR change? Give us a brief description. - This PR modifies the hasTag function in `starlight/utils/head.ts` to include a check for link tags. Specifically, it ensures...
diff --git a/packages/starlight/__tests__/basics/head.test.ts b/packages/starlight/__tests__/basics/head.test.ts index db5a454b738..999ccce2a94 100644 --- a/packages/starlight/__tests__/basics/head.test.ts +++ b/packages/starlight/__tests__/basics/head.test.ts @@ -11,6 +11,27 @@ describe('createHead', () => { ).toEq...
2
2
0
[{"id": "G0", "claim": "The new `link` case in `hasTag()` can be simplified to `return head.some(({ attrs }) => attrs.rel === 'canonical')` instead of `typeof attrs.rel === 'string' && ['canonical'].includes(attrs.rel)`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ...
null
withastro__starlight__2252
withastro/starlight
2,252
defect
46907fb93d9d7e36d40e0e09420088c4b3bba741
b33291cc81659826991e1b401aeb7255569cdcdf
Build performance optimizations for projects with large sidebars
#### Description This PR is a draft experimenting with a new approach to fix #2215 by caching generated sidebars per locale to avoid regenerating them for each page during the build process. A few details about the approach: - It's using a basic `Map` at the moment. - I still want to try this approach again...
diff --git a/packages/starlight/__tests__/basics/navigation.test.ts b/packages/starlight/__tests__/basics/navigation.test.ts index 50496b4e6c1..90676507445 100644 --- a/packages/starlight/__tests__/basics/navigation.test.ts +++ b/packages/starlight/__tests__/basics/navigation.test.ts @@ -105,6 +105,24 @@ describe('getS...
2
1
0
[{"id": "G0", "claim": "A second opinion should be sought (via Discord) on this per-locale Map cache versus an LRU cache.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Since setIntermediateSidebarCurrentEntry returns a boolean, use it in if statements (as...
null
withastro__starlight__2579
withastro/starlight
2,579
defect
64df44f4f787ab42ef21b13a15218005b1858bb2
6512289d90d44dafe4ba7a117e55217202f9ee27
Added social icon for Nostr
<!-- Thank you for opening a PR! We really appreciate you taking the time to help out 🙌 --> #### Description - Added social icon for Nostr. **Icon Reference**: https://github.com/mbarulli/nostr-logo/blob/main/SVG/nostr-icon-purple-on-white.svg. I optimized the icon and made changes to align with the other soc...
diff --git a/.changeset/calm-worms-count.md b/.changeset/calm-worms-count.md new file mode 100644 index 00000000000..6a97a60d652 --- /dev/null +++ b/.changeset/calm-worms-count.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Added social icon for Nostr diff --git a/packages/starlight/__tests__/basics/confi...
2
2
0
[{"id": "G0", "claim": "The nostr SVG should be run through SVGOMG and its invisible first path removed to slightly reduce its size.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changeset summary should follow the project's changelog conventio...
null
withastro__starlight__2600
withastro/starlight
2,600
defect
6059d961a6b31fd7848b0c59411fc6370e62abab
ce5eed5439c0877f1eaee72c4906c891049da70a
feat: add Backstage social icon
#### Description - Closes #2599 - What does this PR change? Add a new social icon for Backstage ( https://backstage.io ) - Did you change something visual? <img width="154" alt="image" src="https://github.com/user-attachments/assets/21a725ba-be7e-4ca8-824b-c48fa5827641">
diff --git a/.changeset/soft-snails-chew.md b/.changeset/soft-snails-chew.md new file mode 100644 index 00000000000..02371a0a36c --- /dev/null +++ b/.changeset/soft-snails-chew.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': minor +--- + +Add Backstage social icon diff --git a/packages/starlight/__tests__/basics/config-...
1
1
0
[{"id": "G0", "claim": "The Backstage SVG icon path added in Icons.ts can be minified (e.g. via SVGOMG) to reduce its size, and the suggested optimized path should be used instead.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
withastro__starlight__2613
withastro/starlight
2,613
defect
7f6fd54b5b6a582145bb62372fc08c213f318a9c
de84b6e65a5b8abc8d99fdb548fa1e6548b06408
Fix `sidebar` frontmatter use in internal links
<!-- Thank you for opening a PR! We really appreciate you taking the time to help out 🙌 --> #### Description - Fixes use of the `sidebar` frontmatter options to control appearance of a sidebar link when included using the “internal” link syntax, i.e. `{ slug: 'page/name' }` or the shorthand of `'page/name'` - C...
diff --git a/.changeset/wild-donkeys-join.md b/.changeset/wild-donkeys-join.md new file mode 100644 index 00000000000..573e1de207c --- /dev/null +++ b/.changeset/wild-donkeys-join.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes support for `sidebar` frontmatter options in sidebar entries using `slug`...
1
1
0
[{"id": "G0", "claim": "The newly added type import StarlightDocsEntry in packages/starlight/utils/navigation.ts is unused and should be removed from the import statement.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
withastro__starlight__2645
withastro/starlight
2,645
defect
dc481aea7990e06dc6fa980d15ee02db2c67b0a0
3613b46d9938ba717d403d8062d3000054274799
Fix favicon support for query and fragment in URLs
<!-- Thank you for opening a PR! We really appreciate you taking the time to help out 🙌 --> #### Description - Closes #2639 - What does this PR change? Supports query and fragment on favicon url when detecting image type - Did you change something visual? No <!-- Here’s what will happen next: One or more...
diff --git a/.changeset/neat-deers-pretend.md b/.changeset/neat-deers-pretend.md new file mode 100644 index 00000000000..a9e2e91c4a3 --- /dev/null +++ b/.changeset/neat-deers-pretend.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes favicon url parsing of query and fragment diff --git a/packages/starli...
4
4
1
[{"id": "G0", "claim": "The new exported helper splitQueryAndFragment should be documented with a JSDoc comment like the other functions in the file.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PR should lean on the native URL constructor r...
null
withastro__starlight__2728
withastro/starlight
2,728
defect
ec4b85154ea301d9144ff49f3abd009e3a929387
a1d8071c4658bb36aeead41468f2dd7119ca8225
Upgrade Pagefind to 1.3.0 and configure Pagefind logging levels
<!-- Thank you for opening a PR! We really appreciate you taking the time to help out 🙌 --> #### Description - This PR updates Starlight’s Pagefind dependency to 1.3.0. - Thanks to https://github.com/CloudCannon/pagefind/issues/745 we can now forward Astro’s logging level to Pagefind to reduce (or increase) log...
diff --git a/.changeset/long-pears-shop.md b/.changeset/long-pears-shop.md new file mode 100644 index 00000000000..5bec6019d3f --- /dev/null +++ b/.changeset/long-pears-shop.md @@ -0,0 +1,7 @@ +--- +'@astrojs/starlight': minor +--- + +Updates minimum Pagefind dependency to v1.3.0, sets new defaults for Pagefind’s ranki...
4
2
1
[{"id": "G0", "claim": "Use the git-scm.com ranking configuration as Starlight’s default starting point for the Pagefind 1.3 upgrade and expose these ranking configuration options to users so they can adjust the weightings to fit their content.", "category": "design", "verdict": "supported", "priority": "P1", "scope": ...
null
withastro__starlight__2732
withastro/starlight
2,732
defect
30a37d373fe330d7b0e91917a9e042f4f05aa401
ad47a70d7dd074a7833f185c82df2b138ef56490
Add Storybook, Confluence and Jira social icons
#### Description Adds three icons: Storybook, Confluence and Jira ![image](https://github.com/user-attachments/assets/2852f926-0cec-4a02-84f4-3e446df84e5c)
diff --git a/.changeset/purple-rivers-joke.md b/.changeset/purple-rivers-joke.md new file mode 100644 index 00000000000..7e3ed190148 --- /dev/null +++ b/.changeset/purple-rivers-joke.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Add Storybook, Confluence and Jira social icons diff --git a/packages/starli...
2
2
0
[{"id": "G0", "claim": "The Storybook, Confluence and Jira SVG paths could be compressed further via SVGOMG without loss of quality, as suggested.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changeset summary should use the third-person singu...
null
withastro__starlight__2757
withastro/starlight
2,757
defect
6dd17b7f6cb240ed61ffd5b45e866c44b580343b
067640b4a8cd46919e19035f6cabcd0e8c80b9bf
Fix translation issue for languages with a region subtag
#### Description - Closes https://github.com/withastro/docs/issues/10630 This PR fixes an issue for languages with a region subtag (e.g. `zh-CN`) where custom UI strings are not properly translated. On top of the linked issue, this issue is also visible in https://starlight.astro.build/zh-cn/components/asides/ wh...
diff --git a/.changeset/brave-kings-vanish.md b/.changeset/brave-kings-vanish.md new file mode 100644 index 00000000000..22a63b765e4 --- /dev/null +++ b/.changeset/brave-kings-vanish.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes a UI string translation issue for languages with a region subtag. diff...
1
1
0
[{"id": "G0", "claim": "Add a note (the suggested TODO comment) above the `virtual:starlight/project-context` declaration in packages/starlight/virtual.d.ts explaining it should move back to `virtual-internal.d.ts` when possible, e.g. once legacy collections support is dropped.", "category": "documentation", "verdict":...
null
withastro__starlight__2805
withastro/starlight
2,805
defect
e1b5fa8e7ff357c7f3b0c316f93eb2c85221bc26
ba5bc6416d174643139725e261827219f586340a
Expose `StarlightIcon` type
#### Description As discussed on Discord, this PR exposes a new TypeScript type for built-in icon names: `StarlightIcon`. This type is a union of all built-in icon names. When building an Astro component accepting an icon name, you could already use the `ComponentProps<typeof Icon>['name']` approach, but importin...
diff --git a/.changeset/unlucky-items-notice.md b/.changeset/unlucky-items-notice.md new file mode 100644 index 00000000000..77277442a8a --- /dev/null +++ b/.changeset/unlucky-items-notice.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': minor +--- + +Exposes the [`StarlightIcon`](https://starlight.astro.build/reference/...
1
1
0
[{"id": "G0", "claim": "The new 'Icon type' heading in the icons reference docs suggests overlap with the Icon component itself and should perhaps be renamed to '`StarlightIcon` type' (with the associated links updated).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
withastro__starlight__2931
withastro/starlight
2,931
defect
9a5450d30df7a794a3dac5463b1209c1e39111e9
09b6fc47717c8f7b567df0d92e286b9ebd790f57
Support for `title`, `frame`, and `meta` Markdoc fence attributes
- Closes #2925 This PR adds support for the `title`, `frame`, and `meta` fence attributes to Markdoc code blocks. The fence attribute syntax for Markdoc is an alternative to classic meta attributes after a fence block available in Markdown syntax (which are not supported in Markdoc): ````mdoc ```js {% title="...
diff --git a/.changeset/healthy-rivers-divide.md b/.changeset/healthy-rivers-divide.md new file mode 100644 index 00000000000..98988154af9 --- /dev/null +++ b/.changeset/healthy-rivers-divide.md @@ -0,0 +1,28 @@ +--- +'@astrojs/starlight-markdoc': minor +--- + +Adds support for the `title`, `frame`, and `meta` fence at...
1
1
0
[{"id": "G0", "claim": "The documentation should show how to use the new Markdoc fence attributes, e.g. by adding an option to switch the code-block examples between Markdown/MDX and Markdoc.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
withastro__starlight__3018
withastro/starlight
3,018
defect
9718fdacecdfa3d1541bc433af8b73b83a42d1f1
b12e24638febeaa5356260a905e014da15489833
Starlight Route Data Middleware must not conflict with Astro's middleware
<!-- Thank you for opening a PR! We really appreciate you taking the time to help out 🙌 --> #### Description As I noticed myself, the current documentation does not point out that Starlight's custom middleware may or may not conflict with [Astro's middleware](https://docs.astro.build/en/guides/middleware/). ...
diff --git a/docs/src/content/docs/guides/route-data.mdx b/docs/src/content/docs/guides/route-data.mdx index 5214b61f636..1f4576dc6ef 100644 --- a/docs/src/content/docs/guides/route-data.mdx +++ b/docs/src/content/docs/guides/route-data.mdx @@ -62,6 +62,8 @@ This is a function that is called every time Starlight render...
4
4
2
[{"id": "G0", "claim": "The routeMiddleware validation should use a hoisted, commented regex matching all variants of the invalid paths (with optional \"./\" or \"/\" prefix) instead of an exact-match list.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
withastro__starlight__3205
withastro/starlight
3,205
defect
0b5b66e3e425c4785ebd81b80572167f8ce3cc32
8bbcb41bda73cc0dd2bc46aec3e254c541f392a8
fix userCollections?.docs
- check `userCollections?.docs` - add starlight-page example for test <!-- Thank you for opening a PR! We really appreciate you taking the time to help out 🙌 --> #### Description - Closes https://github.com/withastro/starlight/discussions/3192 Capture docs as undefined. ``` // starlight-page.ts // be...
diff --git a/examples/starlight-page/.gitignore b/examples/starlight-page/.gitignore new file mode 100644 index 00000000000..16d54bb13c8 --- /dev/null +++ b/examples/starlight-page/.gitignore @@ -0,0 +1,24 @@ +# build output +dist/ +# generated types +.astro/ + +# dependencies +node_modules/ + +# logs +npm-debug.log* +...
3
3
2
[{"id": "G0", "claim": "The added if/else in getUserDocsSchema should be replaced with the simpler one-liner `return userCollections?.docs?.schema ?? docsSchema();`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added `examples/starlight-page/...
null
withastro__starlight__3274
withastro/starlight
3,274
defect
9bf5b5b88ab219fe2d7b9816316dce3842f8e403
e8128213a35f9e169166c6ef2a964764b8681df1
Restrict remark/rehype plugins usage
#### Description - Closes #3239 This PR builds on top of #3241 where I cherry-picked and co-auhored the initial fix preventing errors when using the Astro [`renderMarkdown()`](https://docs.astro.build/en/reference/content-loader-reference/#rendermarkdown) content loader API. This PR also: - Refactor such fi...
diff --git a/.changeset/moody-donkeys-applaud.md b/.changeset/moody-donkeys-applaud.md new file mode 100644 index 00000000000..b76c1ed58dc --- /dev/null +++ b/.changeset/moody-donkeys-applaud.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Prevents Starlight remark and rehype plugins from transforming Mark...
1
1
1
[{"id": "G0", "claim": "Restricting Starlight's remark/rehype plugins to docs-loaded content may break users who rely on the pipeline in other collections (e.g. Starlight Blog or content partials), so it should be handled conservatively: split the renderMarkdown() fix into its own PR, potentially offer configuration co...
null
withastro__starlight__3298
withastro/starlight
3,298
defect
c07478ba8480b24c4c967dd660a39b844f3900fc
93e4d9397c1c23b3c938b42cfe0cec65b614e9f5
Fix `absolutePathToLang()` issue
#### Description - Closes #3297 This PR fixes an issue with the `absolutePathToLang()` helper function not handling absolute paths with spaces correctly. - `absolutePathToLang()` is meant to be called with the `path` property of a virtual file (altho not mandatory), which is always a POSIX-style path (using `/...
diff --git a/.changeset/dry-tomatoes-camp.md b/.changeset/dry-tomatoes-camp.md new file mode 100644 index 00000000000..6a5b7fee965 --- /dev/null +++ b/.changeset/dry-tomatoes-camp.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes a potential issue with `absolutePathToLang()` not handling paths with spa...
2
2
0
[{"id": "G0", "claim": "The changeset should make clear that `absolutePathToLang()` is part of the public plugin API, since the reviewer asked whether the behaviour change would impact Starlight plugin authors.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1",...
null
withastro__starlight__3351
withastro/starlight
3,351
defect
cfd51859ffc01ad701027b1c4824027404d3aa25
f8ce61fd7003af750081855c29c0d6a75f2cfc28
Ensure CSS layer order in custom pages
#### Description This PR aims to fix the issue 2 in #3162 and is a follow-up to #3150. This PR experiments (this is why this PR is a draft) with a Vite plugin that ensures in custom pages that the `<StarlightPage>` component is always imported first, which is necessary to ensure the correct CSS layer order due to...
diff --git a/.changeset/config.json b/.changeset/config.json index f50e3128e03..4fca4776934 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -9,7 +9,7 @@ "access": "public", "baseBranch": "main", "updateInternalDependencies": "patch", - "ignore": ["starlight-docs", "@example/*", "starlight-...
4
4
2
[{"id": "G0", "claim": "Rather than moving the user's StarlightPage import, the plugin could prepend a side-effect import of the StarlightPage component, which might also make the source map simple enough to drop magic-string.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"i...
null
withastro__starlight__3382
withastro/starlight
3,382
defect
4e4baebc45c903383f47a5c17f6769e32c58b4d5
ccd778dd004330b408918bae260027e0f4a4811b
fix: mobile toc issue with custom banners
### Description This PR fixes an issue with the Table of Contents being unable to find any heading when the page has a banner with custom styling. This issue is currently tracked in #3047. The issue is fixed by setting the current heading to the page title, when not found otherwise. ### Related stuff and todo ...
diff --git a/.changeset/weak-spiders-itch.md b/.changeset/weak-spiders-itch.md new file mode 100644 index 00000000000..a0d9a3c1442 --- /dev/null +++ b/.changeset/weak-spiders-itch.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes and issue where the Table of Contents is unable to find any current headi...
9
8
4
[{"id": "G0", "claim": "The second IntersectionObserver may not be good practice; the underlying issue should be fixed instead, probably by making getRootMargin() detect an appropriate position that takes the banner into account.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, ...
null
withastro__starlight__3457
withastro/starlight
3,457
defect
1e7001e6a39d8585ead57a5979c57d4299468b0c
4ca84c3fb732b9e16dd7cf5cecd00629fcc37397
Dedupe head sitemap link tags
#### Description - Closes #3456 As discussed in the linked issue, this PR dedupes `<link rel="sitemap" href="" />` tags in the head, similar to how `<link rel="canonical" href="" />` tags are deduped. I think the changeset is a bit verbose, not quite sure how to make it more concise while still being clear and...
diff --git a/.changeset/mean-icons-sneeze.md b/.changeset/mean-icons-sneeze.md new file mode 100644 index 00000000000..4a23c16ce1f --- /dev/null +++ b/.changeset/mean-icons-sneeze.md @@ -0,0 +1,9 @@ +--- +'@astrojs/starlight': patch +--- + +Dedupes sitemap link tags in the head. + +When [enabling sitemap](https://starl...
3
2
0
[{"id": "G0", "claim": "The hasTag() JSDoc comment should be updated to mention that all cases including the new `<link rel=\"sitemap\">` matching are covered, and would read better split over two lines with fewer \"or\"s.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, ...
null
withastro__starlight__3534
withastro/starlight
3,534
defect
0a615ec5ed76049ba2f224b2efcf81265a413ddb
7b632bad1b2a492b5ef721afba10b814d6711ce1
Pagefind CLI → Pagefind API
#### Description - Closes #3503 This PR refactors how Pagefind is run after the build process. Instead of using the CLI via `npx`, it now uses the [Pagefind API](https://pagefind.app/docs/node-api/) directly. Feature-wise, there should be no changes but one aspect which will differ is logging. | Before | ...
diff --git a/.changeset/great-squids-repair.md b/.changeset/great-squids-repair.md new file mode 100644 index 00000000000..22cf2096e8e --- /dev/null +++ b/.changeset/great-squids-repair.md @@ -0,0 +1,5 @@ +--- +"@astrojs/starlight": patch +--- + +Fixes support for running builds when `npx` is unavailable. diff --git a/...
5
5
2
[{"id": "G0", "claim": "The 'Running Pagefind…' log message should be reworded to 'Building search index with Pagefind...' so it conveys the outcome to users unfamiliar with Pagefind, and the ellipsis character spelled out as '...'.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "in...
null
withcoral__coral__159
withcoral/coral
159
defect
fccd4caaa275ca21c490156a781207194004a81f
dd64500167c7346c59908dbf5e89e7512b8713b0
fix(spec): recognize inputs block for parquet and jsonl manifests
## Summary Parquet- and JSONL-backed source manifests silently ignored any declared `inputs:` block. `ValidatedSourceManifest::required_secret_names()` and `declared_inputs()` were hardcoded to return empty for those backends, so secrets written to `<config>/workspaces/<ws>/sources/<name>/secrets.env` were filtered ou...
diff --git a/crates/coral-engine/tests/engine/parquet_tests.rs b/crates/coral-engine/tests/engine/parquet_tests.rs index 65c5d5f713..ee008404a1 100644 --- a/crates/coral-engine/tests/engine/parquet_tests.rs +++ b/crates/coral-engine/tests/engine/parquet_tests.rs @@ -5,8 +5,8 @@ use serde_json::{Value, json}; use tempf...
1
1
0
[{"id": "G0", "claim": "Since all three backends now implement declared_inputs and required_secret_names() identically, lift declared_inputs: Vec<ManifestInputSpec> into SourceManifestCommon and put required_secret_names() there too, so the match arms in parser.rs can be removed and future backends need no updates.", "...
null
withcoral__coral__188
withcoral/coral
188
defect
a6624bcd0ad076304ba619ff9875ee3c596f05a6
d3ccd10b70f2a523d98d880e0ed1983b6b262ca6
feat(cli): add `source info` command
## Summary - Adds `coral source info <name>` which shows whether a source is installed, along with version, description, and declared inputs. - `-v/--verbose` reveals each input's hint text; hints are hidden by default to keep output terse. - Uses the existing `DiscoverSources` RPC; errors cleanly with `unknown sour...
diff --git a/crates/coral-cli/src/lib.rs b/crates/coral-cli/src/lib.rs index 410e0084d0..279949603c 100644 --- a/crates/coral-cli/src/lib.rs +++ b/crates/coral-cli/src/lib.rs @@ -91,6 +91,14 @@ enum SourceCommand { Discover, /// List configured sources List, + /// Show metadata for a source + Info ...
4
2
1
[{"id": "G0", "claim": "The new user-facing CLI command `coral source info` (with `--verbose`) was added without corresponding /docs updates, causing docs/code drift.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`coral source add <name> --help` ...
null
withcoral__coral__204
withcoral/coral
204
defect
2a4e68e8ca026a0c6494797c90f18e9c2fa23074
a232a24a1cca15dd0eee49aa814dd3b073ad6f06
feat(http-dsl): support text request bodies and JSONEachRow responses
## Intent The HTTP DSL today can only express JSON request bodies and parses every response as a single JSON document. That blocks SQL-over-HTTP APIs like ClickHouse and BetterStack's logs API, which need a raw SQL string in the request body and respond with newline-delimited JSON (`JSONEachRow`). This PR expands the ...
diff --git a/crates/coral-engine/src/backends/http/client.rs b/crates/coral-engine/src/backends/http/client.rs index 1d442a595d..d643303180 100644 --- a/crates/coral-engine/src/backends/http/client.rs +++ b/crates/coral-engine/src/backends/http/client.rs @@ -19,8 +19,9 @@ use crate::backends::shared::template::{ }; u...
2
2
1
[{"id": "G0", "claim": "When the text body's content resolves to None, this sends the literal \"null\" body; it should return None (no body) when the value source is absent instead of forcing Value::Null.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null
withcoral__coral__237
withcoral/coral
237
defect
43bdd285fa1592cb607a8ef6b9d685cddb54d6b9
c2c8efa11e6ff8748bc457c6dfcdcd984562f6ab
feat(engine): advertise source-scoped table functions
## What changed Adds runtime catalog metadata for manifest-declared source-scoped table functions. This does not execute functions yet; it only carries the function shape from validated source manifests into `coral.table_functions`. ## Scope - Add `RegisteredTableFunction` metadata to registered sources - Populate H...
diff --git a/crates/coral-engine/src/backends/common.rs b/crates/coral-engine/src/backends/common.rs index b7bbf99706..e1224fb011 100644 --- a/crates/coral-engine/src/backends/common.rs +++ b/crates/coral-engine/src/backends/common.rs @@ -7,7 +7,8 @@ use crate::{QueryRuntimeContext, RequestAuthenticator}; use async_tr...
4
2
1
[{"id": "G0", "claim": "coral.table_functions exposes only public_name = \"<schema>.<func>\" while coral.tables exposes separate columns, so add function_name as a separate column too (keeping public_name as a convenience would be fine) so consumers can filter or group without stripping the schema prefix.", "category":...
null
withcoral__coral__248
withcoral/coral
248
defect
cea0000d76d560c49201f311684482590f7689a0
4901043201725947cfab12f7595fa1f33564099e
feat(mcp): add opt-in feedback tool
## Intent Agents can now report when they are blocked without making feedback collection part of the default MCP surface. The feedback path stays app-owned for persistence while MCP exposes it only when the user explicitly opts in. ## Changes - Adds a `FeedbackService` transport contract and app-owned JSONL persiste...
diff --git a/Cargo.lock b/Cargo.lock index d8ff92ab5d..832a4a81ba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -982,6 +982,7 @@ name = "coral-app" version = "0.1.5" dependencies = [ "arrow", + "chrono", "coral-api", "coral-auth-aws", "coral-client", @@ -1002,6 +1003,7 @@ dependencies = [ "tonic", "tonic-ty...
3
3
1
[{"id": "G0", "claim": "`append_file_private` does not enforce private permissions on existing files: `.mode(0o600)` only affects newly created files, so appending can keep an already-permissive file mode.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ...
null
withcoral__coral__254
withcoral/coral
254
defect
cea0000d76d560c49201f311684482590f7689a0
1a583b1baad9dce231ee237c29d7fbf0769368bd
fix(catalog): expose column nullability
## Summary - Adds `is_nullable` to `coral.columns` so schema discovery distinguishes nullable and non-nullable columns. - Updates MCP discovery guidance and large-catalog next steps to include nullability. - Exposes `linear.projects.description` and marks it nullable in the source manifest. ## Linear feedback mapping...
diff --git a/crates/coral-engine/src/backends/shared/mapping.rs b/crates/coral-engine/src/backends/shared/mapping.rs index a41ab3c8de..7ec1b9dd14 100644 --- a/crates/coral-engine/src/backends/shared/mapping.rs +++ b/crates/coral-engine/src/backends/shared/mapping.rs @@ -106,15 +106,12 @@ fn eval_expr(expr: &ExprSpec, r...
1
1
1
[{"id": "G0", "claim": "The changed `coral.columns` guidance SQL in the list_tables next_steps output is not regression-tested; the existing test only checks the `coral.tables` next step and misses the new nullability/virtual-column SQL.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "intro...
null
withcoral__coral__281
withcoral/coral
281
defect
a651d38257d3c175e0f79dcf2ec74e9fea13f1e6
161818b4a7c340ff07a8c535844752e415da5bdb
feat(mcp): add regex table discovery
Draft stacked on #265. ## Summary - Adds shared MCP discovery helpers for pagination, regex compilation, SQL string literals, and table-summary shaping. - Adds `search_tables` over `coral.tables` with optional schema narrowing, regex matching, `matched_fields`, and pagination. - Updates MCP guide/docs and MCP std...
diff --git a/Cargo.lock b/Cargo.lock index 1036c2d824..f1f19898b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1104,6 +1104,7 @@ dependencies = [ "coral-api", "coral-app", "coral-client", + "regex", "rmcp", "serde_json", "tempfile", diff --git a/Cargo.toml b/Cargo.toml index e8fa0825e5..00b1bf1ac2 100644 --...
1
1
1
[{"id": "G0", "claim": "The MCP handler should not own raw `coral.tables` SQL construction, row decoding, regex matching and response shaping; instead `guide` should be added to the typed table metadata path (`TableInfo`, proto, transport) and `search_tables` should regex-filter `ListTables` summaries in MCP.", "catego...
null
withcoral__coral__282
withcoral/coral
282
defect
a651d38257d3c175e0f79dcf2ec74e9fea13f1e6
21d0e9c42d020dce9293ef2185580a79618faf41
feat(mcp): add describe_table discovery
Stacked on #281 (merged). ## Summary - Adds `describe_table` for one exact schema/table lookup without dumping full columns. - Uses the typed exact-table `ListTables` path for found tables and derives `column_count` from `Table.columns.len()`, so `coral-mcp` does not hand-query `coral.columns` for this metadata. - Ret...
diff --git a/Cargo.lock b/Cargo.lock index 1036c2d824..f1f19898b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1104,6 +1104,7 @@ dependencies = [ "coral-api", "coral-app", "coral-client", + "regex", "rmcp", "serde_json", "tempfile", diff --git a/Cargo.toml b/Cargo.toml index e8fa0825e5..00b1bf1ac2 100644 --...
7
5
3
[{"id": "G0", "claim": "The pull request added a user-facing MCP tool surface (search_tables, describe_table) without keeping all relevant /docs pages in sync.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "describe_table computes column_count thr...
null
withcoral__coral__79
withcoral/coral
79
defect
f61ac98e5882b5bcce7ab8400e0f93d548976c4d
728844c162cc5f69cde23f5ac5f3e96f45b7871a
feat(spec): add timestamp columns and parsed column templates
## Summary Fixes DATA-366 by exposing Slack message timestamps as real `Timestamp` values and adding message permalinks, while also formalizing the new source-spec column expression API. ## What changed - add `Timestamp` as a source-spec column type - add `format_timestamp` to normalize epoch `seconds` or `milliseco...
diff --git a/crates/coral-engine/src/backends/common.rs b/crates/coral-engine/src/backends/common.rs index bf1087d785..a5488d72c0 100644 --- a/crates/coral-engine/src/backends/common.rs +++ b/crates/coral-engine/src/backends/common.rs @@ -7,7 +7,7 @@ use crate::QueryRuntimeContext; use async_trait::async_trait; use c...
6
6
3
[{"id": "G0", "claim": "Template replacement logic iterates a HashMap and does sequential whole-string replaces, so replacement is non-deterministic and only one `remove` modifier per key is supported.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
withcoral__coral__82
withcoral/coral
82
defect
a29d7a02f0eec0f9004b67059d93130bbabd26fc
155143f6b0a5d12c183e8d756ccf93db5bff696d
fix(app): load bundled sources from binary
Bundled source installs currently persist a `manifest.yaml` copy under the workspace, so upgrading Coral can leave an installed bundled source pinned to an older embedded spec even when the binary ships fixes. That stale manifest also means newly bundled input requirements are invisible until the user manually re-adds ...
diff --git a/crates/coral-app/AGENTS.md b/crates/coral-app/AGENTS.md index 2bee4cd7a3..f132f2a0fd 100644 --- a/crates/coral-app/AGENTS.md +++ b/crates/coral-app/AGENTS.md @@ -30,8 +30,10 @@ root. - Keep `state/`, `workspaces/`, `sources/`, and `query/` as the main internal boundaries. Do not create new sub-boundari...
4
4
1
[{"id": "G0", "claim": "In resolve_installed_manifest, `available.installed = true` is redundant because describe_manifest is already called with installed: true; remove the redundant write or pass false to describe_manifest instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "i...
null
witnet__witnet-rust__1003
witnet/witnet-rust
1,003
defect
56b6205263e54e3be096a7d0e0a5d8ad9674c972
ac03ef52058c1b6236df720018600f8df9145424
Extra commit rounds
Close #999
diff --git a/data_structures/src/chain.rs b/data_structures/src/chain.rs index 16b30bc17f..df0e505295 100644 --- a/data_structures/src/chain.rs +++ b/data_structures/src/chain.rs @@ -732,6 +732,7 @@ pub struct DataRequestOutput { pub commit_fee: u64, pub reveal_fee: u64, pub tally_fee: u64, + pub extr...
3
2
0
[{"id": "G0", "claim": "The doc comment on the new RadonErrors variant says \"Received zero reveals\" but should say \"Received zero commits\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new error variant should be named InsufficientCommit...
null
witnet__witnet-rust__1127
witnet/witnet-rust
1,127
defect
c02dd48dd089a44dceb7ce8fd4f776a84636dcb8
8ef064ecd32a3fd7b5a6948de3d432f1b2aeb327
Wallet: initial block sync & downtime catch-up
This implements initial block synchronization for the wallet and unifies block handling and transaction indexing so they are dealt with in the same way regardless of they being discovered through initial sync or real time block notifications. BREAKING CHANGE: I accidentally broke the temporary wallet funding method,...
diff --git a/Cargo.lock b/Cargo.lock index 07a153469a..02579ff4d8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4169,6 +4169,7 @@ dependencies = [ "failure 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.1.29 (registry+https://github.com/rust-lang/crates.io-index)", "futures 0.3.4 (regis...
8
6
4
[{"id": "G0", "claim": "Persisting last_sync once per batch of blocks is only safe under the assumption that the same transaction cannot be processed twice by a single wallet, and that assumption needs to be validated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
witnet__witnet-rust__1136
witnet/witnet-rust
1,136
defect
184246ce10af9d82b4931baaaf99f1d2ce260c42
6a674189b5e9e3ce2623394f5f73687963e36ca4
fix(peering): add public address field to fix bucketing problems
Fix #1055
diff --git a/config/src/config.rs b/config/src/config.rs index 1dc2d66406..231b571479 100644 --- a/config/src/config.rs +++ b/config/src/config.rs @@ -150,6 +150,9 @@ pub struct Connections { /// peers should bind to pub server_addr: SocketAddr, + /// Public address + pub public_addr: SocketAddr, + ...
2
2
1
[{"id": "G0", "claim": "Rename the `set_server_address` method and the `server_address` field into `set_public_address`/`public_address` now that they hold the public address.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "Consider making the ne...
null
witnet__witnet-rust__1169
witnet/witnet-rust
1,169
defect
3567616f5c816c3a51aeae0f7f63ff296d77cca9
31c4ddeafd8a50f00ad2bbb5b5c78279bd8f931d
Make wallet server report node and own status to clients
This is more or less complete, it is only missing the network label, which the node doesn't provide. I'll do some magic tricks to get that. Fix #1152
diff --git a/wallet/src/actors/app/error.rs b/wallet/src/actors/app/error.rs index 456b7479d8..0b73e4486a 100644 --- a/wallet/src/actors/app/error.rs +++ b/wallet/src/actors/app/error.rs @@ -10,8 +10,8 @@ use crate::actors; pub enum Error { #[fail(display = "validation error")] Validation(ValidationErrors), ...
3
1
0
[{"id": "G0", "claim": "If the wallet ever needs to support more than one subscription id per session, the subscription id could be composed as format!(\"{}-{}\", session_id, subscription_id) instead of reusing the session id.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {...
null
witnet__witnet-rust__1214
witnet/witnet-rust
1,214
defect
59e601f88cce5f92314590dc0b04490f552c4624
a60eb602fa1a185097ff3cf76ee536caa00afce3
fix(wallet): index genesis block in initial sync
The wallet was not indexing the genesis block at the initial wallet synchronization, because of the `since_beacon` is pointing to epoch 0 and the sync logic start at `checkpoint + 1`. The solution was to handle this specific case before the `loop` that iterates synchronization batches.
diff --git a/wallet/src/actors/worker/methods.rs b/wallet/src/actors/worker/methods.rs index 62c5aa5b61..92b094dd27 100644 --- a/wallet/src/actors/worker/methods.rs +++ b/wallet/src/actors/worker/methods.rs @@ -566,6 +566,22 @@ impl Worker { let mut since_beacon = since_beacon; let first_beacon = sinc...
1
1
0
[{"id": "G0", "claim": "The `expect` panic message for the genesis block entry should be reworded from \"A Witnet chain should always have at least one genesis block\" to \"A Witnet chain should always have a genesis block\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"...
null
witnet__witnet-rust__1235
witnet/witnet-rust
1,235
defect
2df6d6bdfcf2253eb334c627c9e35b74546a5e57
c9e7d0aeb278397a2b2e13e6c02f3112cd09bc56
feat: add bls public keys to commit transactions and mined blocks
Closes #1229 This PR: - updates protobuf schema - updates data structures (commit transaction body and block header) - initializes the chain manager with the bn256 public key (from signature manager) - includes the secp bls mapping (@tmpolaczyk) - adds protobuf convert for Option<T>
diff --git a/data_structures/src/chain.rs b/data_structures/src/chain.rs index fea56950a6..b920e4dc15 100644 --- a/data_structures/src/chain.rs +++ b/data_structures/src/chain.rs @@ -368,6 +368,7 @@ impl Block { }, merkle_roots, proof: Default::default(), + ...
4
4
1
[{"id": "G0", "claim": "Replace the hardcoded `let is_ars_member = false;` placeholder with an actual ARS-membership lookup (`act.chain_state.reputation_engine.ars().contains(&own_pkh)`) so the node decides from its real membership whether to include its bn256 public key.", "category": "correctness", "verdict": "suppor...
null