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
DynamoRIO__dynamorio__7527
DynamoRIO/dynamorio
7,527
defect
0e53bdedda03f3bfd7c213e3d5ed58c8751f83bd
3f485d916421af9b42f41e1c4c2d9fc29f7f9530
i#7499: Update to Windows 2022 GA runners and fix build + run errors
Updates our Windows jobs to use the "windows-2022" Github runner. Also fixes multiple build and run problems to get things green: + Fixes several compiler warnings. + Once of the fixed compiler warnings looks like a real bug in drwrap: looking at the wrong flags value. + Downgrades asserts on `!is_dynamo_address(...
diff --git a/.github/workflows/ci-package.yml b/.github/workflows/ci-package.yml index 604a3049c9..2db18679cc 100644 --- a/.github/workflows/ci-package.yml +++ b/.github/workflows/ci-package.yml @@ -275,7 +275,7 @@ jobs: ########################################################################### # Windows .zip wi...
2
2
0
[{"id": "G0", "claim": "In dispatch_exit_fcache, the downgraded app_fls_data assert should carry a TODO rather than an XXX, since the issue i#7220 it defers is not benign.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In swap_peb_pointer_ex, th...
null
DynamoRIO__dynamorio__7530
DynamoRIO/dynamorio
7,530
defect
16d6740b1d327bb0d930a6cfb4937dd2a198d65d
528660d0b784b2f7c13d005744ffe53f1bdabe99
i#7504 time scale: Add drx_register_time_scaling()
Adds a new drx library feature: drx_register_time_scaling() which in this initial implementation scales timers on Linux (both itimers and POSIX timers) in both 64-bit and 32-bit. Relaxes a DR assert to allow itimer processing during client init. Clarifies the dr_syscall_set_param() docs: it does work to set state d...
diff --git a/api/docs/release.dox b/api/docs/release.dox index af8b93bdd0..8b2600ac95 100644 --- a/api/docs/release.dox +++ b/api/docs/release.dox @@ -187,6 +187,8 @@ Further non-compatibility-affecting changes include: - Added reg_is_avx512(). - Added routine dr_invoke_syscall_as_app() to invoke a system call as t...
16
12
4
[{"id": "G0", "claim": "The timer_scale field should be an unsigned type since it is documented as only supporting positive values.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The struct documentation should explain why there are two separate scales, ...
null
DynamoRIO__dynamorio__7545
DynamoRIO/dynamorio
7,545
defect
3cbe0627dfeff5ff6e5181f580144f37a7a574e0
8727e47122e76d5cd7269adec6045ebe1071b88e
i#7504 time scale: Fix just-fired timer bug
Fixes a bug where if a timer just fired right before drx_unregister_time_scaling() queries it in order to restore it to its app duration, the drx code will end up disabling the timer by leaving the "it_value" as 0. This is fixed by resetting the timer ourselves by setting "it_value" to "it_interval". Removes client...
diff --git a/ext/drx/drx_time_scale.c b/ext/drx/drx_time_scale.c index 36221c3cc3..d19c6954b1 100644 --- a/ext/drx/drx_time_scale.c +++ b/ext/drx/drx_time_scale.c @@ -423,28 +423,39 @@ scale_itimers(void *drcontext, bool inflate) */ NOTIFY(2, "Scaling itimers\n"); const int TIMER_TYPES[] = { ITIMER_REAL...
2
2
0
[{"id": "G0", "claim": "Add `res` to the getitimer/setitimer failure NOTIFY messages in scale_itimers(), as is done in scale_posix_timers().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The naming of itimerspec64_t / SYS_timer_[get|set]time64 ...
null
DynamoRIO__dynamorio__7578
DynamoRIO/dynamorio
7,578
defect
2f75791f0eabaa942dcb1d075dc69f9acef08134
af80beffeb17133619369bccd1fea86fbff60ded
i#5771: On AArch64 optionally mangle MRS to make CTR_EL0.DIC seem zero.
This is a work-around rather than a proper fix for issue #5771. It may also facilitate experimentation by users. When "-fake_ctr_dic" is specified the MRS instruction is mangled by adding a following AND (immediate) instruction that clears the corresponding bit. Most programs will then execute the IC IVAU instructio...
diff --git a/core/arch/mangle_shared.c b/core/arch/mangle_shared.c index 1b7b3cd3bb..eae97eced7 100644 --- a/core/arch/mangle_shared.c +++ b/core/arch/mangle_shared.c @@ -1950,6 +1950,31 @@ d_r_mangle(dcontext_t *dcontext, instrlist_t *ilist, uint *flags DR_PARAM_INOUT, } #endif +#ifdef AARCH64 + /* ...
9
8
2
[{"id": "G0", "claim": "Use XXX instead of FIXME in the new comment in core/arch/mangle_shared.c, per the style guide.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Use XXX instead of FIXME in the new comment in core/optionsx.h, per the style g...
null
DynamoRIO__dynamorio__7586
DynamoRIO/dynamorio
7,586
defect
a2beedcca0772ac28bb978e56e35e02d2461182c
c81dc88ff9172251318ad2d71eb8b0dd63ffb64a
i#7588 drsyscall: Add timestamp to syscall beginning and end records.
Add new DrSyscall record types DRSYS_SYSCALL_NUMBER_TIMESTAMP and DRSYS_RECORD_END_TIMESTAMP to replace DRSYS_SYSCALL_NUMBER and DRSYS_RECORD_END. The new record types have a timestamp to record when a syscall is called and ended. Add START_PACKED_STRUCTURE and END_PACKED_STRUCTURE to the union in syscall_record_t ...
diff --git a/api/docs/release.dox b/api/docs/release.dox index e7bfb32fa6..fa0c90bf90 100644 --- a/api/docs/release.dox +++ b/api/docs/release.dox @@ -132,6 +132,13 @@ changes: - Added new fields elf_path and elf_path_size to dr_memory_dump_spec_t. When dr_create_memory_dump() returns true and elf_path is not NUL...
8
8
2
[{"id": "G0", "claim": "The text \"Update syscall-recrods-test to look for timestamps.\" misspells \"records\" and should read \"syscall-records-test\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The changelist documents the deprecation of DRS...
null
DynamoRIO__dynamorio__7594
DynamoRIO/dynamorio
7,594
defect
cded818c317bb5b68fd36d4e3f76d601bc8d9d90
62006d4a9a975c9725d814aeae6d54ebf48d5258
i#7504 time scale: Add stats on drx scaling
Records and provides statistics on the counts of scaling attempts, failures, and nops for each class of operations that are scaled. Adds testing of the new interface. Issue: #7504
diff --git a/ext/drx/drx.h b/ext/drx/drx.h index 04e6600dfb..c2f4920ba0 100644 --- a/ext/drx/drx.h +++ b/ext/drx/drx.h @@ -574,6 +574,40 @@ typedef struct _drx_time_scale_t { uint timeout_scale; } drx_time_scale_t; +/** Application action types for #drx_time_scale_stat_t. */ +typedef enum { + DRX_SCALE_ITIME...
1
1
0
[{"id": "G0", "claim": "Add an assert that count_attempted >= count_failed + count_nop for the DRX_SCALE_SLEEP stats in the sleep scale test.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
DynamoRIO__dynamorio__7595
DynamoRIO/dynamorio
7,595
defect
9f37c6a062cbe709f57c8b61566cb4e61dbdee9b
d7fcb5c329f7ef35bb9c13f7cd1dff1cc60e0031
i#7504 time scale: Increase zero sleep to scale it
A sleep system call with a zero duration is not a nop and does block. We increase a requested zero to 10us so it will be inflated too. Adds a sanity check on the nop stats to the drx sleep test. Manually tested further on a large application with drmemtrace -scale_timeouts. Issue: #7504
diff --git a/ext/drx/drx_time_scale.c b/ext/drx/drx_time_scale.c index ce4ef72cea..120db4f023 100644 --- a/ext/drx/drx_time_scale.c +++ b/ext/drx/drx_time_scale.c @@ -103,6 +103,7 @@ typedef struct _per_thread_t { #endif void *app_read_timer_param; void *app_set_timer_param; + bool was_zero; } per_thread...
2
2
0
[{"id": "G0", "claim": "Given the strong dependence between drx's zero-sleep constant and the drmemtrace scheduler constant, it may be prudent to add a comment by the latter constant too.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It might be ...
null
DynamoRIO__dynamorio__7596
DynamoRIO/dynamorio
7,596
defect
fe5a63d76c6c7925a8cabd4defe753a2b5856064
7e80c63d7fe059bce5516459abe2d8ffa76075c1
i#7504 scale time: Scale futex timeouts
Adds scaling of futex timeouts to the drx time scaling feature. Adds handling of both relative and absolute (both clock types) varieties. Adds a new test drx_timeout_scale-test which exercises each type of timeout (and will be used for other system call timeouts as well, hence the name). Fixes a bug in dr_invoke_...
diff --git a/core/unix/os.c b/core/unix/os.c index d51ee07b11..6383b41d05 100644 --- a/core/unix/os.c +++ b/core/unix/os.c @@ -5833,6 +5833,11 @@ dr_invoke_syscall_as_app(void *drcontext, int sysnum, int arg_count, ...) * arches that's just the return value which equals the 1st parameter. */ reg_t save...
8
8
1
[{"id": "G0", "claim": "On AArch64 the app's futex syscall fails with EFAULT, causing the AArch64 CI failures.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "A comment describing the FUTEX_LOCK_PI2 constant would be useful.", "category": "documentat...
null
DynamoRIO__dynamorio__7599
DynamoRIO/dynamorio
7,599
defect
fe5a63d76c6c7925a8cabd4defe753a2b5856064
9bda9d93e4a6004abbc78450ccf9145d318793fe
i#7504 scale time: Fix missing sleep filter
Adds sleep syscalls to the filter event which were omitted by PR #7568. This did not affect the drx_sleep_scale-test as its use of syscall() caused DR to not find the number, and it seems that the libc nanosleep() wrapper ends up also using a split-block syscall, but it could affect some uses. (The filter only matters ...
diff --git a/ext/drx/drx_time_scale.c b/ext/drx/drx_time_scale.c index c904e740ce..4a950f45a4 100644 --- a/ext/drx/drx_time_scale.c +++ b/ext/drx/drx_time_scale.c @@ -325,9 +325,12 @@ event_filter_syscall(void *drcontext, int sysnum) #ifndef X64 case SYS_timer_gettime64: case SYS_timer_settime64: + case S...
2
2
1
[{"id": "G0", "claim": "The existing test still passes without the new sleep filter because libc's syscall number is not statically determinable, so a test case with a statically determinable syscall number (e.g. via inline asm syscall/svc) should be added to actually validate the filter.", "category": "testing", "verd...
null
DynamoRIO__dynamorio__7600
DynamoRIO/dynamorio
7,600
defect
93b73b9de8e6006c363a85e109ef74daf62e2125
0375bcbc403886ecafb407e206c62438dca2eeaf
i#7576 detach: Check AArch64 SIMD registers in detach_state test
Adds support for checking the AArch64 vector registers in the api.detach_state test. When built with SVE support it will check all Z and P registers and the FFR. When built without SVE support it will check all the Neon V registers. The SVE support is intended to work with any vector length and has been tested with ...
diff --git a/suite/tests/api/detach_state.c b/suite/tests/api/detach_state.c index e5aacc6f35..3d75520c49 100644 --- a/suite/tests/api/detach_state.c +++ b/suite/tests/api/detach_state.c @@ -232,11 +232,17 @@ check_gpr_value(const char *name, ptr_uint_t value, ptr_uint_t expect) } static void -check_simd_value(cons...
2
2
0
[{"id": "G0", "claim": "The comment should say \"Issue\" instead of \"Issues\" to match the project's convention.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The SIMD register values are hardcoded in two places (the SET_UNIQUE_REGISTER_VALS s...
null
DynamoRIO__dynamorio__7622
DynamoRIO/dynamorio
7,622
defect
6cc717c8dd7e641e881de21a6e63de3df4c9dd9d
9eeb6b44cfa4e028d6a8641840c0c2b23a5e34f7
i#7598 attach gap: Pause all threads at takeover
Adds a new DR option -synchronous_attach which is on by default. When on, during DR start, when DR takes over all other threads, DR no longer lets each one execute immediately upon takeover. Instead, each thread is suspended at a barrier, and only once all threads are taken over and the client's post-attach event is ...
diff --git a/api/docs/intro.dox b/api/docs/intro.dox index a17fe8150e..495bc91e0c 100644 --- a/api/docs/intro.dox +++ b/api/docs/intro.dox @@ -1,5 +1,5 @@ /* ****************************************************************************** - * Copyright (c) 2010-2024 Google, Inc. All rights reserved. + * Copyright (c) 2...
3
3
0
[{"id": "G0", "claim": "The misspelled word \"takeoever\" in the release.dox note about synchronous takeover should be corrected to \"takeover\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The release.dox note should add that -no_synchronous_a...
null
DynamoRIO__dynamorio__7623
DynamoRIO/dynamorio
7,623
defect
f34c7032acd8825df057242ddc15be5ed11b9131
3ab07b5b7b13401a057056233f3391731df3f46d
i#7552: Fix a race condition in attach-memory-dump-syscall-test.
There is a race condition between the post-command to read the syscall record file and the DR client in attach-memory-dump-syscall-test.dll.c writing to the file. The post-command is triggered by writing "done" to STDOUT or STDERR. This race is resolved by having the DR client write the done only after it has finished...
diff --git a/suite/runsuite_wrapper.pl b/suite/runsuite_wrapper.pl index dee9f91353..81b5cc0711 100755 --- a/suite/runsuite_wrapper.pl +++ b/suite/runsuite_wrapper.pl @@ -512,7 +512,6 @@ %ignore_failures_64 = ( 'code_api|api.rseq' => 1, # i#6185 i#1807 'code_api|tool.drcac...
1
1
0
[{"id": "G0", "claim": "The PR description should describe how the fix was tested, with numbers (e.g. ran 100x and it failed 20x before and 0x with the fix).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
DynamoRIO__dynamorio__7625
DynamoRIO/dynamorio
7,625
defect
ad88dee79879a32e61fe805882ac239a3a1e5676
e37f5ad6a3bd106420737118b3025ce7fa4b2bf0
i#7598 attach gap: Add drmgr post-attach event
Adds drmgr mediation of the post-attach event to provide a user-data version and priorities. Adds a test. Updates the changelist compatibility section as this requires clients to switch from the base DR event. Issue: #7598, #7604
diff --git a/api/docs/release.dox b/api/docs/release.dox index ecf73a594c..a4def90ba3 100644 --- a/api/docs/release.dox +++ b/api/docs/release.dox @@ -150,6 +150,11 @@ compatibility changes: drmgr_unregister_filter_syscall_event_user_data(), which are required to be used instead of dr_register_filter_syscall_ev...
1
1
0
[{"id": "G0", "claim": "The once-guard in the new event_post_attach test handler is unnecessary because post_attach is handled by only one thread, so it can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
DynamoRIO__dynamorio__7632
DynamoRIO/dynamorio
7,632
defect
98411275fdf58b49da5ff907d897812707cdb84c
d49dab0d2b0ece0831f69e2b87949029bfaaabc7
i#7588 drsyscall: Add functions to write pre and post syscall records.
Add new functions to write pre-syscall and post-syscall records to drsyscall_record_lib. drsyscall_write_pre_syscall_records() writes DRSYS_SYSCALL_NUMBER_TIMESTAMP, DRSYS_PRECALL_PARAM, and DRSYS_MEMORY_CONTENT records using the caller provided write function. drsyscall_write_post_syscall_records() writes DRSYS_...
diff --git a/ext/drsyscall/CMakeLists.txt b/ext/drsyscall/CMakeLists.txt index 426884293d..735a42e514 100644 --- a/ext/drsyscall/CMakeLists.txt +++ b/ext/drsyscall/CMakeLists.txt @@ -170,7 +170,7 @@ use_DynamoRIO_extension(drsyscall_static drcontainers) use_DynamoRIO_extension(drsyscall_static drsyms_static) configur...
4
4
0
[{"id": "G0", "claim": "The comment in CMakeLists.txt should say drsyscall_write_post_syscall_records() (post), not pre, where it lists DRSYS_POSTCALL_PARAM records.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Function names in the new Doxygen ...
null
DynamoRIO__dynamorio__7647
DynamoRIO/dynamorio
7,647
defect
086f59988c4cf626c575338045ad29edb599af7b
f264ebc3391c9f2963510370d2cd071a5e860ea7
i#7504 scale time: Avoid scaling overflows
Adds checks when scaling timeouts to prevent overflow. Adds a new stat count_time_too_large to count such cases. Adds test cases that fail without the new checks. Further tested on an internal case where an app failed without this fix. Issue: #7504
diff --git a/ext/drx/drx_time_scale.c b/ext/drx/drx_time_scale.c index 3dfb425393..8c19ba46bd 100644 --- a/ext/drx/drx_time_scale.c +++ b/ext/drx/drx_time_scale.c @@ -41,6 +41,7 @@ #include <string.h> #include <time.h> #include <unistd.h> +#include <limits.h> #ifdef UNIX # ifdef LINUX # include "../../c...
7
3
0
[{"id": "G0", "claim": "This too-large-time refusal should get its own counter, since it is a different (and lesser) concern than other failures.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new MAX_PRESCALED_TV_SEC limit could be declared constexp...
null
DynamoRIO__dynamorio__7659
DynamoRIO/dynamorio
7,659
defect
1e1cde316e5702ce2294420aa0791c7802bfae93
8a56c4b06acd6d210cd265930f6dc83102826621
i#7576 detach: Port detach_state flags tests to AArch64 and extend
Ports the two detach_state eflags tests to AArch64 and extends them to test the AArch64 floating point status and control registers as well. I have renamed the tests from check_eflags* to check_status_reg* to reflect the widened scope. Issues: #7576, #4698
diff --git a/suite/tests/api/detach_state.c b/suite/tests/api/detach_state.c index b684369025..f3a2e77086 100644 --- a/suite/tests/api/detach_state.c +++ b/suite/tests/api/detach_state.c @@ -70,9 +70,9 @@ thread_check_gprs_from_DR1(void); extern void thread_check_gprs_from_DR2(void); extern void -thread_check_eflags...
1
1
0
[{"id": "G0", "claim": "Add a comment explaining why the first mov that loads NZCV_BASE does not need SET_GPR_IMMED, since NZCV_BASE is 0xa0000000 and would seem to require the movz/movk sequence.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
DynamoRIO__dynamorio__7668
DynamoRIO/dynamorio
7,668
defect
f892973271f3ae2d53fed65d84989e0fa85adb1d
311895673157d87265c41d535d01169ca7cc7e88
i#297: Fix client thread synch issues and api.static_sideline test
Gets the api.static_sideline test working again and removes its _FLAKY status: + Moves the test's wait to the post-attach event b/c client threads wait for dr_app_start. + Passes in the dcontext to thread exit in cleanup_and_terminate to work around the #3535 TLS ignoring so client threads can exit on their own: ...
diff --git a/core/arch/x86/x86.asm b/core/arch/x86/x86.asm index 8245bc71da..bb38cc2db7 100644 --- a/core/arch/x86/x86.asm +++ b/core/arch/x86/x86.asm @@ -154,6 +154,7 @@ DECL_EXTERN(dr_app_start_helper) #endif DECL_EXTERN(dynamo_process_exit) DECL_EXTERN(dynamo_thread_exit) +DECL_EXTERN(dynamo_thread_exit_dcontext)...
1
1
1
[{"id": "G0", "claim": "The STATIC_LIBRARY loop_count heuristic only gives client threads more loop iterations to exit, so synch could still \"fail\" in the rare case one is not scheduled, and it would help to highlight that possibility (with the removal of _FLAKY from api.static_sideline called into question).", "cate...
null
DynamoRIO__dynamorio__7681
DynamoRIO/dynamorio
7,681
defect
c4618dd93e8334c437ddf4db4b33caebf2742fca
6cce57f350dbe4665a813fea519704dcf91d33a4
i#7670 client TLS: Use private TLS for static client threads
Use privload_tls_init() to allocate and initialize TLS for client threads with static DR, where otherwise the TLS would just be all zeroes. This allows running limited app code in client threads, which is useful in static DR deployments. Added direct TLS and app code to the static_sideline test. Also tested on inte...
diff --git a/core/unix/loader_linux.c b/core/unix/loader_linux.c index 003b9c4ac3..9c2e19acb5 100644 --- a/core/unix/loader_linux.c +++ b/core/unix/loader_linux.c @@ -112,8 +112,12 @@ static tls_info_t tls_info; /* Maximum size of TLS for client private libraries. * We will round this up to a multiple of the page ...
1
1
1
[{"id": "G0", "claim": "The pull request should add some test coverage for the new client-TLS behaviour via suite/tests/api/static_sideline.c.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
DynamoRIO__dynamorio__7691
DynamoRIO/dynamorio
7,691
defect
5b6d5192707a91dd2d797a18f14228b457921f40
c7b96ad2098f99c4046ce2b8c034746e84ef1c51
i#7690: hashtable_t key-exposing iterator
Adds a new iterator `hashtable_apply_to_all_key_payload_pairs_user_data()` over DynamoRIO's container `hashtable_t` that exposes the key and payload pair of every element. Adds a test for the new iterator using count and sum of hashtable elements. Adds the new iterator to release doc. Fixes #7690
diff --git a/api/docs/release.dox b/api/docs/release.dox index 386f83a1cf..3d0973a562 100644 --- a/api/docs/release.dox +++ b/api/docs/release.dox @@ -269,6 +269,8 @@ Further non-compatibility-affecting changes include: PC in the trace, which is from the next instruction or the next #dynamorio::drmemtrace::TRAC...
5
5
2
[{"id": "G0", "claim": "The CI is failing (all the tests are red), with the doxygen link breakage the author diagnosed as the cause.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The loop counter should be declared inside the for statement instead ...
null
DynamoRIO__dynamorio__7692
DynamoRIO/dynamorio
7,692
defect
d7daee5fd00dd911fa868637d4876a00a4903cd1
a2bf46d1dea0d31c606f6c14b5d1ab8ee2a67823
i#5426: Mark instrs in AArch64 mangling epilogue and emulate them.
In mangling instrs that use the stolen register, mark the instrs that restore the register state as mangling epilogue. In recreate_app_state_from_ilist emulate those instructions to advance the app state to after the app instr. This fixes #5426, for which a test is added, but there are probably other translation ...
diff --git a/core/arch/aarchxx/mangle.c b/core/arch/aarchxx/mangle.c index c65a25c989..10b6cbed40 100644 --- a/core/arch/aarchxx/mangle.c +++ b/core/arch/aarchxx/mangle.c @@ -2149,12 +2149,14 @@ restore_tls_base_to_stolen_reg(dcontext_t *dcontext, instrlist_t *ilist, instr_t { /* store app val back if it might be...
12
12
1
[{"id": "G0", "claim": "The three restore/store sites in aarchxx mangle.c redundantly call instr_set_our_mangling() because PRE already copies the mangling attribute from the instrlist, so an ASSERT that the attribute is set should be added instead.", "category": "correctness", "verdict": "supported", "priority": "P2",...
null
DynamoRIO__dynamorio__7696
DynamoRIO/dynamorio
7,696
defect
cb4770093aa957886dfcafd58de08673531af9d4
623bee6cd8810d572d82356b85623aefe6f8b490
i#7577: Copy all register state during ptrace inject
Add SIMD registers and status registers to the state copied across from ptrace to DR's priv_mcontext_t. This patch also adds an attach state test to verify and defend the fix. This patch is for AArch64 only and SVE support will be added in a future patch. Issue: #7577
diff --git a/core/unix/injector.c b/core/unix/injector.c index c007bc1643..5a08e8bcd1 100644 --- a/core/unix/injector.c +++ b/core/unix/injector.c @@ -896,6 +896,7 @@ enum { MAX_SHELL_CODE = 4096 }; # define REG_RETVAL_FIELD uregs[0] /* r0 in user_regs */ # elif defined(DR_HOST_AARCH64) # define USE...
3
2
0
[{"id": "G0", "claim": "The PID should be printed unconditionally instead of being behind a commented-out manual-testing block, with a regex for the PID line in the expected output.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CHECK_REG macro shou...
null
DynamoRIO__dynamorio__7723
DynamoRIO/dynamorio
7,723
defect
062bf5450d5d4bfab07b2e2f002fdcea8663db6e
7e224922f48af081b758af277260b59f2b152ead
i#7588 drsyscall: add uname prototype.
Add uname prototype to capture memory content of the uname output parameter, Update client.syscall-records-test to add uname syscall. Issue: #7588
diff --git a/ext/drsyscall/linux_defines.h b/ext/drsyscall/linux_defines.h index ac61b79458..9744f5e848 100644 --- a/ext/drsyscall/linux_defines.h +++ b/ext/drsyscall/linux_defines.h @@ -44,6 +44,7 @@ #include <sys/time.h> /* struct timezone */ #include <sys/sysinfo.h> /* struct sysinfo */ #include <sys/timex...
1
1
0
[{"id": "G0", "claim": "The drmemory copy of the syscall table is diverging, so it would be good to switch it to use this DynamoRIO version; the reviewer asks whether an issue has already been filed to track that.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
DynamoRIO__dynamorio__7727
DynamoRIO/dynamorio
7,727
defect
2e3c90017a7ad01c627b47391f9145d8d031f39a
00c9aeffa9f4028788c0d42b5b427ec1b2ff3af4
i#7577 ptrace inject: Copy SVE register state
PR #7696 adds support for preserving Neon vector register state when attaching DynamoRIO using ptrace and this commit builds upon it to add support for the SVE register state as well. Issue: #7577
diff --git a/core/unix/injector.c b/core/unix/injector.c index 5a08e8bcd1..4b2af75e2e 100644 --- a/core/unix/injector.c +++ b/core/unix/injector.c @@ -907,6 +907,10 @@ enum { MAX_SHELL_CODE = 4096 }; # define REG_RETVAL_FIELD a0 # endif +# if defined(DR_HOST_AARCH64) +# define MAX_SUPPORTED_SVE_...
4
4
0
[{"id": "G0", "claim": "The error message about the target's SVE vector length exceeding the maximum supported should print even without verbose set.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The SVE flags check should use the TEST macro instea...
null
DynamoRIO__dynamorio__7730
DynamoRIO/dynamorio
7,730
defect
2e3c90017a7ad01c627b47391f9145d8d031f39a
aa8d2e369f1eeb2f7dbe4959596d4fa8b28c28ca
i#7729: Fix incorrect drmemtrace addr for stolen reg
Fixes a bug where drmemtrace records the wrong address for a load with no index and a base of the stolen register. Adds a test case to burst_aarch64_sys which fails without the fix. Adds a drutil base reg test case to the stolen-reg-index test as well, though drutil operates correctly here. Fixes #7729
diff --git a/clients/drcachesim/tests/burst_aarch64_sys.cpp b/clients/drcachesim/tests/burst_aarch64_sys.cpp index 1d7011d9ee..4543640e53 100644 --- a/clients/drcachesim/tests/burst_aarch64_sys.cpp +++ b/clients/drcachesim/tests/burst_aarch64_sys.cpp @@ -119,12 +119,30 @@ ic_unprivileged_flush() __asm__ __volatile...
6
5
0
[{"id": "G0", "claim": "Add a comment reminding the reader of the adrp plus `:lo12:` pattern used to load a full absolute address.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Rename prev_instr_was_mov_123456 to a name that does not hard-code th...
null
DynamoRIO__dynamorio__7736
DynamoRIO/dynamorio
7,736
defect
dd14e365faa1dbe17e658c75dd83ff1085d69849
97551de56a630a2bc8aa01a6ffa06990abf6f08d
i#7588 drsyscall: fix a boundary condition bug in drsyscall_iterate_records.
There is a bug in drsyscall_iterate_records() where it stops to process syscall record if a record ends exactly at the end of its buffer. This bug affects both drsyscall_record_trimmer and drsyscall_record_viewer. The root cause of this failure is not in the syscall record collection but rather in the iteration logi...
diff --git a/clients/drcachesim/tests/offline-drsyscall-record-test.templatex b/clients/drcachesim/tests/offline-drsyscall-record-test.templatex new file mode 100644 index 0000000000..c8f5661e0d --- /dev/null +++ b/clients/drcachesim/tests/offline-drsyscall-record-test.templatex @@ -0,0 +1,29 @@ +#define FILE_NO 0x2 +#...
6
6
3
[{"id": "G0", "claim": "The new test's comment has a missing word and should read \"a syscall record which ends exactly at the end of the buffer\".", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test relies on magic constants (toolchain-picked...
null
DynamoRIO__dynamorio__7745
DynamoRIO/dynamorio
7,745
defect
1cec2631a8a289e08c3070c57d568a9587a4cee8
4769dc208b976226252d21e331ec1f64d8754753
i#5365: fix scatter / gather tests for Ubuntu 24.04
Ubuntu 24.04 libraries can contain scatter / gather instructions so we need to guard the test instructions with NOPs. Issue: #5365
diff --git a/suite/tests/client-interface/drx-scattergather-aarch64.cpp b/suite/tests/client-interface/drx-scattergather-aarch64.cpp index cb335342bf..206502f84e 100644 --- a/suite/tests/client-interface/drx-scattergather-aarch64.cpp +++ b/suite/tests/client-interface/drx-scattergather-aarch64.cpp @@ -1210,6 +1210,12 @...
1
1
0
[{"id": "G0", "claim": "The post-scatter/gather 4-NOP guard is unnecessary; the test could keep only the 4 NOPs before and toggle counting_scatter_gather from emulation_start and the NOP site instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
DynamoRIO__dynamorio__7751
DynamoRIO/dynamorio
7,751
defect
ff2f938977c2a2caf44f827038be8437b6ab9229
716b4be946f2d1ba4e048f8033a8339510d32736
i#7576 detach_state: Add external detach tests
Add a set of tests that reuse the detach_state test functions but applied to external detach. Fixes: #7576
diff --git a/suite/tests/CMakeLists.txt b/suite/tests/CMakeLists.txt index 4f19e3a66e..048db2e2d4 100644 --- a/suite/tests/CMakeLists.txt +++ b/suite/tests/CMakeLists.txt @@ -2745,6 +2745,27 @@ if (NOT ANDROID) # TODO i#38: Port test to Android. tobuild_ci(client.attach_test client-interface/attach_test.runall "" ""...
7
6
1
[{"id": "G0", "claim": "The x86 assert limitation noted in the XXX comment should be tracked by filing a dedicated Help-Wanted issue and citing that issue in the comment.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CMake `if (AARCH64)` guar...
null
DynamoRIO__dynamorio__7752
DynamoRIO/dynamorio
7,752
defect
ff2f938977c2a2caf44f827038be8437b6ab9229
416770f4c323d88f7bb9c95c911a4773c7809211
i#5365: Fix unit tests for Ubuntu 24.04
Fix client.low_on_memory by stopping the compiler optimizing away the calls to malloc(). Also fix a memory leak in the client when the low-on-memory event has not occurred. Fix client.drx-scattergather-instrumentation-fault by increasing the timeout to allow for SVE2 tests. Also code improvements to the client.d...
diff --git a/suite/tests/CMakeLists.txt b/suite/tests/CMakeLists.txt index 4f19e3a66e..f83ac70803 100644 --- a/suite/tests/CMakeLists.txt +++ b/suite/tests/CMakeLists.txt @@ -3204,6 +3204,7 @@ if (X86 OR AARCH64) # a stripped down version of memval_simple and gives the same output so we want the # templat...
2
1
0
[{"id": "G0", "claim": "Style nit: the added comments should use start capitalization and end punctuation.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR description should be updated to mention that the added free_nodes() call fixes a me...
null
DynamoRIO__dynamorio__7780
DynamoRIO/dynamorio
7,780
defect
b40136b48081f3c5e70cb124f0f84e2c2e90462f
62113c769c9228b2a7e10b9661ff3ef002a7aab3
i#7779: Store Aarch64 SVE registers in arrays of dr_simd_t and dr_svp_t.
SVE registers (Z0-Z31) and predicate registers (P0-P15) are encapsulated within arrays of dr_simd_t and dr_sve_t types, respectively. When the SVE registers are written to the dstack using insert_save_or_restore_sve_registers(), create_base_disp_for_save_restore() is used to compute the offset of the SVE registers, ...
diff --git a/core/arch/aarchxx/mangle.c b/core/arch/aarchxx/mangle.c index 9d1f5817e6..74dbe2a0c8 100644 --- a/core/arch/aarchxx/mangle.c +++ b/core/arch/aarchxx/mangle.c @@ -99,11 +99,17 @@ create_base_disp_for_save_restore(uint base_reg, bool is_single_reg, reg_type_t break; case SVE_ZREG_TYPE: ...
9
9
4
[{"id": "G0", "claim": "The redundant \"// sizeof(dr_simd_t)\" and \"// sizeof(dr_svep_t)\" suffix comments on the SVE register load/offset lines should be removed.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment says \"p0, 08, and p15 ...
null
DynamoRIO__dynamorio__7781
DynamoRIO/dynamorio
7,781
defect
b40136b48081f3c5e70cb124f0f84e2c2e90462f
0da025470c5a0d64cca5381789d94a2c309fde7c
i#5365 Fix scatter / gather unit tests for Ubuntu 24.04
The current method of marking the start of scatter / gather tests with NOP instructions is complicated and potentially unreliable. Instead use the DynamoRIO module functions to get the start address of the exe and then check if the basic block in the client callback function is from the exe. This allows us to ignore...
diff --git a/suite/tests/client-interface/drx-scattergather-aarch64.cpp b/suite/tests/client-interface/drx-scattergather-aarch64.cpp index deaf812c04..8986263ba2 100644 --- a/suite/tests/client-interface/drx-scattergather-aarch64.cpp +++ b/suite/tests/client-interface/drx-scattergather-aarch64.cpp @@ -1210,12 +1210,6 @...
2
2
0
[{"id": "G0", "claim": "The implicit-bool check `if (module)` should use an explicit comparison `(module != NULL)`.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The client should target only the test application's own scatter/gather code, not scatter/ga...
null
DynamoRIO__dynamorio__7799
DynamoRIO/dynamorio
7,799
defect
63ee1c83d8e1084a857ae7c7bbcc72ff661172a2
a759fd52eebbcf0224d17cf46ac76dbcfe46bf2b
i#7798: Add drvector_clear() API
This feature enhances drvector by introducing a `zero_alloc` configuration and a `drvector_clear()` API. When `zero_alloc` is enabled, the container zero-initializes its internal storage when initializing, resizing, or clearing the vector. `zero_alloc` is a config parameter inside the new `drvector_config_t` struct...
diff --git a/api/docs/release.dox b/api/docs/release.dox index 9cd26bba37..e8c94737a8 100644 --- a/api/docs/release.dox +++ b/api/docs/release.dox @@ -276,6 +276,9 @@ Further non-compatibility-affecting changes include: Vectors of a program given a user-defined instruction interval. - Added a new drmemtrace optio...
9
9
4
[{"id": "G0", "claim": "The release-doc mention of the zero_alloc field should link to the field, e.g. `#drvector_t.zero_alloc`, instead of plain text.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The drvector_clear() header comment is wrong: cl...
null
DynamoRIO__dynamorio__7812
DynamoRIO/dynamorio
7,812
defect
e980a6d8ab81c66cac54614c55a1ce29476be700
11c095e07da0c6f8d405a87c6d88d153c809763d
i#5365 AArch64 tests: do not run PAuth tests on CentOS 9
The CMake script was using a different method to DynamoRIO to determine if the PAuth feature was available. This meant that PAuth tests were being run but DynamoRIO would assert when encoding PAuth instructions. Update the CMake macro to read the AArch64 Instruction Set Attribute Registers as well as trying to execu...
diff --git a/make/utils.cmake b/make/utils.cmake index 4db6d2b0af..69d8fc4a52 100644 --- a/make/utils.cmake +++ b/make/utils.cmake @@ -395,10 +395,26 @@ endmacro (check_sve2_processor_and_compiler_support) macro (check_pauth_processor_and_compiler_support out) check_feature_processor_and_compiler_support(pauth ...
4
4
0
[{"id": "G0", "claim": "Add a comment explaining that the check verifies runtime support by crashing (SIGILL from the paciza instruction), since it is not obvious how the test program can fail.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The PA...
null
Dynatrace__dynatrace-configuration-as-code__1714
Dynatrace/dynatrace-configuration-as-code
1,714
defect
1d65c1e530b1033daf5c847119b295e2eeacddc1
d7194fd83818c9706584044d742f74afa765f1c4
feat(settings): Allow insertAfter to contain more than just references.
#### What this PR does / Why we need it: Allows defining value, environment, and other values.\ Additionally moves the `insertAfter` fetching into Deploy.\ Adds minor change to add parameters to a interface method, as they were not clear. #### Special notes for your reviewer: This is the first PR of two. ...
diff --git a/pkg/client/clientset.go b/pkg/client/clientset.go index 3a7f33b5f6..5850080ec3 100644 --- a/pkg/client/clientset.go +++ b/pkg/client/clientset.go @@ -127,7 +127,7 @@ type SettingsClient interface { GetSchema(context.Context, string) (dtclient.Schema, error) // List returns all settings objects for a ...
6
5
2
[{"id": "G0", "claim": "The segment import added to pkg/deploy/deploy.go sits in the wrong import group and looks like a formatting error rather than an intended change.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new t.Context() is used ...
null
Dynatrace__dynatrace-configuration-as-code__1716
Dynatrace/dynatrace-configuration-as-code
1,716
defect
6e34a7d37a416390c0a0439d741c3bab6ce8a9ed
e7bf0da176e2af4f9c25818325898ed01f2420dc
feat(slo-v2): add delete functionality for SLO
This PR brings delete functionality for SLO (`type: slo-v2`). To delete config in `delete.yaml` file add an entry like next for indirect reference: ``` - type: slo-v2 project: my-project id: monaco-config-id ``` or for direct reference like next: ``` - type: slo-v2 objectId: origin-object-ID ```
diff --git a/pkg/client/clientset.go b/pkg/client/clientset.go index 3a7f33b5f6..2b4e42c1f2 100644 --- a/pkg/client/clientset.go +++ b/pkg/client/clientset.go @@ -25,9 +25,9 @@ import ( "golang.org/x/oauth2/clientcredentials" - coreapi "github.com/dynatrace/dynatrace-configuration-as-code-core/api" - automationAp...
3
3
0
[{"id": "G0", "claim": "Keep this pull request to the slo-v2 delete feature and move the refactoring and out-of-scope additions (the name-change refactorings and the segments deleteAll test) into separate pull requests, as previously agreed.", "category": "process", "verdict": "supported", "priority": "P2", "scope": "i...
null
Dynatrace__dynatrace-configuration-as-code__1723
Dynatrace/dynatrace-configuration-as-code
1,723
defect
8360dfc67f524579525c17a778e6b4a0cd818e6a
84f6a9e48c186c758bcfb260a85bb4dcdc877c16
refactor(segment): fix some typos and formatting
This PR corrects a few typos and aligned names with go standard
diff --git a/pkg/delete/internal/segment/delete.go b/pkg/delete/internal/segment/delete.go index e790c902da..d7e9e927b9 100644 --- a/pkg/delete/internal/segment/delete.go +++ b/pkg/delete/internal/segment/delete.go @@ -79,7 +79,7 @@ func deleteSingle(ctx context.Context, c client, dp pointer.DeletePointer) error } ...
1
1
0
[{"id": "G0", "claim": "The renamed slice variable `found` gives too little context; since it is an array, it should be named `foundUUIDs`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Dynatrace__dynatrace-configuration-as-code__1728
Dynatrace/dynatrace-configuration-as-code
1,728
defect
8357334e68535576fb663d56e05a1fc3b30594bf
744cff02ae0bbe14682bdef8baf15e32229348a9
feat(account): Delete service users
This PR adds the ability to delete service users from accounts. This PR does the bare minimum to implement the functionality, we should do some follow ups to reduce code duplication etc.
diff --git a/cmd/monaco/account/delete.go b/cmd/monaco/account/delete.go index 28fbe1f488..78d01b44b6 100644 --- a/cmd/monaco/account/delete.go +++ b/cmd/monaco/account/delete.go @@ -16,6 +16,14 @@ package account import ( "fmt" + "path/filepath" + + "github.com/spf13/afero" + "github.com/spf13/cobra" + "golang.or...
10
8
1
[{"id": "G0", "claim": "The unknown-type parser error message should not advertise `service-user` while the type is behind a feature flag; the message should be made dependent on the feature flag.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Funct...
null
Dynatrace__dynatrace-configuration-as-code__1740
Dynatrace/dynatrace-configuration-as-code
1,740
defect
8ae60db1a59345d632b9c12f11b6192bbbeedb59
92f4f10a31c43feeb94a9d05d1001b3d42ea2741
feat(settings): Insert at the very front and back
Followup to #1714 #### What this PR does / Why we need it This change allows users to put settings objects to the very front/back of the list. To do that, they must specify either `FRONT` or `BACK` in their `insertAfter` configuration.
diff --git a/cmd/monaco/integrationtest/v2/settings_integration_test.go b/cmd/monaco/integrationtest/v2/settings_integration_test.go index 44655a2429..0321f04c82 100644 --- a/cmd/monaco/integrationtest/v2/settings_integration_test.go +++ b/cmd/monaco/integrationtest/v2/settings_integration_test.go @@ -37,6 +37,7 @@ imp...
10
5
0
[{"id": "G0", "claim": "The commented-out TestOrdered_InsertAtFrontWorks test left in the diff should be removed or updated.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The assertion should keep using the settingsSchemaAPIPathClassic constant...
null
Dynatrace__dynatrace-configuration-as-code__1751
Dynatrace/dynatrace-configuration-as-code
1,751
defect
792a1c53e5e706dd87d62b1384f86a2974fcf247
81c57c8eeefd5f3a2598e06bf3d27232d46bef54
test: Improve TestOrderedSettings test
This PR improves `TestOrderedSettings` by testing using the scope of a random host entity ID, which prevents tests from interfering with each other. This test works by creating two scoped settings objects in one deployment and then re-deploying with the order reversed and checking that the order has been updated.
diff --git a/cmd/monaco/integrationtest/v2/settings_integration_test.go b/cmd/monaco/integrationtest/v2/settings_integration_test.go index 44655a2429..3ec221068d 100644 --- a/cmd/monaco/integrationtest/v2/settings_integration_test.go +++ b/cmd/monaco/integrationtest/v2/settings_integration_test.go @@ -19,6 +19,10 @@ p...
2
1
0
[{"id": "G0", "claim": "The added t.Setenv(\"MONACO_TARGET_ENTITY_SCOPE\", host) call should be moved up to sit between lines 193 and 194 (right after the host setup, before the config folder lines) instead of where it was placed.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, ...
null
Dynatrace__dynatrace-configuration-as-code__1775
Dynatrace/dynatrace-configuration-as-code
1,775
defect
ad72aae2d3edf1071c8244bb74df38bea1fd3354
15d2ee1ebf1f5bbfbb51e726087b338573f6b02b
feat: add `PermissionsDefinition` to `SettingsDefinition` to enable m…
**What this PR does / Why we need it:** Introduction of config type Permission and introduction of the FF to toggle the behavior of it. _Feature flag added:_ ``` // AccessControlSettings toggles whether settings enable the access control // Introduced: v2.21.0 AccessControlSettings FeatureFlag = "MONACO_FEAT_A...
diff --git a/internal/featureflags/temporary.go b/internal/featureflags/temporary.go index 94f47ba9a0..f17278ade6 100644 --- a/internal/featureflags/temporary.go +++ b/internal/featureflags/temporary.go @@ -43,6 +43,9 @@ const ( // ServiceLevelObjective toggles whether slo configurations are downloaded and / or deplo...
9
9
3
[{"id": "G0", "claim": "The new MarshalYAML code should use `t` directly instead of asserting `c.Type.(config.SettingsType)`, since the value is already available.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `unknown all-users value` erro...
null
Dynatrace__dynatrace-configuration-as-code__1776
Dynatrace/dynatrace-configuration-as-code
1,776
defect
dfa48a2caaa5a48548f6a4c0e9cc6a1a7156a21d
c138c4561357171a3652565a81f8da3d77b8f679
feat(account): Deploy service users
This PR adds support for deploying service users as part of account management resources. To use this while support for service users is in development, set `MONACO_FEAT_SERVICE_USERS` to `true`. Note: in cases where multiple service users exist with the same name, use `originObjectId` to differentiate between th...
diff --git a/cmd/monaco/account/deploy.go b/cmd/monaco/account/deploy.go index 637ddee4cb..16b04d2798 100644 --- a/cmd/monaco/account/deploy.go +++ b/cmd/monaco/account/deploy.go @@ -31,6 +31,7 @@ import ( "github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/dynatrace" "github.com/dynatrace/dynatrace...
6
5
0
[{"id": "G0", "claim": "The `serviceUser := serviceUser` loop-variable copies in the new deploy functions (and the other similar functions) may be unnecessary and should be removed.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The accountManag...
null
Dynatrace__dynatrace-configuration-as-code__1777
Dynatrace/dynatrace-configuration-as-code
1,777
defect
b16254f80c1405b5eeebfb3cec7f7dafb9b7f7c4
7ec6693d0e051afb693cf38fd50da1d680bc16f3
feat(settings): add download for ACL all-users
#### What this PR does / Why we need it: Introduces the download functionality for ACL enabled settings (behind a feature flag) #### Special notes for your reviewer: In order to get the ACL property, the schema has to be fetched (not included in the GetAll API call). At the moment I'm fetching all needed schema...
diff --git a/cmd/monaco/download/download_configs_test.go b/cmd/monaco/download/download_configs_test.go index b621130864..c4e1b0676c 100644 --- a/cmd/monaco/download/download_configs_test.go +++ b/cmd/monaco/download/download_configs_test.go @@ -63,7 +63,7 @@ func TestDownloadConfigsBehaviour(t *testing.T) { c.EX...
12
11
2
[{"id": "G0", "claim": "The new bools.Pointer package (duplicating the similar strings.Pointer) is unnecessary and should be replaced by a single generic pointer helper instead of per-type pointer functions.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
Dynatrace__dynatrace-configuration-as-code__1782
Dynatrace/dynatrace-configuration-as-code
1,782
defect
a23779a7d6f5430af03b33798df0136450c3b477
ebe1a8f6a13542968e17495880e9d9f9886e2e9f
feat(settings): Require OAuth for Settings config with defined `permission`
<!-- Thanks for sending a pull request! If this is your first time, please read our contributor guidelines: https://github.com/Dynatrace/dynatrace-configuration-as-code/blob/main/CONTRIBUTING.md Before submitting this PR, please make sure that: 1. Your code builds without any errors or warnings 2. Your code is ...
diff --git a/cmd/monaco/deploy/deploy.go b/cmd/monaco/deploy/deploy.go index 55061a116e..a0f7705ab8 100644 --- a/cmd/monaco/deploy/deploy.go +++ b/cmd/monaco/deploy/deploy.go @@ -287,6 +287,10 @@ func validateAuthenticationWithProjectConfigs(projects []project.Project, enviro return fmt.Errorf("API of type '%s'...
2
2
0
[{"id": "G0", "claim": "The new success test case should be named 'OAuth manifest with settings api and permissions' instead of 'token manifest with settings api and permissions', since it deploys with an OAuth manifest (and the name duplicates the failure case's).", "category": "testing", "verdict": "supported", "prio...
null
Dynatrace__dynatrace-configuration-as-code__1788
Dynatrace/dynatrace-configuration-as-code
1,788
defect
7beadb74c59c56b842b3d3efeb1548bbb16f8a6a
989ec97d111b4a945a733723fe6020cea40c6c15
fix(account): Allow multiple service users with the same name iff originObjectId is specified
As account service users are not uniquely identified by name, but rather an ID, this PR refactors to allow this: - stores service users in a slice rather than a map with name as key - adds checks for service user ambiguity: - same name is allowed as long as `originObjectId` is specified and - `originObjectId` m...
diff --git a/pkg/account/downloader/downloader_test.go b/pkg/account/downloader/downloader_test.go index 79f6bb1bf5..36a2d42a8b 100644 --- a/pkg/account/downloader/downloader_test.go +++ b/pkg/account/downloader/downloader_test.go @@ -676,8 +676,8 @@ func TestDownloader_OnlyServiceUser(t *testing.T) { assert.Empty(t,...
3
2
1
[{"id": "G0", "claim": "The ServiceUsers download type only needs the account.ServiceUser props, so carrying dto and dtoGroups in ServiceUser just to support asAccountServiceUsers should be dropped by making ServiceUsers []account.ServiceUser directly.", "category": "design", "verdict": "uncertain", "priority": "P2", "...
null
Dynatrace__dynatrace-configuration-as-code__1798
Dynatrace/dynatrace-configuration-as-code
1,798
defect
8646088d299c98c77f09fac15fb785305613824f
509d76d88ac5555340972509ddef50136917394a
fix: correctly save environment urls in downloaded manifest file
If a manifest file is used in the monaco download command and the environment url is given via environment variable, the same variable name is present in the manifest file of the download folder, whereas previously only the value was stored. <!-- Thanks for sending a pull request! If this is your first time, plea...
diff --git a/cmd/monaco/download/download.go b/cmd/monaco/download/download.go index c7dc1f436f..781c8ede29 100644 --- a/cmd/monaco/download/download.go +++ b/cmd/monaco/download/download.go @@ -51,7 +51,7 @@ var ( ) type downloadOptionsShared struct { - environmentURL string + environmentURL manife...
2
2
0
[{"id": "G0", "claim": "The `WriteToDisk(): ` prefix serves no purpose in the new manifest-content assertion message and should be dropped from it (and the rest of the test).", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Even though the PR did no...
null
Dynatrace__dynatrace-configuration-as-code__1804
Dynatrace/dynatrace-configuration-as-code
1,804
defect
ded1255b142b92c42ec8f013e1ce8d0e30e6231d
14eca1d639c9ba001a31f6672f7f0b81f014cf98
chore: Deprecated apis are only logged once.
<!-- Thanks for sending a pull request! If this is your first time, please read our contributor guidelines: https://github.com/Dynatrace/dynatrace-configuration-as-code/blob/main/CONTRIBUTING.md Before submitting this PR, please make sure that: 1. Your code builds without any errors or warnings 2. Your code is ...
diff --git a/cmd/monaco/integrationtest/v2/deprecated_configs_produce_user_warnings_e2e_test.go b/cmd/monaco/integrationtest/v2/deprecated_configs_produce_user_warnings_e2e_test.go new file mode 100644 index 0000000000..dbd78be87c --- /dev/null +++ b/cmd/monaco/integrationtest/v2/deprecated_configs_produce_user_warning...
6
5
0
[{"id": "G0", "claim": "The doc comment '// NewDeprecatedApiValidator creates a new deprecatedApiValidator.' is redundant and should be removed, since documentation should describe how something behaves or why it is important.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced...
null
Dynatrace__dynatrace-configuration-as-code__1807
Dynatrace/dynatrace-configuration-as-code
1,807
defect
ded1255b142b92c42ec8f013e1ce8d0e30e6231d
1539adfa599692be014774dd586ca81120398749
fix: validator checking unique names doesn't return early anymore on …
<!-- Thanks for sending a pull request! If this is your first time, please read our contributor guidelines: https://github.com/Dynatrace/dynatrace-configuration-as-code/blob/main/CONTRIBUTING.md Before submitting this PR, please make sure that: 1. Your code builds without any errors or warnings 2. Your code i...
diff --git a/pkg/deploy/internal/classic/validation.go b/pkg/deploy/internal/classic/validation.go index 090bc9d799..72ccfd4d6d 100644 --- a/pkg/deploy/internal/classic/validation.go +++ b/pkg/deploy/internal/classic/validation.go @@ -18,12 +18,12 @@ package classic import ( "fmt" + compoundParam "github.com/dynat...
2
2
0
[{"id": "G0", "claim": "The helper name checkNameParameters says nothing about what it does; rename it to something like ensureNonDuplicateNames and add documentation describing the checked behavior.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim":...
null
Dynatrace__dynatrace-configuration-as-code__1825
Dynatrace/dynatrace-configuration-as-code
1,825
defect
63f78028457ffb0e8457b0f361c6ed37eea5f617
27d07385ad5bb745c7da9ad0acf1c3275183e3ec
refactor(deploy): add test cases to increase coverage in `deploy.go`
<!-- Thanks for sending a pull request! If this is your first time, please read our contributor guidelines: https://github.com/Dynatrace/dynatrace-configuration-as-code/blob/main/CONTRIBUTING.md Before submitting this PR, please make sure that: 1. Your code builds without any errors or warnings 2. Your code is ...
diff --git a/internal/log/log.go b/internal/log/log.go index 6dc1d19069..9620aba752 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -135,7 +135,7 @@ func PrepareLogging(ctx context.Context, fs afero.Fs, verbose bool, loggerSpy io logFormat := loggers.ParseLogFormat(os.Getenv(loggers.EnvVarLogFormat)) ...
2
2
1
[{"id": "G0", "claim": "The new deploy tests should use the existing log.PrepareLogging helper instead of the pull request exporting SetDefaultLogger from internal/log for tests to call.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The Coordinate Type ...
null
Dynatrace__dynatrace-configuration-as-code__1831
Dynatrace/dynatrace-configuration-as-code
1,831
defect
6f03ad14d214d079514dc06e47eaa21d7810fa4d
ee56b325dcb0750e4aaf10b280ca7e0ab8b9ecaf
refactor(deploy): cache per environment
#### What this PR does / Why we need it: Fills the cache per environment when it's deployed. So instead of filling the cache with all environments we are filling it when we deploy the config for one environment (only one env in cache at the time). #### Special notes for your reviewer: #### Does this PR introdu...
diff --git a/cmd/monaco/deploy/deploy.go b/cmd/monaco/deploy/deploy.go index 05a45d6f13..5edfda8321 100644 --- a/cmd/monaco/deploy/deploy.go +++ b/cmd/monaco/deploy/deploy.go @@ -83,7 +83,7 @@ func deployConfigs(ctx context.Context, fs afero.Fs, manifestPath string, enviro return formattedErr } - err = deploy.De...
4
4
1
[{"id": "G0", "claim": "The newly exported function should be named `DeployForAllEnvironments` (plural) instead of `DeployForAllEnvironment`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out `clientsetEnv2` variable should be rem...
null
Dynatrace__dynatrace-configuration-as-code__1836
Dynatrace/dynatrace-configuration-as-code
1,836
defect
dfa48a2caaa5a48548f6a4c0e9cc6a1a7156a21d
b6ae693ba57f319a903a2454ce3c3fe4bfde25c4
feat(dashboard): fail when dashboard-v1 payload is sent to v2 and vice versa
#### What this PR does / Why we need it: Before the config is deployed the payload is validated. - If it tries to deploy a classic dashboard to platform it will return an error - If it tries to deploy a platform dashboard to classic it will return an error #### Special notes for your reviewer: #### Does this P...
diff --git a/pkg/client/dtclient/config_client.go b/pkg/client/dtclient/config_client.go index be034a530f..70635febab 100644 --- a/pkg/client/dtclient/config_client.go +++ b/pkg/client/dtclient/config_client.go @@ -146,6 +146,11 @@ func (d *ConfigClient) UpsertByName(ctx context.Context, a api.API, name string, ret...
2
2
1
[{"id": "G0", "claim": "Questions whether the term \"platform dashboard\" is used anywhere else and would mean anything to a user, given the new error wording.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The validator should be a single-version...
null
Dynatrace__dynatrace-configuration-as-code__1845
Dynatrace/dynatrace-configuration-as-code
1,845
defect
35829ad5ad83b7883bc84755282aec89b63f9021
f8d7582abe0f9e0cbbfbfc8c4d7ae503410ae029
refactor(download): Introduce Downloadable interface and use with buckets
<!-- Thanks for sending a pull request! If this is your first time, please read our contributor guidelines: https://github.com/Dynatrace/dynatrace-configuration-as-code/blob/main/CONTRIBUTING.md Before submitting this PR, please make sure that: 1. Your code builds without any errors or warnings 2. Your code is ...
diff --git a/cmd/monaco/download/download_configs.go b/cmd/monaco/download/download_configs.go index 4de2caaf0c..2088badaee 100644 --- a/cmd/monaco/download/download_configs.go +++ b/cmd/monaco/download/download_configs.go @@ -32,7 +32,6 @@ import ( "github.com/dynatrace/dynatrace-configuration-as-code/v2/pkg/client"...
3
2
0
[{"id": "G0", "claim": "The bucketDownload field should be renamed once the migration is done, since calling bucketDownload(...) now returns a function that can download rather than actually downloading.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "cla...
null
Dynatrace__dynatrace-configuration-as-code__1850
Dynatrace/dynatrace-configuration-as-code
1,850
defect
346e711e60b41ac41fd2830a10340ee6fe14a074
df444673204d9aeabe722a20df2bf9a5cd6ae87f
refactor(download): improve only checks for download
#### What this PR does / Why we need it: Restructures the only* check to be less redundant and a new one would not mean touching each one. The ability is also added to add several only flags, so that e.g., only segments and SLOs can be downloaded. I also aligned the behavior of the only flags if OAuth is not provide...
diff --git a/cmd/monaco/download/download_command.go b/cmd/monaco/download/download_command.go index 0eaebd54bd..3c3ba33874 100644 --- a/cmd/monaco/download/download_command.go +++ b/cmd/monaco/download/download_command.go @@ -38,6 +38,7 @@ import ( func GetDownloadCommand(fs afero.Fs, command Command) (cmd *cobra.C...
5
4
1
[{"id": "G0", "claim": "The reviewer questions why settings-schema/api are now mutually exclusive only with OnlySettings/OnlyApis, asking for the rationale of the loosened flag combinations.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new type OnlyF...
null
Dynatrace__dynatrace-configuration-as-code__1862
Dynatrace/dynatrace-configuration-as-code
1,862
defect
84491dc7324be895fb1b88855a13de4127f7a3a5
08da96857796fbf9fa6db5a35703a2bfb350a239
refactor: use different endpoint for classic connection check
#### What this PR does / Why we need it: For validating a classic client, the cluster version was retrieved in order to check if the connection is actually working. The downside of this is, that an additional scope (`DataExport`) is needed for this, which is not optimal. The connection check is now changed to use th...
diff --git a/cmd/monaco/dynatrace/dynatrace.go b/cmd/monaco/dynatrace/dynatrace.go index a33c6702cb..16ce076817 100644 --- a/cmd/monaco/dynatrace/dynatrace.go +++ b/cmd/monaco/dynatrace/dynatrace.go @@ -22,6 +22,7 @@ import ( "fmt" "strings" + "github.com/dynatrace/dynatrace-configuration-as-code/v2/pkg/client/ap...
2
1
0
[{"id": "G0", "claim": "The sub-tests in TestVerifyEnvironmentGen that are still named for calling the classic/platform version endpoints no longer do so and should be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "GetTokenMetadata shou...
null
Dynatrace__dynatrace-configuration-as-code__1871
Dynatrace/dynatrace-configuration-as-code
1,871
defect
120fe6aa96367026fde07159f59c59ca2ad8aa0f
08eb824a814e020ce58575eeff866903bdfb5b9d
refactor(settings): use `Downloadable` interface for settings download
<!-- Thanks for sending a pull request! If this is your first time, please read our contributor guidelines: https://github.com/Dynatrace/dynatrace-configuration-as-code/blob/main/CONTRIBUTING.md Before submitting this PR, please make sure that: 1. Your code builds without any errors or warnings 2. Your code is ...
diff --git a/cmd/monaco/download/download_configs.go b/cmd/monaco/download/download_configs.go index 161990df3b..9fefb2cd45 100644 --- a/cmd/monaco/download/download_configs.go +++ b/cmd/monaco/download/download_configs.go @@ -34,7 +34,6 @@ import ( "github.com/dynatrace/dynatrace-configuration-as-code/v2/pkg/downloa...
1
1
0
[{"id": "G0", "claim": "Since config.SettingsType is only used to map to a different data structure, move the settingsType => string mapping into NewAPI/the API struct instead of doing it in Download.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Dynatrace__dynatrace-configuration-as-code__1883
Dynatrace/dynatrace-configuration-as-code
1,883
defect
c070d48991fc5d5d9f751a9a2338fa97120fe9f7
303c0044e179482fa4c944cf11bcaed0e223560f
refactor(download): a set of smaller code improvements
#### **Why** this PR? While working in the cmd/download package, I came across some low-hanging fruits for refactoring. Following the boy scouts rule, I cleaned up a bit. #### **What** has changed? There are three distinct commits and improvements: - There was a check in `download_command.go`, which checked wh...
diff --git a/cmd/monaco/download/auth.go b/cmd/monaco/download/auth.go new file mode 100644 index 0000000000..9a64d8dbc3 --- /dev/null +++ b/cmd/monaco/download/auth.go @@ -0,0 +1,65 @@ +/* + * @license + * Copyright 2025 Dynatrace LLC + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not ...
1
1
0
[{"id": "G0", "claim": "The new auth.go extraction does not go far enough: since the auth type is only used in downloadCmdOptions, its fields should be included in that type directly with the logic placed there.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Dynatrace__dynatrace-configuration-as-code__1887
Dynatrace/dynatrace-configuration-as-code
1,887
defect
67aa15482a978cfb1ac1081f363637a0fc7235f5
5a5bdd15c4a821dad04d147d143b8a1f74a728b1
refactor(segment): Update core lib where `api/clients/segments` is removed
#### **Why** this PR? This PR updates the core lib version and removes the `segment.Response` from the code base to unify and standardize our responses. #### **What** has changed? Updated core lib version where `segment.Response` was removed and the `api/clients/segment` was also removed. This change also needed a...
diff --git a/go.mod b/go.mod index f129b54949..e5552d9820 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.24.1 require ( github.com/anknown/ahocorasick v0.0.0-20190904063843-d75dbd5169c0 - github.com/dynatrace/dynatrace-configuration-as-code-core v0.8.1-0.20250424104703-ba9c6e8f54a3 + github.com/dynatrace/dy...
1
1
0
[{"id": "G0", "claim": "The PR should also run `go mod tidy` so the stale go.sum entries of the old core-lib version are cleaned up.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Dynatrace__dynatrace-configuration-as-code__1904
Dynatrace/dynatrace-configuration-as-code
1,904
defect
784755a9226185ddf41f9b3b88aecd7effe7e888
71198a151ec8d9f8366b203d16781ace8816e1dc
refactor: restructure verifyEnvironmentGeneration
#### **Why** this PR? The verifyEnvironment had some hiccups. It only validated one of the provided credentials (OAuth or token) instead of both, and error handling was caught/logged within the function. #### **What** has changed? - Renamed and added some comments to some functions to make the functionality cleare...
diff --git a/cmd/monaco/deploy/deploy.go b/cmd/monaco/deploy/deploy.go index f8d99b8f7e..70748c0427 100644 --- a/cmd/monaco/deploy/deploy.go +++ b/cmd/monaco/deploy/deploy.go @@ -26,6 +26,7 @@ import ( "github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/deploy/internal/logging" "github.com/dynatrace...
13
10
1
[{"id": "G0", "claim": "tomazpu would favor two dedicated error types instead of a helper that builds plain errors whose text tests must rely on.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "tomazpu would favor logging the error and adding it to the repo...
null
Dynatrace__dynatrace-configuration-as-code__1918
Dynatrace/dynatrace-configuration-as-code
1,918
defect
3a16a418140dd428ea8e407ec1a76d8837d06298
838f40fa493e00c0a95e8ac9aa97c5d098c0540d
refactor: Rename all `token` mentions in the code and messages to `API token`
#### **Why** this PR? This ensures that the manifest is still compatible (stays `token`), but the user *might* be less confused. And also, we might be less confused. #### **What** has changed? Searched and replaced most `token` mentions with `API-token`. Notable exclusions are: * `--token` in the CLI ...
diff --git a/cmd/monaco/deploy/deploy.go b/cmd/monaco/deploy/deploy.go index 3d64276b21..a3fa06069f 100644 --- a/cmd/monaco/deploy/deploy.go +++ b/cmd/monaco/deploy/deploy.go @@ -277,16 +277,16 @@ func validateAuthenticationWithProjectConfigs(projects []project.Project, enviro switch conf.Type.(type) { ca...
6
6
1
[{"id": "G0", "claim": "The S1 change accidentally rewrites the Authorization header scheme from \"Api-Token\" to \"Api-ApiToken\", which is not an intended rename and breaks API-token authentication.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "F...
null
Dynatrace__dynatrace-configuration-as-code__1928
Dynatrace/dynatrace-configuration-as-code
1,928
defect
2e0efaf92180e29246de410f924bb5d505e65a32
0a5f25d2a6cd83cdca97167165b8ff0bdf473995
feat: Make use of platform tokens
#### **Why** this PR? Tests are adapted and/or extended. #### **What** has changed? This PR 1. updates the core library dependency to get the new platform token client feature, 2. adapts the codebase to other changes that come with the core library upgrade, i.e. API changes for bucket and automation clients...
diff --git a/cmd/monaco/delete/delete.go b/cmd/monaco/delete/delete.go index c0e98c486d..4aea2b321a 100644 --- a/cmd/monaco/delete/delete.go +++ b/cmd/monaco/delete/delete.go @@ -39,8 +39,8 @@ func Delete(ctx context.Context, environments manifest.EnvironmentDefinitionsByN var envsWithDeleteErrs []string for _, env...
2
1
0
[{"id": "G0", "claim": "The error messages and log wording should consistently say \"platform credentials\" rather than \"platform authentication\", and the code should be tightened (e.g. \"API of type ...\" vs \"... resources\").", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intr...
null
Dynatrace__dynatrace-configuration-as-code__1938
Dynatrace/dynatrace-configuration-as-code
1,938
defect
df74ba7861b9e0a9935ec89bb40a15c1cc7a8c20
3fe26ddaff221aa8d87fa10eb6ffe7a688862583
feat(download): Support direct download with platform token
#### **Why** this PR? Monaco can download configs "directly" by specifying the environment URL and credentials on the CLI. This PR adds support for doing this with a platform token, and adds the necessary `--platform-token PLATFORM_TOKEN` flag. #### **What** has changed? Direct download is now possible with: - ju...
diff --git a/cmd/monaco/download/auth.go b/cmd/monaco/download/auth.go index 5033c232eb..d388d07e68 100644 --- a/cmd/monaco/download/auth.go +++ b/cmd/monaco/download/auth.go @@ -25,17 +25,19 @@ import ( ) type auth struct { - apiToken, clientID, clientSecret string + apiToken, clientID, clientSecret, platformToken...
6
6
0
[{"id": "G0", "claim": "The manifest-download error messages end with a stray space before the closing quote (\"... must NOT be set \").", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Building the error messages from the extracted flag constants i...
null
Dynatrace__dynatrace-configuration-as-code__1942
Dynatrace/dynatrace-configuration-as-code
1,942
defect
7e83204601a18f44f76f83a3b3588fc2336a4cda
287fa0d818180ef47cd39b227a5dd343d4ef302f
refactor(account): remove service user feature flag
#### **Why** this PR? The service user feature flag is removed, and everywhere it was used, it's replaced by the `true` condition of this flag. #### **What** has changed? #### **How** does it do it? #### How is it **tested**? #### How does it affect **users**? **Issue:** CA-15453
diff --git a/cmd/monaco/account/deploy.go b/cmd/monaco/account/deploy.go index fefb95abd9..ad9cf51b1e 100644 --- a/cmd/monaco/account/deploy.go +++ b/cmd/monaco/account/deploy.go @@ -31,7 +31,6 @@ import ( "github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/dynatrace" "github.com/dynatrace/dynatrace...
1
1
0
[{"id": "G0", "claim": "The TestLoader_ServiceUserProducesNoError test may no longer be required, since a service user is already included in TestLoader_BasicAllTypesSucceeds, and could be removed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Dynatrace__dynatrace-configuration-as-code__1969
Dynatrace/dynatrace-configuration-as-code
1,969
defect
b25ccb1294beb04c717cd833767d36b01657f1ad
bd12ef1976d5c3bb9fdf3d684dd90691136b41c5
refactor(bucket): use core lib without upsert and active check
#### **Why** this PR? The logic for updating a bucket only when it can be is now handled by Monaco and not the core lib. The core lib also removes upsert, which Monaco depends on. #### **What** has changed? - The logic for updating a bucket only when it can be, is now handled by Monaco and not the core lib - The ...
diff --git a/go.mod b/go.mod index c23c62165a..67357cf016 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.24.3 require ( github.com/anknown/ahocorasick v0.0.0-20190904063843-d75dbd5169c0 - github.com/dynatrace/dynatrace-configuration-as-code-core v0.9.1-0.20250630105247-bd703ac248dc + github.com/dynatrace/dy...
6
6
1
[{"id": "G0", "claim": "The new upsert path should call AwaitBucketStable again before returning after Create, since before the core-lib change Create waited for the bucket to become active before it returned (and the same concern applies to update and delete).", "category": "correctness", "verdict": "supported", "prio...
null
Dynatrace__dynatrace-configuration-as-code__1973
Dynatrace/dynatrace-configuration-as-code
1,973
defect
c6d6d343e8cfbd90790ccba94478505ee7c40118
39a6a37264d9aa353fdde3e2f6ced4ddac73978a
refactor(slo): SLO deletion adheres to `Deleter` interface
#### **Why** this PR? The previously introduced Deleter interface (see https://github.com/Dynatrace/dynatrace-configuration-as-code/pull/1964 ) is now also used with the deletion of SLOs. #### **What** has changed? #### **How** does it do it? #### How is it **tested**? Existing tests are adapted and run thro...
diff --git a/pkg/delete/all.go b/pkg/delete/all.go index e682b5feb4..f82285b86c 100644 --- a/pkg/delete/all.go +++ b/pkg/delete/all.go @@ -28,9 +28,9 @@ import ( "github.com/dynatrace/dynatrace-configuration-as-code/v2/pkg/delete/internal/classic" "github.com/dynatrace/dynatrace-configuration-as-code/v2/pkg/delete/...
2
1
0
[{"id": "G0", "claim": "Consider adding an assertion that the new slo.Deleter implements the delete.Deleter interface (e.g. `var _ delete.Deleter = Deleter{}`).", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The test stub's `called` field may be misleading...
null
Dynatrace__dynatrace-configuration-as-code__1974
Dynatrace/dynatrace-configuration-as-code
1,974
defect
c6d6d343e8cfbd90790ccba94478505ee7c40118
f8365bc3e1942316a03dd811445d15f86ee528ad
refactor(document): deletion should adhere to `Deleter` interface
#### **Why** this PR? The previously introduced Deleter interface (see https://github.com/Dynatrace/dynatrace-configuration-as-code/pull/1964 ) is now also used with the deletion of documents. #### **What** has changed? #### **How** does it do it? #### How is it **tested**? Existing tests are adapted and run...
diff --git a/pkg/delete/all.go b/pkg/delete/all.go index e682b5feb4..e54146ac36 100644 --- a/pkg/delete/all.go +++ b/pkg/delete/all.go @@ -26,10 +26,10 @@ import ( "github.com/dynatrace/dynatrace-configuration-as-code/v2/pkg/config" "github.com/dynatrace/dynatrace-configuration-as-code/v2/pkg/delete/internal/automa...
3
3
0
[{"id": "G0", "claim": "The 'deletion continues even if error occurs' test should also assert the value of `called` to verify the delete command was actually invoked.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The stub client field `called` is misle...
null
Dynatrace__dynatrace-configuration-as-code__1982
Dynatrace/dynatrace-configuration-as-code
1,982
defect
970da105c5e52b93bde18a7e9aad4cd8913edfcc
82695660bef10958b091f02ec3ffcd4b6e79b5d6
fix: only parse account or environments envs depending on the usage
#### **Why** this PR? During `monaco account deploy`, the envs of the environments should not be validated, and for `monaco deploy`, the envs of the accounts should not be validated #### **What** has changed? - Env vars of environmentGroups are not validated when using account commands - Env vars of account are n...
diff --git a/cmd/monaco/account/download.go b/cmd/monaco/account/download.go index f5bfc8500a..7910766e45 100644 --- a/cmd/monaco/account/download.go +++ b/cmd/monaco/account/download.go @@ -123,6 +123,7 @@ func loadAccountsFromManifest(fs afero.Fs, opts *downloadOpts) (map[string]manif m, errs := manifestloader.Load...
4
4
0
[{"id": "G0", "claim": "The test function is named TestEnvironmentByManifestFlag but it actually calls AccountsByManifestFlag, so it should be renamed to match what it tests.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Extracting the single-l...
null
Dynatrace__dynatrace-configuration-as-code__1987
Dynatrace/dynatrace-configuration-as-code
1,987
defect
80c0c91f025a8d581de1874b614ffd16685fcd42
533372eca42a8ba1ca7cc8ce1e879ec770418c66
fix(account): only parse selected accounts
#### **Why** this PR? When several accounts were defined, the non-selected ones were not excluded when validating the envs. Now only the envs of the selected account are validated #### **What** has changed? The env var resolution is skipped for non-selected accounts #### **How** does it do it? #### How is it...
diff --git a/cmd/monaco/account/account_test.go b/cmd/monaco/account/account_test.go new file mode 100644 index 0000000000..934ebc4bc9 --- /dev/null +++ b/cmd/monaco/account/account_test.go @@ -0,0 +1,92 @@ +//go:build unit + +/* + * @license + * Copyright 2025 Dynatrace LLC + * Licensed under the Apache License, Versi...
2
1
0
[{"id": "G0", "claim": "Reserve space in memory for the accounts map in parseAccounts instead of always creating it unallocated — e.g. capacity 1 when an account is selected and len(accounts) otherwise — since skipping accounts is not a common use case.", "category": "performance", "verdict": "supported", "priority": "...
null
Dynatrace__dynatrace-configuration-as-code__2015
Dynatrace/dynatrace-configuration-as-code
2,015
defect
bdd267b949e41a72d92b53aa0e5f41eb5889bfc4
0476bade81ca1238ab6f30895ca262ee17b3003f
feat: support skipping SSL certificate checks
#### **Why** this PR? For some environments, the SSL check doesn't work. To tackle this corner case, the environment variable `MONACO_SKIP_CERTIFICATE_VERIFICATION` is introduced. If this is set to `true`, the SSL certificate check is disabled. #### **What** has changed? A custom HTTP client without SSL cert check...
diff --git a/cmd/monaco/dynatrace/dynatrace.go b/cmd/monaco/dynatrace/dynatrace.go index 72a7cdac32..4282291797 100644 --- a/cmd/monaco/dynatrace/dynatrace.go +++ b/cmd/monaco/dynatrace/dynatrace.go @@ -92,7 +92,7 @@ func checkClassicConnection(ctx context.Context, classicURL string, accessToken factory = factory.Wi...
3
2
0
[{"id": "G0", "claim": "The new HTTP client sets InsecureSkipVerify to true, leaving server certificate and hostname verification disabled on this SSL/TLS connection.", "category": "security", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A comment should be added in the clien...
null
Dynatrace__dynatrace-configuration-as-code__2028
Dynatrace/dynatrace-configuration-as-code
2,028
defect
2bc1da2f47abe59332655a44ec2974bc91c033f1
a7eed12c4d87b63f06cc01196bd798731472336d
fix: Only generate references to document configs if ID is prefixed by a forward slash
#### **Why** this PR? With recent changes to the documents API, custom IDs may be used with little restriction. This effectively broke the generation of references to documents, as these IDs often occurred in other situations. #### **What** has changed? As a workaround, references are now only generated if the ID ...
diff --git a/internal/featureflags/temporary.go b/internal/featureflags/temporary.go index b820d27240..95c2f810ac 100644 --- a/internal/featureflags/temporary.go +++ b/internal/featureflags/temporary.go @@ -1,6 +1,6 @@ /* * @license - * Copyright 2023 Dynatrace LLC + * Copyright 2025 Dynatrace LLC * Licensed under...
2
2
0
[{"id": "G0", "claim": "The RestrictDocumentReferenceCreation feature flag should be declared in permanent.go rather than temporary.go, since it is expected to become permanent.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In getMatchingRegEx, the docu...
null
Dynatrace__dynatrace-configuration-as-code__2033
Dynatrace/dynatrace-configuration-as-code
2,033
defect
09b67265de3ca6e924d8c755322f490ba8088d0a
f2e6c40497ec11912e0c824f310c4c88bcfccb83
fix(document): Skip download of documents with `originExtensionId` set
#### **Why** this PR? Documents with `originExtensionId` set are ready-made documents and should therefore not be downloaded. #### **What** has changed and **how** does it do it? In addition to `originAppId`, `originExtensionId` is now checked, and if either is set, the document is not downloaded. I considered...
diff --git a/go.mod b/go.mod index 096114ffc8..2b190c4747 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.24.6 require ( github.com/anknown/ahocorasick v0.0.0-20190904063843-d75dbd5169c0 - github.com/dynatrace/dynatrace-configuration-as-code-core v0.9.1-0.20250909143246-7fb4c95b93f2 + github.com/dynatrace/dy...
1
1
0
[{"id": "G0", "claim": "Run `go mod tidy` so go.sum no longer carries entries tidy would remove, namely the stale dynatrace-configuration-as-code-core pseudo-version v0.9.1-0.20250922094136-a98a419049b3 added by this pull request.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intr...
null
Dynatrace__dynatrace-configuration-as-code__2056
Dynatrace/dynatrace-configuration-as-code
2,056
defect
f40ddb51a8966caf85808998ab8d4f014c7fbb91
a83346268b903dc817cc4f39d1c3219ec25ace97
fix(segments): ready-made segments are not downloaded anymore
#### **Why** this PR? Since ready-made segments cannot be modified, they should also not be downloaded. This is consistent with other resource types such as unmodifiable settings and documents. #### **What** has changed? Ready-made segments are not downloaded any longer. Also, as a side quest, the logging was c...
diff --git a/pkg/resource/segment/download.go b/pkg/resource/segment/download.go index a336280964..b1c6548b42 100644 --- a/pkg/resource/segment/download.go +++ b/pkg/resource/segment/download.go @@ -19,6 +19,7 @@ package segment import ( "context" "fmt" + "log/slog" "github.com/dynatrace/dynatrace-configuratio...
4
4
1
[{"id": "G0", "claim": "Returning after each if block could remove the nesting and increase readability in the Download function.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The parse-failure log message should be changed to indicate that par...
null
Dynatrace__dynatrace-configuration-as-code__2081
Dynatrace/dynatrace-configuration-as-code
2,081
defect
4fb38986ef2e4cf4a827daef79a0c8e15ad7724a
c0b4350d572e88df24c7db3ad8da9dcf0de98385
feat(document): Custom ID support on deploy and download
#### **Why** this PR? For the POST endpoint of the Documents API, the `externalId` field has been deprecated, and the `id` field has been made available. When used, this custom `id` field must **not** be a UUID. Additionally, if either `externalId` or `id` is set, it is taken as the `id` of the document and thus...
diff --git a/pkg/resource/document/deploy.go b/pkg/resource/document/deploy.go index 668f622e72..7e964c672e 100644 --- a/pkg/resource/document/deploy.go +++ b/pkg/resource/document/deploy.go @@ -34,8 +34,7 @@ import ( //go:generate mockgen -source=deploy.go -destination=document_mock.go -package=document DeploySourc...
2
2
0
[{"id": "G0", "claim": "The deploy logic could be reduced in redundancy by looping over the ids to try in a for loop instead of the updateDocument helper, with createDocument removed and optionally a shared utility used for create and update.", "category": "maintainability", "verdict": "supported", "priority": "P2", "s...
null
Dynatrace__dynatrace-configuration-as-code__2087
Dynatrace/dynatrace-configuration-as-code
2,087
defect
94c19e1081ba6a27e3e26a206af7be0183888db3
3591e37472328ff5f73bae49fe2d461eeb073632
test(documents): E2E test for creation/update/deletion of documents with custom id
#### **Why** this PR? Custom IDs can now be set for documents. This requires E2E tests. #### **What** has changed? To the `integration-all-configs` folder I added a notebook config, a launchpad config, and a dashboard config, each with a custom ID. #### How does it affect **users**? It doesn't. **Issue:** ...
diff --git a/test/configtypes/documents/documents_test.go b/test/configtypes/documents/documents_test.go index fa9c069f25..bee6156f7f 100644 --- a/test/configtypes/documents/documents_test.go +++ b/test/configtypes/documents/documents_test.go @@ -60,20 +60,25 @@ func TestDocuments(t *testing.T) { }) assert.Empt...
3
3
1
[{"id": "G0", "claim": "The custom-id notebook config added in S1 is missing the document `id` field.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A custom-id config should also be added to the `config_restore_e2e_test` test and to `delete_integra...
null
Dynatrace__dynatrace-configuration-as-code__2108
Dynatrace/dynatrace-configuration-as-code
2,108
defect
22d12c03a735cc86349ad4dba72461f1aeb128fe
946f0b7015bbc1845c077472abe8b530a641fe9e
feat(delete): improve logging for deletion
#### **Why** this PR? Logging for deletion of different configuration types was not well-aligned. I tried to make it more uniform. #### **What** has changed and **How**? All delete operations start now with a log line `Deleting <type> ... type=<(sub)type> count=<count>` All deleteAll operations start now with a ...
diff --git a/pkg/resource/automation/delete.go b/pkg/resource/automation/delete.go index 4590ee50c2..5ff07b3053 100644 --- a/pkg/resource/automation/delete.go +++ b/pkg/resource/automation/delete.go @@ -49,7 +49,7 @@ func (d Deleter) Delete(ctx context.Context, entries []pointer.DeletePointer) er } automationResour...
3
2
0
[{"id": "G0", "claim": "The trailing \"...\" in the automation deletion log line should be removed because it does not provide additional meaning.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The early-return empty-entries check should be move...
null
Dynatrace__dynatrace-configuration-as-code__2113
Dynatrace/dynatrace-configuration-as-code
2,113
defect
7bab842cb5b1139aa0e0f55f4cb7d8ca4feafc10
cda7e783403c9385b341861ad7e028ef8e7c773b
feat: download all workflow properties
This uses the new core lib update, which uses the `workflows/{id}/export` endpoint to return more workflow properties. This one doesn't return the modification info or last execution. The modification info still needs to be removed from the result, because it's still returned by the scheduling rules and the calendars. ...
diff --git a/go.mod b/go.mod index 0b024f2251..1bc9c0a194 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.25.5 require ( github.com/anknown/ahocorasick v0.0.0-20190904063843-d75dbd5169c0 - github.com/dynatrace/dynatrace-configuration-as-code-core v0.9.1-0.20251212150514-9e1640896702 + github.com/dynatrace/dy...
7
6
1
[{"id": "G0", "claim": "Aborting the whole workflow batch on the first failed Get/decode is the wrong behaviour for the download; it should log the failure and skip that config so a partial result is returned.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
Dynatrace__openkit-java__10
Dynatrace/openkit-java
10
defect
736216f214400199a8ff67b7c4e2ace55629e735
a7b55820dd1c3aeac354443f41a311b18f41214f
API changes
The following changes are included in the pull request - Nesting of action is limited - RootAction is introduced - enterAction is moved from Action to RootAction - WebRequestTag is renamed to WebRequestTracer - tests were fixed - outdated tests were removed
diff --git a/src/main/java/com/dynatrace/openkit/api/Action.java b/src/main/java/com/dynatrace/openkit/api/Action.java index 9b26a11d..cdaafa5b 100644 --- a/src/main/java/com/dynatrace/openkit/api/Action.java +++ b/src/main/java/com/dynatrace/openkit/api/Action.java @@ -12,14 +12,6 @@ */ public interface Action { ...
9
8
0
[{"id": "G0", "claim": "The class comment of the Action interface should be adjusted since it is no longer possible to create (child) Actions from an Action.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The RootAction Javadoc would make more s...
null
Dynatrace__openkit-java__115
Dynatrace/openkit-java
115
defect
59c715e56e84503eeaea9d99de1cca46492584b1
ec826acf7077422c0630502fc4a6c7f336cb33ef
Fix wrong pattern for SimpleDateFormat
In Java 6 the pattern string X is unknown for SimpleDateFormat. This would just add the timezone in ISO-8601 format to the string. Due to the fact that the DefaultLogger uses UTC timezone, this does not add useful information in the string. Therefore it's removed. Also did refactor the tests and some documentatio...
diff --git a/src/main/java/com/dynatrace/openkit/api/Logger.java b/src/main/java/com/dynatrace/openkit/api/Logger.java index 38518e2d..f107d911 100644 --- a/src/main/java/com/dynatrace/openkit/api/Logger.java +++ b/src/main/java/com/dynatrace/openkit/api/Logger.java @@ -61,28 +61,28 @@ public interface Logger { /*...
1
1
0
[{"id": "G0", "claim": "Extract the datetime pattern repeated in the DefaultLoggerTest assertions into a private static member and reuse it.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Dynatrace__openkit-java__141
Dynatrace/openkit-java
141
defect
5317d356ca00de748105d9c34f796267089ab610
d433f09acbbbeac5a101e2b7ca08ed5ff4f9f6bc
ApplicationID/DeviceID need to be URL encoded
In addition, sometimes the underscore character _ is reserved in Dynatrace/AppMon, therefore we need to URL-encode this character as well.
diff --git a/src/main/java/com/dynatrace/openkit/core/configuration/Configuration.java b/src/main/java/com/dynatrace/openkit/core/configuration/Configuration.java index 09d1ca36..8c9b1f0b 100644 --- a/src/main/java/com/dynatrace/openkit/core/configuration/Configuration.java +++ b/src/main/java/com/dynatrace/openkit/cor...
3
3
0
[{"id": "G0", "claim": "The JavaDoc of the three-argument encode method misspells \"be\" as \"bee\" and should be corrected.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The RESERVED_CHARACTERS constant in Configuration should be a char[] instea...
null
Dynatrace__openkit-java__17
Dynatrace/openkit-java
17
defect
487902825aa0e3af67585ed79208ccbb03dcb65a
08b38d92127e22eae699398d2609480e798351c7
Feature/open kit memory leak
The following points are implemented by now: - App developer does not need to call initialize any longer -> method is removed from interface and is called in OpenKitFactory - WebRequestTracer.startTiming and WebRequestTracer.stopTiming methods are renamed to WebRequestTracer.start and WebRequestTracer.stop This is...
diff --git a/src/main/java/com/dynatrace/openkit/OpenKitFactory.java b/src/main/java/com/dynatrace/openkit/OpenKitFactory.java index 0037349b..0a14ab0f 100644 --- a/src/main/java/com/dynatrace/openkit/OpenKitFactory.java +++ b/src/main/java/com/dynatrace/openkit/OpenKitFactory.java @@ -47,8 +47,11 @@ public static Open...
2
1
0
[{"id": "G0", "claim": "If the 'public' modifier is removed from interface method declarations in WebRequestTracer.java, the same removal should be applied in the other interfaces as well.", "category": "style", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change to Abstr...
null
Dynatrace__openkit-java__19
Dynatrace/openkit-java
19
defect
f4196246c36a7ca2349460ad05f6394261875f8d
4b4657ccb5dc93e5f91c392d2894bc8a8f372ff3
declare default values for OpenKit applications
operating system, manufacturer, application version and device id are set to the default value if the according values are uninitialized or empty and null strings are passed
diff --git a/src/main/java/com/dynatrace/openkit/core/DeviceImpl.java b/src/main/java/com/dynatrace/openkit/core/DeviceImpl.java index af747ece..128e2fa4 100644 --- a/src/main/java/com/dynatrace/openkit/core/DeviceImpl.java +++ b/src/main/java/com/dynatrace/openkit/core/DeviceImpl.java @@ -12,26 +12,36 @@ */ public ...
8
8
0
[{"id": "G0", "claim": "Remove the internal copy-source comment at the top of InetAddressValidator and document the class's purpose instead.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The never-used methods parseIPv4Address and getIPv4AddressF...
null
Dynatrace__openkit-java__2
Dynatrace/openkit-java
2
defect
e141b783971aefdeee93536716049809e8695044
36f79ae1d7e3fbdce3bdee3f92d35f8be1d1022d
removed ref to HttpClient and BeaconSender from config
- Configuration now only has getters + update - Member holding ref to BeaconSender and HttpClient was removed in Configuration - Member holding ref to HttpClient was removed in Beacon - HttpClientProvider is now an interface and relies on HttpClientConfiguration
diff --git a/src/main/java/com/dynatrace/openkit/OpenKitFactory.java b/src/main/java/com/dynatrace/openkit/OpenKitFactory.java index 83b25111..f46918f0 100644 --- a/src/main/java/com/dynatrace/openkit/OpenKitFactory.java +++ b/src/main/java/com/dynatrace/openkit/OpenKitFactory.java @@ -10,6 +10,7 @@ import com.dynatra...
4
3
0
[{"id": "G0", "claim": "The getter naming is inconsistent between getServerId() and getApplicationID(); for consistency reasons prefer either getServerID() or getApplicationId().", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The DefaultHTTPClie...
null
Dynatrace__openkit-java__21
Dynatrace/openkit-java
21
defect
f4196246c36a7ca2349460ad05f6394261875f8d
c946e28b406bdf295cb1181938018e8365d863b2
IdentifyUser
Added identify user for sessions + integration test. I suggest to added real unit tests in a separate commit when we have the refactored thread provider.
diff --git a/src/main/java/com/dynatrace/openkit/api/Session.java b/src/main/java/com/dynatrace/openkit/api/Session.java index 6671dfdd..9dc7f0d2 100644 --- a/src/main/java/com/dynatrace/openkit/api/Session.java +++ b/src/main/java/com/dynatrace/openkit/api/Session.java @@ -18,6 +18,13 @@ public interface Session { ...
4
2
1
[{"id": "G0", "claim": "The API changes made by this pull request (e.g. the new identifyUser method on the public Session interface) really need to be documented.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The casing of the user ID parameter i...
null
Dynatrace__openkit-java__25
Dynatrace/openkit-java
25
defect
d320056eac7661b4b3066f8e9475f7859fa0c5c8
cfa08e911cc3f0b16358cb941235bec925a1de82
Changed Session ctor
* Pass Beacon instance to Session * Removed ThreadIDProvider from Session ctor * Added first unit tests for Beacon
diff --git a/src/main/java/com/dynatrace/openkit/core/OpenKitImpl.java b/src/main/java/com/dynatrace/openkit/core/OpenKitImpl.java index f2848f6c..944bc188 100644 --- a/src/main/java/com/dynatrace/openkit/core/OpenKitImpl.java +++ b/src/main/java/com/dynatrace/openkit/core/OpenKitImpl.java @@ -9,6 +9,7 @@ import com.d...
1
1
0
[{"id": "G0", "claim": "Leave the timeProvider field private instead of making it public.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Dynatrace__openkit-java__27
Dynatrace/openkit-java
27
defect
86b67f8e7412eb2f98598ff62cf803e69ff49442
c800d226738024fdb585c9d0879e827d3fb5ed8e
Feature/open kit renamings
As discussed in review & planning, rename - visitorID -> deviceID - userID (or wrongly userId) -> userTag
diff --git a/README.md b/README.md index 7ac78dce..090b8762 100644 --- a/README.md +++ b/README.md @@ -138,10 +138,10 @@ Detailed explanation is available in [example.md](docs/example.md). ```java String applicationName = "My OpenKit application"; String applicationID = "application-id"; -long visitorID = 42; +long ...
1
1
0
[{"id": "G0", "claim": "Change \"user id\" to \"user tag\" in the README as well, keeping the documentation consistent with the userId-to-userTag rename made elsewhere in the pull request.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Dynatrace__openkit-java__28
Dynatrace/openkit-java
28
defect
5ee6f821b791856bff061ebce175755e2345e1d6
d7968276190fb316e1b80d9175fcca4b85916366
Removed static TimeProvider
* Moved methods to TimingProvider interface * Pass instance to Beacon * Replaced calls to static provider To be discussed: I added the method `getCurrentTimestamp` in `Beacon`. The beacon is known to all components that require the timing info. Otherwise we need to find a different solution to set time information...
diff --git a/src/main/java/com/dynatrace/openkit/core/ActionImpl.java b/src/main/java/com/dynatrace/openkit/core/ActionImpl.java index 443f249b..c818ec42 100644 --- a/src/main/java/com/dynatrace/openkit/core/ActionImpl.java +++ b/src/main/java/com/dynatrace/openkit/core/ActionImpl.java @@ -10,7 +10,6 @@ import com.dyn...
2
2
1
[{"id": "G0", "claim": "Fix the typo \"falg\" in the BeaconSendingContext Javadoc comment.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The code mixes up \"time sync supported\" and \"time sync offset initialized\", and BeaconSendingContext.isTi...
null
Dynatrace__openkit-java__30
Dynatrace/openkit-java
30
defect
a7cfc8a2977d38e2d572980e2034eac71f87a0e6
0de45f3569df3e7c357ff64a0c62c89042af5013
add sentBytes and receivedBytes to web requests
The WebRequestTracer is now able to include the amounts of sent and received byte into beacon data. Accepted values are all positive numbers and 0. Negative values will be ignored by WebRequestTracer
diff --git a/src/main/java/com/dynatrace/openkit/api/WebRequestTracer.java b/src/main/java/com/dynatrace/openkit/api/WebRequestTracer.java index db114b0b..3203affd 100644 --- a/src/main/java/com/dynatrace/openkit/api/WebRequestTracer.java +++ b/src/main/java/com/dynatrace/openkit/api/WebRequestTracer.java @@ -26,6 +26,...
1
1
0
[{"id": "G0", "claim": "Change the WebRequestTracer setter and start/stop implementation so that methods return the tracer to enable method chaining.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
Dynatrace__openkit-java__52
Dynatrace/openkit-java
52
defect
11ea4539b28b0d46877528819e9a8030481c6fc5
f4cfd4588d126284bd34d903b539d8b9cff0dd16
Actions on closed/ended/shutdown objects are not possible
It is no longer possible to perform actions on already closed/left/shutdown objects. This includes - OpenKit - Session - Action - WebRequestTracer
diff --git a/src/main/java/com/dynatrace/openkit/core/ActionImpl.java b/src/main/java/com/dynatrace/openkit/core/ActionImpl.java index 1cf15950..7732b224 100644 --- a/src/main/java/com/dynatrace/openkit/core/ActionImpl.java +++ b/src/main/java/com/dynatrace/openkit/core/ActionImpl.java @@ -21,12 +21,15 @@ import com.d...
4
4
0
[{"id": "G0", "claim": "The javadoc the pull request added to SessionImpl.isEmpty contains a stray letter 'e' after the closing </p> tag.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request names the same kind of check inconsistently a...
null
Dynatrace__openkit-java__72
Dynatrace/openkit-java
72
defect
a1c581b3c3d10e25ed481d10ab06456e7f9d6e84
5955c8b3670fe4fac4942a635e404bce54eedfa5
Feature/extended logging
The resulting log files from the (Java) SimpleSample and the (Java) JPackman are attached to the ticket (https://dev-jira.dynatrace.org/browse/APM-127586)
diff --git a/samples/SimpleSample.java b/samples/SimpleSample.java index 43f53691..298c58b5 100644 --- a/samples/SimpleSample.java +++ b/samples/SimpleSample.java @@ -16,6 +16,7 @@ package samples; +import com.dynatrace.openkit.DynatraceOpenKitBuilder; import com.dynatrace.openkit.api.*; import java.io.IOExcep...
8
6
1
[{"id": "G0", "claim": "The log messages in ActionImpl spell the Java type name as lowercase \"(string)\" and the reviewer prefers uppercase \"(String)\" because of the Java data type.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The debug log...
null
EBIvariation__vcf-validator__177
EBIvariation/vcf-validator
177
defect
54ccb710a5c11eb2148022c610fe9d26303a741d
0a54b591099c7daaf3a38ae0c8f2116d7735efdb
EVA-1406 Support custom IDs in the ALT column (and forbid custom SVTYPES)
Also, minor fixes related to ALT ID and the BND type
diff --git a/inc/util/stream_utils.hpp b/inc/util/stream_utils.hpp index 24892ffd1..88dbae5cf 100644 --- a/inc/util/stream_utils.hpp +++ b/inc/util/stream_utils.hpp @@ -109,7 +109,7 @@ namespace ebi * This is a generic method that prints a collection if it has the operations ".begin()" and ".end()" * define...
3
3
0
[{"id": "G0", "claim": "The invalid_argument message in MetaSectionError misspells \"definition\" as \"defintion\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The InfoBodyError exception message should be rephrased from \"The program had an ...
null
EFForg__privacybadger__1482
EFForg/privacybadger
1,482
defect
6c03ae934e180436e3881fb22360d7b793bfcc07
1819733a943bc675d898d6f92f96bd2d102afd80
Fix yellowlist updating
Fixes #1473. - [x] Add tests - [x] Fix the updating
diff --git a/src/js/background.js b/src/js/background.js index 9790dc03ee..654f0bea83 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -235,29 +235,70 @@ Badger.prototype = { * add any new entries that already have a parent domain in the action_map * and remove any old entries that are no longer in...
8
5
1
[{"id": "G0", "claim": "Combine the separate let/var declarations in _setupDomainAction into a single let declaration.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a plain-language comment explaining what the domain-validation regex matche...
null
EFForg__privacybadger__1812
EFForg/privacybadger
1,812
defect
85a2328f86912871631d9ceaa467a1d66a49ca0b
39ce7814c62f7418b328086c11ed0bb185456800
Remove userAllow instances.
Fixes #1528. Just removes all instances of userAllow. Update: Added new tests to test user override of default action in domain. This is my first contribution so please let me know if I've done anything incorrectly or if you like for me to make any changes.
diff --git a/src/js/background.js b/src/js/background.js index ccfd72a134..bcb6b2aa75 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -42,7 +42,6 @@ var incognito = require("incognito"); */ function Badger() { var badger = this; - this.userAllow = []; this.webRTCAvailable = checkWebRTCBrowserSu...
4
4
0
[{"id": "G0", "claim": "The removed comment \"Only replace social widgets that the user has not manually allowed\" should be kept in getSocialWidgetBlockList.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comparison should be simplified by mo...
null
EFForg__privacybadger__1899
EFForg/privacybadger
1,899
defect
e97b0d0dbe88ea8a08f9f4b5b06f31807bce741d
8c0af054359aaa65f9258efa832467b9dfad19c7
Fix popup in Private Browsing windows
Fixes #1060. Fixes #1634 by properly calling `init()` in places where we test the popup. We'll probably always need to use workarounds to test the popup as there doesn't seem to be a way to open extension popups with Selenium.
diff --git a/src/js/background.js b/src/js/background.js index 9f4861e4f3..44e57e1340 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -128,7 +128,7 @@ Badger.prototype = { ... }, origins: { - domain.tld: bool + domain.tld: {String} action taken fo...
3
2
0
[{"id": "G0", "claim": "The pull request should be tested on Android, as its popup changes might have broken the popup there.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "In logThirdPartyOriginOnTab, previously_seen looks redundant since previously_bl...
null
EFForg__privacybadger__2016
EFForg/privacybadger
2,016
defect
7aa109e224a42c180b65aaffe2e351013a6cfd38
294eae9fc7d0b3adb532e825e1a527c716bce84b
Add basic link-tracking protections to Google sites, update Facebook content script, and factor out common code.
This pull request will add basic anti-link-tracking measures for Google searches (www.google.com) as well as to links pasted into Google Hangouts (hangouts.google.com). The search script removes `click` and `mousedown` event listeners from vanilla search links on www.google.com. It doesn't apply to localized domains...
diff --git a/src/js/firstparties/facebook.js b/src/js/firstparties/facebook.js index b3a94f1fc8..587dbf0d93 100644 --- a/src/js/firstparties/facebook.js +++ b/src/js/firstparties/facebook.js @@ -1,24 +1,8 @@ +/* globals URL_REGEX:false, findInAllFrames:false, observeMutations:false */ // Adapted from https://github.co...
15
11
4
[{"id": "G0", "claim": "Changing the manifest permissions to \"*://*/*\" adds WebSocket URLs (#1010), so hold off making this change.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The comment in the shared lib (\"unwrap wrapped links in a Hangouts ifr...
null
EFForg__rayhunter__16
EFForg/rayhunter
16
defect
b0855e2af5fbdcf6c91dc273c458a2d3f7256af7
20c6e9bf094e2b6362b51a9fe1ff97848b76009c
Tests
A couple cleanups/refactors, but the big add here is integration testing for LTE RRC OTA messages
diff --git a/src/bin/wavehunter_reader.rs b/src/bin/wavehunter_reader.rs index 3be735001..db9792c39 100644 --- a/src/bin/wavehunter_reader.rs +++ b/src/bin/wavehunter_reader.rs @@ -1,6 +1,6 @@ use wavehunter::debug_file::DebugFileReader; use wavehunter::diag_reader::DiagReader; -use wavehunter::diag_device::DiagResul...
2
1
0
[{"id": "G0", "claim": "The read-retry loop in get_next_messages_container would be more readable written as `let mut bytes_read = 0; while ... { bytes_read = self.file.read(...)?; }` instead of a `loop` with an inner break.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existi...
null
ENOT-AutoDL__onnx2torch__27
ENOT-AutoDL/onnx2torch
27
defect
01a470d9c9e856292d1cb63d5922a4146e59b8d3
aabf02f6423d218ba0cdb4d2e7b4ec34914a35f4
Transformers support
Now we support visual transformers models from tiim such as `vit` and `swin`.
diff --git a/onnx2torch/converter.py b/onnx2torch/converter.py index 011546e3..c03c528a 100644 --- a/onnx2torch/converter.py +++ b/onnx2torch/converter.py @@ -147,10 +147,15 @@ def convert( args.append(torch_input_node) elif value_type == ValueType.GRAPH_INITIALIZER: + # T...
4
4
0
[{"id": "G0", "claim": "The graph-initializer buffer naming via '.'-stripped ONNX value names should be replaced with a more generic scheme that names buffers by a running count of torch initializers ('onnx_initializer_{len_torch_initializers}').", "category": "design", "verdict": "supported", "priority": "P2", "scope"...
null
ENTERPILOT__GoModel__113
ENTERPILOT/GoModel
113
defect
5f123396f3e3e251ce8728ef20aa5b177827fb19
c15d59f41dc869200d6fa9bd3fb896b366d056d8
providers: preserve provider instance identity in registry cache
## Summary - store provider instance names in the model registry and cache rows - fix cache restore to map models by provider instance instead of provider type - preserve qualified provider/model lookups while keeping unqualified first-provider behavior ## Testing - go test ./internal/cache ./internal/providers -count...
diff --git a/internal/cache/cache.go b/internal/cache/cache.go index 5ae8c728c..7dfa8df4d 100644 --- a/internal/cache/cache.go +++ b/internal/cache/cache.go @@ -13,7 +13,7 @@ import ( type ModelCache struct { Version int `json:"version"` UpdatedAt time.Time `json:"updated_...
4
2
1
[{"id": "G0", "claim": "Test assertions index model slices right after non-fatal length checks, so a wrong length can panic and mask the real failure; the length checks should be fatal (t.Fatalf) before indexing.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl...
null
ENTERPILOT__GoModel__117
ENTERPILOT/GoModel
117
defect
46e3f34520011b9a12cc00b078603c8f7e17abcd
654fe6c831d8e3e10c3e4dd1f488176e46463de8
Fix: SSE flushing and responses done markers
Bug fix: - **Streaming is broken.** SSE tokens buffer at 4KB instead of flushing incrementally (C-04). The stream termination signal `[DONE]` is lost before delivery (C-06). Users see frozen output followed by bursts. This is the defining failure mode for an AI gateway. <!-- This is an auto-generated comment: release...
diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index 59e7ce198..38c0a33b7 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -613,9 +613,8 @@ console.log(embedding.data[0].embedding.slice(0, 5)); // first 5 dimensions 1. **Model routing**: The gateway automatically routes requests to the correct provi...
4
4
4
[{"id": "G0", "claim": "The exported StreamResponses doc comments in internal/providers/openai/openai.go and internal/providers/xai/xai.go should be updated to state that the stream is normalized and may synthesize a terminal data: [DONE] marker instead of being returned verbatim as raw upstream bytes.", "category": "d...
null
ENTERPILOT__GoModel__122
ENTERPILOT/GoModel
122
defect
8149ab02c6af7999b142219f312fab208fd4bdb4
8a18baacfb6ef7b55d211758bce389f5e41aeac4
Fix: anthropic format
Do these changes help Anthropic support? - Yes, model_context_window_exceeded -> length is beneficial. Without it, OpenAI-compatible clients would see a raw Anthropic stop reason instead of the expected truncation-style finish reason. - Yes, but narrowly, the malformed-stream fallback is beneficial....
diff --git a/internal/providers/anthropic/anthropic.go b/internal/providers/anthropic/anthropic.go index 3396a21ea..f25160c51 100644 --- a/internal/providers/anthropic/anthropic.go +++ b/internal/providers/anthropic/anthropic.go @@ -222,9 +222,10 @@ type anthropicStreamEvent struct { // anthropicDelta represents a d...
4
2
1
[{"id": "G0", "claim": "In streaming, mapStreamStopReason preserves the raw Anthropic stop reason tool_use when no tool-call deltas were emitted, while non-streaming always maps tool_use to tool_calls, which can make finish_reason inconsistent across the two paths and potentially leak a non-OpenAI value; the reviewer a...
null
ENTERPILOT__GoModel__160
ENTERPILOT/GoModel
160
defect
573151fcc744f7a90273603ff6baf97c0d7ffbf3
8f26a8b03ca53d91d8343152de370c026828b129
feat: prefixed public models
AI model names are now prefixed with {provider} when you enlist them by calling `/models` endpoint. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Support for provider-qualified model identifiers (provider/model) with deterministic routing wh...
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index b8e6f5332..000000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,35 +0,0 @@ -# Summary - -Describe what changed and why. - -## PR Title Format (required) - -Use Conventional Commits in the PR t...
2
1
0
[{"id": "G0", "claim": "Consider adding a registry test case with a slash-containing model ID (e.g. \"google/gemini-xyz\" from openrouter) to verify that ListPublicModels double-qualifies it to \"openrouter/google/gemini-xyz\".", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {...
null
ENTERPILOT__GoModel__177
ENTERPILOT/GoModel
177
defect
a617ba13c5865896872b4de79df4d81f97aeb43f
dc7b708682d8908e0bb6b3c8cc914f0cbb10f035
refactor(core): streamline model selector resolution
## Summary - preserve requested selector provenance with an explicit requested-selector type instead of loose model/provider strings - make alias resolution and batch planning consume that typed selector so explicit provider hints and prefixed model syntax are not conflated - disable translated alias rewriting by defau...
diff --git a/internal/aliases/batch_preparer.go b/internal/aliases/batch_preparer.go index b4a5cfa7f..ce154a455 100644 --- a/internal/aliases/batch_preparer.go +++ b/internal/aliases/batch_preparer.go @@ -50,31 +50,29 @@ type aliasModelProviderTypeChecker interface { GetProviderType(string) string } -func resolveA...
3
3
0
[{"id": "G0", "claim": "Consider removing the redundant re-construction of the requested selector at line 54 of resolveAliasModel, since call sites already build it via core.NewRequestedModelSelector (or document it as a defensive normalization boundary).", "category": "maintainability", "verdict": "supported", "priori...
null
ENTERPILOT__GoModel__182
ENTERPILOT/GoModel
182
defect
a4785722eb4a5408724f17c14866f5883c5efa09
28a3d053910e6745aa04a12b43770ba7ea9bc42c
refactor(storage): narrow backend interfaces
## Summary - shrink `storage.Storage` to lifecycle-only and replace backend-specific `Type()`/`any` accessors with narrow typed interfaces - remove repeated storage config translation from feature factories by centralizing it in `config.StorageConfig.BackendConfig()` - update auditlog, usage, batch, aliases, and execut...
diff --git a/config/config.go b/config/config.go index 99135c224..448489fa4 100644 --- a/config/config.go +++ b/config/config.go @@ -261,6 +261,34 @@ type MongoDBStorageConfig struct { Database string `yaml:"database" env:"MONGODB_DATABASE"` } +// BackendConfig converts the application storage config into the inte...
1
1
0
[{"id": "G0", "claim": "The duplicated SQLite/PostgreSQL/MongoDB backend type switch in the feature factories (auditlog, usage, aliases, and the other factories in the PR's scope) should be replaced by a small centralized dispatch helper in internal/storage so future backends only need a one-place change and the switch...
null
ENTERPILOT__GoModel__194
ENTERPILOT/GoModel
194
defect
255d775c80392933d478c5b26890b9db45cae22c
4d055b659e9a76b9ca9912e1159d8f6f73ad7be0
chore(deps): bump CI and Docker Go pins
## Summary - bump `codecov/codecov-action` from v5 to v6 - pin GitHub Actions and the Docker builder image to Go 1.26.1 - split the local MiniLM embedder into cgo and non-cgo paths so static Docker builds keep passing - leave `github.com/ncruces/go-sqlite3` unchanged because the newer release breaks the current `sqlite...
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d1fec6119..8075617fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: stable + ...
4
2
2
[{"id": "G0", "claim": "The Embed function returns plain fmt.Errorf errors instead of typed core.GatewayError instances with proper error categories, contrary to the coding guidelines.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The goroutine in ...
null