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
stellar__stellar-core__4539
stellar/stellar-core
4,539
defect
0579fd936dda8b6c2f7f9a41c8500636834b168c
0df399ed102550e27b5bd91afeac254b737580a5
Apply load improvements
# Description - Use the new function that doesn't access storage, but does emit events - Generate synthetic bucket list with configurable number of entries/ledgers - Tighten the resources estimation - Wait for merges in-between benchmark runs # Checklist - [ ] Reviewed the [contributing](https://github.com/st...
diff --git a/Cargo.lock b/Cargo.lock index e948c5074c..6077022c3f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,27 +4,27 @@ version = 3 [[package]] name = "aho-corasick" -version = "1.0.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43f6cb1bf222025340178f382c42...
1
1
0
[{"id": "G0", "claim": "Consider separating the command that populates the bucket list from apply-load, so the generated bucket list files can be copied and rerun with different parameters instead of waiting for bucket list generation on each run.", "category": "design", "verdict": "supported", "priority": "P2", "scope...
null
stellar__stellar-core__4752
stellar/stellar-core
4,752
defect
acfabcebacd719ab347ad6bf62881318d56e9997
d222c81dd401c9fa77158c2445dc4ec0bb185286
Soroban state cache
# Description Initializes and maintains a cache will all live soroban state. We do not yet use this cache. A followup PR that uses the cache instead of loading from disk will be opened after we merge https://github.com/stellar/stellar-core/pull/4715. Rebased on https://github.com/stellar/stellar-core/pull/4750, s...
diff --git a/src/bucket/test/BucketIndexTests.cpp b/src/bucket/test/BucketIndexTests.cpp index 8c58054660..41b592dc7c 100644 --- a/src/bucket/test/BucketIndexTests.cpp +++ b/src/bucket/test/BucketIndexTests.cpp @@ -20,10 +20,12 @@ #include "main/Config.h" #include "test/test.h" +#include "util/GlobalChecks.h" #inc...
8
6
1
[{"id": "G0", "claim": "Constructing cache entries creates a bunch of shared_ptr copies, so the entry plumbing should use &&/moves to be more efficient.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The doc comment saying WASM modules are cached \"...
null
stellar__stellar-core__4791
stellar/stellar-core
4,791
defect
dc35707c46ef9a2a041e1d324b7e1cd1262e884c
95fac8e6918abcc3fc233ea07191d0c2b8bdf66e
Add meta restoration tests and bug fixes
# Description Resolves #4781 Adds more restore meta unit tests and fixes a few bugs found from the unit tests. In particular, we had some gaps in coverage where an entry was autorestored and deleted in the same ledger. I've added unit tests for several interesting autorestore scenarios: 1. TX 0 restores and de...
diff --git a/src/ledger/LedgerTxn.h b/src/ledger/LedgerTxn.h index 7956c7dfdc..9b14c085e9 100644 --- a/src/ledger/LedgerTxn.h +++ b/src/ledger/LedgerTxn.h @@ -522,7 +522,9 @@ class AbstractLedgerTxnParent virtual SessionWrapper& getSession() const = 0; // Returns map of TTL and corresponding contract/data k...
6
3
0
[{"id": "G0", "claim": "Consider adding an inline comment that succinctly explains why the LEDGER_ENTRY_STATE change is converted to RESTORED in the LEDGER_ENTRY_REMOVED handling.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Ensure there are uni...
null
stellar__stellar-core__4942
stellar/stellar-core
4,942
defect
7b9e6c863bbbe7827920b53de57236a276e2a88a
97611824565c8d3b169c60ab77cfb440bd16d225
Soroban apply optimization
# Description Resolves a perf degradation in single thread soroban apply from 22.4.1 -> 23.0.1. After back-porting `max_sac_tps` test to 22.4.1, I noticed that we say about a ~35% decrease (3250 -> 2140) in overall TPS in the single threaded SAC TPS test. Note that this test doesn't parse any modules and used in...
diff --git a/src/main/Config.cpp b/src/main/Config.cpp index 35a5a97f02..67d28ed7aa 100644 --- a/src/main/Config.cpp +++ b/src/main/Config.cpp @@ -1681,11 +1681,6 @@ Config::processConfig(std::shared_ptr<cpptoml::table> t) APPLY_LOAD_MAX_SAC_TPS_TARGET_CLOSE_TIME_MS = rea...
1
1
0
[{"id": "G0", "claim": "The `compilation_context` variable in `shallow_clone` is created but never used and appears to be leftover code that should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stellar__stellar-core__4952
stellar/stellar-core
4,952
defect
64456ca4f118d24e6ddc704bf07fdb0f38d62be2
e1e8662058346f5fc4dc9efac736936e864617fb
Remove unnecessary disk write
# Description Removes a redundant write from the BucketList `addBatch` path. Currently, when writing a new bucket to the level 0 BucketList, we first write a "level -1" snap bucket. This bucket then immediately merges into the `curr` Bucket. The issue is, creating this level -1 bucket is quite expensive, as we wr...
diff --git a/src/bucket/BucketListBase.cpp b/src/bucket/BucketListBase.cpp index ab24faae15..05acaa7a30 100644 --- a/src/bucket/BucketListBase.cpp +++ b/src/bucket/BucketListBase.cpp @@ -225,11 +225,10 @@ BucketLevel<LiveBucket>::prepareFirstLevel(Application& app, // This bucket is the "level -1" snap bucket, whi...
2
1
0
[{"id": "G0", "claim": "Replace the two-line comment above the shell-bucket code with a longer one explaining that BucketOutputIterator is bypassed because in-memory-only buckets are never persisted to disk or shared across processes.", "category": "documentation", "verdict": "uncertain", "priority": "P3", "scope": "in...
null
stellar__stellar-core__5146
stellar/stellar-core
5,146
defect
e5a6f13980aeaf8d2b14ceb99879f0726386f463
790b206aa84d0ed17c157e2585c3b4ec78f6e629
Make parallel apply compatible with RUN_STANDALONE
# Description This change makes RUN_STANDALONE compatible with parallel ledger apply. There are a few motivations for this. First, many tests enable `RUN_STANDALONE`, so we silently disable parallel apply in many unit tests. This change increases test coverage (and we'll need to do it eventually anyway if we make pa...
diff --git a/docs/apply-load-max-sac-tps.cfg b/docs/apply-load-max-sac-tps.cfg index bc937898aa..4cfa16c1e3 100644 --- a/docs/apply-load-max-sac-tps.cfg +++ b/docs/apply-load-max-sac-tps.cfg @@ -39,7 +39,7 @@ APPLY_LOAD_BL_LAST_BATCH_LEDGERS = 0 # Minimal core config boilerplate RUN_STANDALONE=true -PARALLEL_LEDGER...
11
4
2
[{"id": "G0", "claim": "The pending-action queue should not be checked under its mutex on every crank (duplicating the later drain lock); the mutex should only be taken on the idle/virtual-time path.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
stellar__stellar-core__5149
stellar/stellar-core
5,149
defect
e5a6f13980aeaf8d2b14ceb99879f0726386f463
4e3d5713d1cb47f5366840f50b29c72bd396092e
Harden multi-threaded http server
# Description Fixes bug where malformed HTTP headers would crash the multithreaded HTTP server. # Checklist - [x] Reviewed the [contributing](https://github.com/stellar/stellar-core/blob/master/CONTRIBUTING.md#submitting-changes) document - [x] Rebased on top of master (no merge commits) - [x] Ran `clang-forma...
diff --git a/lib/httpthreaded/request_parser.cpp b/lib/httpthreaded/request_parser.cpp index 240e02d660..78fed36e8c 100644 --- a/lib/httpthreaded/request_parser.cpp +++ b/lib/httpthreaded/request_parser.cpp @@ -294,7 +294,14 @@ request_parser::initializeForBody(request const& req) { if (header.name == "Co...
5
2
2
[{"id": "G0", "claim": "stoi can return negative values, which assigned to the size_t body_content_length_ become a very large unsigned value and could let malformed requests with negative Content-Length headers pass validation; parse with stoul/stoull or add an explicit check for negative values.", "category": "securi...
null
stellar__stellar-core__5157
stellar/stellar-core
5,157
defect
4318e17c71b2c9d2b365d6df348a97851b0f482b
01c108df1ca08ff25761a1519c10e8cb44675d75
Remove maintenance
Gets rid of automatic maintenance, the `ledgerheaders` table, and `lastclosedledger` in `storestate`.
diff --git a/docs/quick-reference.md b/docs/quick-reference.md index fc054acdfc..c8cb51bb4c 100644 --- a/docs/quick-reference.md +++ b/docs/quick-reference.md @@ -59,18 +59,6 @@ You have some control over which peers you're connected to: * the `connect` command asks the instance to connect to a specific peer. * the...
7
7
2
[{"id": "G0", "claim": "If getHeaderDataForHash() returns empty for the stored hash, the schema migration persists an empty lastclosedledgerheader into storestate and deletes the old key, which can leave the DB broken and cause startup failures later; the failure should be made explicit (throw) instead of inserting unv...
null
stellar__stellar-core__5183
stellar/stellar-core
5,183
defect
fbe7a466d090778a1e9713353517bd0025c06b52
374bf0de992ec9e458cfa8412867c03cddfb3219
Clean up version warning
# Description Resolves #4882 Written by our dear friend gpt 5.4 # Checklist - [x] Reviewed the [contributing](https://github.com/stellar/stellar-core/blob/master/CONTRIBUTING.md#submitting-changes) document - [x] Rebased on top of master (no merge commits) - [x] Ran `clang-format` v8.0.0 (via `make format...
diff --git a/src/main/ApplicationUtils.cpp b/src/main/ApplicationUtils.cpp index 6c05c7b074..fb7b4cf592 100644 --- a/src/main/ApplicationUtils.cpp +++ b/src/main/ApplicationUtils.cpp @@ -1180,16 +1180,22 @@ publish(Application::pointer app) return 0; } -// Returns the major release version extracted from the gi...
4
1
0
[{"id": "G0", "claim": "The new non-release warning will read awkwardly for packaged builds because STELLAR_CORE_VERSION already contains the program name (e.g. \"Running non-release version stellar-core ... of stellar-core\"); the trailing \"of stellar-core\" should be removed or the message rephrased to avoid repeati...
null
stellar__stellar-core__5196
stellar/stellar-core
5,196
defect
8e43a2d3b83ee48fd1a2507ea727a21ab9fc8c23
1925cc7678e79763534e803cf4745e20ecb81e90
Misc apply load improvements
# Description - Added a new mode for simply benchmarking closing ledgers with N model transactions (currently only SAC transfer supported). This is faster and less noisy than max TPS test and should serve better for quick feedback for perf experiments. - Use genesis accounts to dramatically speed up the setup (espe...
diff --git a/Builds/VisualStudio/build_rust.bat b/Builds/VisualStudio/build_rust.bat index cb8d1d568a..00bc2ed02b 100644 --- a/Builds/VisualStudio/build_rust.bat +++ b/Builds/VisualStudio/build_rust.bat @@ -33,30 +33,105 @@ setlocal EnableDelayedExpansion rem -- range to use for stable host envs set MIN_P=21 -set M...
6
3
2
[{"id": "G0", "claim": "logExecutionEnvironmentSnapshot logs the raw loaded TOML, which can include NODE_SEED and other secrets if apply-load is run against a real config, so sensitive fields should be redacted or a sanitized subset logged (suggested: disable the config snapshot logging).", "category": "security", "ver...
null
stellar__stellar-core__5202
stellar/stellar-core
5,202
defect
069881d1cec990671d674cacf9ee223da4b5b4b0
bc7795f82d0892cd3fe8e30b3056febd9e3510ef
Harden binary fuse filter
# Description This fixes a bug in the binary fuse filter, where very occasionally we would corrupt a value in the index. Specifically, the last element in `reverseOrder` is a sentinel value that should never be reset, even in the case of underflow error. However, when underflow error occurred, we would reset the ent...
diff --git a/lib/binaryfusefilter.h b/lib/binaryfusefilter.h index 3fcb3716d7..93d7861ddb 100644 --- a/lib/binaryfusefilter.h +++ b/lib/binaryfusefilter.h @@ -22,6 +22,16 @@ typedef std::array<uint8_t, crypto_shorthash_KEYBYTES> binary_fuse_seed_t; +#ifdef BUILD_TESTS + +#include "test/CovMark.h" + +// Test-only f...
6
5
2
[{"id": "G0", "claim": "Fix the typo in the test comment where a space is missing after the period in \"rotated seed.This\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "CovMark.h uses std::uncaught_exceptions() without including <exception>; in...
null
stellar__stellar-core__5219
stellar/stellar-core
5,219
defect
7d51df50104bc32e3b859695bd875cfdd977254b
05a12fcdcc2d3ecf73b87eddba969a1c5bb0e5de
Allow DATABASE config in file
# Description Extension on https://github.com/stellar/stellar-core/pull/5177 <!--- Describe what this pull request does, which issue it's resolving (usually applicable for code changes). ---> # Checklist - [ ] Reviewed the [contributing](https://github.com/stellar/stellar-core/blob/master/CONTRIBUTING.m...
diff --git a/docs/stellar-core_example.cfg b/docs/stellar-core_example.cfg index 172e952cdc..87d83ee37f 100644 --- a/docs/stellar-core_example.cfg +++ b/docs/stellar-core_example.cfg @@ -46,6 +46,10 @@ BUCKET_DIR_PATH="buckets" # http://www.postgresql.org/docs/devel/static/libpq-connect.html#LIBPQ-PARAMKEYWORDS # ...
4
2
2
[{"id": "G0", "claim": "Tracking DATABASE as an external secret means a config with NETWORK_PASSPHRASE set to pubnet will now throw during load when DATABASE uses $FILE:, so if $FILE: is meant to be allowed for DATABASE on pubnet the global check likely needs narrowing (e.g., only forbid external secrets for NODE_SEED)...
null
stellar__stellar-core__5239
stellar/stellar-core
5,239
defect
26b3c561add8c05a9cccd4cc7af345a16dccf50c
d7c17b5aa261c56ce1c394ec7ded049217efeec8
Allow overriding block time bounds for testing
Needed to support min block time testing (https://github.com/stellar/supercluster/pull/376)
diff --git a/src/herder/HerderImpl.cpp b/src/herder/HerderImpl.cpp index 467a0424e1..99afcd398b 100644 --- a/src/herder/HerderImpl.cpp +++ b/src/herder/HerderImpl.cpp @@ -1607,7 +1607,8 @@ HerderImpl::triggerNextLedger(uint32_t ledgerSeqToTrigger, std::vector<LedgerUpgrade> upgrades; { CheckValidLedg...
5
3
2
[{"id": "G0", "claim": "In non-test builds (BUILD_TESTS undefined) the cfg parameter of the new getMinAllowedLedgerTargetCloseTimeMilliseconds/getMaxAllowedLedgerTargetCloseTimeMilliseconds helpers is unused and will typically produce a -Wunused-parameter warning; mark it [[maybe_unused]] or otherwise silence it.", "ca...
null
stellarmesh__stellarmesh__24
stellarmesh/stellarmesh
24
defect
026acbef2b23f6e936ceb7ffea9c543432dba5a0
8de230f90244a07f1b4eea8e3c2ed7cd5fce1b9c
Adopt `from_*` naming convention for classmethods
*Based on #23, please review/merge that first* ----- Many Python packages use a convention whereby a `@classmethod` called `from_*` is an "alternate constructor" that returns a new instance of the class. To note a few examples: - [`int.from_bytes`](https://docs.python.org/3/library/stdtypes.html#int.from_bytes) ...
diff --git a/README.md b/README.md index db121a7..2404832 100644 --- a/README.md +++ b/README.md @@ -68,11 +68,11 @@ for _ in range(3): solids = solids[1:] geometry = sm.Geometry(solids, material_names=["a", "a", "c"]) -mesh = sm.Mesh.mesh_geometry(geometry, min_mesh_size=50, max_mesh_size=50) +mesh = sm.Mesh.from_...
1
1
1
[{"id": "G0", "claim": "Deprecated aliases for the old method names should be added so renaming the classmethods does not break functionality for existing users.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
stellarmesh__stellarmesh__36
stellarmesh/stellarmesh
36
defect
2d0593398a9e384e0ca49deceb3a5ac0790ffce1
20cf489e486e54adcb21c443c9f10cf959daa660
Continuous integration tests
Fixes #35 @shimwell @paulromano These tests are inspired by `model_benchmark_zoo`, but parameterize the models to make it a bit easier to add new ones. Would appreciate a review!
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 116e4fc..11c29ef 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,14 +30,21 @@ jobs: - name: Set up conda dependencies shell: _entrypoint.sh /bin/bash --noprofile --norc -eo pipefail {0} ru...
8
7
0
[{"id": "G0", "claim": "The CI workflow could use the mamba-org/setup-micromamba action to set up the environment instead of the micromamba install run step.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The two per-material tallies in NestedSpheres could...
null
stenciljs__core__5648
stenciljs/core
5,648
defect
ab5bc2bd25b267f100ba6cb3482c9d44c6c703b4
b569ea7a9ad5d3b43eba3cf5c556cfab2c5e9e5f
fix(docs): respect custom README content when writing to a custom path
On the `docs-readme` output target it's possible to set a custom output location with the `.dir` property and the README files generation for components will then be output to relative paths (like `my-component/readme.md`) within that directory. This fixes a bug where that behavior didn't properly respect any manual...
diff --git a/src/compiler/docs/generate-doc-data.ts b/src/compiler/docs/generate-doc-data.ts index 7788e5fd582f..8246b809f138 100644 --- a/src/compiler/docs/generate-doc-data.ts +++ b/src/compiler/docs/generate-doc-data.ts @@ -377,7 +377,10 @@ export const getNameText = (name: string, tags: d.JsonDocsTag[]) => { * @r...
4
2
1
[{"id": "G0", "claim": "The paths being compared (readmeOutput.dir and config.srcDir) may not be normalized if the user is on Windows or writes a path with mixed separators, so the custom-dir check could pick the wrong branch.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
stenciljs__core__5829
stenciljs/core
5,829
defect
b6d24043bd518a7ddaf28f5da65730dd8669303d
40d1b9328e2917a0f36584b7cd655db98a6cabae
feat(testing): add `toHaveLastReceivedEventDetail` event spy matcher
<!-- Please refer to our contributing documentation for any questions on submitting a pull request, or let us know here if you need any help: https://github.com/ionic-team/stencil/blob/main/CONTRIBUTING.md --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying, or li...
diff --git a/src/declarations/stencil-private.ts b/src/declarations/stencil-private.ts index faa46e0d023..fd5b9a51366 100644 --- a/src/declarations/stencil-private.ts +++ b/src/declarations/stencil-private.ts @@ -2084,6 +2084,12 @@ declare global { */ toHaveFirstReceivedEventDetail(eventDetail: any): voi...
1
1
1
[{"id": "G0", "claim": "A test should be added for the new toHaveLastReceivedEventDetail matcher; the reviewer suggested it would be possible in test/end-to-end, where `npm run test.spec` triggers the Stencil test runner.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
stenciljs__core__5910
stenciljs/core
5,910
defect
7ae36aa5caae278787ff79e63093d4337bfd13c0
2c6ab69acd865355ec2c05632f2ff623a193510a
fix(testing): update Jest types
## What is the current behavior? GitHub Issue Number: fixes #5908 ## What is the new behavior? Adding/updating missing not correct Jest types. ## Documentation <!-- Please add any link(s) to documentation-related pull requests here --> ## Does this introduce a breaking change? - [ ] Yes - [x] No ...
diff --git a/src/compiler/config/test/validate-testing.spec.ts b/src/compiler/config/test/validate-testing.spec.ts index cb7fb661b90a..30b149f45e4d 100644 --- a/src/compiler/config/test/validate-testing.spec.ts +++ b/src/compiler/config/test/validate-testing.spec.ts @@ -579,7 +579,7 @@ describe('validateTesting', () =>...
1
1
1
[{"id": "G0", "claim": "The new bail/prettierPath/restoreMocks configuration handling added to the Jest 27-and-under adapter should also be applied to the other Jest adapter versions (28 and 29).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
stenciljs__core__6074
stenciljs/core
6,074
defect
c2e97f797f6eb7b843aa153fef2780073ec76898
72d39f8d9b581c42d4f9d56b9d8cf409281e82b0
fix: Change hasHostListenerAttached from var to protoype property
## What is the current behavior? When a component with event listeners is mounted multiple times, the event listeners are only registered for the first instance. This leads to unexpected behavior for subsequent instances. GitHub Issue: fixes #6066 ## What is the new behavior? Event listener registration is ...
diff --git a/src/runtime/bootstrap-custom-element.ts b/src/runtime/bootstrap-custom-element.ts index 70296d5978e..07fe9ee7e11 100644 --- a/src/runtime/bootstrap-custom-element.ts +++ b/src/runtime/bootstrap-custom-element.ts @@ -67,16 +67,16 @@ export const proxyCustomElement = (Cstr: any, compactMeta: d.ComponentRunti...
1
1
0
[{"id": "G0", "claim": "The new prototype flag should be prefixed with two underscores (e.g. `__hasHostListenerAttached`) to mark it as internal, like `__registerHost`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stenciljs__core__6118
stenciljs/core
6,118
defect
66340b248997e2874ae2d05b260d90a4eaa1cf3d
77e8d596894ecf499f92a7a843aa5981d306af82
fix(runtime): allow classList to be null
<!-- Please refer to our contributing documentation for any questions on submitting a pull request, or let us know here if you need any help: https://github.com/ionic-team/stencil/blob/main/CONTRIBUTING.md --> ## What is the current behavior? fixes #6117 ## What is the new behavior? Properly parses clas...
diff --git a/src/runtime/vdom/set-accessor.ts b/src/runtime/vdom/set-accessor.ts index 34a7a35566f8..e2084da84052 100644 --- a/src/runtime/vdom/set-accessor.ts +++ b/src/runtime/vdom/set-accessor.ts @@ -207,14 +207,14 @@ const parseClassListRegex = /\s/; * @param value className string, e.g. "foo bar baz" * @return...
1
1
0
[{"id": "G0", "claim": "Exporting parseClassList could potentially affect tree shaking, so the arrow function would benefit from a /*@__PURE__*/ annotation.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stenciljs__core__6397
stenciljs/core
6,397
defect
341fec4ed01662126fbe0d1dfc3b230612b57bba
6470164b6307c1944898abd6bda41f9ec7d340ef
chore(typescript): update typescript to version 5.9.2
Fix new type errors. Add types array to tsconfig.json to fix a new issue with dts-bundle-generator + babel. (https://github.com/timocov/dts-bundle-generator/issues/347) <!-- Please refer to our contributing documentation for any questions on submitting a pull request, or let us know here if you need any help: https...
diff --git a/package-lock.json b/package-lock.json index 0aecc5422336..55a19e5b05b2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -76,7 +76,7 @@ "semver": "^7.3.7", "terser": "5.37.0", "tsx": "^4.19.2", - "typescript": "~5.5.4", + "typescript": "5.9.2", "web...
9
9
2
[{"id": "G0", "claim": "The new inclusion of `types` in tsconfig.json is causing type-check failures with external typings such as lodash and Node built-ins, leaving the tests failing.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The pull request'...
null
stenciljs__core__6423
stenciljs/core
6,423
defect
5c5edfdfc021627004c45f57a4136c88d59e7cc5
9be0e8dfbaf6e6cec63fd79fa6af1384ccab4d13
fix(mock-doc): implement `part` API
<!-- Please refer to our contributing documentation for any questions on submitting a pull request, or let us know here if you need any help: https://github.com/stenciljs/core/blob/main/CONTRIBUTING.md --> ## What is the current behavior? The `part` DOM API is missing from Stencil's MockDoc. Running `this.element...
diff --git a/src/mock-doc/node.ts b/src/mock-doc/node.ts index 913077d6566c..be670417da6a 100644 --- a/src/mock-doc/node.ts +++ b/src/mock-doc/node.ts @@ -1,6 +1,7 @@ import { createAttributeProxy, MockAttr, MockAttributeMap } from './attribute'; import { MockClassList } from './class-list'; import { NODE_NAMES, NOD...
3
3
0
[{"id": "G0", "claim": "Since both `part` and `classList` are backed by the same `DOMTokenList` under the hood, rename `part-list.ts` and `class-list.ts` into one unified `token-list.ts` (with node.ts importing `MockTokenList` instead of `MockPartList`/`MockClassList`).", "category": "design", "verdict": "supported", "...
null
stenciljs__core__6481
stenciljs/core
6,481
defect
35066867e13669ac1d19fb168e3ae85dc4dd42b6
066cce8c3be08c1f608c4ba349877f65c8d42d6d
fix(styles): support rendering across documents
Constructed stylesheets cannot be shared across documents (e.g. within an iframe). Check in which document the component is and use its own CSSStyleSheet. fixes: #6479 <!-- Please refer to our contributing documentation for any questions on submitting a pull request, or let us know here if you need any help: http...
diff --git a/src/runtime/styles.ts b/src/runtime/styles.ts index 2d991fd84c1e..a350020bed9f 100644 --- a/src/runtime/styles.ts +++ b/src/runtime/styles.ts @@ -124,8 +124,12 @@ export const addStyle = (styleContainerNode: any, cmpMeta: d.ComponentRuntimeMet * * Note: order of how styl...
2
2
1
[{"id": "G0", "claim": "Run prettier on the pull request's code.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a regression test for rendering styles across documents - a wdio test under test/wdio with a new dir of cmps, test and iframe fix...
null
stenciljs__core__6558
stenciljs/core
6,558
defect
75e7562b4e800e72f17065022112a404a1de4abd
f5a92892a6c5bdd2fafbbfd1d63aca5af1211bf1
fix(runtime): PropSerialize not called for JSX props before instance creation
Props with `@PropSerialize` set via JSX before lazy instance creation did not have serialized values reflected to DOM attributes. ## Cause In `set-value.ts`, serializer logic was wrapped in `if (instance && ...)`, skipping serialization when instance was undefined. ## Solution Queue serialization to `$fetch...
diff --git a/src/runtime/set-value.ts b/src/runtime/set-value.ts index 7b4aff2da0a7..4e48ec477816 100644 --- a/src/runtime/set-value.ts +++ b/src/runtime/set-value.ts @@ -65,18 +65,28 @@ export const setValue = (ref: d.RuntimeRef, propName: string, newVal: any, cmpMe hostRef.$instanceValues$.set(propName, newVal);...
1
1
0
[{"id": "G0", "claim": "The comment block in componentWillLoad should move down to just before the `expect(this.watchCalled).toBe(3);` line, and its third point should read \"// 3. prop=1 was serialized during componentWillLoad (not queued since instance exists)\" instead of the incorrect \"value=10 was serialized duri...
null
stenciljs__core__6673
stenciljs/core
6,673
defect
c845d46f998cff5e3610e0d8483b54bdff907410
aeaaf3ff1300a6124a0e5da00262d3caf195a6c4
fix(runtime): skip setter when removing reflected bool attr
## What is the current behavior? When a boolean prop with `reflect: true` is `undefined` and Stencil removes the reflected attribute, `attributeChangedCallback` received null and coerced it to false. With `taskQueue: 'immediate'` this fired the setter reentrant mid-render, corrupting the vdom patch and crashing with...
diff --git a/src/runtime/proxy-component.ts b/src/runtime/proxy-component.ts index 2f64a6314b9..e6090ace722 100644 --- a/src/runtime/proxy-component.ts +++ b/src/runtime/proxy-component.ts @@ -379,6 +379,7 @@ export const proxyComponent = ( // special handling of boolean attributes. Null (removal) means fa...
1
1
0
[{"id": "G0", "claim": "Consolidate the spurious boolean-attribute-removal check into one place so the handling is more explicit.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stenciljs__core__6676
stenciljs/core
6,676
defect
76376d5acdddfccb80216aba69deb36c1e2c3704
be115c817da8c4ea12d9c7a137a0c008e4c88887
fix(runtime): normalize legacy watcher metadata for backward compatibility
<!-- Please refer to our contributing documentation for any questions on submitting a pull request, or let us know here if you need any help: https://github.com/stenciljs/core/blob/main/CONTRIBUTING.md --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying, or li...
diff --git a/src/hydrate/platform/proxy-host-element.ts b/src/hydrate/platform/proxy-host-element.ts index 44f48506258..5a3085430be 100644 --- a/src/hydrate/platform/proxy-host-element.ts +++ b/src/hydrate/platform/proxy-host-element.ts @@ -1,12 +1,12 @@ import { consoleError, getHostRef } from '@platform'; -import { ...
8
7
1
[{"id": "G0", "claim": "normalizeWatchers() returns {} for undefined/empty input, so every component (including ones with no @Watch) ends up with a truthy $watchers$ and pays extra per-prop work in setValue; preserve undefined by guarding the assignments or returning undefined for empty input.", "category": "performanc...
null
stepancheg__rust-protobuf__248
stepancheg/rust-protobuf
248
defect
df87ecfedb03ed950f0d1e89422bc05d7cee8c45
93b4c27c7bbfd4b923c1d5ff26fa9ad77100c904
add recursion limit
Provide a way to configure recursion limit so invalid messages or deeply nested messages won't lead to stack overflow, which has no way to recover.
diff --git a/protobuf-test/src/common/v2/test_basic.rs b/protobuf-test/src/common/v2/test_basic.rs index b9bd17070..5a6d6609c 100644 --- a/protobuf-test/src/common/v2/test_basic.rs +++ b/protobuf-test/src/common/v2/test_basic.rs @@ -36,6 +36,24 @@ fn test4() { test_serialize_deserialize("22 06 03 8E 02 9E A7 05", ...
5
5
2
[{"id": "G0", "claim": "The recursion-limit types (the `set_recursion_limit` parameter and the `recursion_budget`/`recursion_limit` fields) should use fixed-width integers (`u32`/`i32`) instead of `isize`, to avoid meaningless negative values and to be platform-independent.", "category": "design", "verdict": "supported...
null
stepancheg__rust-protobuf__372
stepancheg/rust-protobuf
372
defect
3ba9cb912183fa3becd7d78364a033217560533e
8f132506dde13a0f8924346000b12115a645d7e9
Fix compute_size(value: &i32) for negative number
See also: https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/io/coded_stream.h#L1300-L1306 Output verified by ``` protoc -I proto -I protobuf-test/src/common/v2 --decode TestMap < output.bin ```
diff --git a/protobuf-test/src/common/v2/test_map_simple.rs b/protobuf-test/src/common/v2/test_map_simple.rs index 9ad83bdc2..8425e4e97 100644 --- a/protobuf-test/src/common/v2/test_map_simple.rs +++ b/protobuf-test/src/common/v2/test_map_simple.rs @@ -22,6 +22,19 @@ fn test_map() { test_serialize_deserialize_no_h...
3
3
0
[{"id": "G0", "claim": "Rename the new test function `test_map_negative_int` to `test_map_negative_i32_value`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TestMapEntry the new test builds and sets `v` on seems to be not used anywhere and ...
null
stepancheg__rust-protobuf__510
stepancheg/rust-protobuf
510
defect
66f0b427d555388f85c9356d15b2b2779c63e3d7
1078bbaf6852b9096221c6c78f9fd0b12aefed4e
Compare semantic equivalence of FileDescriptorSets generated by codegen-pure and protoc
As discussed here: https://github.com/stepancheg/rust-protobuf/pull/505#issuecomment-657289523 The first commit adds the test itself, with some very aggressive normalization rules to work around various mismatches in codegen-pure. The next two commits fix two of the easier mismatches. Details in the individual commi...
diff --git a/protobuf-codegen-identical-test/tests/diff.rs b/protobuf-codegen-identical-test/tests/diff.rs index 668f49df5..f1825b530 100644 --- a/protobuf-codegen-identical-test/tests/diff.rs +++ b/protobuf-codegen-identical-test/tests/diff.rs @@ -1,11 +1,18 @@ use regex::Regex; +use std::collections::HashSet; +use s...
8
4
0
[{"id": "G0", "claim": "The change to format floats without the trailing `.0` (e.g. 10.0 as \"10\") may not be safe, since it is unknown how Google's protobuf formats floats and whether the old trailing-`.0` behaviour had a reason.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introdu...
null
stephane__libmodbus__765
stephane/libmodbus
765
defect
dde16d555621516989c9a991f2a36ba9078d9b17
75318b40a26f1cd1969882b6edfc117a17eb7dd0
HAVE_NETINET_IN_H as guard around header
Hi, it does not make sense to have this in a config.h, and then still include it when HAVE_NETINET_IN_H is 0. This fix solves this.
diff --git a/src/modbus-tcp.c b/src/modbus-tcp.c index 31bbfcaf6..5b31377be 100644 --- a/src/modbus-tcp.c +++ b/src/modbus-tcp.c @@ -40,8 +40,12 @@ # include <netinet/in_systm.h> #endif -# include <netinet/in.h> -# include <netinet/ip.h> +#ifdef HAVE_NETINET_IN_H +#include <netinet/in.h> +#endif /* HAVE_NETINET_IN_...
1
1
0
[{"id": "G0", "claim": "The pull request's changes should be squashed into a single commit with a more verbose commit description (e.g. reusing the PR wording) instead of multiple commits titled just \"update ...\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stephengold__jolt-jni__10
stephengold/jolt-jni
10
defect
6e96383594807cb6924b55a372d66b24e3b70116
cc7bc5f7596622fc4c4039320aaae4db14b3420d
New methods (AaBox)
Hi @stephengold After a while, I revisited this beautiful project. I noticed that some methods or functions were missing from certain classes. This **PR** implements most of the missing methods in the [AaBox](src/main/java/com/github/stephengold/joltjni/AaBox.java) class. List of new (implemented) methods - e...
diff --git a/src/main/java/com/github/stephengold/joltjni/AaBox.java b/src/main/java/com/github/stephengold/joltjni/AaBox.java index 46739f0e5..c1d5fe3a6 100644 --- a/src/main/java/com/github/stephengold/joltjni/AaBox.java +++ b/src/main/java/com/github/stephengold/joltjni/AaBox.java @@ -22,6 +22,10 @@ of this software...
26
25
6
[{"id": "G0", "claim": "The pull request won't build and, for one thing, doesn't conform to the project's coding style.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The argument to encapsulate() should be a ConstAaBox, not an AaBox, to match the n...
null
stephenmcd__mezzanine__1349
stephenmcd/mezzanine
1,349
defect
710a19a72aa8423762d7d8d42bb8411589367610
7ca7a48ded1d831756995082f5803fce6211b2f1
Clean leading/trailing slashes from page admin slugs.
[`path_to_slug`](https://github.com/fusionbox/mezzanine/blob/7ca7a48ded1d831756995082f5803fce6211b2f1/mezzanine/utils/urls.py#L125-L137) strips leading and trailing slashes from a URL path. Allowing leading and trailing slashes in the `slug` field of a page will result in a page that will never be accessible. The leadi...
diff --git a/mezzanine/pages/admin.py b/mezzanine/pages/admin.py index 957188b949..35dc515b4b 100644 --- a/mezzanine/pages/admin.py +++ b/mezzanine/pages/admin.py @@ -11,7 +11,7 @@ from mezzanine.conf import settings from mezzanine.core.admin import DisplayableAdmin, DisplayableAdminForm from mezzanine.pages.models ...
4
3
3
[{"id": "G0", "claim": "The new slash cleaning strips the '/' slug that index/home pages must have, so 'return path or \"/\"' should move into clean_slashes to allow a homepage slug of '/' to be set from admin.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
stephenmcd__mezzanine__1661
stephenmcd/mezzanine
1,661
defect
0207f21ec5ec44df74d0dcde19cf3cb1cee9a0b0
bede76b6f96227350cb0bf0058f555daeb4cc2ad
ContentTyped Improvements
The relevant conversation is so far all in stephenmcd/cartridge/pull/293.
diff --git a/mezzanine/core/models.py b/mezzanine/core/models.py index 62a8e5aa5c..dddbc995b4 100644 --- a/mezzanine/core/models.py +++ b/mezzanine/core/models.py @@ -504,6 +504,7 @@ class ContentTyped(models.Model): In order to use them: - Inherit model from ContentTyped. + - Call the set_content_model(...
1
1
1
[{"id": "G0", "claim": "ContentTyped.get_content_model() should return `self` rather than `self.__class__` in the base-class branch, since the method returns an instance.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
stepjam__RLBench__221
stepjam/RLBench
221
defect
eece2abd754f130f3d590b8b991c4bb620c02c63
2b825cace2b866e9014876a96b87445cf07a920a
Fix missing joint_position_action and add gripper action
- Fix #209, where some timesteps have missing actions. - Rename obs.misc["executed_demo_joint_position_action"] to obs.misc["joint_position_action"] - Add test for replaying joint position action. TODO: - [x] Change pyrep commit hash in setup.py once https://github.com/stepjam/PyRep/pull/371 is merged.
diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 2848bc939..000000000 --- a/requirements.txt +++ /dev/null @@ -1,6 +0,0 @@ -numpy -Pillow -pyquaternion -html-testRunner -setuptools -natsort diff --git a/rlbench/backend/scene.py b/rlbench/backend/scene.py index 5ab3db866..b182657ed 100644 ...
1
1
0
[{"id": "G0", "claim": "The pyrep dependency link in setup.py should be changed back to point at the main branch of stepjam/PyRep once PyRep is updated, instead of the temporary pin on eugeneteoh's fork.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stereobooster__react-ideal-image__38
stereobooster/react-ideal-image
38
defect
d3c325fb217edc5365152e74f9f5fe28b75d4c35
65f5d6294afce0787dd3119dce16770b98f6938f
Add simplest snapshot test
<!-- Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated! Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file). Also, please make sure you're familiar with and follow the instructions in the contribu...
diff --git a/.all-contributorsrc b/.all-contributorsrc index 947e944..35a6f25 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -45,6 +45,15 @@ "contributions": [ "code" ] + }, + { + "login": "tvthatsme", + "name": "Timothy Vernon", + "avatar_url": "https://avatar...
2
1
1
[{"id": "G0", "claim": "The icons prop should be declared required in PropTypes instead of guarded against at render time.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The committed Jest snapshots need to be updated so the CI build stops failing."...
null
stereobooster__react-ideal-image__44
stereobooster/react-ideal-image
44
defect
e324fe410378f477898395eed1794f6b8f7438e5
1bf0915c7b10c273533ffc265af912e4436a390c
Adding unit tests for helper methods
<!-- Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated! Please make sure that you are familiar with and follow the Code of Conduct for this project (found in the CODE_OF_CONDUCT.md file). Also, please make sure you're familiar with and follow the instructions in the contribu...
diff --git a/src/__tests__/helpers.js b/src/__tests__/helpers.js new file mode 100644 index 0000000..985579d --- /dev/null +++ b/src/__tests__/helpers.js @@ -0,0 +1,166 @@ +import { + guessMaxImageWidth, + bytesToSize, + selectSrc, + fallbackParams, +} from '../components/helpers' + +describe('guessMaxImageWidth', ...
3
2
0
[{"id": "G0", "claim": "The tests should not rely on window.screen.width being defined by a previous test; shared state should be provided to more than one test via beforeEach.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "guessMaxImageWidth should be ...
null
stern__stern__221
stern/stern
221
defect
cd83193d69684ff07d3d292ccbc5b36bb84f2c89
448a4c08a5401dadae36b06a8ff8994b78b9e6ad
Improve handling of container termination
Fixes https://github.com/stern/stern/issues/217 This PR improves the handling of container termination. As discussed in #217, stern currently does not handle container termination well. [The steps in the comment](https://github.com/stern/stern/issues/217#issuecomment-1411656570) can reproduce this issue. This PR ...
diff --git a/stern/list.go b/stern/list.go index 1efbf22..7bae6f4 100644 --- a/stern/list.go +++ b/stern/list.go @@ -98,10 +98,8 @@ func ListTargets(ctx context.Context, i corev1client.PodInterface, labelSelector } var targets []*Target for i := range list.Items { - filter.visit(&list.Items[i], func(t *Target, c...
2
2
1
[{"id": "G0", "claim": "addTarget prints 'will retry in %s' but then returns instead of looping back, so as written the tail does not appear to actually be retried.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The retry interval policy (currently ...
null
stern__stern__230
stern/stern
230
defect
72a585481ffa8176238b8ef7dc606c5161bfd096
193143adbead1173de4212af6a1f9ee44f98918d
Support resuming from the last log when retrying
Fixes #229 This PR is to support resuming from the last log when retrying. Here is the summary of the changes. 1. Always set PodLogOptions's Timestamps to true 1. Print timestamps only when "--timestamps" is specified 1. Remember the last timestamp and line counts during this timestamp when printing log ...
diff --git a/stern/stern.go b/stern/stern.go index be79a8a..1f0a2e4 100644 --- a/stern/stern.go +++ b/stern/stern.go @@ -94,10 +94,11 @@ func Run(ctx context.Context, config *Config) error { containerStates: config.ContainerStates, }) newTail := func(t *Target) *Tail { + sinceSeconds := int64(config.Sinc...
3
3
1
[{"id": "G0", "claim": "Resume() should stop specifying TailLines when resuming, since a resumed tail that keeps the original tailLines option returns only the last N lines instead of everything since the resume timestamp.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"...
null
stern__stern__231
stern/stern
231
defect
52894f8997768b4c90040bfb62013311ce42389c
0630d42186a68f979537f44e2ae568827361cdfd
Highlight matched strings in the log lines with the include option
This PR changes to highlight matched strings in the log lines with the include option. ![image](https://user-images.githubusercontent.com/230185/219844224-6968579c-a4ac-48c7-9be1-56de9a2946f6.png) Closes https://github.com/stern/stern/issues/195
diff --git a/stern/tail.go b/stern/tail.go index 65b5189..fdd9627 100644 --- a/stern/tail.go +++ b/stern/tail.go @@ -99,6 +99,25 @@ func (o TailOptions) IsInclude(msg string) bool { return false } +var colorHighlight = color.New(color.FgRed, color.Bold).SprintFunc() + +func (o TailOptions) HighlightMatchedString(m...
1
1
1
[{"id": "G0", "claim": "With multiple include patterns, the code highlights matches of only the first matching regular expression instead of all matching ones.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
stern__stern__239
stern/stern
239
defect
4bb340d9ab24dcfbba82bb7e6a2b7760efe4385e
87d5b013e29d9bd7af9b8c020b1b0b131bca6975
allow flexible log parsing and formatting
Addresses https://github.com/stern/stern/issues/227 This is an alternative solution to https://github.com/stern/stern/pull/228 Instead of hardcoding template in the code, I suggest adding a bunch of helper functions and a way to load template from disk. This PR adds: * various color functions * TS format f...
diff --git a/README.md b/README.md index 1eeb23a..65f0860 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,7 @@ Supported Kubernetes resources are `pod`, `replicationcontroller`, `service`, `d `--since`, `-s` | `48h0m0s` | Return logs newer than a relative duration like 5s, 2m, or 3h. `--tail` ...
6
6
5
[{"id": "G0", "claim": "Modify the flags so that --template and --template-file options cannot be used at the same time.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Please add examples using the new --template-file flag to the Examples section of...
null
stern__stern__276
stern/stern
276
defect
276e90628600977a9f1c8bb939831e96d4d56409
c28785057957a56faa3a6504858e6dfb8f3dd93b
Add `--condition`
Example: ```console stern . --condition=ready=false --tail=0 ``` TODOs: - [x] Only starts tailing logs for pods matching --condition - [x] Stop tailing logs for pods that no longer match --condition - [x] Add tests Fixes #213
diff --git a/README.md b/README.md index e28a9f0..2a689f3 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ Supported Kubernetes resources are `pod`, `replicationcontroller`, `service`, `d `--all-namespaces`, `-A` | `false` | If present, tail across all namespaces. A specific namespace...
6
6
3
[{"id": "G0", "claim": "Stern does not stop tailing a pod's logs when the pod becomes ready, because the condition-flip event is filtered out by targetFilter.shouldAdd() so the tail is never cancelled.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
stern__stern__283
stern/stern
283
defect
5445cd52997e0673e067be8bfe138905848d53f3
4770655af7fe37e0eb8473ed419b9dd4a9cb4994
Add generic cli options
This PR adds kubernetes generic cli options. They are hidden in the help message. This is because the number of options is very large and difficult to read the help message. A new option `-show-hidden-options` has been added to see for hidden options. Closes #280
diff --git a/README.md b/README.md index ca2ffba..02203f3 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ Supported Kubernetes resources are `pod`, `replicationcontroller`, `service`, `d `--config` | `~/.config/stern/config.yaml` | Path to the stern config file `--container`, `-c` ...
2
2
2
[{"id": "G0", "claim": "The blank import that loads all auth plugins must be moved out of the deleted kubernetes/clientset.go into another file such as main.go, otherwise stern panics at startup with \"no Auth Provider found for name \\\"oidc\\\"\".", "category": "correctness", "verdict": "supported", "priority": "P0",...
null
stern__stern__289
stern/stern
289
defect
1915c582c604ee052aaa64c2d8f13d77a295b5f4
1b04f00050291ba7bd67b298c4db66646a2d3268
adding a highlight option
This PR adds a new `--highlight` (or `-I`) option that will use a regexp to highlight some parts of the logs. This is similat to the `--include` option behaviour but will not filter logs, only add color.
diff --git a/CHANGELOG.md b/CHANGELOG.md index f3473fa..e558b67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +# v1.28.0 + +## :zap: Notable Changes + +### Highlight matched strings in the log lines with the highlight option + +Some part of a log line can be highlighted while still displaying all other ...
2
2
1
[{"id": "G0", "claim": "HighlightMatchedString overwrites the patterns from --include when both --include and --highlight are specified, and the two slices should be merged first instead of highlighting only over the same slots.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced...
null
stern__stern__305
stern/stern
305
defect
6afabdeb0bc3871d1b670b4e312b11563a775259
5387e012d7165b3cbc8b2e14e7854a101b62c612
Display different colors for different containers
fixes https://github.com/stern/stern/issues/304 All containers within a pod have the same color by default. ```bash ./stern myapp ``` <img width="854" alt="image" src="https://github.com/stern/stern/assets/40051120/cdea5aa2-a470-4a89-8452-382fd0d77538"> Set `--diff-container` to display different colors for dif...
diff --git a/.gitignore b/.gitignore index 8ba047e..da819dc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ /dist /hack/tools/bin vendor +.idea +.vscode diff --git a/README.md b/README.md index 2b5e815..978dbe0 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,7 @@ Supported Kubernetes resources are `pod`...
2
1
0
[{"id": "G0", "claim": "The hash index calculation inside determineColor should be moved into a separate function, as in the suggested colorIndex helper.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new diff-container feature should also b...
null
stern__stern__331
stern/stern
331
defect
ccd8add39164ce1d2d6a50c73c97d971d6f35f89
aa0e8c086e1714a1c21abcd6fd6eccd45fde6fa3
Add check for when `--no-follow` is set with `--tail=0`
These flags shouldn't be used together, otherwise no logs will ever be shown.
diff --git a/cmd/cmd.go b/cmd/cmd.go index bef98c7..64a2250 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -163,6 +163,9 @@ func (o *options) Validate() error { if o.selector != "" && o.resource != "" { return errors.New("--selector and the <resource>/<name> query can not be set at the same time") } + if o.noFollow...
1
1
1
[{"id": "G0", "claim": "Please add a test case for the newly added --no-follow / --tail=0 validation check.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
stern__stern__339
stern/stern
339
defect
5e06930fe21f951f079880ec2c13cd688aa5ca09
d74a8bf16be419c8a8d4ac67724f410001cf56e4
338: fix: move highlighting after formatting
Closes issue: [338](https://github.com/stern/stern/issues/338) Highlighting was moved after templating
diff --git a/stern/file_tail.go b/stern/file_tail.go index 0a59519..6c53f06 100644 --- a/stern/file_tail.go +++ b/stern/file_tail.go @@ -57,7 +57,7 @@ func (t *FileTail) ConsumeReader(reader *bufio.Reader) error { } // Print prints a color coded log message -func (t *FileTail) Print(msg string) { +func (t *FileTail...
3
3
1
[{"id": "G0", "claim": "In Tail.Print the highlight branch replaces the final Fprint instead of passing the message through HighlightMatchedString, so the reviewer suggested always highlighting with the existing single Fprint (while noting some error messages may then be highlighted).", "category": "design", "verdict":...
null
stevearc__dql__41
stevearc/dql
41
defect
acb03f10387715c9f39ffd48eb26b2d5310c488c
aff98f12cb3f62dbb590c7913572d95e1e16989d
Feature: Retain query history across sessions.
Feature here: #40 Currently WIP. Please do a preliminary review before I begin the unit tests and cleanup.
diff --git a/CHANGES.rst b/CHANGES.rst index 8fbb873..a9990fe 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,7 @@ Changelog 0.6.1-dev0 ---------- * Chore: Updated config for Dynamo Local to install dependency within project root. +* Feature: Retain query history across sessions. (#40) 0.6.0 ----- diff --g...
5
4
1
[{"id": "G0", "claim": "The str() conversion of Path.home() and the intermediate home variable are unnecessary since the value is only path-joined on the next line.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The history_dir value returned by...
null
steveiliop56__tinyauth__337
steveiliop56/tinyauth
337
defect
ad4fc7ef5fd41ee1be05647d165ae2d069b4d1a1
78920cba642d1270dbc073bcba125b1803d16234
feat: header based acls
Fixes #275 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - New Features - Per-request app configuration override via HTTP headers. - Improvements - Enhanced decoding of container labels and header-based app configs. - Header normalization to reliably handl...
diff --git a/internal/config/config.go b/internal/config/config.go index 82050def6..fbe5aa609 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -123,53 +123,53 @@ type RedirectQuery struct { RedirectURI string `url:"redirect_uri"` } -// Labels +// App config -type Labels struct { - Apps m...
8
1
1
[{"id": "G0", "claim": "Add config validation to reject BasicAuth configurations that set both Password and PasswordFile, and prefer loading secrets via file/env secret readers instead of embedding literals.", "category": "correctness", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla...
null
steveiliop56__tinyauth__409
steveiliop56/tinyauth
409
defect
a9c1bf8865c4609cfaee1b52ca5c5778bb335c76
0f334274497e0a5480b9b946001fa100180a5ee6
fix: allow root cookie domain host redirects
Fixes #408 Previously IsRedirectSafe rejected redirects to the exact cookie domain when AppURL had multiple subdomain levels, because it stripped the first label twice. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved redirect validat...
diff --git a/internal/utils/app_utils.go b/internal/utils/app_utils.go index de0cff637..6daee5843 100644 --- a/internal/utils/app_utils.go +++ b/internal/utils/app_utils.go @@ -2,17 +2,17 @@ package utils import ( "errors" + "maps" "net" "net/url" "strings" - "tinyauth/internal/config" - "tinyauth/internal/u...
3
2
1
[{"id": "G0", "claim": "The new IsRedirectSafe domain-match logic should be verified as covered by tests: change the \"no subdomain\" case to expect true and add cases for the cookie-domain fallback (true) and deeper-subdomain rejection (false).", "category": "testing", "verdict": "supported", "priority": "P1", "scope"...
null
stevengj__nlopt__230
stevengj/nlopt
230
defect
7364b4438a9a5f96ae0e453566f2d258b338b379
608acb0068a3bf866e461f13211f1bc195fba944
Add -Wall and -Wextra, fix lots of warnings
- remove set but not used variables - (void) cast unused function arguments - create internal function duplicates for some actually deprecated functions, for the f77 files disable the deprecation warning completely. - add warning flags to travis Note: some of the maybe-unitialized warnings do not s...
diff --git a/.travis.yml b/.travis.yml index 8f334d87..3e6ad70d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,7 @@ matrix: - pip install mkdocs python-markdown-math --user - PATH=$PATH:~/.local/bin mkdocs build - mkdir build && pushd build - - cmake -DCMAKE_INSTALL_PREFIX=~/....
1
1
1
[{"id": "G0", "claim": "The remaining algorithms should be updated to use the new (non-deprecated) API instead of keeping the internal_nlopt_minimize wrapper, and an internal_* function should not be exported in nlopt.h.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
stevenlovegrove__Pangolin__854
stevenlovegrove/Pangolin
854
defect
2790a5efaf4f2f2c48c51e894a3bd54ce8e14658
6ab4a0e5fba3b659e54c141b0788647a8ec7877e
Fix Icosphere
I believe the issue with the current implementation is that when indices are specified as a `std::vector<Eigen::Matrix<uint32_t, 3, 1>>`, we run into Eigen alignment issues, i.e. http://eigen.tuxfamily.org/dox-devel/group__TopicFixedSizeVectorizable.html. I'm not sure what deeper fixes might be necessary to prevent,...
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 427af83c1..dfd07af78 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -67,7 +67,7 @@ jobs: with: path: ${{runner.workspace}}/Pangolin/Sophus repository: 'strasdat/Sophus' - ref: 5cb4...
2
2
1
[{"id": "G0", "claim": "Instead of uploading a vertex buffer of duplicate per-vertex color entries, the drawable should set default_color on the DrawnPrimitives.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's rewritten icosphere subdiv...
null
stevenpetryk__mafs__144
stevenpetryk/mafs
144
defect
8a8fd52cbdd9822829eb543375d66807c066e16a
1fe49796ff7c6a67b193c5746eabe2e21e9f9651
Extract hook and display component from MovablePoint
We at @khan would like to add movable circles, polygons, and line segments to Mafs graphs. For the sake of keeping the UX consistent, we'd like the movement interaction for these objects to reuse the hook from MovablePoint, but that hook currently isn't exported. We're also thinking that we may want to customize ...
diff --git a/.api-report/mafs.api.md b/.api-report/mafs.api.md index bde0fdf9..979d82e4 100644 --- a/.api-report/mafs.api.md +++ b/.api-report/mafs.api.md @@ -138,6 +138,21 @@ export namespace MovablePoint { displayName: string; } +// @public (undocumented) +export const MovablePointDisplay: React_2.Forward...
3
2
0
[{"id": "G0", "claim": "The invariant error message should be generalized to say \"A parent transformation matrix might be degenerative\" instead of blaming \"your movable point's transformation matrix\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
stevenschobert__instafeed.js__646
stevenschobert/instafeed.js
646
defect
dc304bb3a3d9f488b04d81bf46d8e1ad2f9c62d5
37edee6e591bc6e35eb590274d64d459445d81ad
#644 Add tags array to data.
This provides an array `tags` on the image data hash, so it can be displayed, filtered, transformed, etc.
diff --git a/src/instafeed.js b/src/instafeed.js index 575630b..c9b1dfa 100644 --- a/src/instafeed.js +++ b/src/instafeed.js @@ -227,6 +227,22 @@ return transformedFiltered; }; + Instafeed.prototype._getTags = function getTags(data) { + // This expression is any combination of letters and numbers, no punc...
2
2
1
[{"id": "G0", "claim": "The tag expression the PR added only covers Latin letters with accents and digits, so non-latin hashtags (e.g. Japanese) and emoji hashtags are not captured, and a different approach to parsing tags (a not-these-characters matcher or a per-character loop) is probably needed.", "category": "corre...
null
stevespringett__Alpine__501
stevespringett/Alpine
501
defect
7615930ec767370cc6bd63a7f25f4456d8874752
a8db97cffc96ecc03cb759bc5985b55f56093e36
Add ability to customize the Micrometer `MeterRegistry`
Because it is crucial that filters are registered *before* the individual meters, `ServiceLoader` is used to load and apply all customizations immediately after the registry is created. Closes #500
diff --git a/alpine-common/src/main/java/alpine/common/metrics/MeterRegistryCustomizer.java b/alpine-common/src/main/java/alpine/common/metrics/MeterRegistryCustomizer.java new file mode 100644 index 00000000..80f4a4d2 --- /dev/null +++ b/alpine-common/src/main/java/alpine/common/metrics/MeterRegistryCustomizer.java @@...
1
1
0
[{"id": "G0", "claim": "The Javadoc of the new public interface MeterRegistryCustomizer is missing the summary line required for public/protected Javadocs.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stevespringett__Alpine__535
stevespringett/Alpine
535
defect
5727c590c59881d6e46630839e2a8a9dcadcbf4f
1338a05542c6ad87073daa4a62ed276cb4a81b3e
oidc: default team
The assignment of (a) default team(s) happens once during user provisioning, to give administrators a chance to change the teams for a user later. The assignment of (a) default team(s) does not go through the indirection of an OIDC Group, and expects the administrator to directly specify the teams the user should be...
diff --git a/alpine-common/src/main/java/alpine/Config.java b/alpine-common/src/main/java/alpine/Config.java index f720d324..2b12cb3f 100644 --- a/alpine-common/src/main/java/alpine/Config.java +++ b/alpine-common/src/main/java/alpine/Config.java @@ -30,7 +30,9 @@ import java.io.InputStream; import java.io.OutputStre...
2
1
1
[{"id": "G0", "claim": "The unknown-team case in addUserToTeams should be logged at warn level with more context (e.g. \"Cannot add user foo to team bar, because no team with that name exists\") so users can see when their configuration cannot be applied as expected.", "category": "observability", "verdict": "supported...
null
stevespringett__Alpine__687
stevespringett/Alpine
687
defect
4625ba784010e8a9477cb8b71ef0cd54bb63b7a6
98c446113e1cdf2169bc78742fb56be3514f3c05
Store API keys in hashed format
### Description This PR addresses [#532](https://github.com/stevespringett/Alpine/issues/532#issuecomment-2378988533) by changing from API Keys being stored in plain to be stored as a hash. Will be hashed with SHA3_256. Only at creation time are once returned in plain, so it can be used. Adds a suffix to the API ...
diff --git a/alpine-infra/pom.xml b/alpine-infra/pom.xml index c3f02a85..c39f1c61 100644 --- a/alpine-infra/pom.xml +++ b/alpine-infra/pom.xml @@ -71,6 +71,10 @@ <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> </dependency> + <dependency> + <groupId>...
10
9
4
[{"id": "G0", "claim": "bcrypt is the wrong choice for hashing API keys because it is deliberately slow and a salt is unnecessary for already-random keys; simply hashing with SHA256 should be enough.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Th...
null
stevespringett__Alpine__753
stevespringett/Alpine
753
defect
38cdda1eea6e1bed45ae7e26e305338cd5ca75be
898626cf021a2dfef86e791a780f30fdeaa20996
Improves Hashed Api Key
Fixed [comment](https://github.com/stevespringett/Alpine/pull/687#issuecomment-2602457643) mostly Adds public method to get API Key by public ID. Adds prefix to hashed key for saving in DB, for better masked Key. Added Size + NotNull for Column PUBLIC_ID.
diff --git a/alpine-infra/src/main/java/alpine/persistence/AlpineQueryManager.java b/alpine-infra/src/main/java/alpine/persistence/AlpineQueryManager.java index 3e746c56..dfdf43f7 100644 --- a/alpine-infra/src/main/java/alpine/persistence/AlpineQueryManager.java +++ b/alpine-infra/src/main/java/alpine/persistence/Alpin...
6
6
3
[{"id": "G0", "claim": "The method name `getApiKeyBypublicId` has a typo and should be `getApiKeyByPublicId`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When the hashing algorithm is unknown, the code should throw an IllegalStateException in...
null
steveyegge__gastown__1688
steveyegge/gastown
1,688
defect
b1e71c86714b3d0123093e9f11afc9c3d5a9b9a2
fda70425462dc96f3b63e1c8b8a48467e16857ff
fix(sling): check GT_ROLE before GT_POLECAT in polecat guard
## Summary - Coordinators (mayor, witness) may inherit a stale `GT_POLECAT` env var from spawning polecats. The previous check in `runSling()` blocked any process with `GT_POLECAT` set, even non-polecats. - Now `GT_ROLE` is checked first: if the role is explicitly `"polecat"` the guard blocks; if `GT_ROLE` is any other...
diff --git a/internal/cmd/sling.go b/internal/cmd/sling.go index 2ce014813b..5b0a1f115b 100644 --- a/internal/cmd/sling.go +++ b/internal/cmd/sling.go @@ -153,9 +153,16 @@ func init() { } func runSling(cmd *cobra.Command, args []string) error { - // Polecats cannot sling - check early before writing anything - if p...
4
3
2
[{"id": "G0", "claim": "The new polecat guard compares GT_ROLE to the bare string \"polecat\", so production polecats with compound GT_ROLE values like \"gastown/polecats/Toast\" are never blocked from slinging — the guard should parse the role with parseRoleString.", "category": "correctness", "verdict": "supported", ...
null
stianeikeland__go-rpio__31
stianeikeland/go-rpio
31
defect
3abdd2207d33843c1c3fbea540bdf07990075c03
04a6d75ed1bc4ffc5617869f6ffddff7881031dd
Feature/SPI
Hi, I implemented basic SPI functionality. (I originally wanted to first start a discussion about API and implementation details first, but after writing long, long text in new issue form I accidentally hit back button and lost the text :man_facepalming:. So I decided to just implement it. But we can still run discu...
diff --git a/rpio.go b/rpio.go index 155766c..f4aeef3 100644 --- a/rpio.go +++ b/rpio.go @@ -8,9 +8,13 @@ Supports simple operations such as: - Pin read (high/low) - Pin edge detection (no/rise/fall/any) - Pull up/down/off -And clock/pwm related oparations: +Also clock/pwm related oparations: - Set Clock freque...
1
1
0
[{"id": "G0", "claim": "The exported misspelled name SpiRecieve (and the same spelling in the documentation) should be corrected to SpiReceive.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stickerdaniel__linkedin-mcp-server__156
stickerdaniel/linkedin-mcp-server
156
defect
5b17c955718f16305496d4b429712edc9a45d3d9
0687d1f420458c9cb188cbf398307046e7b621de
fix(cli): polish stdio startup flow
<!-- greptile_comment --> <h3>Greptile Summary</h3> This PR polishes the stdio startup flow by ensuring no human-readable text is written to `stdout` in non-interactive (MCP client) mode, where `stdout` is the MCP protocol channel. It removes `cli.py` (the `print_claude_config` / clipboard helper), drops the `pypercl...
diff --git a/README.md b/README.md index 08b7d5a7f..55c77a68d 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,10 @@ This opens a browser for you to log in manually (5 minute timeout for 2FA, captc } ``` +> [!NOTE] +> `stdio` is the default transport, so no `--transport` flag is required in MCP client configs. +...
3
1
0
[{"id": "G0", "claim": "linkedin_mcp_server/__init__.py should mirror get_version()'s fallback list and try both package names (linkedin-scraper-mcp and linkedin-mcp-server) before falling back to 0.0.0.dev, since deriving __version__ from only the new dist name can report the fallback for environments where the older ...
null
stickerdaniel__linkedin-mcp-server__157
stickerdaniel/linkedin-mcp-server
157
defect
5dc8909c92f55ae2e6a4952cd207743d21db4631
794d44c82cf00376e2902e49853b2f45798d391f
feat(tools): add search_people tool
Really enjoyed digging into this codebase and hope to keep contributing — great project. This adds a `search_people` tool for searching LinkedIn people by keywords and optional location filter. Hat tip to #152 by @danmunz which identified this as a missing tool and inspired this implementation. I borrowed the `on...
diff --git a/AGENTS.md b/AGENTS.md index e54ded435..94d206900 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -61,6 +61,7 @@ This is a **LinkedIn MCP (Model Context Protocol) Server** that enables AI assis | `get_job_details` | Get job posting details | | `search_jobs` | Search jobs by keywords and location | | `close_ses...
2
1
1
[{"id": "G0", "claim": "Add a missing unit test in tests/test_scraping.py for the search_people extractor method, which search_jobs already has at test_scraping.py:403.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add a search_people row to the README...
null
stickerdaniel__linkedin-mcp-server__168
stickerdaniel/linkedin-mcp-server
168
defect
3ec7a5b601e147e8f6dfc56f71b6a0a687fa2ed4
a8d1fb83d5d6627c5a5a1529ad87fae5c90ac71a
feat(tools): add posts section to get_person_profile
Closes #164 Adds `posts` as a new section option for `get_person_profile`, allowing users to retrieve recent activity from a person's LinkedIn profile. Follows the exact same pattern as all existing person sections — added a `POSTS` flag to `PersonScrapingFields`, wired it into the `page_map` in `scrape_person()`...
diff --git a/AGENTS.md b/AGENTS.md index 94d206900..3c4a1b8aa 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -55,7 +55,7 @@ This is a **LinkedIn MCP (Model Context Protocol) Server** that enables AI assis | Tool | Description | |------|-------------| -| `get_person_profile` | Get profile with explicit `sections` selecti...
4
4
1
[{"id": "G0", "claim": "README.md line 43 also needs to be updated to include posts in the get_person_profile tool description, as per the CLAUDE.md workflow guide.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The URL assertion only checks for t...
null
stickerdaniel__linkedin-mcp-server__184
stickerdaniel/linkedin-mcp-server
184
defect
3b828c6478d4e30ba5f29bc990172bd7f2dc7406
f43770d41936e45a5f170d9481e10e9d64d60626
refactor(scraping): replace Flag enums with config dicts
Collapse three parallel data structures (Flag enums, SECTION_MAP dicts, page_map lists) into single PERSON_SECTIONS/COMPANY_SECTIONS config dicts. Remove pages_visited and sections_requested from return format. Resolves: #181 <!-- greptile_comment --> <h3>Greptile Summary</h3> This PR collapses three parallel data ...
diff --git a/AGENTS.md b/AGENTS.md index 3c4a1b8aa..0189918e5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -65,13 +65,13 @@ This is a **LinkedIn MCP (Model Context Protocol) Server** that enables AI assis **Tool Return Format:** -All scraping tools return: `{url, sections: {name: raw_text}, pages_visited, sections_re...
11
11
1
[{"id": "G0", "claim": "parse_person_sections and parse_company_sections should accept any key of PERSON_SECTIONS / COMPANY_SECTIONS (including the baseline \"main_profile\" / \"about\") instead of treating explicitly passed baseline names as unknown and logging a misleading warning.", "category": "correctness", "verdi...
null
stickerdaniel__linkedin-mcp-server__197
stickerdaniel/linkedin-mcp-server
197
defect
d9d7e21bcfa6800c3d08b31f389cfce6a1cb5f76
20392e5b801a6121410db8cb00162a406a6e9ece
feat(tools): add global 90s tool timeouts
## Summary - add FastMCP tool timeouts of `90.0` seconds to all 7 MCP tools - add a tool metadata test to assert `timeout == 90.0` for each tool - document the distinction between FastMCP tool execution timeout and browser `TIMEOUT` config ## Validation - `uv run pytest tests/test_tools.py` - `uv run ruff check .` - `...
diff --git a/AGENTS.md b/AGENTS.md index 94900c581..76fbd305f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -66,6 +66,7 @@ This is a **LinkedIn MCP (Model Context Protocol) Server** that enables AI assis **Tool Return Format:** All scraping tools return: `{url, sections: {name: raw_text}}`. When unknown section names a...
3
2
1
[{"id": "G0", "claim": "The 60s FastMCP tool timeout can be exceeded when two requested sections each hit their full 30s navigation timeout (~62s cumulative), which would cancel the coroutine mid-navigation and leave the Patchright Page in an active-navigation state; the reviewer asked to raise the FastMCP timeout ceil...
null
stickerdaniel__linkedin-mcp-server__200
stickerdaniel/linkedin-mcp-server
200
defect
2ce9e448e664ef74aa9a2cedc21e22d8ced0ba53
a43bb3af6c87ee7e38573f1fc73b09acddd40a41
feat(tools): add job IDs, sidebar scrolling, and pagination to search_jobs
Extract job IDs from href attributes (the one thing innerText can't capture), scroll the job sidebar instead of the main page, and paginate through multiple result pages with dynamic offsets. Resolves: #195 <!-- greptile_comment --> <h3>Greptile Summary</h3> This PR extends `search_jobs` with job ID extraction from...
diff --git a/linkedin_mcp_server/core/utils.py b/linkedin_mcp_server/core/utils.py index eb52e6237..9b01a0d79 100644 --- a/linkedin_mcp_server/core/utils.py +++ b/linkedin_mcp_server/core/utils.py @@ -104,6 +104,55 @@ async def scroll_to_bottom( break +async def scroll_job_sidebar( + page: Page, pau...
13
10
2
[{"id": "G0", "claim": "Pagination uses `&start={len(seen_ids)}` (unique IDs) as the offset, which can cause overlapping pages and trigger the early-stop condition even though later pages exist; the reviewer asks to advance `start` by a deterministic page size.", "category": "correctness", "verdict": "supported", "prio...
null
stickerdaniel__linkedin-mcp-server__209
stickerdaniel/linkedin-mcp-server
209
defect
26f37f5e7dfe11b2178070cf21c3473049f1c012
c3492f96495f05407278869b3b510ec07e8149b7
Normalize env value parsing for config loading
## What changed - Normalize environment variable values with `strip().lower()` before parsing. - Make `HEADLESS` parsing more tolerant by supporting mixed case / surrounding whitespace and `on`/`off` aliases. - Make `TRANSPORT` parsing tolerant to mixed case / surrounding whitespace while preserving validation for unsu...
diff --git a/linkedin_mcp_server/config/loaders.py b/linkedin_mcp_server/config/loaders.py index e3c861330..081273fd9 100644 --- a/linkedin_mcp_server/config/loaders.py +++ b/linkedin_mcp_server/config/loaders.py @@ -20,8 +20,13 @@ logger = logging.getLogger(__name__) # Boolean value mappings for environment variab...
4
4
2
[{"id": "G0", "claim": "The suite lacks a test for the HEADLESS=\"on\" truthy alias even though the PR advertises on/off aliases and TRUTHY_VALUES now includes \"on\".", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "There is no normalization test for the...
null
stickerdaniel__linkedin-mcp-server__261
stickerdaniel/linkedin-mcp-server
261
defect
d0c2145235adcc1ccfdb1ad3fd17047fe68c96a4
8925b36421f0b57aa48a62a4a58a8a4205aa4aee
fix(login): pass --chrome-path to BrowserManager during --login
## Summary - `--chrome-path` was ignored during `--login` because `setup.py:interactive_login()` created `BrowserManager` without passing `executable_path` - Read `config.browser.chrome_path` and forward it as `executable_path` to `BrowserManager`, matching the existing server runtime behavior in `drivers/browser.py:_...
diff --git a/linkedin_mcp_server/setup.py b/linkedin_mcp_server/setup.py index 49f2bcc88..9410b4138 100644 --- a/linkedin_mcp_server/setup.py +++ b/linkedin_mcp_server/setup.py @@ -8,6 +8,7 @@ import asyncio from pathlib import Path +from linkedin_mcp_server.config import get_config from linkedin_mcp_server.core i...
1
1
0
[{"id": "G0", "claim": "There is no test for the positive chrome_path forwarding case: both new tests patch get_config to return a default AppConfig with chrome_path=None, so neither exercises the new branch nor asserts that BrowserManager receives executable_path when chrome_path is set.", "category": "testing", "verd...
null
stickerdaniel__linkedin-mcp-server__262
stickerdaniel/linkedin-mcp-server
262
defect
2722bdc25083676011248304152e6f2252ffa17f
2021f6ace73e55ee2c65c71094fb004c998be15e
fix(login): forward all browser config params during --login
## Summary - Forward `slow_mo`, `user_agent`, and `viewport` from config to `BrowserManager` during `--login`, matching the server runtime path in `drivers/browser.py:_make_browser()` - These params were silently ignored after PR #261 fixed only `--chrome-path` - Add comprehensive test asserting ALL 6 BrowserManager p...
diff --git a/linkedin_mcp_server/setup.py b/linkedin_mcp_server/setup.py index d93327e91..00ae2c2f1 100644 --- a/linkedin_mcp_server/setup.py +++ b/linkedin_mcp_server/setup.py @@ -53,8 +53,18 @@ async def interactive_login( if config.browser.chrome_path: launch_options["executable_path"] = config.browser...
3
3
0
[{"id": "G0", "claim": "The new tests repeat the same seven monkeypatch setups across test cases, so the common patching should be extracted into a shared helper or fixture returning (browser, captured_kwargs).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1...
null
stickerdaniel__linkedin-mcp-server__274
stickerdaniel/linkedin-mcp-server
274
defect
c604bf0660c3fbd50c3aeac9f8bb7d7d7371ea4d
03a2a3259d93a6ed72fb2e74f806311b1574fd9b
feat: add ability to connect via mcp
This is something I built in my own fork and thought I'd try pushing it up, not sure if it violates TOS but it works well!
diff --git a/README.md b/README.md index 7e015e32d..3172d9452 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ What has Anthropic been posting about recently? https://www.linkedin.com/company | Tool | Description | Status | |------|-------------|--------| | `get_person_profile` | Get profile info with explic...
6
3
1
[{"id": "G0", "claim": "If the Send/Invite button is not visible, _send_connection_request skips the click and still returns a successful \"connected\" outcome, misreporting success when the invite was never submitted; a missing send button (or dialog) should be treated as a failure status.", "category": "correctness",...
null
stickerdaniel__linkedin-mcp-server__275
stickerdaniel/linkedin-mcp-server
275
defect
c604bf0660c3fbd50c3aeac9f8bb7d7d7371ea4d
a7118423e53ccd29d9090bd5b34aeadb239be72d
feat(progress): Wire section-level progress into scrape_person/scrape_company
Connect the existing ProgressCallback/MCPContextProgressCallback classes to the extractor's section loops so MCP clients see per-section updates instead of a 0%→100% jump. - Add optional callbacks parameter to scrape_person and scrape_company - Replace first-flag pattern with enumerate() for progress calculation - Cal...
diff --git a/linkedin_mcp_server/scraping/extractor.py b/linkedin_mcp_server/scraping/extractor.py index 42c2e7746..165509bec 100644 --- a/linkedin_mcp_server/scraping/extractor.py +++ b/linkedin_mcp_server/scraping/extractor.py @@ -1,10 +1,12 @@ """Core extraction engine using innerText instead of DOM selectors.""" ...
4
3
1
[{"id": "G0", "claim": "TestScrapeCompanyCallbacks only covers the happy path; scrape_company's error path has no dedicated test (unlike scrape_person's test_scrape_person_calls_on_error) confirming on_error is awaited and on_complete is not.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "...
null
stickerdaniel__linkedin-mcp-server__277
stickerdaniel/linkedin-mcp-server
277
defect
101fd037e3484445389b127239bff71369992bc5
ded33b2924ff74219190fbf3d64b2035cd4e1121
feat(auth): Auto-relogin on session expiry instead of manual --login
When a LinkedIn session expires, the server now automatically opens a login browser window instead of telling the user to run --login manually. This makes session expiry behave identically to first-time setup. Key changes: - Add invalidate_auth_and_trigger_relogin() to bootstrap.py with atomic lock-protected force-i...
diff --git a/linkedin_mcp_server/bootstrap.py b/linkedin_mcp_server/bootstrap.py index 653012025..056697a7b 100644 --- a/linkedin_mcp_server/bootstrap.py +++ b/linkedin_mcp_server/bootstrap.py @@ -385,6 +385,82 @@ async def start_login_if_needed(ctx: Context | None = None) -> None: await _start_login_if_needed(ctx...
7
7
2
[{"id": "G0", "claim": "If close_browser() itself throws when the browser is already dead, that exception escapes handle_auth_error before invalidate_auth_and_trigger_relogin is reached, so the user sees an internal browser-close error instead of the re-login prompt; consider swallowing or logging close failures so the...
null
stickerdaniel__linkedin-mcp-server__300
stickerdaniel/linkedin-mcp-server
300
defect
d645cf3f36a67ca88f460b3324abeb8d862f4131
ebb4cd799f07d01a028e32b484e303a18c7c389f
fix(scraping): Respect --timeout for messaging, extract inbox thread IDs
## Summary - **#296**: Remove all hardcoded `timeout=5000` from `send_message` and messaging helpers. Playwright calls now fall through to the page-level default set from `BrowserConfig.default_timeout`, making the `--timeout` CLI flag effective for the messaging flow. - **#297**: Add click-and-capture extraction to `...
diff --git a/linkedin_mcp_server/scraping/extractor.py b/linkedin_mcp_server/scraping/extractor.py index 20a344ae1..0f854f8e6 100644 --- a/linkedin_mcp_server/scraping/extractor.py +++ b/linkedin_mcp_server/scraping/extractor.py @@ -540,7 +540,7 @@ async def _open_more_menu(self) -> bool: try: if ...
7
4
2
[{"id": "G0", "claim": "_extract_conversation_thread_refs calls page.evaluate() with no error handling, so a Playwright timeout or a destroyed execution context can propagate and crash get_inbox even though the inbox content was already extracted successfully.", "category": "correctness", "verdict": "uncertain", "prior...
null
stickerdaniel__linkedin-mcp-server__336
stickerdaniel/linkedin-mcp-server
336
defect
a5afb4ccbdebad5e69989f2fae00f1e6f7211f19
17ee8c82ae9f56000ad9ac61b48d1f4d5f22b336
fix(scraping): wait for detail panel before extracting experience sections
## Problem Profile detail pages (`/details/experience/`, `/details/education/`, etc.) silently return no content. The experience section is absent from the scrape result with no error. **Root cause:** LinkedIn's SPA initially renders sidebar recommendations into `<main>` while the actual section panel loads asynchron...
diff --git a/linkedin_mcp_server/scraping/extractor.py b/linkedin_mcp_server/scraping/extractor.py index c42946cee..2d11afdcc 100644 --- a/linkedin_mcp_server/scraping/extractor.py +++ b/linkedin_mcp_server/scraping/extractor.py @@ -734,6 +734,28 @@ async def _extract_page_once( except PlaywrightTimeoutErr...
2
1
1
[{"id": "G0", "claim": "The wait condition for /details/ pages requires text.length > 200 on top of the placeholder-prefix checks, which can make the wait always time out (up to 10s delay per details page) when a detail panel legitimately has short content; consider removing or lowering the length threshold and relying...
null
stickerdaniel__linkedin-mcp-server__362
stickerdaniel/linkedin-mcp-server
362
defect
ecdf62017010b60d1e17e8b6829a2cccb2fd2a1c
39f935694b66954c3bc01b6f5c08d21df09e9ed4
Fix/344 bypass patchright compose box actionability in send_message
## Problem `send_message` was broken under patchright: `locator.wait_for(state="visible")` times out on the contenteditable compose div even though the element is fully visible by every CSS/DOM criterion (display:block, visibility:visible, non-zero bounding box, no inert ancestor). Same actionability chec...
diff --git a/linkedin_mcp_server/scraping/extractor.py b/linkedin_mcp_server/scraping/extractor.py index 681001a4d..0a1412a22 100644 --- a/linkedin_mcp_server/scraping/extractor.py +++ b/linkedin_mcp_server/scraping/extractor.py @@ -1455,6 +1455,21 @@ async def _resolve_message_compose_box(self) -> Any | None: ...
5
3
0
[{"id": "G0", "claim": "The fallback comment understates when the wait_for path runs: it also runs when count() returns 0 (element absent), not only when count() raised an exception.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In test_returns_l...
null
stickerdaniel__linkedin-mcp-server__386
stickerdaniel/linkedin-mcp-server
386
defect
3ba160c39b382706f446dbe3b88b99bc8cb227de
43efb1f1889cc60f50bca2de204d3e3f2cf30292
feat(tools): add get_my_profile, search_companies, get_company_employees
## Summary ...
diff --git a/README.md b/README.md index 83f87f041..3e69d6259 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Through this LinkedIn MCP server, AI assistants like Claude can connect to your | Tool | Description | Status | |------|-------------|--------| | `get_person_profile` | Get profile info with explici...
1
1
1
[{"id": "G0", "claim": "When username is \"me\", the result URL will always be https://www.linkedin.com/in/me/ because scrape_person builds result[\"url\"] from the static base_url, so the real username is never surfaced in the URL field despite what the docstrings advertise.", "category": "correctness", "verdict": "su...
null
stickerdaniel__linkedin-mcp-server__396
stickerdaniel/linkedin-mcp-server
396
defect
9d77ee53365f56e2e5ca02251f39ec9223e70c14
a3d9e8b0ad6d65d4f9ff3cbc250b9591d2a95e5e
fix(connect): detect state via DOM anchors and verify after action
## Summary Replaces the optimistic, English-only `connect_with_person` flow with a language-agnostic detection + verification pipeline. ## What changed - **Detection**: `_read_action_signals()` reads anchor hrefs from the top-card area instead of parsing translated button text. The three structural signals are `...
diff --git a/linkedin_mcp_server/scraping/connection.py b/linkedin_mcp_server/scraping/connection.py index 802d60559..9cca7a6e8 100644 --- a/linkedin_mcp_server/scraping/connection.py +++ b/linkedin_mcp_server/scraping/connection.py @@ -1,13 +1,21 @@ -"""Connection state detection from scraped LinkedIn profile text. +"...
8
5
4
[{"id": "G0", "claim": "The guard `if btn_count >= 2:` is too low for clicking the second-to-last button, so with only 2 buttons (dismiss + primary) the code clicks the dismiss/close button instead of revealing the note textarea; require at least 3 buttons or skip the secondary-click attempt.", "category": "correctness...
null
stickerdaniel__linkedin-mcp-server__405
stickerdaniel/linkedin-mcp-server
405
defect
de000d411b8b887100c0b10049cd7994fe3d9661
b8e4a3f2293959159b850ee523a81d4cf9fdd111
fix(bootstrap): self-heal patchright Chromium across upgrades
## Summary - Replaces the brittle metadata-only readiness check with a registry-driven check (patchright's bundled `browsers.json` + per-dir `INSTALLATION_COMPLETE` markers). - Adds `BrowserBinaryMissingError` and an actionable "run patchright install" message in place of the misleading "Network error". - Treats in-me...
diff --git a/linkedin_mcp_server/bootstrap.py b/linkedin_mcp_server/bootstrap.py index 242b45dd4..1c302fe5e 100644 --- a/linkedin_mcp_server/bootstrap.py +++ b/linkedin_mcp_server/bootstrap.py @@ -5,6 +5,7 @@ import asyncio from dataclasses import dataclass from enum import Enum +import importlib.metadata import js...
3
3
1
[{"id": "G0", "claim": "The third marker \"patchright install\" in _is_browser_binary_missing_error is an overly broad substring match that can false-positive on unrelated NetworkError messages, so it should be removed leaving only the two unique markers.", "category": "correctness", "verdict": "supported", "priority":...
null
stickerdaniel__linkedin-mcp-server__409
stickerdaniel/linkedin-mcp-server
409
defect
babfa5bc7bd42a526cd513be14a3db80cbc2a824
5a92b6ffcf004c96b16d472cd279604f65037f6c
fix(connect): locale-independent state detection and More-menu retry
## Summary Resolves #406. The previous flow returned `already_connected` for any profile that exposes a `/messaging/compose/` anchor — which LinkedIn renders for every non-self profile with Open Profile, Premium messaging, or follow-relationship messaging eligibility. Live testing confirmed this misclassified 2nd- and...
diff --git a/linkedin_mcp_server/scraping/connection.py b/linkedin_mcp_server/scraping/connection.py index d9b49c40a..fc33ff896 100644 --- a/linkedin_mcp_server/scraping/connection.py +++ b/linkedin_mcp_server/scraping/connection.py @@ -1,20 +1,27 @@ -"""Connection state detection from structural DOM signals. - -Linked...
8
7
3
[{"id": "G0", "claim": "The compound condition `state == \"follow_only\" and not signals.has_invite_anchor` is a tautology since detect_connection_state returns \"follow_only\" only after the has_invite_anchor check failed, so the second conjunct can never change the branch outcome and should be simplified to `state ==...
null
stickerdaniel__linkedin-mcp-server__436
stickerdaniel/linkedin-mcp-server
436
defect
c581619982771b7e00c7d5f2c6e0f9d186afb404
56e2433532aa57a035c36fc15f2d564faae19f38
feat(feed): add get_feed MCP tool
Closes #373. Reopens the work from @hugobiais's #374. Squash-merged from `refs/pull/374/head` and rebased onto v4.11.0. Replaced the three English-text detectors (`_POST_MARKER`, `_FEED_POST_SPLIT_RE`, and the see-more button regex) with locale-independent equivalents — the live DOM probe found no stable per-post cont...
diff --git a/AGENTS.md b/AGENTS.md index 41b53702f..242797fb6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -31,6 +31,7 @@ Optional additional keys: - `section_errors: {section_name: {error_type, error_message, issue_template_path, runtime, ...}}` - `unknown_sections: [name, ...]` - `job_ids: [id, ...]` (search_jobs onl...
5
4
1
[{"id": "G0", "claim": "If `_extract_root_content` returns empty DOM text, the `if not raw` guard returns immediately with empty references, silently discarding SDUI-captured post permalinks already collected in `captured_urls`; captured_urls should also be passed through `_build_feed_references` on the empty-text path...
null
stickerdaniel__linkedin-mcp-server__439
stickerdaniel/linkedin-mcp-server
439
defect
df7868b75219727e198b98988293dd570143f97f
a4ab2fff8eb23d4d6fac576c94d8f01de3380db7
fix(get_company_employees): hydrate listing, clarify slug
Follow-up after live-verifying PR #386 against real LinkedIn — two latent issues in `get_company_employees` surfaced and are addressed here. **Slug confusion.** Calling `get_company_employees` with `company_name="anthropic"` lands on `/company/anthropic/people/`, which is a small VC firm with 2-10 employees, not the A...
diff --git a/linkedin_mcp_server/scraping/extractor.py b/linkedin_mcp_server/scraping/extractor.py index 097167e03..cc6f9e8d5 100644 --- a/linkedin_mcp_server/scraping/extractor.py +++ b/linkedin_mcp_server/scraping/extractor.py @@ -1185,6 +1185,24 @@ async def _extract_loaded_section( except PlaywrightTim...
3
3
2
[{"id": "G0", "claim": "The new company-people wait branch unconditionally calls wait_for_function with the full 10s timeout on every /company/<slug>/people/ URL, so empty or restricted listings always exhaust the whole budget before extraction proceeds, adding a fixed latency penalty to every zero-result call; it shou...
null
sticnarf__tokio-socks__10
sticnarf/tokio-socks
10
defect
9529e4383fb91e0ccba8af2baf5bacf57a806335
4fdd787d473b696ccfcca03bfb9ac35b43cc4e5a
Port to futures 0.3 and tokio 0.2.0
Ported this library to tokio 0.2.0-alpha and to use async/await syntax. I didn't manage to upgrade the hyper example yet, but I added a quick example of usage with tor. Hope this is of use to you :)
diff --git a/Cargo.toml b/Cargo.toml index e1ea06f..a41553f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,16 +16,15 @@ edition = "2018" travis-ci = { repository = "sticnarf/tokio-socks" } [dependencies] -futures = "0.1" -tokio-tcp = "0.1" -tokio-udp = "0.1" -tokio-io = "0.1" +futures= {version= "0.3.0-alpha.19", ...
10
8
1
[{"id": "G0", "claim": "The new dependency entries in Cargo.toml should be well formatted, e.g. `tokio-net = { version = \"0.2.0-alpha.6\", features = [\"tcp\"] }`.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The commented-out examples/hyper.rs file sh...
null
sticnarf__tokio-socks__20
sticnarf/tokio-socks
20
defect
d88e7da2df41fb387bb3fe0a993eb2038361d61e
2fcaf92b04c16ce80e8692a7193b5055553d863c
Allow to take arbitrary socket instead of address to estaplish connexion to proxy
This is an attempt at solving both #5 and #19. Most code is here, but it lacks documentation, tests, and an example. This _does_ break compatibility as some types that were fixed are now parametrized, however I've mostly kept previous interface so that changes are actually minimal.
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6a9d686..de2349e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: run: | sudo add-apt-repository ppa:artyom.h31/3proxy -y sudo apt-get update - sudo apt-get ...
3
3
1
[{"id": "G0", "claim": "In the doc comment on Socks5Stream::connect, the leading comma on the continuation line should be moved to the end of the previous line.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The project should be reformatted wit...
null
sticnarf__tokio-socks__38
sticnarf/tokio-socks
38
defect
9fdcccc3da5693712c07fcfc5bb1212df0e3f989
ff5175a33ee325dbf38c73cdd4440e17637ba05e
Added SOCKS4 support.
Supports: #39 SOCKS4 support with and without userid. Both `Connect` and `Bind` supported. RFC Followed: [SOCKS4 RFC](https://www.openssh.com/txt/socks4.protocol)
diff --git a/.gitignore b/.gitignore index be6bbbd..c3c78e1 100644 --- a/.gitignore +++ b/.gitignore @@ -29,4 +29,7 @@ Cargo.lock out/ # Vscode files -.vscode/** \ No newline at end of file +.vscode/** + +docker-compose.yml +Dockerfile \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d9a1...
2
2
0
[{"id": "G0", "claim": "To better organise the code, move the current socks5 code to tcp/socks5 and put the socks4 code in tcp/socks4, then re-export the useful types to the tcp mod for convenience.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": ...
null
stilliard__github-task-list-completed__15
stilliard/github-task-list-completed
15
defect
603e77a035dd3af419271f35193f1c29d93ae551
0764ff3577558d9ec5a2cb60780dec1e5f0bac79
Tasks in comments support
Looking to support PR comments & PR review comments with tasks inside. Fixes #2 Previewing via PR but all goes well I will merge next week when I'm back :)
diff --git a/app.yml b/app.yml index 7cd2e3d..ccf7dba 100644 --- a/app.yml +++ b/app.yml @@ -22,7 +22,7 @@ default_events: # - deployment_status # - fork # - gollum -# - issue_comment + - issue_comment # - issues # - label # - milestone @@ -37,7 +37,7 @@ default_events: # - public - pull_request # - pull_requ...
3
2
2
[{"id": "G0", "claim": "The new GitHub API requests (pulls.get, issues.listComments, pulls.listComments) are made without error handling, and on failure the check should report a failure/pending state rather than skip the check.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced...
null
stillwater-sc__universal__532
stillwater-sc/universal
532
defect
401df414e7bb9605e6397eab5bc2098e00c6f1ed
ca75c54c9db62fca965e3574eb289703ec02890a
test(pop): add edge-case tests for ~90% coverage
## Summary - Add 29 new edge-case test cases across all 5 POP test files to improve code coverage from ~78% to ~90% - Enable POP tests in the CI coverage workflow (`-DUNIVERSAL_BUILD_MIXEDPRECISION_POP=ON`) ### New tests by file | File | New Tests | Est. Coverage | |------|-----------|---------------| | `test_simple...
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 6eee51f43..163553fcd 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -53,7 +53,8 @@ jobs: -DCMAKE_EXE_LINKER_FLAGS="--coverage" \ -DUNIVERSAL_BUILD_CI=ON \ -DUNIV...
2
1
1
[{"id": "G0", "claim": "The new infeasible and unbounded LP tests only fail on an Optimal status, which can incorrectly pass on other wrong statuses, so they should assert the exact expected LPStatus (Infeasible / Unbounded) instead.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
stitchesjs__stitches__411
stitchesjs/stitches
411
defect
ed8945d403eeab564cc1559711f19bece2395751
f03431f754b2f443bafcccaae1a383e5b07ec333
feat: support negative tokens
This PR adds the ability to use negative tokens like `-$sp1`. This resolves #370.
diff --git a/packages/core/src/createGetComputedCss.js b/packages/core/src/createGetComputedCss.js index 490c3cca..e25b54fb 100644 --- a/packages/core/src/createGetComputedCss.js +++ b/packages/core/src/createGetComputedCss.js @@ -110,7 +110,10 @@ const createGetComputedCss = ( // write the value as string, con...
1
1
0
[{"id": "G0", "claim": "A test should be added for a simple negative token that does not prefix the theme scale (e.g. '-$sp1' instead of '-$sizes$sp1').", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
stitchfix__flotilla-os__163
stitchfix/flotilla-os
163
defect
cc3f98adc78d4b67f58e940ee989770fd43bd620
99cb151afc6ed72347728f92bce97253f5cc3e1f
EKS Cloudwatch Logs client
Adding EKSCloudWatchLogs client to access EKS logs. Note: this PR also modifies the ECSCloudWatchLogs client as the configuration object has changed (log configs are separated by ecs/eks).
diff --git a/clients/logs/cloudwatch_logs_client.go b/clients/logs/cloudwatch_logs_client.go index 39b98186..863d387d 100644 --- a/clients/logs/cloudwatch_logs_client.go +++ b/clients/logs/cloudwatch_logs_client.go @@ -15,6 +15,7 @@ import ( "os" "sort" "strings" + flotillaLog "github.com/stitchfix/flotilla-os/lo...
7
4
1
[{"id": "G0", "claim": "toStreamName uses run.PodName as if it were a string, but PodName is *string, so the code cannot compile as written.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "With EKS there will be a single namespace, so namespaceExists...
null
stitchfix__flotilla-os__434
stitchfix/flotilla-os
434
defect
c0bc1f4c1df4f23b616ce1a86ea858b24c881a4e
1d0f86d98b39bdcc79d0ee2ca79e9b3a44ae90fb
add labels to the api and task table
This adds `labels` to the task table, the flotilla api and `run.State`. This KV bucket is then consistently applied (after sanitizing) as labels to the template within a job spec. `flotilla-run-id` and `owner` are included for backwards compatibility, but they can be overwritten
diff --git a/.migrations/V20221215125203__add_labels.sql b/.migrations/V20221215125203__add_labels.sql new file mode 100644 index 00000000..6597b30e --- /dev/null +++ b/.migrations/V20221215125203__add_labels.sql @@ -0,0 +1 @@ +ALTER TABLE task ADD COLUMN IF NOT EXISTS labels jsonb; diff --git a/execution/adapter/eks_a...
1
1
1
[{"id": "G0", "claim": "Add the 'flotilla-run-id' and 'owner' labels to the labels in the new utils.GetLabels helper so the EMR engine keeps the labels it produced before, preserving backward compatibility.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
stitchfix__flotilla-os__499
stitchfix/flotilla-os
499
defect
8d823b25b1f2f85ab0e4907a459f67832ddcf92f
a973bfc3eed7ece3c843ae20a96e61ce87fad0eb
Add tags to datadog spark metrics
## PROBLEM Spark metrics are missing some core metrics that cause searchability issues in DD ## SOLUTION Add common tags to the spark metrics
diff --git a/execution/engine/emr_engine.go b/execution/engine/emr_engine.go index 58601787..a37d0171 100644 --- a/execution/engine/emr_engine.go +++ b/execution/engine/emr_engine.go @@ -172,6 +172,17 @@ func (emr *EMRExecutionEngine) Execute(executable state.Executable, run state.Ru } func (emr *EMRExecutionEngine...
2
2
0
[{"id": "G0", "claim": "The Datadog instances config could be built with maps or structs and marshalled to JSON instead of being assembled by string concatenation and TrimSuffix.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Backticks should be used for...
null
stitchfix__flotilla-os__545
stitchfix/flotilla-os
545
defect
3f66cd282cdbae912c33ff3f1d7183511a007002
9d4a5924c123a612b8c6d7055b94edc1224ebbf5
Add a lightweight endpoint that will allow us to query a run
## PROBLEM The current GetRun endpoint is querying much more data then we need and this leads to issues with timeouts getting hit ## SOLUTION Add a lightweight runStatus endpoint that will allow operators and airflow to get the details it needs.
diff --git a/flotilla/endpoints.go b/flotilla/endpoints.go index 5cea7185..d77d5fc1 100644 --- a/flotilla/endpoints.go +++ b/flotilla/endpoints.go @@ -1101,3 +1101,32 @@ func (ep *endpoints) CreateCluster(w http.ResponseWriter, r *http.Request) { ep.encodeResponse(w, map[string]bool{"created": true}) } + +func (ep...
3
2
0
[{"id": "G0", "claim": "Consider explicitly handling the case when status.ExitCode is nil so a default value is used instead of letting '<nil>' appear in the ETag.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether, because Exi...
null
stlab__adobe_source_libraries__116
stlab/adobe_source_libraries
116
defect
5a98d06f9f231176b615794b1713bddaf130b404
f7180c3ca373efade6c0858ed2bd3c2e7f025f7f
Remove `double-conversion`
This PR removes the `double-conversion` library as a dependency from ASL. In its place I have added a new variant of `adobe::to_string`. Google's `double-conversion` library was originally used by ASL to serialize floating-point values (mostly indirectly when serializing an `any_regular_t` that held a `double`.) In ...
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0a7d1f4d..f8c6d5a0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,14 +19,8 @@ project(adobe-source-libraries CXX) # add_definitions ("-Wall") # add_definitions ("-Werror") -# There are two big choices this file makes - how to include Boost, and how to -# i...
1
1
0
[{"id": "G0", "claim": "The structured binding in to_string(double) should be declared const, with the error path moved out of the else clause.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
stlab__adobe_source_libraries__144
stlab/adobe_source_libraries
144
defect
a8b21b5ab399a6c99a3ad8c4991628bfab30c083
60c01c55ec72c74b04a1070883db76330efb8d9b
Add unittests for arg_stream and some other minor fixes
Adds compiler agnostic way to check c++ dialect via `ASL_CPP_VERSION`. `adobe/arg_stream.hpp` was slightly fixed and now compiles with XCode/MSVS, also some unittests were provided
diff --git a/adobe/arg_stream.hpp b/adobe/arg_stream.hpp index f0e9895f..f3f78b7b 100644 --- a/adobe/arg_stream.hpp +++ b/adobe/arg_stream.hpp @@ -27,6 +27,7 @@ #include <boost/utility/enable_if.hpp> #include <adobe/type_inspection.hpp> // ADOBE_HAS_TYPE/ADOBE_HAS_MEMBER +#include <adobe/typeinfo.hpp> #include <...
2
2
0
[{"id": "G0", "claim": "The new test/arg_stream/jamfile.jam file is not needed because the project no longer uses bjam, so it should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In the new test file, adobe/arg_stream.hpp should be ...
null
stleary__JSON-java__1006
stleary/JSON-java
1,006
defect
9b8eefc2deccb91f430f92676625e32e7302c5fa
0974258ec864df835fa5b863066d1cde86b8c23d
JSONObject.fromJson() with unit tests
#1003 Add support for JSON to POJO deserialization via JSONBuilder Introduced JSONBuilder class: Provides customizable mappings for type conversions (Function<Object, ?>) and collection instantiation (Supplier<?>), enabling extensible JSON deserialization logic. Enhanced JSONObject: Added support for conver...
diff --git a/src/main/java/org/json/InstanceCreator.java b/src/main/java/org/json/InstanceCreator.java new file mode 100644 index 000000000..4836e23da --- /dev/null +++ b/src/main/java/org/json/InstanceCreator.java @@ -0,0 +1,16 @@ +package org.json; + +/** + * Interface defining a creator that produces new instances o...
5
5
3
[{"id": "G0", "claim": "Implement fromJson() without adding new classes to the library: omit JSONBuilder from the initial implementation (hardcoding the behavior of a default JSONBuilder instance) and implement without the TypeConverter and InstanceCreator classes, keeping the new code easy to understand.", "category":...
null
stleary__JSON-java__529
stleary/JSON-java
529
defect
9de97438acf1f23e8a4e3846ff0534858672298f
aa0a5a7245d0a3d8650e66881d4274eb56928d87
Added putAll(Collection) and putAll(Array) methods.
I've added two methods to add/put all of the elements of an array/collection to the `JSONArray`. Mostly to avoid inefficient code like: ```java JSONArray jsonArray; ... if (myArray != null) { jsonArray = new JSONArray(myArray); } else { jsonArray = new JSONArray(); } ``` You can now do: ```java ...
diff --git a/src/main/java/org/json/JSONArray.java b/src/main/java/org/json/JSONArray.java index 787e12435..820da8367 100644 --- a/src/main/java/org/json/JSONArray.java +++ b/src/main/java/org/json/JSONArray.java @@ -173,9 +173,7 @@ public JSONArray(Collection<?> collection) { this.myArrayList = new ArrayL...
3
2
1
[{"id": "G0", "claim": "In both addAll methods, the calls to this.myArrayList.ensureCapacity should include the current length as well as the length of the array or collection being added, otherwise the backing list is not sized to hold existing plus new elements.", "category": "performance", "verdict": "supported", "p...
null
stleary__JSON-java__552
stleary/JSON-java
552
defect
870fa03a192e8b0dd2c3d06d85604f928d12172f
181a7d2599305d2c9d8e0daabc30590d7f8122bd
Updates for JSONArray.putAll methods
**What problem does this code solve?** The new `putAll` methods did not implement a way to concatenate JSONArray objects. It was an oversight during the review process, but should probably be allowed. This also adds in a shallow copy constructor for JSONArrays so the solution is a bit more holistic. I also added suppo...
diff --git a/src/main/java/org/json/JSONArray.java b/src/main/java/org/json/JSONArray.java index 3082974a4..684fb3780 100644 --- a/src/main/java/org/json/JSONArray.java +++ b/src/main/java/org/json/JSONArray.java @@ -177,6 +177,35 @@ public JSONArray(Collection<?> collection) { } } + /** + * Cons...
4
2
1
[{"id": "G0", "claim": "JSONArray should not support the new constructors if JSONObject does not support the equivalent ones (API parity between the two classes).", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The clone() method added by this pull request ...
null
stleary__JSON-java__613
stleary/JSON-java
613
defect
449ec8745efe921c4401d6f1c41a2a9246fe8bc7
cfbc306673ba3a4bec76ef6607db6401beb9c09b
JsonObject.similar() number entry check bug fix
#611 reported that similar returns too soon on success when a Number entry type is checked. Fixed by returning only if the Number check fails. Added unit test to exercise the new code.
diff --git a/src/main/java/org/json/JSONObject.java b/src/main/java/org/json/JSONObject.java index 97a6df8d2..6d7d340c6 100644 --- a/src/main/java/org/json/JSONObject.java +++ b/src/main/java/org/json/JSONObject.java @@ -2092,7 +2092,9 @@ public boolean similar(Object other) { return false; ...
1
1
1
[{"id": "G0", "claim": "The same number-entry fix applied to JSONObject.similar() should also be applied to the implementation in JSONArray.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
stleary__JSON-java__645
stleary/JSON-java
645
defect
d6227c83d79be51fe9efda7a55a6ec2850fdfd78
fb96e870a95ed86c247e73578a75335a0586ac13
Handle circular references in Java beans
Try to achieve the recursive check within one pass Added some related test cases
diff --git a/src/main/java/org/json/JSONObject.java b/src/main/java/org/json/JSONObject.java index 761df1df0..77d509bd5 100644 --- a/src/main/java/org/json/JSONObject.java +++ b/src/main/java/org/json/JSONObject.java @@ -39,6 +39,7 @@ of this software and associated documentation files (the "Software"), to deal import...
1
1
1
[{"id": "G0", "claim": "testRepeatObjectRecursive should not expect an exception because its object graph (duplicates of D/C but no cycle) contains no recursion.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
stleary__JSON-java__723
stleary/JSON-java
723
defect
401495ae86635978206adeb67cca472d4c2b39ce
a6e412bded7a0ad605adfeca029318f184c32102
Protect JSONML from stack overflow exceptions caused by recursion
The fix follows the method used in fixing the same issue for XML in the previous PR: Limit the XML nesting depth for CVE-2022-45688 #720 Additionally, fixing a minor issue with XMLParserConfiguration.clone() and amending some Javadoc. Resolves #722
diff --git a/src/main/java/org/json/JSONML.java b/src/main/java/org/json/JSONML.java index 2f9b840c2..c418ed723 100644 --- a/src/main/java/org/json/JSONML.java +++ b/src/main/java/org/json/JSONML.java @@ -27,7 +27,32 @@ private static Object parse( XMLTokener x, boolean arrayForm, JSONArra...
4
3
1
[{"id": "G0", "claim": "The PR should re-use XMLParserConfiguration instead of the new XMLtoJSONMLParserConfiguration class, and must not expose any new JSONML APIs besides the max nesting depth.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The PR was mi...
null
stleary__JSON-java__794
stleary/JSON-java
794
defect
f346203cd663bb680cad0d5894e7c147e36f31cd
7b2677ac5a8fdf586ceb4bfe2d6d8ec4194cdd69
XML optLong/getLong equivalent updates for string to number conversion.
[stleary update]: See #790 Moved the code logic to a common utility to de-duplicate.
diff --git a/src/main/java/org/json/JSONArray.java b/src/main/java/org/json/JSONArray.java index b0c912d1f..ed7982f8a 100644 --- a/src/main/java/org/json/JSONArray.java +++ b/src/main/java/org/json/JSONArray.java @@ -331,7 +331,7 @@ public Number getNumber(int index) throws JSONException { if (object insta...
4
2
1
[{"id": "G0", "claim": "Existing test cases must be kept: the PR may add new cases but must not rewrite the expected values of the existing ones.", "category": "testing", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Provide evidence that no existing functionality in JSONArray, ...
null
stleary__JSON-java__814
stleary/JSON-java
814
defect
04a4c5a3ec92d9cd3d89985f1c57e7a82cb7fb72
98b79ae7bf182397dded8a669c2432d618d03a07
Refactor duplicate code for stringToNumber() in JSONObject, JSONArray, and XML
Both XML and JSON parser do convert string to number. Similar code has been duplicated for both parsers, which has been moved to a single utility method. Fixes #813
diff --git a/src/main/java/org/json/JSONArray.java b/src/main/java/org/json/JSONArray.java index b0c912d1f..ed7982f8a 100644 --- a/src/main/java/org/json/JSONArray.java +++ b/src/main/java/org/json/JSONArray.java @@ -331,7 +331,7 @@ public Number getNumber(int index) throws JSONException { if (object insta...
6
5
1
[{"id": "G0", "claim": "The new NumberConversionUtil class should not be public; make it private or default (package) visible for now so it can be refactored in the future.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `@Test` annotations in NumberC...
null