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
sktime__sktime__8671
sktime/sktime
8,671
defect
16e1708efb1692464190fd4dd503874649810b60
8c1f61e5d9e4d2a57690d976013006d601042a44
[ENH] Move `WindowSummarizer` test skip to estimator tag
<!-- Welcome to sktime, and thanks for contributing! Please have a look at our contribution guide: https://www.sktime.net/en/latest/get_involved/contributing.html --> #### Reference Issues/PRs Addresses #8515 (moves `WindowSummarizer` test skip from central config to estimator tag). <!-- Example: Fixes #123...
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 2a112f05061..4a3ffdfa484 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -6,7 +6,7 @@ Contributors <!-- Please add your badges to .all-contibutorsrc --> <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> -[![All Contributors](https...
2
2
0
[{"id": "G0", "claim": "The comment added to the WindowSummarizer tag narrates the move from tests._config; it should be removed and replaced with a reference to the original issue that describes why the skip exists.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
sktime__sktime__8749
sktime/sktime
8,749
defect
31d1881b72ce70dccdde71555829f71db66fccd1
45dd6be95b8e2cda2494dec74276f78be876edaf
[ENH] `catalogues` in sktime
This PR introduces a new catalogues API for organising and accessing related groups of sktime objects (datasets, estimators, metrics, etc.). To understand the need and origin idea of catalogues, please check: [https://hackmd.io/@jigyasu/rJkmyeGKgl](https://hackmd.io/@jigyasu/rJkmyeGKgl) (Note that in the original desig...
diff --git a/sktime/collections/__init__.py b/sktime/collections/__init__.py new file mode 100644 index 00000000000..f2f42c1211d --- /dev/null +++ b/sktime/collections/__init__.py @@ -0,0 +1,7 @@ +"""Collections of estimators, datasets, and metrics.""" + +from sktime.collections.classification import TSCBakeOff2017 + +...
9
6
2
[{"id": "G0", "claim": "The info:source tag should use a DOI, since a DOI is a unique identifier that can be universally cross-referenced.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The get docstring is missing a newline before the bullet-poin...
null
sktime__sktime__8897
sktime/sktime
8,897
defect
aa9ae9e503fe16de9a2170759303f843f9b74e2a
09015a8d59e480bf10bcd5ea1aae95bc2b2b275e
[BUG] Correct `task_id` in benchmark result for all kinds of dataset loaders
_This PR stacks on #8861, please merge it in the order_ Currently the `task_id` or `validation_id` remains blank or more specifically uses an underscore: `_` in the benchmarking result for datasets if the loader is a single dataset class or a bundle dataset class because the name extraction logic is only valid for t...
diff --git a/sktime/benchmarking/_benchmarking_dataclasses.py b/sktime/benchmarking/_benchmarking_dataclasses.py index b24e9184b26..a0a90c87218 100644 --- a/sktime/benchmarking/_benchmarking_dataclasses.py +++ b/sktime/benchmarking/_benchmarking_dataclasses.py @@ -15,9 +15,24 @@ def _coerce_data_for_evaluate(dataset_l...
1
1
1
[{"id": "G0", "claim": "Decorate all tests that download data with `pytest.mark.datadownload` — the new `test_multiple_dataset_format` (and the other new dataset-loader tests) download data but lack the marker.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sktime__sktime__8931
sktime/sktime
8,931
defect
525080496f36ecd0cae502bce54c0ba994f567ad
61d5debc298bdae970cdfb3d99e206d039ded321
[BUG] MSTL does not support a trend_forecaster that needs `fh` during `fit`
#### Reference Issues/PRs #5666 #### What does this implement/fix? Explain your changes. It enables to use estimators that needs `fh` as `trend_forecaster` for `MSTL` as shown in the issue. ##### Implementation details During the fit of the `MSTL`(`_GeneralisedStatsForecastAdapter`) I add to the `trend_fore...
diff --git a/sktime/forecasting/base/adapters/_generalised_statsforecast.py b/sktime/forecasting/base/adapters/_generalised_statsforecast.py index ac79565d17e..dfda57eea64 100644 --- a/sktime/forecasting/base/adapters/_generalised_statsforecast.py +++ b/sktime/forecasting/base/adapters/_generalised_statsforecast.py @@ ...
8
8
3
[{"id": "G0", "claim": "The change couples `StatsForecastBackAdapter` to the adapter by expecting its `_fh` to be externally set; avoid this kind of coupling, perhaps by adding a new method `set_fh`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "There i...
null
sktime__sktime__8980
sktime/sktime
8,980
defect
9f51e7ed6d595cfe9fabe7ae34930a360dda929f
765bd88bcde06235153381f20e4ad4667749f444
[ENH] Make `TruncationTransformer` handle incorrect arguments
<!-- Welcome to sktime, and thanks for contributing! Please have a look at our contribution guide: https://www.sktime.net/en/latest/get_involved/contributing.html --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull r...
diff --git a/.all-contributorsrc b/.all-contributorsrc index 769bc697e62..ae31a637edf 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -3681,7 +3681,9 @@ "avatar_url": "https://avatars.githubusercontent.com/u/33071364?v=4", "profile": "https://github.com/Astrael1", "contributions": [ -...
2
2
1
[{"id": "G0", "claim": "Parameter validation must run after super().__init__(), but the PR calls self._validate_parameters() before it in __init__.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Given the data conversion the PR does at the start, X_...
null
sktime__sktime__8983
sktime/sktime
8,983
defect
71666a642a6f53e873dd2035df36d90b71e4f598
b9d6d99ccb54e0266d33760920741770928f4332
[ENH] Three param test set for DWTTransfomer
#### Reference Issues/PRs https://github.com/sktime/sktime/issues/3429 #### What does this implement/fix? Explain your changes. Creates a three paramater test set for the Discrete Wavelet Transform Transformer. #### Does your contribution introduce a new dependency? If yes, which one? No #### What should a ...
diff --git a/sktime/tests/_config.py b/sktime/tests/_config.py index af8ffefd379..5b7edb540b5 100644 --- a/sktime/tests/_config.py +++ b/sktime/tests/_config.py @@ -208,7 +208,6 @@ "ColumnwiseTransformer", "ContractableBOSS", "DOBIN", - "DWTTransformer", "DilationMappingTransf...
1
1
1
[{"id": "G0", "claim": "The code quality test is failing on this PR's code style; the author should follow the guideline, install pre-commit, and let it fix the code style automatically before committing.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sktime__sktime__9040
sktime/sktime
9,040
defect
1bc728a58092e69dd92aa5ab6cd8f0c39439a51a
34f1d6a0db662c8419819e38f9d5793b15aa6e5e
[ENH] Johansen cointegration
#### Reference Issues/PRs: Enhancement discussed with @fkiraly #### Goal/What does this implement?: The PR aims to add the Johansen Cointegration test from statsmodels to the parameter estimation section of sktime. The implementation is just an interface and not coded new. The joansen test is a useful addition...
diff --git a/sktime/param_est/cointegration/__init__.py b/sktime/param_est/cointegration/__init__.py new file mode 100644 index 00000000000..034704dcec0 --- /dev/null +++ b/sktime/param_est/cointegration/__init__.py @@ -0,0 +1,14 @@ +"""Module for parameter estimators of cointegration tests. + +This module provides fun...
5
5
3
[{"id": "G0", "claim": "The data (endog) should not be a parameter of the estimator - the sktime API is to pass the data in fit.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test results should be written to self as attributes ending in an undersco...
null
sktime__sktime__9062
sktime/sktime
9,062
defect
5e3e6c996a38adc5949ba0c826b4eee2a6d1bf69
39a9f80f2d13755729e518804676eadf443a9158
[ENH] ARAR forecaster
### **Short Explanation of the ARAR Model** The **ARAR model** is a forecasting method designed for time series that may exhibit **long-memory or persistent dependence**. It works by **automatically shortening the memory** in the data and then fitting a small **subset autoregressive (AR)** model to the transformed s...
diff --git a/docs/source/api_reference/forecasting.rst b/docs/source/api_reference/forecasting.rst index 276f4ee121d..90b5fb0a9c7 100644 --- a/docs/source/api_reference/forecasting.rst +++ b/docs/source/api_reference/forecasting.rst @@ -382,6 +382,18 @@ Auto-ARIMA models StatsForecastAutoARIMA +Auto-ARIMA mode...
1
1
1
[{"id": "G0", "claim": "From the tests, the prediction intervals are not returned in the correct format, and the author is asked to run the sktime check_estimators suite locally to debug and fix the API conformance issues.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
sktime__sktime__9082
sktime/sktime
9,082
defect
7f366a61a2d38e49b31c8f2ac72da0f233711a66
9e56bc812e4f74311d05e47dca4cec6ad50e7bb1
[ENH] `tsfel` feature extraction transformer
#### Reference Issues/PRs Fixes #9021 #### What does this implement/fix? Explain your changes. This transformer can extract features in two ways based on value passed to `features` param: 1. By domain: Pass a domain string ('statistical', 'temporal', 'spectral', 'fractal') ref [link](https://tsfel.readthe...
diff --git a/pyproject.toml b/pyproject.toml index 05983c9ccfe..f44d7c74feb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -87,6 +87,7 @@ all_extras = [ 'h5py; python_version < "3.12"', 'hmmlearn>=0.2.7; python_version < "3.11"', 'holidays; python_version < "3.13"', + 'tsfel; python_version < "3.13"', ...
12
12
8
[{"id": "G0", "claim": "A single class taking a `features` argument should be used instead of adding a separate class per feature (and per domain), with `features` accepting domain strings or lists of named feature strings.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
sktime__sktime__9091
sktime/sktime
9,091
defect
7f366a61a2d38e49b31c8f2ac72da0f233711a66
4cc2183d4b527974ae66bf899104f211d2aceda5
[ENH] capability:non_contiguous_X tag and skip non-contiguous X tests for affected estimators
#### Reference Issues/PRs Fixes #8787 #### What does this implement/fix? Explain your changes. This PR addresses a test failure affecting several estimators that require contiguous exogenous data (`X`) when making predictions at non-contiguous forecasting horizons (e.g., `fh=[2, 5]`). **Changes implemented:** ...
diff --git a/sktime/forecasting/ardl.py b/sktime/forecasting/ardl.py index dda6a14e845..b5713b4c99d 100644 --- a/sktime/forecasting/ardl.py +++ b/sktime/forecasting/ardl.py @@ -216,8 +216,7 @@ class ARDL(_StatsModelsAdapter): "capability:pred_int": False, # does forecaster implement proba forecasts? ...
7
4
2
[{"id": "G0", "claim": "The basis for assigning capability:non_contiguous_X=False to forecasters is not established, and StatsForecastAutoARIMA may not actually fail predict on non-contiguous fh since it may only check shapes, so the reviewer asks how the affected forecasters were determined.", "category": "design", "v...
null
sktime__sktime__9107
sktime/sktime
9,107
defect
4004e5be9d88842326c6ee014a2f26576df4938c
8c1ccfe213a6cc1058207b76ab11d3b86cf596aa
[ENH] `tsfeatures` feature extraction transformer
#### Reference Issues/PRs Fixes #905 #### What does this implement/fix? Explain your changes. Implements wrapper transformers for `tsfeatures` and `tsfeatures_wide`. Reference to tsfeatures from Nixtla: https://github.com/Nixtla/tsfeatures #### Does your contribution introduce a new dependency? If yes, which...
diff --git a/docs/source/api_reference/transformations.rst b/docs/source/api_reference/transformations.rst index 7c8af6a1bde..a1c63df23e8 100644 --- a/docs/source/api_reference/transformations.rst +++ b/docs/source/api_reference/transformations.rst @@ -315,6 +315,15 @@ These transformers extract larger collections of f...
9
9
3
[{"id": "G0", "claim": "Raising ValueError in _transform when the required columns ['unique_id', 'seasonality', 'y'] are missing causes failures in around 7-8 check_estimator conformance tests (e.g. test_fit_idempotent).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id...
null
sktime__sktime__9112
sktime/sktime
9,112
defect
4004e5be9d88842326c6ee014a2f26576df4938c
4606dda8272e404b050b4dc9e5be667f0d543fec
[MNT] add vm estimators to test-all workflow
Fixes - [Issue](https://github.com/sktime/sktime/issues/8811) hi @fkiraly How are you ? I found this issue in stale state and wanted to share my solution. Can you please review this pr ? Details about the pr 1. Added _get_all_vm_classes() function (sktime/tests/test_switch.py) 2. Added jobs to test_all.yml...
diff --git a/.github/workflows/test_all.yml b/.github/workflows/test_all.yml index 021207b12d3..9bb8314ca3b 100644 --- a/.github/workflows/test_all.yml +++ b/.github/workflows/test_all.yml @@ -153,3 +153,101 @@ jobs: --ignore sktime/transformations --matrixdesign False --only_changed_mo...
1
1
0
[{"id": "G0", "claim": "A test should be added checking that _get_all_vm_classes returns 256 or fewer classes, since a job matrix can generate at most 256 jobs, and the job should be split if it ever exceeds that.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sktime__sktime__9196
sktime/sktime
9,196
defect
d0130a0960b3557df9731b5f3dcc14d5c777a698
28e659273344d55f28397ce540c06e419189ad40
[BUG] Fix IndexError in twe_alignment_path default bounding matrix
#### Reference Issues/PRs Fixes #9181 #### What does this implement/fix? Explain your changes. This PR fixes an `IndexError` in `twe_alignment_path` caused by an incorrect default size for the `bounding_matrix`. * **The Bug:** The default bounding matrix was initialized with shape `(len(x), len(y))`. However, t...
diff --git a/sktime/distances/_twe.py b/sktime/distances/_twe.py index 6287322dd69..9c2d9991f3b 100644 --- a/sktime/distances/_twe.py +++ b/sktime/distances/_twe.py @@ -89,10 +89,11 @@ def _distance_alignment_path_factory( from sktime.distances.lower_bounding import resolve_bounding_matrix from sktime...
1
1
0
[{"id": "G0", "claim": "Code formatting checks are failing on the PR and should be fixed, e.g. by automating them as described in the linked coding-standards guide.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sktime__sktime__9203
sktime/sktime
9,203
defect
61018b85fdd7df5494b96ddb97d132585a802721
0d464582d4b3cb17e709932db15092ce88fbbe5e
[ENH] Enable prediction intervals for AutoTS
<!-- Welcome to sktime, and thanks for contributing! Please have a look at our contribution guide: https://www.sktime.net/en/latest/get_involved/contributing.html --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull r...
diff --git a/sktime/forecasting/autots.py b/sktime/forecasting/autots.py index 91ef3cc8067..437bc901f59 100644 --- a/sktime/forecasting/autots.py +++ b/sktime/forecasting/autots.py @@ -220,7 +220,7 @@ class AutoTS(BaseForecaster): "capability:exogenous": False, # TODO: add capability "capability:insa...
1
1
0
[{"id": "G0", "claim": "The new AutoTS tests should use `_check_estimator_deps` instead of `_check_soft_dependencies` for their skip condition, as it is more reliable for soft dependency isolation.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sktime__sktime__9210
sktime/sktime
9,210
defect
93f377824e435a4ae089e5def580758143cfc1bf
1227bd7daae48e6e35197205f9a0eeb7369705af
[ENH] Enable exogenous support for AutoTS
<!-- Welcome to sktime, and thanks for contributing! Please have a look at our contribution guide: https://www.sktime.net/en/latest/get_involved/contributing.html --> #### Reference Issues/PRs <!-- Example: Fixes #1234. See also #3456. Please use keywords (e.g., Fixes) to create link to the issues or pull r...
diff --git a/sktime/forecasting/autots.py b/sktime/forecasting/autots.py index 429e63f4e7a..713600b90a9 100644 --- a/sktime/forecasting/autots.py +++ b/sktime/forecasting/autots.py @@ -217,7 +217,7 @@ class AutoTS(BaseForecaster): "scitype:y": "both", "y_inner_mtype": "pd.DataFrame", "X_inner...
1
1
0
[{"id": "G0", "claim": "The if/else branches on `X is not None` in `_fit`, `_predict` and `_predict_interval` are unnecessary; the reviewer asks to simply pass the default `X`, presumably `None`, to the underlying forecaster in all the places instead.", "category": "maintainability", "verdict": "supported", "priority":...
null
sktime__sktime__9228
sktime/sktime
9,228
defect
bea23c642b646eb2116d000f37d92b63ac71e3e5
d4824b0edfc4c5d8838569886a1aab876c4bad7d
[ENH] `craft` deserialization utility can now also index `scikit-learn` estimators
When attempting to deserialize an `sktime` estimator that contains a `scikit-learn` estimator, e.g., `Detrender() * RandomForest()`, the `craft` deserialization utility will currently fail, as it does not find `RandomForest` within its index - similar tor `scikit-learn` API compliant estimators located in `sktime`, suc...
diff --git a/sktime/registry/_craft.py b/sktime/registry/_craft.py index 046092fcc8a..62c599c35cc 100644 --- a/sktime/registry/_craft.py +++ b/sktime/registry/_craft.py @@ -22,6 +22,7 @@ import re from sktime.registry._lookup import all_estimators +from sktime.registry._lookup_sklearn import _all_sklearn_estimators...
1
1
1
[{"id": "G0", "claim": "Because craft's namespace register merges sklearn estimators over sktime ones, an object built by craft (e.g. DummyClassifier) can get a different scitype than the manually imported sktime estimator of the same name, and the test_benchmarking_dummy_classification_catalogue test fails after mergi...
null
sktime__sktime__9231
sktime/sktime
9,231
defect
bea23c642b646eb2116d000f37d92b63ac71e3e5
cb884f4292e46d71361ac66615d20506b15cbb3f
[ENH] `DegreeDayFeatures` transformer for heating and cooling degree days
#### Reference Issues/PRs None. #### What does this implement/fix? Explain your changes. Adds a new series transformer `DegreeDayFeatures` that computes Heating Degree Days (HDD) and Cooling Degree Days (CDD) (and optionally `tmean`) from daily temperature inputs relative to a configurable `base_temp`. Input be...
diff --git a/sktime/tests/tests/test_degree_day.py b/sktime/tests/tests/test_degree_day.py new file mode 100644 index 00000000000..38595ccd2c4 --- /dev/null +++ b/sktime/tests/tests/test_degree_day.py @@ -0,0 +1,185 @@ +""" +test_degree_day.py + +Unit tests for DegreeDayFeatures (sktime transformer). + +These tests val...
1
1
0
[{"id": "G0", "claim": "The new DegreeDayFeatures transformer should also be added to the API reference documentation in docs/source/api_reference.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sktime__sktime__9234
sktime/sktime
9,234
defect
bea23c642b646eb2116d000f37d92b63ac71e3e5
97a0cac632a70984ac2fda836a456a46f5097523
[BUG] Resolve Prophet crash by robustly handling 'stan_backend' and fixing test dimensions
### Description This PR addresses the CI failures reported in #9225 where `Prophet` tests were crashing with `AttributeError: 'Prophet' object has no attribute 'stan_backend'`. It also fixes `ImportError` issues in trend forecasting and dimension mismatches in the Prophet tests. ### Fixes 1. **Robust `stan_backend...
diff --git a/sktime/forecasting/fbprophet.py b/sktime/forecasting/fbprophet.py index 069e992eb82e..dcbd697ccb18 100644 --- a/sktime/forecasting/fbprophet.py +++ b/sktime/forecasting/fbprophet.py @@ -203,6 +203,12 @@ def __init__( self._ModelClass = _Prophet def _instantiate_model(self): + stan_ba...
4
4
3
[{"id": "G0", "claim": "The obvious added comments should be removed from the diff.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The Prophet forecaster tests are failing in CI.", "category": "correctness", "verdict": "supported", "priority": "...
null
sktime__sktime__9254
sktime/sktime
9,254
defect
21b7b0274e7b63f83b657100f6668040d7076a24
5c4c786b86c8e3feefba600f5608e31eee7691a8
[ENH] Clean up exogenous capability tag references
This PR updates remaining references to the deprecated ignores-exogeneous-X tag in pipeline code and tests, replacing them with the modern capability:exogenous tag. The changes are limited to text, logic, and assertions to ensure consistency with the current tag semantics. This is a small, low-risk cleanup with no b...
diff --git a/sktime/forecasting/compose/_pipeline.py b/sktime/forecasting/compose/_pipeline.py index 32a125b00fc..5d1809fcb83 100644 --- a/sktime/forecasting/compose/_pipeline.py +++ b/sktime/forecasting/compose/_pipeline.py @@ -901,11 +901,11 @@ def __init__(self, steps): self.clone_tags(self.forecaster_, tag...
1
1
1
[{"id": "G0", "claim": "This PR may be incomplete: the original pull request contained more `ignores-exogeneous-X` instances than this one cleans up, and the reviewer questions whether the split was done carefully and whether any remaining instances should be carried into this PR.", "category": "documentation", "verdic...
null
sktime__sktime__9346
sktime/sktime
9,346
defect
4c86f33b630eacda3768b0fdf99451f295ca16d6
173ac03c3f41383fe13320c1556c64811db42a8f
[ENH] `TransformedTargetForecaster.predict_proba`, via transformed distribution (#9287)
## Reference Issues/PRs Fixes #9287. ## What does this implement/fix? Explain your changes. `TransformedTargetForecaster` did not implement `_predict_proba`, causing it to always fall back to the base class `_PredictProbaMixin` default. This default constructs a crude Normal approximation from quantiles, compl...
diff --git a/sktime/forecasting/compose/_pipeline.py b/sktime/forecasting/compose/_pipeline.py index 5d1809fcb835..0da5378c7d4b 100644 --- a/sktime/forecasting/compose/_pipeline.py +++ b/sktime/forecasting/compose/_pipeline.py @@ -1243,6 +1243,125 @@ def _predict_interval(self, fh, X, coverage): ) ret...
3
3
2
[{"id": "G0", "claim": "Instead of building an empirical distribution from samples, the delegation path of `TransformedTargetForecaster.predict_proba` should return an appropriate skpro `TransformedDistribution` (as in skpro's `TransformedTargetRegressor`), or at least carry a comment explaining why the empirical appro...
null
sktime__sktime__9359
sktime/sktime
9,359
defect
5df0eba51861ce6dcac5a8d68e0507fabd585220
3fa11d946fe1cf276da4194c7a4ec1fad52eced7
[BUG] fix optimizer instantiation in `BaseDeepClassifierPyTorch` class
#### Reference Issues/PRs Fixes #9358 #### What does this implement/fix? Explain your changes. Modified callbacks_kwargs to optimizer_kwargs in optimiser instantiation logic in BaseDeepClassifierPyTorch #### Does your contribution introduce a new dependency? If yes, which one? No #### What should a reviewe...
diff --git a/sktime/classification/deep_learning/base/_base_torch.py b/sktime/classification/deep_learning/base/_base_torch.py index 5645c606a7b..6e16149a92c 100644 --- a/sktime/classification/deep_learning/base/_base_torch.py +++ b/sktime/classification/deep_learning/base/_base_torch.py @@ -432,7 +432,7 @@ def _instan...
1
1
1
[{"id": "G0", "claim": "The PR should include a test covering the bug fix it makes.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sktime__sktime__9433
sktime/sktime
9,433
defect
21e243853ab335b171c7811b091db1230d8c3752
d9b6d7fbdb94e9edb077445215d09c791ce6eefc
[BUG] Replace `.rename()` with `.rename_categories()` to prevent `FutureWarning` in `DateTimeFeatures`
#### Reference Issues/PRs Fixes #9432 #### What does this implement/fix? Explain your changes. Added rename_categories in `sktime/transformations/series/date.py:461`. Changed freq = "H" to freq="h" in `sktime/transformations/series/date.py:400` to prevent warning. #### Does your contribution introduce a new ...
diff --git a/sktime/transformations/series/date.py b/sktime/transformations/series/date.py index 01b7a55b42f..e587189708b 100644 --- a/sktime/transformations/series/date.py +++ b/sktime/transformations/series/date.py @@ -458,21 +458,17 @@ def _prep_dummies(DUMMIES): col = DUMMIES["child"] DUMMIES.insert(0, ...
2
2
1
[{"id": "G0", "claim": "A small regression test should be added asserting that no warnings are raised during `fit_transform`, so CI would catch it if `rename_categories` itself gets deprecated down the road.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim":...
null
sktime__sktime__9866
sktime/sktime
9,866
defect
8d013788635dfa8ff69ccb0c7d8ba6b6a3567f1f
0f8e6398dc3531551deecc22e2c330ff809397a4
[ENH] Move `SquaringResiduals` test skip rule to estimator tag
#### Reference Issues/PRs Towards #8515 #### What does this implement/fix? Explain your changes. - Removed `SquaringResiduals` from `EXCLUDED_TESTS` in `sktime/tests/_config.py`. - Added `tests:skip_by_name` tag to `SquaringResiduals` along with the corresponding skipped tests. #### Does your contribution ...
diff --git a/sktime/forecasting/squaring_residuals.py b/sktime/forecasting/squaring_residuals.py index 745a8fec7bb..3e812ccc5c0 100644 --- a/sktime/forecasting/squaring_residuals.py +++ b/sktime/forecasting/squaring_residuals.py @@ -99,6 +99,13 @@ class SquaringResiduals(BaseForecaster): "capability:insample":...
1
1
0
[{"id": "G0", "claim": "The new tests:skip_by_name list drops the inline rationale that previously documented why each test is skipped and that test_predict_time_index_with_X was treated separately per #4765, so brief per-test comments or a split comment should be added to clarify which issues map to which skipped test...
null
sktime__sktime__9875
sktime/sktime
9,875
defect
c007be73255325e5c4d670758a111343fc687649
d17ea2bfa2c325328af8413386e16ed87c072332
[BUG] Fix `TinyTimeMixerForecaster` `AttributeError` with `transformers>=5.0`
Add _tied_weights_keys class attribute to TinyTimeMixerPreTrainedModel to satisfy the PreTrainedModel interface in transformers v5. Also handle tuple-type entries in mismatched_keys which transformers v5 may return. Closes #9827 <!-- Welcome to sktime, and thanks for contributing! Please have a look at our cont...
diff --git a/sktime/forecasting/ttm.py b/sktime/forecasting/ttm.py index e491e1da406e..1b9e1685b27b 100644 --- a/sktime/forecasting/ttm.py +++ b/sktime/forecasting/ttm.py @@ -463,6 +463,10 @@ def _fit(self, y, X, fh): # Adjust requires_grad property of model weights based on info for key in ...
2
2
2
[{"id": "G0", "claim": "The fix should be made compatible with both newer and older transformers versions — adding `all_tied_weights_keys` must be verified not to break usage on transformers 4.X while working on >=5.0.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id":...
null
sktime__sktime__9960
sktime/sktime
9,960
defect
ed3c0fc3eaa7682e4ce29211bbcfbe34265ac50c
03739551e4e396b568c441603c44e2b6df037657
[ENH] add second parameter set for `TimeSeriesKernelKMeans`
adds a second parameter set for `TimeSeriesKernelKMeans`. This estimator is a `tests:core` estimator, so would fail on standard testing.
diff --git a/sktime/clustering/kernel_k_means.py b/sktime/clustering/kernel_k_means.py index b81c1596e5a..9bb535db545 100755 --- a/sktime/clustering/kernel_k_means.py +++ b/sktime/clustering/kernel_k_means.py @@ -154,7 +154,7 @@ def get_test_params(cls, parameter_set="default") -> dict: instance. ...
2
1
0
[{"id": "G0", "claim": "Setting `verbose=True` in the new `params1` test parameters may spam CI logs and make failures harder to read; unless verbosity is explicitly needed to cover a code path, it should be kept `False` (or gated behind a dedicated debug parameter set).", "category": "maintainability", "verdict": "sup...
null
sktime__sktime__9975
sktime/sktime
9,975
defect
f88cf27b6da4e20e97a8833f67be509f27dcffbd
c2724986e85bf660db1c44abf2a617f2248c4918
[ENH] Move StackingForecaster test skip from _config to estimator tags
#### Reference Issues/PRs Related to #8515 #### What does this implement/fix? Explain your changes. Moves test skip config for `StackingForecaster` from the central `sktime/tests/_config.py` to the estimator's own `_tags`, as part of the refactoring tracked in #8515. Specifically: - Removed `StackingFo...
diff --git a/.all-contributorsrc b/.all-contributorsrc index 1c61e2dac90..58aeb9aeaac 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -2805,6 +2805,13 @@ "profile": "https://github.com/gun29may", "contributions": ["doc"] }, + { + "login": "paramsureliya", + "name": "Param S...
1
1
0
[{"id": "G0", "claim": "The contribution type added for paramsureliya in .all-contributorsrc should be \"code\" only rather than [\"code\", \"maintenance\"].", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sky-ecosystem__pymaker__105
sky-ecosystem/pymaker
105
defect
3392473ffce7bf97db5869f0cd232a62285efb3b
f25088d56a95bdeb6b2670fb644f885fcd2df8ba
Configure MCD using network name
Added constructor and config files to support configuring from a network name, for use in `auction-keeper`.
diff --git a/tests/config/kovan-addresses.json b/config/kovan-addresses.json similarity index 100% rename from tests/config/kovan-addresses.json rename to config/kovan-addresses.json diff --git a/tests/config/testnet-addresses.json b/config/testnet-addresses.json similarity index 100% rename from tests/config/testnet-a...
1
1
0
[{"id": "G0", "claim": "The commented-out ganache connection block in tests/conftest.py's web3 fixture may no longer be needed and is asked to be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
sky-ecosystem__pymaker__146
sky-ecosystem/pymaker
146
defect
141cd211b162f5f70433985057f1cacb3aa778e3
561b77a423648b259c961c746deb007f76273c19
Updated addresses for the 1.0.2 release, added OSM peek and peep.
Added @nanexcool to confirm coolness with my OSM `peek` and `peep`, since `toll` is only for smart contracts consuming the feed, and since everyone else is reading prices in this fashion. @grandizzy: Please review everything else. Note our local testnet doesn't have an OSM, so I didn't write a unit test. Integrati...
diff --git a/config/kovan-addresses.json b/config/kovan-addresses.json index 65f2fb11..87882218 100644 --- a/config/kovan-addresses.json +++ b/config/kovan-addresses.json @@ -1,48 +1,48 @@ { "DEPLOYER": "0xdB33dFD3D61308C33C63209845DaD3e6bfb2c674", - "MULTICALL": "0xc6d81a2e375eee15a20e6464b51c5fc6bb949fda", - "F...
2
1
0
[{"id": "G0", "claim": "Extract the logic for extracting the price into a separate helper (e.g. `_extract_price(storage)`) with a unit test, and reuse it in both `peek` and `peep`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`peek` should per...
null
sky-ecosystem__pymaker__157
sky-ecosystem/pymaker
157
defect
2832d8cbce832447966aaea0e5d31cb9f7c4d47d
fd257791daad9fb7fb8ee71fd7fa6e1b53657948
Add move, flux and fork support to DSS Vat model
This will add support for the following functions based on the current Vat contract implementation: - `move`: transfer Dai between users - `flux`: transfer collateral between users - `fork`: split a Vault - binary approval or splitting/merging Vault's Function descriptions based on [Maker Vat Glossary](https://...
diff --git a/pymaker/dss.py b/pymaker/dss.py index fbb4ff22..2b8ce0ae 100644 --- a/pymaker/dss.py +++ b/pymaker/dss.py @@ -384,6 +384,57 @@ def line(self) -> Rad: """ Total debt ceiling """ return Rad(self._contract.functions.Line().call()) + def flux(self, ilk: Ilk, src: Address, dst: Address, w...
3
3
2
[{"id": "G0", "claim": "tests/test_dss.py should be updated to exercise the new flux, move and fork methods.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The move function should take a Rad instead of a Wad, since the vat contract's move takes a Rad."...
null
sky-ecosystem__pymaker__194
sky-ecosystem/pymaker
194
defect
7e65edf6bba870caceaf429fdce7385b0c30443a
35d1992276d82e8f2b68afec82d0e02fd83b1369
Request auction logs by block range, consistent with past_frobs
This change facilitates scraping the chain for auction details from a particular point in time.
diff --git a/pymaker/auctions.py b/pymaker/auctions.py index d70fe2c4..b06d6440 100644 --- a/pymaker/auctions.py +++ b/pymaker/auctions.py @@ -16,6 +16,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. from datetime import datetime +import logging from pprint import pformat from typing ...
1
1
0
[{"id": "G0", "claim": "Consider adding a logger.debug statement in get_past_lognotes recording the requested block range, taken from Vat.past_frobs.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sky-ecosystem__pymaker__201
sky-ecosystem/pymaker
201
defect
71ec71e875f339a34f6fad8c195c7ab2b7b55713
735bd7b650993d01d2649e6e0d9eba9bafc727ce
Implement a serial-incrementing nonce for third-party node providers
The old implementation merely checked if a node was Parity, so it could use `parity_nextNonce` and used `getTransactionCount("pending")` for any non-Parity node. The new implementation offers a third option, which calls `getTransactionCount` once upon submission of the first transaction, and then atomically increments...
diff --git a/README.md b/README.md index 440d9219..8c80bbcb 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,12 @@ As such, certain JSON-RPC calls in `__init__.py` may not function properly. response from the websocket, breaking some core `pymaker` functionality in `Lifecycle` and `Transact` classes. * When usin...
8
3
2
[{"id": "G0", "claim": "The hard-coded providers_without_nonce_calculation list is likely incomplete: other third-party providers also need the serial nonce, but the author has no API keys to test them.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": ...
null
sky-uk__cqlmigrate__101
sky-uk/cqlmigrate
101
defect
f5bbbffbddedf99d2b6fad7c972a20e80403fc7a
abfa51ceead1b10145a80b6f9c87db3e98cfab5b
Dh preflight checks
This pull request is to provide functionality to check whether a cql migrate should be carried out or not, before taking up resources such as locks. It checks that the keyspace exists. If not it will migrate. It checks that the table exists. If not it will migrate. It checks whether the files specified have the same...
diff --git a/src/main/java/uk/sky/cqlmigrate/ChecksumCalculator.java b/src/main/java/uk/sky/cqlmigrate/ChecksumCalculator.java new file mode 100644 index 0000000..83a5e61 --- /dev/null +++ b/src/main/java/uk/sky/cqlmigrate/ChecksumCalculator.java @@ -0,0 +1,30 @@ +package uk.sky.cqlmigrate; + +import java.io.IOExceptio...
1
1
0
[{"id": "G0", "claim": "The duplicated keyspace/table creation and insert commands in PreMigrationCheckerIntegrationTest should be factored into shared, more descriptive helpers to keep the tests maintainable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sky-uk__cqlmigrate__122
sky-uk/cqlmigrate
122
defect
bdcd62e21d11bae2107489cac0786b851d19c32b
6f7b5c104c4ee239b1346ca40fad887cdb404a85
feat: Add option to postpone table check
- The check of system table if table is in ACTIVE state might need to be delay as it is not always immidiatelly updated by AWS Keyspaces
diff --git a/README.md b/README.md index 37c76c1..691e236 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ CqlMigratorConfig cqlMigratorConfig = CqlMigratorConfig.builder() .withLockConfig(lockConfig) .withReadConsistencyLevel(ConsistencyLevel.LOCAL_ONE) .withWriteConsistencyLevel(Con...
1
1
1
[{"id": "G0", "claim": "There is no easy way to simulate in a unit test the situation where the initial delay helps, so the new initial-delay behaviour is left untested.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
sky-uk__cqlmigrate__16
sky-uk/cqlmigrate
16
defect
bb9bc4cdab77d6e8ba6da4f67a84725e2017be61
92bb69e1f28eebfa545832b8d6899fe41ffcd3f8
Support files embedded within a JAR in CqlMigrate
This is the first pass of a fix to https://github.com/sky-uk/cqlmigrate/issues/15. The first two commits set up a failing functional test; the last is the actual code fix. We have a few concerns with the current approach and would welcome feedback or input: - The func test consists of a JAR launched from Gradle. A ...
diff --git a/functional/build.gradle b/functional/build.gradle new file mode 100644 index 0000000..9524f99 --- /dev/null +++ b/functional/build.gradle @@ -0,0 +1,65 @@ +plugins { + id 'java' + id 'idea' + id 'maven' +} + +group = 'uk.sky.cirrus' +sourceCompatibility = '1.8' + +repositories { + mavenCentral(...
7
4
0
[{"id": "G0", "claim": "The Gradle wrapper configuration should live only in the top level rather than being duplicated in the separate functional module.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The group setting should be in the top-level build r...
null
sky-uk__cqlmigrate__41
sky-uk/cqlmigrate
41
defect
61201997d5d2e5f251452446b8685b253c144c6a
a13dcb99794448fae29a6e44156a4125d7adb3b5
Jose Taboada: Cassandra 3 added
I've added Cassandra 3 compatibility. All the tests are passing. But would be nice to test that it works with Cassandra 2 also.
diff --git a/.travis.yml b/.travis.yml index a52b32a..b636ccb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,4 +3,4 @@ jdk: - oraclejdk8 script: - - ./gradlew clean check \ No newline at end of file + - ./gradlew clean check -Dcassandra.storagedir=/tmp/cassandra \ No newline at end of file diff --git a/README...
4
2
0
[{"id": "G0", "claim": "The compile scope of the Cassandra driver should be changed to compileOnly (like Maven's provided), forcing users of cqlmigrate to choose their own driver version.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Testing against m...
null
sky-uk__cqlmigrate__57
sky-uk/cqlmigrate
57
defect
5dbbf96e011de205f0bf2b15c85110b62dc392db
de405874df21a6e4e8f2461e11ff86ce9abae000
Parse cql files with code comments
CqlFileParser reimplemented (#56). We should ignore code comments, normalize queries and preserve newline in valueExpressions.
diff --git a/src/main/java/uk/sky/cqlmigrate/CqlFileParser.java b/src/main/java/uk/sky/cqlmigrate/CqlFileParser.java index afd6928..c7d306c 100644 --- a/src/main/java/uk/sky/cqlmigrate/CqlFileParser.java +++ b/src/main/java/uk/sky/cqlmigrate/CqlFileParser.java @@ -1,17 +1,17 @@ package uk.sky.cqlmigrate; import com...
11
9
0
[{"id": "G0", "claim": "Parsing a .cql migration file that has multiple empty lines at the end raises IllegalStateException \"File had a non-terminated cql line\" from LineProcessor.check.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The end-of-...
null
sky-uk__cqlmigrate__76
sky-uk/cqlmigrate
76
defect
95d245062cc72baed6d180c0e85cfab980df082b
a4fd10058609dee39d367675859747a8b0304256
Remove Guava usages in main source in favor of JDK built-ins
### Notes * Related to https://github.com/sky-uk/cqlmigrate/issues/75
diff --git a/README.md b/README.md index a0f424f..3b83890 100644 --- a/README.md +++ b/README.md @@ -51,8 +51,8 @@ import com.datastax.driver.core.*; // Configure locking for coordination of multiple nodes CassandraLockConfig lockConfig = CassandraLockConfig.builder() - .withTimeout(Duration.standardSeconds(...
2
2
1
[{"id": "G0", "claim": "The Guava version being pulled in is still an older version and causes test failures, so the cassandraunit dependency also needs upgrading.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The bytesToHex implementation does not...
null
sky-uk__cqlmigrate__86
sky-uk/cqlmigrate
86
defect
27886e7a36b4650786055f53205147210aa22034
61170ba7042d15d524c6d5f60cf8618fc6eeb750
Added ability to set consistency on cassandra locking mechanism
Added ability to set consistency on cassandra locking mechanism
diff --git a/README.md b/README.md index 3b83890..aca1a16 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ import com.datastax.driver.core.*; CassandraLockConfig lockConfig = CassandraLockConfig.builder() .withTimeout(Duration.ofSeconds(3)) .withPollingInterval(Duration.ofMillis(500)) + ...
1
1
0
[{"id": "G0", "claim": "The default consistency level (ConsistencyLevel.LOCAL_ONE) of CassandraLockConfigBuilder is not tested; can you add a test for it.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
sky-uk__cqlmigrate__89
sky-uk/cqlmigrate
89
defect
f8b7c255a9adaa8eabe3120ffbddd7a72b577f3f
dab3371c6badd904ecf86a13dd2116262aadeab9
Custom name for locking keyspace
I'm trying to make locking keyspace name custom, with default value of "cqlmigrate".
diff --git a/src/main/java/uk/sky/cqlmigrate/CassandraLockConfig.java b/src/main/java/uk/sky/cqlmigrate/CassandraLockConfig.java index 4317667..449b186 100644 --- a/src/main/java/uk/sky/cqlmigrate/CassandraLockConfig.java +++ b/src/main/java/uk/sky/cqlmigrate/CassandraLockConfig.java @@ -15,8 +15,8 @@ private Cassandra...
2
2
1
[{"id": "G0", "claim": "Rather than making lockKeyspace a parameter of getLockingMechanism (which forces the method's interface and many files to change), it would be better suited as a field of the CassandraLockConfig class, set and defaulted by the CassandraLockConfigBuilder.", "category": "design", "verdict": "suppo...
null
sky-uk__cqlmigrate__90
sky-uk/cqlmigrate
90
defect
f8b7c255a9adaa8eabe3120ffbddd7a72b577f3f
764da59d6409b760ad83f0e0ed7522d6f29ab1a1
Fail gracefully if lock cannot be obtained
Perform a read on the locks before attempting to write one. Should make some failure cases around consistency more gracefully retryable. Addresses https://github.com/sky-uk/cqlmigrate/issues/87
diff --git a/src/main/java/uk/sky/cqlmigrate/CassandraLockingMechanism.java b/src/main/java/uk/sky/cqlmigrate/CassandraLockingMechanism.java index 4bce68f..d6a1788 100644 --- a/src/main/java/uk/sky/cqlmigrate/CassandraLockingMechanism.java +++ b/src/main/java/uk/sky/cqlmigrate/CassandraLockingMechanism.java @@ -19,6 +1...
2
1
0
[{"id": "G0", "claim": "Extract the inline lock-verification comments in acquire() into a separately named method (suggested name: verifyClusterIsHealthy) instead of leaving them as comments.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The te...
null
sky-uk__cqlmigrate__97
sky-uk/cqlmigrate
97
defect
bfe7de7cc527013b3f25d292b58565bfc58559ef
8e0c9bd2482d9530072c46581996447ef78b8b66
Migrate existing tests from scassandra to simulacron
Pulling the simulacron changes out of the PR for #92 and making it work with the current cassandra-driver-3.x. The hope is this helps unblock the client-4.x upgrade and separates the parts for a more obvious upgrade path. This addresses #91
diff --git a/build.gradle b/build.gradle index a8ae234..ee230a3 100644 --- a/build.gradle +++ b/build.gradle @@ -72,8 +72,8 @@ dependencies { testImplementation('org.powermock:powermock-api-mockito2:2.0.0') testImplementation('org.powermock:powermock-module-junit4:2.0.0') testImplementation('org.awaitili...
2
2
0
[{"id": "G0", "claim": "The new test class file should be renamed away from CqlMigratorConsistencyLevelIntegrationTestSimulacron because the name is too implementation-specific.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The shouldDoNothingW...
null
sky1wu__Bili-SyncPlay__112
sky1wu/Bili-SyncPlay
112
defect
750de0ff2c766022988987e1818245bcbd000a43
4311a17fd793b2feee2c406a632a7f2f37b68455
fix: stop stale page-bridge state from leaking after bangumi SPA navigation
## Summary - 复现:A、B 两个客户端同步播放 `ep1231523`,A 在该页面点开推荐里的另一番剧(`ss73077`),未点同步;B 的播放器被 A 错乱的 `paused t=0.22` / `play t=6.20` 状态反复 hard-seek,A 之后手动点同步也不能让 B 切换到新番剧。 - 根因属于 PR #110 同一家族:SPA 跨番剧切换时 `__INITIAL_STATE__.epInfo / epList` 残留旧番剧数据,但 page-bridge 的候选优先级让这些 stale 字段比 `__playinfo__` 更高;同时 `applyRoomState` 在 `ignore-non...
diff --git a/extension/src/content/navigation-controller.ts b/extension/src/content/navigation-controller.ts index 6f748f1c..06ccc642 100644 --- a/extension/src/content/navigation-controller.ts +++ b/extension/src/content/navigation-controller.ts @@ -60,6 +60,25 @@ export function createNavigationController(args: { ...
1
1
1
[{"id": "G0", "claim": "Setting postNavigationAnchorSharedUrl whenever nextNormalizedPageUrl !== activeSharedUrl misjudges same-episode /ep->/ss equivalent-route switches as cross-video navigation, leaving the anchor stuck on post-navigation-stale-url so broadcastPlayback stops broadcasting and the user's playback can ...
null
sky1wu__Bili-SyncPlay__28
sky1wu/Bili-SyncPlay
28
defect
cb4057276c6ebdb65c6421d7f4a457755d68d801
5d68d7179ecca496f37292037ff0bc1f39f40259
[codex] fix: recover leave room failure paths
## Summary - recover room membership and session state when empty-room leave finalization fails - degrade leave-room member-change broadcast failures to structured logs so the leave still completes - add regression coverage for both recovery and broadcast-failure paths ## Why Issue #13 points out that `leaveRoom` had ...
diff --git a/server/src/message-handler.ts b/server/src/message-handler.ts index c6b8656b..09f5a749 100644 --- a/server/src/message-handler.ts +++ b/server/src/message-handler.ts @@ -120,7 +120,20 @@ export function createMessageHandler(options: { } options.onRoomLeft?.(session, roomCode); - await publis...
1
1
1
[{"id": "G0", "claim": "When the session has been replaced by a new connection, runtimeStore.removeMember does not actually remove the member, so the unconditional restoreLeaveState in the catch block would re-add the stale snapshot and overwrite the current valid session's member binding when resolveRoom or the persis...
null
sky1wu__Bili-SyncPlay__79
sky1wu/Bili-SyncPlay
79
defect
3c188c3e3126f51ec6571e9b4af893b5f44d1787
8eac5d7ff4c02f5ecd70f5c2a665940765feb2a0
feat: add benchmark baselines
## Summary - add reproducible benchmark entry points under `bench/` for single-node playback fan-out, cross-node Redis broadcast latency, and reconnect storms - emit stable JSON results with throughput, latency percentiles, and error rate, plus lightweight unit coverage for the shared stats/report helpers - document th...
diff --git a/README.md b/README.md index 042fbdef..9354ad5b 100644 --- a/README.md +++ b/README.md @@ -239,6 +239,64 @@ Development constraints: - Run `npm run lint`, `npm run format:check`, `npm run typecheck`, `npm run build`, and `npm test` before committing changes. - See [CONTRIBUTING.md](./CONTRIBUTING.md) for ...
8
8
8
[{"id": "G0", "claim": "When no watchers are sampled, the benchmark still registers an empty pending watcher Set per seq that is never cleaned up, so the drain loop always waits the full 5 seconds and systematically distorts the benchmark's duration and throughput baselines.", "category": "correctness", "verdict": "sup...
null
sky1wu__Bili-SyncPlay__89
sky1wu/Bili-SyncPlay
89
defect
2ad22705bc26c29e463a84d614a611671016cfae
d5b6cbc76e6f22119b6f0beeadfa0e9660147d77
feat(protocol): introduce protocolVersion in handshake phase (#72)
## Summary - 在协议包添加 `PROTOCOL_VERSION` 常量和 `unsupported_protocol_version` 错误码 - `room:create` / `room:join` 消息新增可选 `protocolVersion` 字段 - `room:created` / `room:joined` 响应新增可选 `serverProtocolVersion` 字段 - 服务端在处理 `room:create` / `room:join` 时校验 `protocolVersion`,低于 `MIN_PROTOCOL_VERSION` 时拒绝 - 旧扩展(无 `protocolVersion`)按兼...
diff --git a/extension/src/background/room-session-controller.ts b/extension/src/background/room-session-controller.ts index c695005e..601c01e2 100644 --- a/extension/src/background/room-session-controller.ts +++ b/extension/src/background/room-session-controller.ts @@ -3,6 +3,7 @@ import type { ServerMessage, Cl...
3
3
0
[{"id": "G0", "claim": "Clients can keep sending low-protocol-version room:create/room:join requests that return early before consumeFixedWindow, bypassing the session rate limit and causing resource and log noise; move version validation after the rate limit or add a separate rate limit for that rejection path.", "cat...
null
sky1wu__Bili-SyncPlay__94
sky1wu/Bili-SyncPlay
94
defect
ba6ef3d99c21846f46c574d0ec6144d94f38c132
fd7c9fce9423d9d9c2edf25ab5f2ec78ff5c9652
[codex] Improve admin event visibility
## Summary - Make admin room and runtime events read like user operation history, including joins/leaves, playback actions, and video shares. - Group runtime events by room and hide noisy system events such as `room_event_consumed` by default. - Improve room lists and detail panels with clearer playback state, media t...
diff --git a/server/admin-ui/demo-data.js b/server/admin-ui/demo-data.js index 8261fe84..063d1c8c 100644 --- a/server/admin-ui/demo-data.js +++ b/server/admin-ui/demo-data.js @@ -116,13 +116,34 @@ export function createDemoData() { const events = [ { timestamp: now - 1000 * 15, - event: "playback_sy...
3
3
3
[{"id": "G0", "claim": "The owner branch of profile:update unconditionally runs updateRoom even when setSessionDisplayName made no change, advancing room.version / lastActiveAt, adding needless persistence writes and concurrent version conflicts that make playback:update drop valid updates; it should only persist owner...
null
skydiscover-ai__skydiscover__55
skydiscover-ai/skydiscover
55
defect
efe64b89a6bd39a1791d4077a0b5f07243a5be79
a99fc288c9c3b2cad9b96725ffc2298960740edb
fix: paradigm generator fails with reasoning models
# fix: paradigm generator fails with reasoning models ## Problem When using reasoning models like GPT-5.4, the `ParadigmGenerator` in AdaEvolve always failed to produce ideas. There were three bugs: 1. **Wrong output format.** Reasoning models see the program code in the prompt and return code patches (`*** Be...
diff --git a/skydiscover/llm/openai.py b/skydiscover/llm/openai.py index bcf1e8f9..6ee97b47 100644 --- a/skydiscover/llm/openai.py +++ b/skydiscover/llm/openai.py @@ -154,6 +154,11 @@ async def _generate_text( if reasoning_effort is not None: params["reasoning_effort"] = reasoning_effort ...
9
3
2
[{"id": "G0", "claim": "Strategy 3's language-tag stripping only accepts JSON arrays, so code blocks containing a language tag and a top-level object (e.g. ```json\\n{...}```) will fail to be extracted; the check should be expanded to include both { and [.", "category": "correctness", "verdict": "uncertain", "priority"...
null
skydive-project__skydive__1003
skydive-project/skydive
1,003
defect
41e1119682bb29ab312d1c4ff435f3160d108848
025506e82ffc0495ef7c912790516698f2b81ee1
k8s: fix flapping tests (especially pod, container)
k8s would fail sometimes as there was no mechanism to ensure skydive has seen the newly created k8s objects. A retry loop has been added to all k8s create object tests (10 retires with 1 second wait), eliminating this race and making the tests more stable. If functional tests pass consistently again and again then t...
diff --git a/tests/k8s/container.yaml b/tests/k8s/container.yaml new file mode 100644 index 0000000000..9f73ed8539 --- /dev/null +++ b/tests/k8s/container.yaml @@ -0,0 +1,29 @@ +apiVersion: v1 +kind: Pod +metadata: + name: skydive-test-container +spec: + containers: + - name: skydive-test + image: nginx + port...
2
2
0
[{"id": "G0", "claim": "testNodeCreation should use the existing common.Retry helper instead of the hand-rolled retry loop the PR adds.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new check should log the Gremlin query with t.Log instead of fmt.Pr...
null
skydive-project__skydive__1037
skydive-project/skydive
1,037
defect
cde6763fcef6e5491973359c72eec64de674c9ff
fa59432ed190474d01650400fea9359177e7c79a
k8s: add persistent-volume probe
To enable add: ``` k8s: probes: - persistentvolume ``` And create using: ``` kubectl create -f tests/k8s/persistentvolume.yaml ```
diff --git a/etc/skydive.yml.default b/etc/skydive.yml.default index 19583ce9b9..feaa5dc072 100644 --- a/etc/skydive.yml.default +++ b/etc/skydive.yml.default @@ -370,6 +370,7 @@ k8s: - namespace - networkpolicy - node + - persistentvolume - pod - service diff --git a/statics/js/components/layout.js b...
2
2
1
[{"id": "G0", "claim": "The test for replicationcontroller is unrelated to this persistent-volume PR and should be replaced with a persistent-volume test, and the tests should cover a full scenario with multiple node types including false positives.", "category": "testing", "verdict": "supported", "priority": "P2", "sc...
null
skydive-project__skydive__1097
skydive-project/skydive
1,097
defect
6b2b91bcec55d88637e77f735c18afef37e213bd
9af67ca0a1820889dfb42455df1241ff48296c06
K8s hellonode scenario
simply make sure that k8s tests run, when developing the tests I discovered some issues with links: - cluster --> node - node --> pod So for now (until fixing the k8s probe) these were eliminated from the test scenario
diff --git a/gremlin/query.go b/gremlin/query.go index 76abd1a213..a58078cd09 100644 --- a/gremlin/query.go +++ b/gremlin/query.go @@ -186,6 +186,16 @@ func (q QueryString) Out(list ...interface{}) QueryString { return q.newQueryString("Out", list...) } +// OutE append a OutE() operation to query +func (q QueryStr...
2
2
0
[{"id": "G0", "claim": "In queryNodeCreation the Gremlin query should be logged with t.Logf, passing the t variable, instead of fmt.Printf.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since k8sDelaySeconds already says it is in seconds, the t...
null
skydive-project__skydive__1163
skydive-project/skydive
1,163
defect
3824ae23c977109d53c81ccd1da5a57907c58a45
a732bffc4ecd9dbcc6236101d18ee860da2cabfd
K8s: netpol default rules (allow/deny)
In this change I handle creation of edges for expressing default policies: - ingress allow all - ingress deny all - egress allow all - egress deny all PR includes tests. NOTE: PR depends on https://github.com/skydive-project/skydive/pull/1150 (first commit is from that PR) and should be merged only after th...
diff --git a/tests/k8s/networkpolicy-egress-allow.yaml b/tests/k8s/networkpolicy-egress-allow.yaml new file mode 100644 index 0000000000..6de0179a32 --- /dev/null +++ b/tests/k8s/networkpolicy-egress-allow.yaml @@ -0,0 +1,10 @@ +apiVersion: networking.k8s.io/v1 +kind: NetworkPolicy +metadata: + name: skydive-test-netw...
1
1
1
[{"id": "G0", "claim": "On every pod or namespace creation/update, the links for every network policy are recomputed, whereas the previous code computed links only for the affected namespace or pod.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
skydive-project__skydive__1187
skydive-project/skydive
1,187
defect
606fc084f02a13e4be83808a9470048e74ccbf5c
fc2f9cee14c1e55983541baeb043872ae08a34d7
opencontrail: add routing table in Contrail metadatas
This commit adds the Contrail routing table in the Contrail metadata of a node. It relies on the Contrail binary `rt` to be notified on route updates. skip skydive-go-fmt skip skydive-functional-tests-backend-elasticsearch skip skydive-functional-tests-backend-orientdb skip skydive-scale-tests skip skydive-cdd...
diff --git a/tests/opencontrail_test.go b/tests/opencontrail_test.go index 87ae6a1292..91804c5b1d 100644 --- a/tests/opencontrail_test.go +++ b/tests/opencontrail_test.go @@ -40,3 +40,33 @@ func TestOpenContrailTopology(t *testing.T) { RunTest(t, test) } + +func TestOpenContrailRoutingTable(t *testing.T) { + test ...
8
8
2
[{"id": "G0", "claim": "The JSON tag of the NhId field should be camel case (\"NhId\") rather than \"Nh_id\", as Skydive uses camel case keys.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The easyjson:json comment should be added to the route stru...
null
skydive-project__skydive__1246
skydive-project/skydive
1,246
defect
1c57c53b03f71620fb63ac72fddb0e16bd6c7a75
ceeacea4a6ba33b7bcea5f63289a3778e201a1b5
k8s: ingress links
WIP: no need to review at this phase to view you can run: ``` kubectl create -f tests/k8s/ingress1.yaml ```
diff --git a/tests/k8s/ingress1.yaml b/tests/k8s/ingress1.yaml new file mode 100644 index 0000000000..f8b8a565b8 --- /dev/null +++ b/tests/k8s/ingress1.yaml @@ -0,0 +1,18 @@ +kind: Ingress +apiVersion: extensions/v1beta1 +metadata: + name: skydive-test-ingress1 +spec: + backend: + serviceName: skydive-test-ingress...
3
2
0
[{"id": "G0", "claim": "The added lookupChildren function is a needless C-style binding wrapper with no purpose in this PR.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The link from ingress to service may need to be removed on the OnNodeDelet...
null
skydive-project__skydive__1250
skydive-project/skydive
1,250
defect
d1fc318d7a7a04432dbde87f7a7989fdf48cdd6d
b21dee8d985e247d3b8d80649bfbedbd1d08749b
k8s: netpol edges to ingress.from and egress.to
To test you can run: ``` kubectl create -f tests/k8s/networkpolicy-ingress-allow-pod.yaml ```
diff --git a/statics/css/graph-layout.css b/statics/css/graph-layout.css index 663f3adf87..580a5100ae 100644 --- a/statics/css/graph-layout.css +++ b/statics/css/graph-layout.css @@ -108,9 +108,9 @@ circle.emphasized { .links path.networkpolicy { stroke-dasharray: 5; stroke-dashoffset: 80; - stroke: rgb(50, 10...
1
1
0
[{"id": "G0", "claim": "The pull request should keep using rgb or rgba color notation for the networkpolicy link stroke instead of the hex value #eee.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
skydive-project__skydive__1255
skydive-project/skydive
1,255
defect
962d3f90d09efbf813481d8879144d42a4be26f5
8af80ccf737f9795ef113d6a00b0336e72f03c71
k8s: netpol support namespace <--> namespace(s) policy
You can test the new code using: ``` kubectl create -f tests/k8s/networkpolicy-ingress-allow-namespace.yaml ```
diff --git a/tests/k8s/networkpolicy-ingress-allow-namespace.yaml b/tests/k8s/networkpolicy-ingress-allow-namespace.yaml new file mode 100644 index 0000000000..e5689453b4 --- /dev/null +++ b/tests/k8s/networkpolicy-ingress-allow-namespace.yaml @@ -0,0 +1,27 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: skydiv...
1
1
0
[{"id": "G0", "claim": "selectedNamespaces should assign nodes = n.namespacesToNodes(nss) directly instead of building an intermediate nsNodes slice and appending it.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "pre_existing"}]
null
skydive-project__skydive__1423
skydive-project/skydive
1,423
defect
f26d842c102265d83ffaa0469f01b915934f30ba
99c1ab523c7f7f58defafd11611ab0fade666e4c
libvirt: initial version of libvirt probe
Libvirt probe dynamically polls the status of libvirt domains and their network interfaces. For each new interface, it tries to enrich the coresponding tun device with the name of the domain, the guest mac and the complete address of the device on the guest pci bus. The probe relies on libvirt-go the official go ...
diff --git a/agent/probes.go b/agent/probes.go index 9a52c6d2d2..b80aeda9b2 100644 --- a/agent/probes.go +++ b/agent/probes.go @@ -31,6 +31,7 @@ import ( "github.com/skydive-project/skydive/probe" "github.com/skydive-project/skydive/topology/graph" "github.com/skydive-project/skydive/topology/probes/docker" + "gi...
24
18
3
[{"id": "G0", "claim": "Use the pure-Go DigitalOcean go-libvirt library instead of the cgo libvirt-go bindings so the probe compiles statically, or, if that does not work out, do it in a following PR.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add libv...
null
skydive-project__skydive__1543
skydive-project/skydive
1,543
defect
91533c341d04c89f3849c2e71e86425bf14c05b9
7da26f8933fca5f2c9daa0fe60853860f62812d5
K8s netpol linker
the networkpolicy was using CreateEdge() rather than NewEdge() as a result edges were often not being added to the graph, making k8s tests flaky.
diff --git a/topology/probes/k8s/cache.go b/topology/probes/k8s/cache.go index 0a9983060f..a880ac76ef 100644 --- a/topology/probes/k8s/cache.go +++ b/topology/probes/k8s/cache.go @@ -160,10 +160,24 @@ func matchSelector(obj metav1.Object, selector labels.Selector) bool { return selector.Matches(labels.Set(obj.GetLabe...
7
7
0
[{"id": "G0", "claim": "NewABLinker should not take a graph.Linker that is immediately cast back to ABLinkerInterface to retrieve the value the caller already had; create the ABLinker inside NewABLinker instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
skydive-project__skydive__1550
skydive-project/skydive
1,550
defect
91533c341d04c89f3849c2e71e86425bf14c05b9
0240e71debc3b979e2d985eb0b815098f3a93142
gremlin: fix NE predicate returned element not have key
Previously a node not have the key used by the NE predicate was returned, like: G.V().Has('AAAAAAAAAAAAAAAAAAAAAA', NE("")) Now it ensures that the key exists before appliying the NE predicate.
diff --git a/graffiti/graph/traversal/traversal.go b/graffiti/graph/traversal/traversal.go index b0ccd027eb..6da456c823 100644 --- a/graffiti/graph/traversal/traversal.go +++ b/graffiti/graph/traversal/traversal.go @@ -122,18 +122,26 @@ func KeyValueToFilter(k string, v interface{}) (*filters.Filter, error) { retu...
1
1
0
[{"id": "G0", "claim": "The `err` variable and the `if err != nil` check after the switch are unnecessary because err is only assigned and checked in the default case.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
skydive-project__skydive__1572
skydive-project/skydive
1,572
defect
629ca0a2f09ca0941bd7b49bc7e8e044bf04d1d7
4c8d9f31df3b2af7cd7b34222be04fd829197466
gremlin: dedup, hash a node even if not having a key
It is useful in case like following Dedup('LastUpdateMetric.Start', 'SFlow.LastUpdateMetric.Start') In such case some of the nodes have either LastUpdateMetric and some other have SFlow.LastUpdateMetric.
diff --git a/graffiti/graph/traversal/traversal.go b/graffiti/graph/traversal/traversal.go index 4b9229a833..056ff18060 100644 --- a/graffiti/graph/traversal/traversal.go +++ b/graffiti/graph/traversal/traversal.go @@ -895,6 +895,19 @@ func (tv *GraphTraversalV) Sort(ctx StepContext, keys ...interface{}) *GraphTrav r...
1
1
0
[{"id": "G0", "claim": "TestDedupMultiplefields adds the same query twice — the third block (`G.V().Dedup(\"Name\", \"Type\")`) seems to be the same test as the previous one.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
skydive-project__skydive__1573
skydive-project/skydive
1,573
defect
a4162b06e604b31a74fe0f5cef900b165289a28b
294dbbc525d518ace41bf2fb131ceb773a821194
topologyrule: Allow all the relation type
now edge-rule allows only ownership and layer2 in relation type. now allowing all. removed 'both' type.
diff --git a/statics/js/components/edgerule-form.js b/statics/js/components/edgerule-form.js index a2bc477d7f..08a0a7c8fb 100644 --- a/statics/js/components/edgerule-form.js +++ b/statics/js/components/edgerule-form.js @@ -28,12 +28,12 @@ Vue.component('edgerule-form', { </div>\ <div class="form-group...
2
2
1
[{"id": "G0", "claim": "The new default branch should check whether a link with the same relation type already exists before creating an edge.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The manual uuid.NewV5 call could be replaced with the exist...
null
skydive-project__skydive__1611
skydive-project/skydive
1,611
defect
e02b85be92a3859dfe21a84549d2fd8e0755bf60
1acc53d61c5cf4950ca35683485acd525df630e0
Istio: add link from destinationrule to service
This PR creates link between destinationrule and service probes. It also adds Istio test that checks this connection.
diff --git a/tests/istio/destinationrule-service.yaml b/tests/istio/destinationrule-service.yaml new file mode 100644 index 0000000000..cd774c7ad0 --- /dev/null +++ b/tests/istio/destinationrule-service.yaml @@ -0,0 +1,23 @@ +apiVersion: v1 +kind: Service +metadata: + name: skydive-test-destinationrule-service + labe...
1
1
0
[{"id": "G0", "claim": "Using mapstructure just to map the single 'host' attribute is overkill; a direct lookup 'dr.Spec[\"host\"] == service.Labels[\"app\"]' should be enough.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
skydive-project__skydive__1639
skydive-project/skydive
1,639
defect
72d7ce8d9202873302bbddc54b51c42a5dfc40c4
130345c644c8631092843eaa9d06ec53f214f667
customize flow timeout by application
We want to allow setting custom expire timeout for flow by their Application field. For example, you may want to set DNS flows to timeout faster than the default 10 minutes. I haven't yet tested this, but would like to get your feedback on the idea & implementation approach. Thanks!
diff --git a/flow/table.go b/flow/table.go index 96769395e1..6593fbb636 100644 --- a/flow/table.go +++ b/flow/table.go @@ -23,6 +23,7 @@ package flow import ( + "strings" "sync" "sync/atomic" "time" @@ -31,6 +32,7 @@ import ( "github.com/google/gopacket/layers" "github.com/skydive-project/skydive/common...
4
4
2
[{"id": "G0", "claim": "Add a default configuration with common application timeouts (such as dns) as an example in the default configuration file etc/skydive.yml.default.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Store the application keys in upper...
null
skydive-project__skydive__1662
skydive-project/skydive
1,662
defect
f5708d86e26f62ff64e5edf91553df7170f0b2d0
a08f1f1e85ec8267fd6d6e005e1df89b043de2f3
Add advanced options for ovssflow capture type
Advanced options for "ovssflow" Capture Type : Options to add sampling rate and polling counters.
diff --git a/common/capture.go b/common/capture.go index be6d145b55..429bc109d5 100644 --- a/common/capture.go +++ b/common/capture.go @@ -48,7 +48,7 @@ var ( ) func initCaptureTypes() { - CaptureTypes["ovsbridge"] = CaptureType{Allowed: []string{"ovssflow", "pcapsocket"}, Default: "ovssflow"} + CaptureTypes["ovsbr...
2
1
1
[{"id": "G0", "claim": "Keep only one ovssflow probe and instead add options to the capture API that are passed to and used by the probe at registration, playing with the sampling/polling parameters rather than splitting the capture types and modifying the sflow agent code.", "category": "design", "verdict": "supported...
null
skydive-project__skydive__1665
skydive-project/skydive
1,665
defect
81dc1a159f6a8f00dbd99d2fe61764f2d1cc569f
3c60ec37632844828fdb3ab78f66607cc077d745
Runc guest hosts
This PR enhances runC with information extracted from guest `/etc/hosts` in cases that this file is mapped from the host machine by runC, as is the case when using k8s 1.12.x (as is now the default in IBM Kubernetes Services). To test: ``` sed -e %skydive/skydive%aidans/skydive% contrib/kubernetes/skydive.yaml ...
diff --git a/contrib/kubernetes/skydive.yaml b/contrib/kubernetes/skydive.yaml index b62206f25a..d10f417397 100644 --- a/contrib/kubernetes/skydive.yaml +++ b/contrib/kubernetes/skydive.yaml @@ -125,6 +125,10 @@ spec: mountPath: /var/run/runc-ctrs - name: containerd-runc mountPath: /var/r...
14
9
1
[{"id": "G0", "claim": "If many containers bind mount /etc/hosts the same information would be replicated many times, so maybe the PR should just report the bind mounts and do the /etc/hosts parsing at the host level.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "...
null
skydive-project__skydive__1674
skydive-project/skydive
1,674
defect
0a8375d98867a26be629e425ed81044a355035da
b719d81a5766f40df5e6cfb313d4dd5a28c950b3
Istio: add gateway-virtualservice link
This PR adds links between gateways and virtualservices. The relevant tests are `TestBookInfoScenario` and `TestIstioGatewayVirtualServiceScenario`, which can be found at `tests/istio_test.go`.
diff --git a/tests/istio/gateway-virtualservice.yaml b/tests/istio/gateway-virtualservice.yaml new file mode 100644 index 0000000000..874827ad80 --- /dev/null +++ b/tests/istio/gateway-virtualservice.yaml @@ -0,0 +1,30 @@ +apiVersion: networking.istio.io/v1alpha3 +kind: Gateway +metadata: + name: skydive-test-gateway-...
4
3
2
[{"id": "G0", "claim": "Passing WITH_ISTIO=true as an argument to ./bookinfo/bookinfo.sh has no effect because the script itself sets WITH_ISTIO=false, so the refactored start and stop commands no longer run bookinfo with istio enabled - revert to the original \"WITH_ISTIO=true ./bookinfo/bookinfo.sh\" form.", "categor...
null
skydive-project__skydive__1689
skydive-project/skydive
1,689
defect
2cfd93e8f9b7630a2e02365a40055e64327e9c06
c1265bc95e7d2a6d0819b46e482902a7079cb273
flow object store: batch flows together to improve performance
Prior to this PR, flows sent from the analyzer to the object storage (every `flow.update` seconds) were immediately flushed to the object store. We change this behavior to allow the user to batch the flows into larger objects. To achieve that, we introduce 2 new configuration parameters: `max_seconds_per_object`, `ma...
diff --git a/contrib/objectstore/main.go b/contrib/objectstore/main.go index c4bcc9101b..d5fd6c2abd 100644 --- a/contrib/objectstore/main.go +++ b/contrib/objectstore/main.go @@ -9,6 +9,8 @@ import ( "github.com/skydive-project/skydive/common" "github.com/skydive-project/skydive/config" "github.com/skydive-projec...
7
2
0
[{"id": "G0", "claim": "The new file contrib/objectstore/subscriber/flowclassifier/flowclassifier.go is missing the license preamble.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The contrib/objectstore file layout should be flattened, moving th...
null
skydive-project__skydive__1697
skydive-project/skydive
1,697
defect
2d0b7fa673bf56848e44c496238eba3c3cfe034e
f522b72209480fc7434ef51e6074309617077707
sriov and libvirt
This is a very initial support for SRIOV with focus on the VM case (libvirt). Principle: * we use netlink to get initial information on the "virtual functions" (VF), the interface being the "physical function" (PF) * we use ethtool to get the pci address of the PF, * we explore /sys/bus/pci/devices/<address> to get...
diff --git a/graffiti/graph/processor.go b/graffiti/graph/processor.go index b9426be911..fbb8ac5156 100644 --- a/graffiti/graph/processor.go +++ b/graffiti/graph/processor.go @@ -57,8 +57,6 @@ func NewProcessor(g *Graph, listenerHandler ListenerHandler, m ElementMatcher, i // DoAction will perform the action for nod...
8
6
3
[{"id": "G0", "claim": "Report the PCI ID of every device in its metadata so that a metadata linker can automatically link libvirt nodes to their hostdev interfaces based on this PCI ID.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Log the error instea...
null
skydive-project__skydive__1703
skydive-project/skydive
1,703
defect
135dd4171fa59102da33d7809b766190e0ce664d
a1b7e368a026d7e0ee25cb51040bf9fb54d5034e
add container name fields to custom flow transformer
Hi @safchain In this PR we make a change to our `custom1` flow transformer to include container names (via the runc probe). Thanks in advance!
diff --git a/contrib/objectstore/main.go b/contrib/objectstore/main.go index 37eb00364c..6529baa632 100644 --- a/contrib/objectstore/main.go +++ b/contrib/objectstore/main.go @@ -23,6 +23,7 @@ import ( "os/signal" "syscall" + "github.com/skydive-project/skydive/api/client" "github.com/skydive-project/skydive/co...
3
1
1
[{"id": "G0", "claim": "Resolving the container name by IP alone may hit conflicts; the transformer should first find the interface having the NodeTID (the capture node) and from there find the related node with the IP.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id"...
null
skydive-project__skydive__1760
skydive-project/skydive
1,760
defect
5c85e151ad93ce39b39f5cc0cfb4b1a673f3d9aa
a0552463c7757591ffabcf99de39294d4028c5c0
security advisor flow format changes
Made some changes to the format of flows required by security advisor.
diff --git a/contrib/objectstore/subscriber/objectstore.go b/contrib/objectstore/subscriber/objectstore.go index 0b6a4b8476..1a466e38bc 100644 --- a/contrib/objectstore/subscriber/objectstore.go +++ b/contrib/objectstore/subscriber/objectstore.go @@ -181,6 +181,8 @@ func (s *Subscriber) flushFlowsToObject(tag Tag, endT...
5
4
0
[{"id": "G0", "claim": "The flush metadata keeps the same times twice (first-/last-timestamp alongside start-/end-timestamp), and the start-timestamp and end-timestamp fields should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `if` can ...
null
skydive-project__skydive__1769
skydive-project/skydive
1,769
defect
4b29eb50d17b9721417570a43650e47af085cc48
6476bafab9fe9da303629b3369ad60c5177999c7
istio: add a circuit breaker field to destinationrules metadata
This PR adds a circuit breaker field to destinationrules metadata.
diff --git a/topology/probes/istio/destinationrule.go b/topology/probes/istio/destinationrule.go index 25ed5ea82d..7e81998820 100644 --- a/topology/probes/istio/destinationrule.go +++ b/topology/probes/istio/destinationrule.go @@ -21,6 +21,7 @@ import ( "fmt" kiali "github.com/kiali/kiali/kubernetes" + "github.co...
5
5
2
[{"id": "G0", "claim": "CircuitBreaker is mapped to the `connectionPool` yaml key, which looks wrong since the Istio circuit breaker is defined by the `trafficPolicy` field.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The nil-check block in hasCi...
null
skydive-project__skydive__1775
skydive-project/skydive
1,775
defect
55106b895975d40f6d06d6a00f5d76bdd16c0573
50799e0527c2086c48fb42cccc50beec943e8b4f
istio: add destinationrule-serviceentry links
This PR adds links between serviceEntries and destinationRules. Can be checked with `TestIstioDestinationRuleServiceEntryScenario`.
diff --git a/tests/istio/destinationrule-serviceentry.yaml b/tests/istio/destinationrule-serviceentry.yaml new file mode 100644 index 0000000000..cf63a19b5d --- /dev/null +++ b/tests/istio/destinationrule-serviceentry.yaml @@ -0,0 +1,20 @@ +apiVersion: networking.istio.io/v1alpha3 +kind: ServiceEntry +metadata: + name...
1
1
1
[{"id": "G0", "claim": "If seHosts is nil, destinationRuleServiceEntryAreLinked should return false instead of asserting and iterating a possibly-nil hosts value.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
skydive-project__skydive__1828
skydive-project/skydive
1,828
defect
e4d211d9fcd60f0a5f283a5f4630b3a3e2816916
d81f9fb97fc8f69f83e8ff7c0b8fc121bf6c5adb
Packet Flow Validation Workflow
Checks Packet Forwarding between Checkpoint-1 and Checkpoint-2: Capture - To Capture Specific Type of Traffic using BPF-Filter
diff --git a/js/api.ts b/js/api.ts index 5647cca41c..9877906ca6 100644 --- a/js/api.ts +++ b/js/api.ts @@ -391,6 +391,10 @@ export class V extends Step { return new HasV(this.api, this, ...params); } + HasEither(...params: any[]): V { + return new HasEitherV(this.api, this, ...params); + } ...
9
3
0
[{"id": "G0", "claim": "In parseParams the '-'-split result should be assigned directly to a variable (e.g. var ports = str1[i].split(\"-\")) and read by index instead of being stored into the ports array by index.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id":...
null
skydive-project__skydive__1870
skydive-project/skydive
1,870
defect
968c416a68c676bc4d8bdb2c2cc184653c060941
3aac5f77f44eefd48ab4a1cfff5da602beaad740
Pipeline: AWS Flow Logs
@lebauce / @safchain / @nplanel - code not ready yet for review/merge @eranra / @andrekassis - please provide some preliminary feedback
diff --git a/contrib/pipelines/awsflowlogs/Makefile b/contrib/pipelines/awsflowlogs/Makefile new file mode 100644 index 0000000000..be20d1acdb --- /dev/null +++ b/contrib/pipelines/awsflowlogs/Makefile @@ -0,0 +1,17 @@ +PROG := awsflowlogs + +SRCS := \ + main.go \ + transform.go \ + +.PHONY: all +all: + go build -o $(P...
6
4
2
[{"id": "G0", "claim": "The functional test TestNetFlowV5Target fails on this pull request's CI run (\"Should get 1 udp flow, got : []\"), and the author asks safchain to check why.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "The Transform method should...
null
skydive-project__skydive__1933
skydive-project/skydive
1,933
defect
d5d86ec0f262c10f6bc1ee792aac7e87708068c1
5ce785f538a86d8a8ba826dde19b6e291770ad4a
Pipeline: added subscribe to flows by capture_id
add websocket registration server side filtering by capture_id
diff --git a/contrib/pipelines/awsflowlogs/Makefile b/contrib/pipelines/awsflowlogs/Makefile new file mode 100644 index 0000000000..be20d1acdb --- /dev/null +++ b/contrib/pipelines/awsflowlogs/Makefile @@ -0,0 +1,17 @@ +PROG := awsflowlogs + +SRCS := \ + main.go \ + transform.go \ + +.PHONY: all +all: + go build -o $(P...
1
1
0
[{"id": "G0", "claim": "It would be better for the flow subscriber endpoint to broadcast to a namespace only when there is a subscriber for that specific namespace, instead of doing the work unconditionally.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
skydive-project__skydive__1945
skydive-project/skydive
1,945
defect
c83e80fd8c67961d2520eac5e978c344b40eb07f
50343368c1f7ae928ac9fbbc07ad2e26d0aac6c4
Improve PI unique packet generation
This aims to fix generation of unique packet ID when injecting from multiple nodes to one
diff --git a/api/server/packet_injector.go b/api/server/packet_injector.go index 17cb4cedd8..8f3d22dc2e 100644 --- a/api/server/packet_injector.go +++ b/api/server/packet_injector.go @@ -74,7 +74,7 @@ func (pi *PacketInjectorAPI) validateRequest(ppr *types.PacketInjection) error { } ipField := "IPV4" - if ppr.Typ...
8
5
1
[{"id": "G0", "claim": "The pull request still needs something, in flow or capture, to identify the source node per unique flow.", "category": "design", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Renaming the injector CLI flags (srcIP to src-ip, etc.) may not be needed.", "...
null
skydive-project__skydive__1950
skydive-project/skydive
1,950
defect
2ff30fd2abd12d2608ce2d2b40d8bd24ed51dd3e
5720b5cec5a89984f5ab79fe0e729ba0cb76c796
gremlin: Properly escape query arguments
When constructing the Gremlin query string, double quotes were not escaped, and therefore using a double quote char inside a query argument would break the query. This fix uses json.Marshal to quote a string, so special chars like quote, newline, and tab will be backslash-quoted inside the resulting Gremlin query ...
diff --git a/gremlin/query_test.go b/gremlin/query_test.go index 18c8bd579b..bd2498aa4f 100644 --- a/gremlin/query_test.go +++ b/gremlin/query_test.go @@ -26,7 +26,31 @@ func TestQueryBuilder(t *testing.T) { const key, val = "Type", "host" expected := fmt.Sprintf(`G.V().Has("%s", Regex("%s"), "%s", Regex("%s.*"), "...
2
2
2
[{"id": "G0", "claim": "Quote should not panic on a Marshal error; it should return a string/token that yields a wrong gremlin expression (or ignore the error with a comment) so the parser catches it, since this could be fed user input and panics could kill 3rd-party clients.", "category": "design", "verdict": "support...
null
skydive-project__skydive__1951
skydive-project/skydive
1,951
defect
2ff30fd2abd12d2608ce2d2b40d8bd24ed51dd3e
75ddf577a4f330932cf3b037b4e79e64183ee314
secadvisor: refactor resolver code
the refactor of resolver is functional natural but will enable to easy support adding of additional resolution methods beyond runC such that we may have: - runc (current secadvisor) - docker (legacy secadvisor) - k8s (future secadvisor) - generic (which uses configuration) @KalmanMeth / @dubek / @eranra - kindl...
diff --git a/common/types.go b/common/types.go index d8ffec935d..d6227ec146 100644 --- a/common/types.go +++ b/common/types.go @@ -48,6 +48,8 @@ var ( ErrTimeout = errors.New("Timeout") // ErrNotImplemented unimplemented feature ErrNotImplemented = errors.New("Not implemented") + // ErrBadArgument error bad argum...
11
7
3
[{"id": "G0", "claim": "The comment \"// NewResolve creates a new name resolver\" on NewResolveRunc doesn't match the function name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Returning nil on a resolver error throws away the whole transform...
null
skydive-project__skydive__1971
skydive-project/skydive
1,971
defect
5bdbc3fa8dfc9ee55dc23e3292be4009bcfeeee1
61893bea3edb53d94e6ae1f27185a0defc1c072a
contrib/exporters/secadvisor: Encode flows in a JSON object
During the refactoring to pipelines the export format for flows was changed to JSON array, whereas Security Advisor expects the objects in COS/S3 to be a JSON object with a top-level "data" key whose value is an array of flow objects. This change adds an `sa` encode type which adds this top-level element (and use...
diff --git a/contrib/exporters/secadvisor/main.go b/contrib/exporters/secadvisor/main.go index 4a6d950612..c79b7a5f66 100644 --- a/contrib/exporters/secadvisor/main.go +++ b/contrib/exporters/secadvisor/main.go @@ -27,5 +27,6 @@ func main() { } func init() { + core.EncoderHandlers.Register("secadvisor_json", mod.Ne...
6
6
2
[{"id": "G0", "claim": "Register the encoder under the name \"sa\" (and change the default config's encode type to \"sa\") instead of \"secadvisor_json\", for consistency with the transformer registered next to it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c...
null
skydive-project__skydive__1992
skydive-project/skydive
1,992
defect
24fbea8016501d409f32b26d56432e2db4f3bd47
94630bddee14f02291a79a619971c6deba2b79dc
exporters: add log status
*** WORK IN PROGRESS *** @eranra - please review log status logic at `contrib/exporters/awsflowlogs/mod/mangle_logstatus.go` @KalmanMeth - please check if **mangle** phase can also service Accept/Reject?
diff --git a/contrib/exporters/allinone/allinone.yml.default b/contrib/exporters/allinone/allinone.yml.default index 05f311124c..81d7516530 100644 --- a/contrib/exporters/allinone/allinone.yml.default +++ b/contrib/exporters/allinone/allinone.yml.default @@ -1,9 +1,17 @@ host_id: "" +analyzers: + - 127.0.0.1:8082 +an...
5
2
1
[{"id": "G0", "claim": "The new LogStatus field (in flow.proto and the code using it) should be renamed to Status.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The linkIDs map should be renamed so its name represents that it holds booleans (auth...
null
skydive-project__skydive__2364
skydive-project/skydive
2,364
defect
3ccba88bc9ff25687936e0e7583ba752d3d4a1c8
5497b1aa62a58e0fd36bc290e4348e08c367bfeb
Add ovn-kubernetes probe
## What this PR does Add a new probe that enriches the topology graph with ovn-kubernetes information. For now it is a very simple probe that only links pods with their logical switch ports based on their name. Starting with this as the base for more future features. ## Why it's useful In deployments where ovn-ku...
diff --git a/.mk/tests.mk b/.mk/tests.mk index f1ec137bc1..4dfd02082d 100644 --- a/.mk/tests.mk +++ b/.mk/tests.mk @@ -38,6 +38,13 @@ ifeq ($(WITH_OVN), true) ANALYZER_TEST_PROBES+=ovn endif +ifeq ($(WITH_OVNK8S), true) + ANALYZER_TEST_PROBES+=ovn + ANALYZER_TEST_PROBES+=k8s + ANALYZER_TEST_PROBES+=ovnk8s + E...
3
2
0
[{"id": "G0", "claim": "Use $WORKSPACE when it is defined and fall back to $HOME/ovnkube-setup otherwise, so that Jenkins can clean everything and the existing GOPATH (and its cache) can be reused to speed up the build.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {...
null
skydive-project__skydive__270
skydive-project/skydive
270
defect
0e92e1384e77f12a483da3033c91a1d3aa50148e
d93fb40efd0c0f6a5326248cee3d80be1209229d
api: add/remove user metadata on node
User able to add and remove user metadata on node ex-query: 1.skydive client user-metadata add --gremlin='g.v()' --key userkey --value userdata 2.skydive client user-metadata delete <UUID>
diff --git a/analyzer/server.go b/analyzer/server.go index a786b15ece..e6b2bb804f 100644 --- a/analyzer/server.go +++ b/analyzer/server.go @@ -39,6 +39,7 @@ import ( ftraversal "github.com/skydive-project/skydive/flow/traversal" shttp "github.com/skydive-project/skydive/http" "github.com/skydive-project/skydive/l...
10
10
4
[{"id": "G0", "claim": "The UserMetadataManager implementation should be moved to topology/enhancers/user_metadata.go instead of living under the analyzer/metadata package.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new files should be named user...
null
skydive-project__skydive__380
skydive-project/skydive
380
defect
06f24d99d720a6e68020f5ef605988e954096dc5
928e02d5cc806a628f090b15d77674b46a0bc8fa
probe: add route-table probe
this will display the route table info in the metadata.
diff --git a/topology/probes/netlink.go b/topology/probes/netlink.go index 86e79ebb23..6cb19b552a 100644 --- a/topology/probes/netlink.go +++ b/topology/probes/netlink.go @@ -346,6 +346,32 @@ func (u *NetNsNetLinkProbe) addLinkToTopology(link netlink.Link) { metadata["FDB"] = neighbors } + routeList, err := u.ha...
6
4
3
[{"id": "G0", "claim": "The new route code references route.MPLSDst, which does not exist in the vendored netlink library, so the code does not compile.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G3", "claim": "The route-extraction code inside addLinkToTopolog...
null
skydive-project__skydive__403
skydive-project/skydive
403
defect
aaef3d6c865f9576cb7097b6a6e4d13a6d2218ce
d3d28b7a7829c9a0579c71e61974fa11305db1dc
openflow: bugfix - race with ovs-ofctl and functional tests.
Race between ovs-ofctl create and ovs-ofctl monitor when the bridge appears in ovsdb database - added a functional test on openflow probe. It may exhibit the problem - added info logging (as for other probes) to make functional tests log usable. closes #370
diff --git a/tests/openflow_test.go b/tests/openflow_test.go new file mode 100644 index 0000000000..24618ea591 --- /dev/null +++ b/tests/openflow_test.go @@ -0,0 +1,88 @@ +package tests + +import ( + "fmt" + "testing" + + "github.com/skydive-project/skydive/common" + "github.com/skydive-project/skydive/tests/helper" +)...
2
2
0
[{"id": "G0", "claim": "The error from executor.ExecCommandPipe in launchContinuousOnSwitch should be logged (e.g. logging.GetLogger().Errorf(\"Can't execute command %v\", cmd)).", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new 'Probe added fo...
null
skydive-project__skydive__416
skydive-project/skydive
416
defect
abd6286000329f72154ed9eddbebc3148b6aa602
029bc4032d6d83202cc5d8cd2373de0a895f39c5
gremlin: add BothV step
This allow to retrieves in and out nodes of an edge. ex: G.E().BothV()
diff --git a/topology/graph/traversal/traversal.go b/topology/graph/traversal/traversal.go index 5788ade189..7ad44c6ba4 100644 --- a/topology/graph/traversal/traversal.go +++ b/topology/graph/traversal/traversal.go @@ -1567,6 +1567,44 @@ func (te *GraphTraversalE) OutV(s ...interface{}) *GraphTraversalV { return ntv ...
2
2
1
[{"id": "G0", "claim": "BothV should build its result with the NewGraphTraversalV(te.GraphTraversal, []*graph.Node{}) constructor instead of the raw &GraphTraversalV{...} struct literal.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "GetEdgeNode...
null
skydive-project__skydive__59
skydive-project/skydive
59
defect
c3dc6e3cf5ddf6ccc0b8590c8331fbcb2e795188
8ba4057c602791bc2d4763eddc9f91b6e15f7307
[flow][table] Introduce Layer Conversation
The conversation matrix can be selected/display by Layer (Ethernet,IPv4,TCP ...)
diff --git a/analyzer/server.go b/analyzer/server.go index edae7a523c..979c1381db 100644 --- a/analyzer/server.go +++ b/analyzer/server.go @@ -151,15 +151,30 @@ func (s *Server) FlowSearch(w http.ResponseWriter, r *http.Request) { } } -func (s *Server) serveDataIndex(w http.ResponseWriter, r *http.Request) { - if ...
1
1
1
[{"id": "G0", "claim": "The LayerConversation route should live under an RPC-style path instead of /data/conversation.json/{layer}, and the .json extension should be dropped (the agreed form being /rpc/flow/conversation/{layer}).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
skydive-project__skydive__693
skydive-project/skydive
693
defect
e8d72562ca3ed654dd86b7769125f28eda1526cb
d7180dbc9357c6de7c14795c5626feb44aa0517e
http: added to debug info to WebSocket pools
Co-Authored-By: eranra@il.ibm.com This is intended for debugging the correct creation/destruction of WS Pools, each pool is now assigned a new `name` field which is printed via logs.
diff --git a/agent/agent.go b/agent/agent.go index d0181f896a..023a2ccd80 100644 --- a/agent/agent.go +++ b/agent/agent.go @@ -68,7 +68,7 @@ type Agent struct { // NewAnalyzerWSJSONClientPool creates a new http WebSocket client Pool // with authentification func NewAnalyzerWSJSONClientPool(authOptions *shttp.Authent...
5
5
1
[{"id": "G0", "claim": "The RLock/Unlock mutex added around logger initialization is an issue and probably should not be added; the logger-initialization problem should be handled in the test suite instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
skydive-project__skydive__770
skydive-project/skydive
770
defect
2f898e106ceb5c540dcc4da06f5b81517aa719e2
d0ce665e72858f51f889bdd510131a918397b729
K8s tests fix
Fixed k8s tests (for checking creation of nodes). Please note that one has to run `scripts/ci/install-minikube.sh` on the target test VM prior to running the tests.
diff --git a/gremlin/query.go b/gremlin/query.go index ac5fe211c0..3b0cf23196 100644 --- a/gremlin/query.go +++ b/gremlin/query.go @@ -30,107 +30,97 @@ import ( ) // QueryString used to construct string representation of query -type QueryString struct { - Query string `json:"omitempty"` -} - -// NewQueryString used...
1
1
0
[{"id": "G0", "claim": "The tests should verify that the deployment/pod/networkpolicy was successfully deleted instead of just waiting 2 seconds.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
skydive-project__skydive__774
skydive-project/skydive
774
defect
7d6d3d47533aa6395ff8c7584aec6708bc578383
b9cf3c315de8ac38588fb38f8a0e58676ed60aab
probe:fix: Fix startup automatic capturing
Startup automatic capturing based on configuration didnt work. This patch is its fix.
diff --git a/flow/ondemand/client/client.go b/flow/ondemand/client/client.go index e805caec72..1ca294710c 100644 --- a/flow/ondemand/client/client.go +++ b/flow/ondemand/client/client.go @@ -380,7 +380,7 @@ func (o *OnDemandProbeClient) Stop() { } // InvokeCaptureFromConfig invokes capture based on preconfigured se...
4
4
0
[{"id": "G0", "claim": "The new test duplicates the original RunTest as RunStartupTest instead of reusing RunTest (e.g. by providing an empty capture list so that the test creates no captures itself).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
skydive-project__skydive__782
skydive-project/skydive
782
defect
cc5ad79f8d0f04bf5d5e9cb60c063f99c7759faa
d1526a32914c8630c175b73338a9341c07198ab2
flow: check flow update thanks to a version instead of time
The goal is to remove usage of time + ticker to check if a flow has been updated. This removes issues with non sync ticker.
diff --git a/flow/flow.go b/flow/flow.go index fad34b7d34..70eb62b9af 100644 --- a/flow/flow.go +++ b/flow/flow.go @@ -62,7 +62,7 @@ type flowState struct { link1stPacket int64 network1stPacket int64 skipSocketInfo bool - lastUpdate int64 + updateVersion int64 } // Packet describes one packet di...
2
2
0
[{"id": "G0", "claim": "The comment above the packetToFlow updateVersion assignment should be updated to describe the new revision/version mechanism instead of still talking about lastUpdate/tableClock.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
skydive-project__skydive__794
skydive-project/skydive
794
defect
33ddd5c660e07e5a5d3f34da37b2c5db85293d5f
acf0f61975f0a5105b8f0731fd3b24ca620745bf
tests: gremlin query builder
The effect of this change should be functionality natural in it I extended the gremlins query builder which is essence enabled to replace strings such as: ``` gremlin := fmt.Sprintf(`G.Has("Type", "%s")`, ty) ``` With functions - such as: ``` gremlin := g.G.Has("Type", ty) ```
diff --git a/api/client/gremlin.go b/api/client/gremlin.go index 1dad59ec9c..8fab7f273e 100644 --- a/api/client/gremlin.go +++ b/api/client/gremlin.go @@ -34,6 +34,7 @@ import ( "github.com/skydive-project/skydive/api/types" "github.com/skydive-project/skydive/common" "github.com/skydive-project/skydive/flow" + "...
2
2
1
[{"id": "G0", "claim": "The reviewer is unsure about replacing the file header 'Copyright (C) 2018 IBM, Inc.' with 'Copyright (C) 2018 Skydive-Project Authors.' in gremlin/query.go.", "category": "licensing", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The pull request's cha...
null
skydive-project__skydive__795
skydive-project/skydive
795
defect
c5c3c981ef0bde34d8ec7aae57dc6a2a92d3c15c
0ef7a26986a80156eaba9805a03265d5380178ad
LXD topology support
This is a first attempt at introducing LXD topology support. I welcome any and all criticisms... Including my rather copy-paste affair from the docker plugin. Please at least be constructive ;) What do I need to do extra to get this feature merged?
diff --git a/agent/probes.go b/agent/probes.go index 4bad7c09bd..368de071d7 100644 --- a/agent/probes.go +++ b/agent/probes.go @@ -35,6 +35,7 @@ import ( "github.com/skydive-project/skydive/topology/probes/neutron" "github.com/skydive-project/skydive/topology/probes/opencontrail" "github.com/skydive-project/skydi...
6
6
3
[{"id": "G0", "claim": "The pull request must add github.com/lxc/lxd to vendor/vendor.json (govendor fetch github.com/lxc/lxd/client) since the new probe relies on it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull request should include a ...
null
skyfielders__python-skyfield__177
skyfielders/python-skyfield
177
defect
10b9fcb9067d6e225847a3310f18b882a2cae0c6
e45f5b958f8d2b44643967737e20bfeb3279e8c4
Feature/load nameless tle
Added the ability to load a nameless TLE using `load.tle()` from the API package. For example, this allows us to load: ``` 1 00005U 58002B 18130.23524677 .00000070 00000-0 10021-3 0 9993 2 00005 34.2455 77.6488 1845867 131.1918 246.3184 10.84813857121819 ``` rather than: ``` 0 VANGUARD 1 1 00005U ...
diff --git a/skyfield/iokit.py b/skyfield/iokit.py index f9d7197a5..3e5ced22a 100644 --- a/skyfield/iokit.py +++ b/skyfield/iokit.py @@ -1,6 +1,7 @@ from __future__ import print_function import itertools import os +import errno import numpy as np import sys from datetime import date, datetime, timedelta @@ -79,8 ...
4
4
2
[{"id": "G0", "claim": "The docstring should drop or adjust the 'Celestrak' wording, since Celestrak always uses 3 lines and the loader now also accepts 2-line files.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comparison to '0' used to det...
null
skylot__jadx__2054
skylot/jadx
2,054
defect
2d5c0fda4a0c5d16207a5f48edb72e6efa7d5bbd
cbd443ba55be194961718e724941421f633e191c
Optimize switch fallthrough
I profiled jadx and noticed that `RegionMaker::processSwitch` was taking up a surprising amount of the total de-compilation time (1.92% on my laptop with a certain real-world apk). Apps that use [Redex](https://fbredex.com) for optimization tend to have many large switch cases, which amplifies this problem. The...
diff --git a/jadx-core/src/main/java/jadx/core/dex/nodes/MethodNode.java b/jadx-core/src/main/java/jadx/core/dex/nodes/MethodNode.java index bad9e5ce83f..801c01753c8 100644 --- a/jadx-core/src/main/java/jadx/core/dex/nodes/MethodNode.java +++ b/jadx-core/src/main/java/jadx/core/dex/nodes/MethodNode.java @@ -1,8 +1,10 @...
2
2
2
[{"id": "G0", "claim": "The rewrite of switch fall-through detection is semantically different from the original algorithm because it uses the loop-invariant `block` variable where the original used the per-iteration `successor` when computing the post-dom map, and the maintainer is not sure that is safe and wants to i...
null
skylot__jadx__2086
skylot/jadx
2,086
defect
a19aec9d9fe93877dafef10482377a62d4c20759
3953249ebf6bb03f53e8269ec266d061351af7e1
Removing unused ExcHandlers blocks
Removing unused ExcHandlers blocks in order to fix some decompilation errors caused by Unreachable blocks. The root of this problem (for the current fix) is that some `try`s may never actually throw an exception. Therefore the related `catch` may become unreachable. The solution is that at the end of the try/cat...
diff --git a/jadx-core/src/main/java/jadx/core/dex/visitors/blocks/BlockExceptionHandler.java b/jadx-core/src/main/java/jadx/core/dex/visitors/blocks/BlockExceptionHandler.java index 571a27f2624..c517a9856b0 100644 --- a/jadx-core/src/main/java/jadx/core/dex/visitors/blocks/BlockExceptionHandler.java +++ b/jadx-core/sr...
5
4
1
[{"id": "G0", "claim": "The `sorted` blocks list is later used only with `contains`, so a `Set` — or even better the existing `BlockSet` — should be used instead of a `List`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Instead of duplicating the block...
null
skylot__jadx__2460
skylot/jadx
2,460
defect
61f5386fe591570b5a308ee8f25e46271dfb0d35
f385a340fc0887c91077ce2cd9bf2c362657f0fa
fix: erroneous SignatureProcessor resolution of standard non-generic …
…types with Annotation Signatures ### Description This PR aims to fix the issue where SignatureProcessor would erroneously resolve the types of fields whose main type is not a standard generic but which also have a Signature Annotation. Related to #2459
diff --git a/jadx-core/src/main/java/jadx/core/dex/visitors/SignatureProcessor.java b/jadx-core/src/main/java/jadx/core/dex/visitors/SignatureProcessor.java index aac408ee8a10..ed25ebb574bb 100644 --- a/jadx-core/src/main/java/jadx/core/dex/visitors/SignatureProcessor.java +++ b/jadx-core/src/main/java/jadx/core/dex/vi...
3
1
1
[{"id": "G0", "claim": "The `genericType.equals(ty)` check in the newly added `isNotGenericType` can never evaluate to true because it compares a `java.lang.String` against an `ArgType`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer as...
null
skylot__jadx__2828
skylot/jadx
2,828
defect
15ea9a56b996bb5e6919a68bc1b225bcd89da356
6597a7997860a967cab281426cc3cb126d8e122a
Fix: resolve class/package name conflicts on case-insensitive filesystems
# Fix: resolve class/package name conflicts on case-insensitive filesystems ## Problem On case-insensitive filesystems (Windows, macOS with default HFS+), class or package names that differ only by case are treated as the same path. This causes two issues: 1. **Export corruption**: When two classes resolve to ...
diff --git a/jadx-core/src/main/java/jadx/core/dex/visitors/rename/RenameVisitor.java b/jadx-core/src/main/java/jadx/core/dex/visitors/rename/RenameVisitor.java index 331ef82b2bc..0e407f68a96 100644 --- a/jadx-core/src/main/java/jadx/core/dex/visitors/rename/RenameVisitor.java +++ b/jadx-core/src/main/java/jadx/core/de...
3
3
1
[{"id": "G0", "claim": "The verification of a renamed class's new name should use the same `if (!clsFullPaths.add(...))` guard style as the original check.", "category": "correctness", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The package-conflict verification loop may bec...
null
skylot__jadx__516
skylot/jadx
516
defect
36ee994eb826f9eb9ba7635592380a884c86f500
232fd5f779113200259bbfa1f9d6e62b0d22868f
fix: xor with boolean (#409)
Fixes #409
diff --git a/jadx-core/src/main/java/jadx/core/codegen/InsnGen.java b/jadx-core/src/main/java/jadx/core/codegen/InsnGen.java index f8c53f04f1e..02955664b60 100644 --- a/jadx-core/src/main/java/jadx/core/codegen/InsnGen.java +++ b/jadx-core/src/main/java/jadx/core/codegen/InsnGen.java @@ -277,7 +277,8 @@ private void ma...
1
1
1
[{"id": "G0", "claim": "The new XOR-with-boolean simplification only fires for wrapped instructions and will not work for simple args (variables), so `return v ^ true;` is not turned into `return !v;`; the reviewer asks to drop the isInsnWrap restriction, build a NOT instruction keeping the original result, and handle ...
null
skylot__jadx__533
skylot/jadx
533
defect
55fc498359315f0a900d9148ce850d87bb862177
994efc043fd37b556e45c53e3f67daebaacb14d6
fix: better String constructor from byte and char arrays (#530)
Fixes #530 `test4()` fails, because I don't know how to get the actual value of the array. In other words: the code generated is: ``` public static class TestCls4 { public String tag = new String(new byte[] {0, 1, 2, 'a', 'b', 'c'}); } public TestStringConstructor$TestCls4() { ...
diff --git a/jadx-core/src/main/java/jadx/core/dex/info/MethodInfo.java b/jadx-core/src/main/java/jadx/core/dex/info/MethodInfo.java index 7e236097f6a..73d5e420298 100644 --- a/jadx-core/src/main/java/jadx/core/dex/info/MethodInfo.java +++ b/jadx-core/src/main/java/jadx/core/dex/info/MethodInfo.java @@ -33,6 +33,21 @@ ...
7
7
2
[{"id": "G0", "claim": "The code gets the first argument without checking that the constructor has arguments, so it fails on `new String()`; add an args-count check (and a test decompiling `new String()`).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim...
null
skylot__jadx__582
skylot/jadx
582
defect
0720992998973fe286a30b5d3be2cdc0dccf7d3a
912d2c25e469e595c70a33cc8ee5a548b960eca0
feat: add options to configure "renaming" (#570)
Fix #570
diff --git a/jadx-cli/src/main/java/jadx/cli/JadxCLIArgs.java b/jadx-cli/src/main/java/jadx/cli/JadxCLIArgs.java index a8b8b1511a5..ac5cdfcd433 100644 --- a/jadx-cli/src/main/java/jadx/cli/JadxCLIArgs.java +++ b/jadx-cli/src/main/java/jadx/cli/JadxCLIArgs.java @@ -1,15 +1,21 @@ package jadx.cli; import java.util.Ar...
5
5
2
[{"id": "G0", "claim": "The GUI must not force-disable the 'rename case sensitive' checkbox based on a filesystem check; leave the selection choice to the user, since the check will not work on macOS where HFS case sensitivity is user- and drive-dependent.", "category": "design", "verdict": "supported", "priority": "P1...
null
skylot__jadx__602
skylot/jadx
602
defect
bcfed5b362f018d01e73e3abc7a0fcc473114405
4aa789e66e94ea9dc569e5e6721872b15aafb740
fix: cast of int-to-(number) when int is boolean (#596)
Fixes #596 Please merge #601 first, since it is already included.
diff --git a/jadx-core/src/main/java/jadx/core/codegen/InsnGen.java b/jadx-core/src/main/java/jadx/core/codegen/InsnGen.java index bbb7241abdf..4125dafc06b 100644 --- a/jadx-core/src/main/java/jadx/core/codegen/InsnGen.java +++ b/jadx-core/src/main/java/jadx/core/codegen/InsnGen.java @@ -862,6 +862,7 @@ private void ma...
2
2
1
[{"id": "G0", "claim": "Move the cast-handling code out of InsnArg (processCast) into ModVisitor.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "Also apply the same fix to boolean -> int casts, since such cases are also generated the wrong way.", "catego...
null