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
airspeed-velocity__asv__1392
airspeed-velocity/asv
1,392
defect
8877eff343807e8bc594690dec08bc0da2caa401
5e1b1d877b1e5605f152efd59e8df918faef8694
Add codespell config, pre-commit hook, and GH action (to catch new typos) + make it fix some it finds
TODO - [x] remove TEMP commit after seeing if pre-commit workflow catches it - [x] remove github action if pre-commit wf catches it
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 23b37b860..bc2161594 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -18,3 +18,10 @@ repos: hooks: - id: ruff args: ["--fix"] +- repo: https://github.com/codespell-project/codespell + # Configuration for...
2
1
0
[{"id": "G0", "claim": "The pre-commit codespell setup would need duplicated exclude configuration, which the author proposed avoiding by just excluding the specific offending name.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The dedicated Gi...
null
airspeed-velocity__asv__1418
airspeed-velocity/asv
1,418
defect
ee3b1871341484bd17f89a8d01efc08f5f86e36c
53a53aa0b67786def692b50499555f49e67e33a2
Add TAGS as range parameter, fixes #488 fixes #1027
ref: https://github.com/airspeed-velocity/asv/issues/488 ref: https://github.com/airspeed-velocity/asv/issues/1027 Adds a new supported range_spec `TAGS` which will just list the tags of the repo and run on those. - [x] ~~Don't just list and sort the tags, make sure they are reverse-chronologically sorted. Right...
diff --git a/asv/commands/run.py b/asv/commands/run.py index 7e1cb4e64..8f1cb4871 100644 --- a/asv/commands/run.py +++ b/asv/commands/run.py @@ -79,14 +79,18 @@ def _setup_arguments(cls, parser, env_default_same=False): rev-list``; or Mercurial log command. See 'specifying ranges' section of t...
1
1
1
[{"id": "G0", "claim": "Wrap the keys in a list before reversing them (`reversed(list(repo.get_tags().keys()))`), which should fix CI on Python 3.7 where a dict view cannot be reversed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
airspeed-velocity__asv__1445
airspeed-velocity/asv
1,445
defect
4c31edaaf82fecb28db3f93af8cfa62d6ab50fd1
621f016cc0e683b55926c55dcd11ba07ba615bd9
ENH: Add `py-rattler`
As it says on the tin. Some notes: - This is much faster than both `libmambapy` and `conda` - It is more featureful than `virtualenv` (supports installing python versions) - Has a well documented API - Is supported by `Python >= 3.8` Regarding the version bump; `asv` itself is no longer installed into the proj...
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 949bc38b7..1ddcf3559 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,7 +48,7 @@ jobs: uses: browser-actions/setup-chrome@latest - name: Set up R version ${{ matrix.r-version }} - uses: r-lib/actio...
3
2
0
[{"id": "G0", "claim": "CI is failing on macOS (python3.8, pypy3.10) and mattip asks whether that is expected.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "mattip asks whether the removal of the 0.6.5 release-notes section from CHANGES.rst was inten...
null
airspeed-velocity__asv__1567
airspeed-velocity/asv
1,567
defect
9a69e00e24dfaac2990d6f90f724281a32d22075
70c9b7f48a1808d9f59c2ed07a8b0d8ad5b8da61
Verbose install errors
This change seeks to address some of the problems in #1453. It adds a `log.info()` call when running benchmarks to mention any failures when installing an environment. While build and install errors occuring in subprocesses get printed in verbose mode, those that occurred in our code did not appear until this change...
diff --git a/asv/benchmarks.py b/asv/benchmarks.py index 117b43db9..8deb8fbec 100644 --- a/asv/benchmarks.py +++ b/asv/benchmarks.py @@ -177,6 +177,7 @@ def iter_unique(iter): if last_err is not None: log.warning("Failed: trying different commit/environment") + ...
1
1
0
[{"id": "G0", "claim": "The 'pre-commit' dependency added to the test optional-dependencies is not needed for the PR and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
airspeed-velocity__asv__277
airspeed-velocity/asv
277
defect
7fbc7e9748944c33aaffa5bc8ffecf089c1231ce
8eaa40be9bc80955b719fd8f9e497eeba507ba19
Fix #274: Add setup_cache method support
Caches results in a shelf between benchmark runs. Cache is created/destroyed once per environment.
diff --git a/asv/benchmark.py b/asv/benchmark.py index dd92f6df6..a43e70337 100644 --- a/asv/benchmark.py +++ b/asv/benchmark.py @@ -28,12 +28,13 @@ import errno import imp import inspect +import itertools import json import os import re +import shelve import textwrap import timeit -import itertools # The be...
12
8
4
[{"id": "G0", "claim": "The documentation needs to explain the benchmark isolation mechanism in more detail, the fact that this setup method would not always be run if cached data exists, and the lifetime of cached data.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"...
null
airspeed-velocity__asv__314
airspeed-velocity/asv
314
defect
d82dcde058714dbcf061e6ae2e0b7283ac4bad2e
3ec2edaf7c5c3e09ca16e39f1b02167ea8331493
No mirror for local repos
Local repositories don't really need a mirror repository, as the performance will be OK anyway. In addition, this allows referring to HEAD, which is useful for "repo": "." configs. In order to preserve backward compat, make checking out working trees more robust, by trying to re-create the work tree repo if it appears...
diff --git a/asv/plugins/git.py b/asv/plugins/git.py index e177e5517..86bd1efab 100644 --- a/asv/plugins/git.py +++ b/asv/plugins/git.py @@ -19,20 +19,26 @@ class Git(Repo): dvcs = "git" - def __init__(self, url, path, _checkout_copy=False): + def __init__(self, url, mirror_path): self._git = uti...
1
1
0
[{"id": "G0", "claim": "Call `self.is_local_repo` instead of the hard-coded `Git.is_local_repo` in `Git.__init__`, since using the class name rather than the instance makes subclassing harder.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
airspeed-velocity__asv__316
airspeed-velocity/asv
316
defect
208c2d69612bd2ea543e16557dba84c15519ed43
da7b85243e2476b309fe7da195fbd1dd1cc5b4b7
Run benchmark setup on every repeat, similarly as timeit does
The benchmark setup should be run on every repeat, this is what users probably expect.
diff --git a/CHANGES.rst b/CHANGES.rst index f32963374..8e5c4e01d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -6,6 +6,10 @@ New Features API Changes ^^^^^^^^^^^ +Previously, the ``setup`` and ``teardown`` methods were run only once +even when the benchmark had ``repeat > 1`` specified. This is now +changed so tha...
3
3
1
[{"id": "G0", "claim": "The PR's rewritten docs for setup and teardown are inaccurate and incomplete: the statement that teardown is rarely necessary since each benchmark runs in its own process is no longer accurate once setup runs on every repeat, the statement that the setup function is run for each benchmark is mis...
null
airspeed-velocity__asv__539
airspeed-velocity/asv
539
defect
32d09e76f8f929612c87930c4862a18dda0b5306
fab148e641634c9e800541180a327fea81fb9746
ENH: enable specifying custom conda channels + create env via environment.yml
- This PR adds the basic functionality to specify a list of custom conda channels using a new key in the JSON config file; the associated feature request issue is #405 - This actually looks fairly clean to me (and works for me), but there are probably some things that the core devs will know that I haven't thought of...
diff --git a/asv/config.py b/asv/config.py index 96b7a35d1..06c8393cc 100644 --- a/asv/config.py +++ b/asv/config.py @@ -39,6 +39,7 @@ def __init__(self): self.regressions_first_commits = {} self.regressions_thresholds = {} self.plugins = [] + self.conda_channels = [] @classmeth...
25
21
8
[{"id": "G0", "claim": "Modifying the user's ~/.condarc / global conda settings is not acceptable, so conda should be informed another way: asv should generate a temporary environment.yml from the asv config with the channels and dependencies and create the environment from it.", "category": "design", "verdict": "suppo...
null
airspeed-velocity__asv__540
airspeed-velocity/asv
540
defect
2320b0f89e67be4989446dbe161883671bdb202b
960bfb63b9f022abeaf33ea93964000acf16727e
Add the possibility for asv machine to use defaults
Using asv in a full-automated way is difficult because asv run needs asv machine to run first. Make asv machine accept a '--yes' that accept the default value. This way automated scripts can put 'asv machine --yes' before running 'asv run'.
diff --git a/asv/commands/machine.py b/asv/commands/machine.py index 9499bcdab..216bff386 100644 --- a/asv/commands/machine.py +++ b/asv/commands/machine.py @@ -28,6 +28,9 @@ def setup_arguments(cls, subparsers): '--' + name, default=defaults[name], help=description) + parser....
3
3
1
[{"id": "G0", "claim": "Use `if accept_default` instead of `if accept_default is True:` in `get_answer_default`, per pep8.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Write the guard as `if not sys.stdout.isatty() and not accept_default:` ins...
null
airspeed-velocity__asv__768
airspeed-velocity/asv
768
defect
ec7bccc7c345f929bd301d2b3de2a6b43b5e05e2
e2a1329b906b3a76250a21de3143ca02c7c0b143
Allow `asv run` to consume list of hashes from a file
This PR enables the listing of hashes asv should run on by providing a file. Currently the format is intentionally limited to "one hash per line". The user says they want to use said file by giving "HASHFILE:xxx.yyy" as the `range` parameter to `asv run`. While not strictly a "range", this seemed ok because "ANY", "E...
diff --git a/asv/commands/run.py b/asv/commands/run.py index 935e1c328..97598b5f4 100644 --- a/asv/commands/run.py +++ b/asv/commands/run.py @@ -4,6 +4,8 @@ from __future__ import (absolute_import, division, print_function, unicode_literals) +import os +import sys import logging import tra...
4
4
3
[{"id": "G0", "claim": "Prefer to support only '-' for reading hashes from stdin, dropping the redundant 'stdin' spelling since there is no need for two ways to do it.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Parsing the hash file with hashstr.stri...
null
airspeed-velocity__asv__771
airspeed-velocity/asv
771
defect
12b6bb5bee7eef6fb8f7878a81eaba46b006de26
df49deaaad994b7f2636df9d91f1d4bc710d706e
ENH: remove memory addresses from param repr()
The `pandas` benchmark suite sometimes uses functions as `params`, which largely works fine. The one issue is that the `repr()` of a function includes its memory address and can change over subsequent `asv` invocations (for normal functions) or even within a single `asv` run (for `lambda` functions). This change in `re...
diff --git a/asv/benchmark.py b/asv/benchmark.py index 01dc78595..b0a12c0f8 100644 --- a/asv/benchmark.py +++ b/asv/benchmark.py @@ -340,6 +340,15 @@ def get_source_code(items): return "\n\n".join(sources).rstrip() +def _repr_no_address(obj): + result = repr(obj) + address_regex = re.compile('^<.* at 0x[...
4
4
2
[{"id": "G0", "claim": "The new _repr_no_address helper needs at least to guard against missing attributes, as obj may be any object whatsoever and the repr may contain anything; preferably the transformation would be applied under an isinstance check so the way it is applied is controlled.", "category": "correctness",...
null
airspeed-velocity__asv__786
airspeed-velocity/asv
786
defect
148358401f561ae0c7f33962917c4e2b9afe1c4b
9d8a56ad032a0ddec6b8d9bd0b6d175687b588e3
Allow asv find to perform a bisection even if benchmark times out
Resolves https://github.com/airspeed-velocity/asv/issues/623 by setting the step runtime == timeout, if and only if the failure is the result of a timeout. This prevents falling back to a linear search on a benchmark that times out, which can take an extremely long time to iterate through in the cases I've encounter...
diff --git a/CHANGES.rst b/CHANGES.rst index 949e4c464..547230ad7 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,6 +14,8 @@ API Changes Bug Fixes ^^^^^^^^^ +- When an ``asv find`` step fails due to timeout, assume runtime equal to timeout to allow bisection to proceed + Other Changes and Additions ^^^^^^^^^^...
2
2
2
[{"id": "G0", "claim": "The timeout substitution should trigger whenever the benchmark result is not all-non-null (not only when results[i] == [None]), so bisection also handles parametrized benchmarks whose results contain other values.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i...
null
airspeed-velocity__asv__865
airspeed-velocity/asv
865
defect
7720adfff4804c2a77f586ce380b3e15352d7905
5495d9cc4451a33786b66f8ac72eba85a235df3e
Add --strict flag to exit non-zero on benchmark failures
This commit adds a new flag, --strict, to the run (and by extension dev) and continous commands. When set any benchmark failures encountered will be treated as an error and the command will exit non-zero when the run is finished. This is especially useful when running benchmarks in a CI system or similar automated ...
diff --git a/asv/commands/continuous.py b/asv/commands/continuous.py index a9d72f724..3ab9bb1eb 100644 --- a/asv/commands/continuous.py +++ b/asv/commands/continuous.py @@ -48,6 +48,10 @@ def setup_arguments(cls, subparsers): can take longer.""") parser.add_argument( "--no-interleave-...
3
3
2
[{"id": "G0", "claim": "The strict-mode return value len(failures) is passed to sys.exit, which takes the lowest bits, so 256*n failures would exit with success; it should return 2 (or another fixed non-zero code) if failures else 0.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro...
null
airspeed-velocity__asv__939
airspeed-velocity/asv
939
defect
2018e53368a4f4f4fc82300103c348117b9de513
35ccf3dde74d6ff960c9cec48d1913563f8b2c55
Take Atom feed id date from commit date instead of benchmark run
The Atom feed ids should be 1-to-1 with the commits where the regressions occurred, so the commit date should be used instead of benchmark run time in the tag: uris. See gh-938
diff --git a/asv/feed.py b/asv/feed.py index 8939a5eee..21592f5c4 100644 --- a/asv/feed.py +++ b/asv/feed.py @@ -38,14 +38,18 @@ class FeedEntry(object): as a separate entry, so if an entry is updated, it appears as a new entry only if the id_context changes. Default: [title, link, content] +...
1
1
1
[{"id": "G0", "claim": "id_rev should default to rev2 rather than rev1, since rev2 is the latest change and the one introducing a regression.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
ais-one__novex-kit__352
ais-one/novex-kit
352
defect
dbc61bd93be849e6e782067bb190f92432a988d9
e0eabebfe2cfa938668c495446c683691205c821
chore(apps/sample-api): handle array roles in createToken and add sam…
## Pull Request Checklist - [x] I read and followed the [Contribution guide](https://github.com/ais-one/novex-kit/blob/main/.github/CONTRIBUTING.md) - [ ] I linked the related issue, if one exists - [x] I ran the relevant checks or tests for the affected area ## Summary `createToken` in `jwt.ts` called `.spl...
diff --git a/apps/sample-api/__tests__/integration/oidc.routes.test.ts b/apps/sample-api/__tests__/integration/oidc.routes.test.ts index 851cd382..657e385b 100644 --- a/apps/sample-api/__tests__/integration/oidc.routes.test.ts +++ b/apps/sample-api/__tests__/integration/oidc.routes.test.ts @@ -158,7 +158,7 @@ async fun...
3
2
0
[{"id": "G0", "claim": "Please fix this code and the other few places that share it (the decodeHtmlEntities helper in the SAML integration test); a minor fix.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Are the devDependencies added to apps/s...
null
aisk__rust-memcache__23
aisk/rust-memcache
23
defect
3665f9dc5e39bed95b63494ca227f17d3ff0cbfd
7c8ba64b63fc8cfc89b3e9c0cf8552aefae8c32f
Add support for UDP connection
List of commands supported (all which are currently supported for TCP except multi-get): - Version - Flush - Flush With Delay - Get - Set - Replace - Add - Append - Delete - Prepend - Increment - Decrement - Touch **Design:** 1. We use two buffers called `read_buf` and `write_buf` for UDP...
diff --git a/.travis.yml b/.travis.yml index ceb6e6b..512355a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ before_script: - memcached -p 12347 -d - memcached -p 12348 -d - memcached -p 12349 -d + - memcached -U 22345 -d - memcached -s /tmp/memcached.sock -d - memcached -s /tmp/memcached2...
10
10
3
[{"id": "G0", "claim": "The `use std::io::{Read, Write, ErrorKind, Error}` import should be grouped with the other `std::io` use at line 3.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The connection type should be identified via a URL query string (e....
null
aisk__rust-memcache__68
aisk/rust-memcache
68
defect
1308b6c23721bff4a4ccd80fd84d120b1249a82a
e0618256ce0426351a7850ddbdf8a4562b710ecd
Add optional TLS Support
This adds TLS support to the memcache client. Users opt-in to a TLS connection by using a URL in the form of: memcache+tls://HOST:PORT TLS was added to memcached in version 1.5.13. TLS options are available as query parameters, in line with the previous tcp options. The available options are: verify_mo...
diff --git a/Cargo.toml b/Cargo.toml index a1583cd..b80fa9d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,3 +13,6 @@ byteorder = "1" url = "1" rand = "0.7" enum_dispatch = "0.1" +# If we don't want to depend on the system openssl, we could do: +# openssl = {version = "*", features = ["vendored"]} +openssl = "*" di...
4
4
2
[{"id": "G0", "claim": "openssl's compilation is always troublesome, so openssl should be marked as an optional dependency rather than a required one.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new use statements in src/connection.rs should be or...
null
aisk__rust-memcache__72
aisk/rust-memcache
72
defect
1308b6c23721bff4a4ccd80fd84d120b1249a82a
3e71efe0c85da358665835b539e9cf1d86a3441b
Add cas command
Fixes #47 Haven't yet tested, I'll add tests soon.
diff --git a/src/client.rs b/src/client.rs index 5ac60f4..06f6cff 100644 --- a/src/client.rs +++ b/src/client.rs @@ -7,9 +7,10 @@ use url::Url; use connection::Connection; use error::MemcacheError; +use protocol::CasId; use protocol::{Protocol, ProtocolTrait}; use stream::Stream; -use value::{FromMemcacheValue, T...
3
2
0
[{"id": "G0", "claim": "A body (for example an error string when the key doesn't exist for cas, add or replace) can follow a store-command response, so the debug_assert the author added in parse_header_only_response is wrong and these cases are untested; the author will remove the assert and handle the cases in a separ...
null
aisk__rust-memcache__77
aisk/rust-memcache
77
defect
39d0609d7f65ea6c822e60f3855f628429ab8aae
75c725f57caf5122a28fb04f33cbb4819f2f8c6a
:bug: Read total body while error hanppend on binary protocol
close #74
diff --git a/src/protocol/binary_packet.rs b/src/protocol/binary_packet.rs index a3f2eb5..c57b22a 100644 --- a/src/protocol/binary_packet.rs +++ b/src/protocol/binary_packet.rs @@ -121,6 +121,8 @@ pub fn parse_cas_response<R: io::Read>(stream: &mut R) -> Result<bool, MemcacheE pub fn parse_header_only_response<R: io::...
2
2
1
[{"id": "G0", "claim": "Move the total-body read outside of the `if`: if extras_length != 0 and ResponseStatus is NoError, the response body may still be left unread on the socket.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The function `parse_h...
null
aisk__rust-memcache__82
aisk/rust-memcache
82
defect
8c2bf9366d1d84bdd957bb7092b56ae0d8225495
decb6de595ed358512f83af321001877a089ef20
Better error type
Fixes #79 I may have gone a bit overboard refactoring the binary protocol. Sorry about that! The issue with returning same errors in both ASCII and binary protocol is that the format of errors is different. We should instead document that the errors returned by both the protocols may be different but guarantee t...
diff --git a/src/client.rs b/src/client.rs index 13087ec..96d75e1 100644 --- a/src/client.rs +++ b/src/client.rs @@ -66,11 +66,7 @@ impl Client { let urls = target.get_urls(); let mut connections = vec![]; for url in urls { - let parsed = match Url::parse(url.as_str()) { - ...
3
2
2
[{"id": "G0", "claim": "The From<u16> impl for CommandError should not panic for the 0x0 status; a non-panic error value should be returned instead so a memcached response can never abort the user's process.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
ajaxorg__ace__2555
ajaxorg/ace
2,555
defect
7077f28d1abfafc66097dbfc72b7073640ad562f
8990d198db2874db5a1327659805576cbcaa4edb
Scroll support for mobile
There is an outstanding issue with scroll support on touch devices (one the issues described here: fix: #37 , fix: #403, fix: #1726 ). Added event listeners for touch move and touch start events to scroll appropriately.
diff --git a/lib/ace/ext/whitespace_test.js b/lib/ace/ext/whitespace_test.js index 6cc0c70e75..95063a4502 100644 --- a/lib/ace/ext/whitespace_test.js +++ b/lib/ace/ext/whitespace_test.js @@ -33,9 +33,9 @@ module.exports = { indent = whitespace.$detectIndentation(s.doc.$lines); assert.equal(indent.ch, ...
2
2
1
[{"id": "G0", "claim": "The getAccelKey/getShiftKey checks in onTouchMove are probably not relevant for touch events and should be dropped.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The parseInt calls on touchObj.clientX/clientY are unnecessary...
null
ajaxorg__ace__4022
ajaxorg/ace
4,022
defect
b808ac14ec6d6afa74b36ff5c03452a2832b32a4
795bd6a62c37985f10073e02eda79357d4748045
additional menu for mobile
![image](https://user-images.githubusercontent.com/341801/61545292-308e8000-aa58-11e9-80b3-10f0da65afaf.png) ![image](https://user-images.githubusercontent.com/341801/61545317-3c7a4200-aa58-11e9-9644-cb0748c1aa64.png)
diff --git a/lib/ace/css/editor.css b/lib/ace/css/editor.css index 573cb86a1cb..8aa5c244071 100644 --- a/lib/ace/css/editor.css +++ b/lib/ace/css/editor.css @@ -528,3 +528,36 @@ styles.join("\n") position: absolute; z-index: 8; } + +.ace_mobile-menu { + position: absolute; + line-height: 1.5; + bord...
1
1
0
[{"id": "G0", "claim": "The context-menu construction code inside `if (!contextMenu)` should be extracted into a method, e.g. `if (!contextMenu) { contextMenu = createContextMenu(..) }`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ajaxorg__ace__4112
ajaxorg/ace
4,112
defect
27cfc3b99caa0ef82ab1aa419614db1e8bbf64bd
69c4bd4f9c4a374859f6d349ce9663e3c25227d9
initial CodeLense support
can be tested at https://raw.githack.com/ajaxorg/ace/code-lense/demo/code_lense.html to change theme use `cmd-,` - adds support for displaying widgets above the line - passes `changes` number to `before/afterRender` event handlers - fixes bug with moveSelection across lineWidgets TODO: - show multiple lineWid...
diff --git a/demo/code_lense.html b/demo/code_lense.html new file mode 100644 index 00000000000..34dac8ee279 --- /dev/null +++ b/demo/code_lense.html @@ -0,0 +1,84 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <title>ACE Autocompletion demo</title> + <style type="text/css" media="screen"> ...
3
3
3
[{"id": "G0", "claim": "Code lenses should be attached to the session state so that switching the editor's session keeps working (the reviewer asks how one would switch sessions at all).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new cases in edi...
null
ajaxorg__ace__4545
ajaxorg/ace
4,545
defect
563113e1900f691d0d669f64abe238d45796bcb0
efe60349b679aa1286cc99cd6a3169475a1ee257
vim support gq
partial improvement for https://github.com/ajaxorg/ace/issues/2865 can be tested on https://raw.githack.com/ajaxorg/ace/vim-hardwrap/kitchen-sink.html with `:set tw=20` `gq}` By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of you...
diff --git a/lib/ace/ext/hardwrap.js b/lib/ace/ext/hardwrap.js new file mode 100644 index 00000000000..27b28fca251 --- /dev/null +++ b/lib/ace/ext/hardwrap.js @@ -0,0 +1,108 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Distributed under the BSD license: + * + * Copyright (c) 2010, Ajax.org B.V. + * All rights reserved. +...
3
3
3
[{"id": "G0", "claim": "gqq is not implemented even though in Vim both gqq and gqgq wrap the current line: pressing gqq acts like q and starts recording a macro on the next keystroke.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When two lines hav...
null
ajaxorg__ace__4905
ajaxorg/ace
4,905
defect
872783852a93ee2d8da2d40c8718272d18f8d92b
8010f2a811d1a7d6becf8a1c028b0e4b14ed862b
Custom scrollbar with gutter indicators
*Issue #, if available:* *Description of changes:* Adds custom scrollbar with indicators for annotations By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
diff --git a/src/editor.js b/src/editor.js index 887b9fcbce0..351aea03f7c 100644 --- a/src/editor.js +++ b/src/editor.js @@ -2936,7 +2936,7 @@ config.defineOptions(Editor.prototype, "editor", { this.$updatePlaceholder(); } }, - + customScrollbar: "renderer", hScrollBarAlwaysVisible: "...
6
6
1
[{"id": "G0", "claim": "The per-type fillStyle switch in the annotation-drawing loop can be simplified to `ctx.fillStyle = colors[annotations[i].type] || null`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The switch that assigns item.typeNumb...
null
ajaxorg__ace__4947
ajaxorg/ace
4,947
defect
d2ed4316486e9e47dfa1db6981338b43acd03b8c
236a31e5d69fd4fd874b667b38dd1bf0685f75c5
Feat: Matching tags for highlighting/folding
*Issue #, if available:* #4282 #2424 *Description of changes:* - `getMatchingTags` method returns both open and close tag Ranges - Unifies three different implementations of matching tag from `jumptomatching`, `xml folding` and `$highlightTags` - `findMatchingTags` implementation for vim - `jumpToMatching` bette...
diff --git a/src/edit_session/bracket_match.js b/src/edit_session/bracket_match.js index 9544f5dc12b..2e88214f626 100644 --- a/src/edit_session/bracket_match.js +++ b/src/edit_session/bracket_match.js @@ -219,5 +219,190 @@ function BracketMatch() { return null; }; + + /** + * Returns [[Ra...
2
2
1
[{"id": "G0", "claim": "The token-walking loop in getMatchingTags may enter an endless loop, so visited tokens should be marked to break out of it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The loop and function in getMatchingTags are too compl...
null
ajaxorg__ace__5103
ajaxorg/ace
5,103
defect
3c149a97acedd9c9ad52daebaf944aa26534d37f
ce40c42b29f7d2c9c962324edeae8255e85883e6
basic doc tooltip
*Issue #, if available:* *Description of changes:* By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index c9a33ea6d4..661d501673 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -52,7 +52,7 @@ jobs: fi # - run: npm run lint - run: node_modules/.bin/tsc --noImplicitAny --strict --noUnusedLocals --...
9
2
1
[{"id": "G0", "claim": "Remove the commented-out console.log line left in the new tooltip test.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When the mouse moves from text to the gutter icon, the doc-tooltip stays open on top of the gutter too...
null
ajaxorg__ace__5124
ajaxorg/ace
5,124
defect
ed729aa25aebc02bb27aa372c57fb0a4304ff013
02900f69701142c5051f46919e19e67584065181
fix autocomplete popup being shown without results
Fixes regression introduced by the recent refactoring By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
diff --git a/src/autocomplete.js b/src/autocomplete.js index dc4cc651cec..d93a45ab909 100644 --- a/src/autocomplete.js +++ b/src/autocomplete.js @@ -644,7 +644,8 @@ class CompletionProvider { this.completions.setFilter(prefix); - callback(null, this.completions, results.finished); + ...
1
1
0
[{"id": "G0", "claim": "The test should either indicate in a comment which key the raw keycode (13) corresponds to or use the existing keys map from the lib folder instead of the raw keycode.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ajaxorg__ace__5144
ajaxorg/ace
5,144
defect
8fe099b4b497329bd8094a1520633ef5d8e60041
fdea2bb504094475bace10b411afd4b969eafba1
fix instances of exponential backtracking found by recheck
https://www.npmjs.com/package/recheck is able to find slow regexps in many cases. It helped to find two instances of such behavior. Unfortunately it is not fast enough to run after each pull request, so i've commented out the test code, but perhaps it is worth to add a separate workflow to run recheck only for changed ...
diff --git a/demo/kitchen-sink/docs/clojure.clj b/demo/kitchen-sink/docs/clojure.clj index 42acfcc7b7c..2f7a1208504 100644 --- a/demo/kitchen-sink/docs/clojure.clj +++ b/demo/kitchen-sink/docs/clojure.clj @@ -16,4 +16,8 @@ (println (parting)) ; -> Goodbye, World (println (parting "Mark")) ; -> Goodbye, Mark (println...
1
1
0
[{"id": "G0", "claim": "The PR should not comment out the checkBacktracking(tokenizer) call in testMode, since its implementation was not changed and the new slow path is checkBacktrackingWithRecheck, which is unused; commented-out code should not be added.", "category": "correctness", "verdict": "supported", "priority...
null
ajaxorg__ace__5306
ajaxorg/ace
5,306
defect
caedd0cf22d5a7644ceb418562ebcab801011c88
1c9ec046700d4bd111afdd8f2e721f80df51822b
Lightweight tokenizer extension
Adding an Ace extension (`src/ext/simple_tokenizer.js`) exporting the smallest possible tokenizer which still uses Ace highlighting rules: * Per my calculation it's below 10KB with the JSON rules. * This extension could be used by consumers to either wrap this into some kind of Syntax Highlighting component or just ...
diff --git a/Makefile.dryice.js b/Makefile.dryice.js index 890e05c7776..a54a73866a8 100755 --- a/Makefile.dryice.js +++ b/Makefile.dryice.js @@ -176,9 +176,10 @@ function ace() { function buildTypes() { var aceCodeModeDefinitions = '/// <reference path="./ace-modes.d.ts" />'; + var aceCodeExtensionDefinition...
5
4
2
[{"id": "G0", "claim": "The Tokenizer class exported from tokenizer_internal.js calls this.reportError, which is only attached to it by src/tokenizer.js, so code paths that use it directly (including SimpleTokenizer) can throw 'reportError is not a function'; the reviewer asks to make reportError a constructor paramete...
null
ajaxorg__ace__5872
ajaxorg/ace
5,872
defect
8f32aabe3caf737421b27f7420535440dbb37d5f
47a6321e5491d1dd7d152054a41b5d702d48daa5
Gutter Hover tooltip
*Issue #, if available:* *Description of changes:* - make gutter tooltip to work similar HoverTooltip By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. Pull Request Checklist: * [x] No backwards incompatible changes ...
diff --git a/ace-internal.d.ts b/ace-internal.d.ts index c0417ec25cd..ac9f46501e8 100644 --- a/ace-internal.d.ts +++ b/ace-internal.d.ts @@ -380,7 +380,6 @@ export namespace Ace { dragDelay: number; dragEnabled: boolean; focusTimeout: number; - tooltipFollowsMouse: boolean; } ...
6
3
0
[{"id": "G0", "claim": "The new tooltip property on the mouse handler should not be added as a public property, since the annotation tooltip is already available.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer questions why the test that che...
null
ajayyy__SponsorBlock__2187
ajayyy/SponsorBlock
2,187
defect
4a217300a2976875936c5d675238d37ca659c4dd
f4dc98112a8736872f21ec01c877a23cb0f9a60a
Implement support for YouTube TV (tv.youtube.com)
This pull request implements a reasonable level of support for YouTube TV (referring to YouTube's subscription cable TV replacement service available in the US at tv.youtube.com also known as YTTV, not regular YouTube on TVs.) YouTube TV uses the same namespace of video IDs as the regular YouTube site, though the ov...
diff --git a/maze-utils b/maze-utils index dc162b4e7d..2b7966b4d7 160000 --- a/maze-utils +++ b/maze-utils @@ -1 +1 @@ -Subproject commit dc162b4e7d26b33c31392ba8ba830976a2d97062 +Subproject commit 2b7966b4d72d5f1c8e9859e5505ebe4179ef27f2 diff --git a/public/_locales b/public/_locales index 1853c78fc2..2b3c82bfc7 16000...
1
1
0
[{"id": "G0", "claim": "The comment \"// these numbers don't actually matter\" on the YTTV button style line added in createButton is confusing and should be removed (or the style line explained).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
ajitpratap0__GoSQLX__94
ajitpratap0/GoSQLX
94
defect
779043c0e02da94d40c01418fb5e2cedb3ebc5c0
f9fdf3ecdb47575151398460131766894ea450f8
feat: Add SARIF Output and PR Comment Integration for GitHub Action
## Summary Adds two critical enhancements to the GoSQLX GitHub Action from PR #92: 1. **SARIF Output Support** - Native GitHub Code Scanning integration 2. **PR Comment Integration** - Automated validation result posting These features were identified as valuable additions during the initial GitHub Action implementat...
diff --git a/.gitignore b/.gitignore index b3f70594..a1e301ef 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,13 @@ coverage.html *.prof +# Security scan results +*.sarif +gosec-*.json + +# Test directories +test-action/ + # Dependency directories (remove the comment below to include it) vendor/ diff --gi...
7
1
1
[{"id": "G0", "claim": "The SARIF output file is written with 0644 permissions; WriteFile permissions should be 0600 or less.", "category": "security", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "SARIF results hard-code StartLine to 1, reducing diagnostic precision; the vali...
null
ajnart__homarr__1352
ajnart/homarr
1,352
defect
371587c62d81610bcc28874374a7886e63ae0df8
daed85a06127720b64c2f80d70ea13d998360bf2
✅ Update vitest test for Pihole as sdk changed
### Category > Test files ### Overview > Update vitest test for Pihole as sdk changed > enable -> change not done -> throw error > disable -> change not done -> throw error > enable -> cycle 10 times -> expected value > disable -> cycle 10 times -> expected value > on all, added mockup for getSummary as it is...
diff --git a/src/tools/server/sdk/pihole/piHole.spec.ts b/src/tools/server/sdk/pihole/piHole.spec.ts index 4df9964c9e2..44c240c021a 100644 --- a/src/tools/server/sdk/pihole/piHole.spec.ts +++ b/src/tools/server/sdk/pihole/piHole.spec.ts @@ -161,6 +161,7 @@ describe('PiHole API client', () => { const warningLogSpy ...
2
2
1
[{"id": "G0", "claim": "Can you write a test that exercises the retry logic? Currently the tests only assert the case where there was no retry.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The name retry (retryCount) is bad because the initial request...
null
ajnart__homarr__1416
ajnart/homarr
1,416
defect
7d7fe6016b553647fb0255288f7b64b409f13c0b
44f4f5dd972dc84458024179646c619a138f4be6
Feat/add login redirection
<!-- copilot:summary --> ### <samp>🤖 Generated by Copilot at 44f4f5d</samp> This pull request refactors and simplifies the authentication and authorization logic of several pages by using a common helper function `checkForSessionOrAskForLogin` from `src/tools/server/loginBuilder.ts`. It also improves the user experie...
diff --git a/src/pages/auth/login.tsx b/src/pages/auth/login.tsx index 5ce5bbd24be..9a034b95ba4 100644 --- a/src/pages/auth/login.tsx +++ b/src/pages/auth/login.tsx @@ -54,7 +54,8 @@ export default function LoginPage() { setIsError(true); return; } - router.push('/manage'); + const re...
1
1
1
[{"id": "G0", "claim": "The login page pushes the unvalidated user-provided redirectAfterLogin query parameter to router.push, which allows redirecting to an arbitrary value such as a data: URL and therefore constitutes client-side cross-site scripting and untrusted URL redirection.", "category": "security", "verdict":...
null
ajnart__homarr__1534
ajnart/homarr
1,534
defect
735d6484e2ecad339c5cd2dc7a6eef96e22179c7
33fa6cfafe435184048e165ca8b0472bb864da38
Add an option to show active torrents when completed torrents are hidden in Torrent Queue widget
### Category > Feature ### Overview > Add an option to show active torrents when completed torrents are hidden : > When 'Display completed torrents' is disable and 'Show active torrents when completed torrents are hidden' is enable, the widget will show downloading torrents and torrents with uploadspeed not null ...
diff --git a/next-env.d.ts b/next-env.d.ts index fd36f9494e2..4f11a03dc6c 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,6 +1,5 @@ /// <reference types="next" /> /// <reference types="next/image-types/global" /> -/// <reference types="next/navigation-types/compat/navigation" /> // NOTE: This file should not ...
4
3
1
[{"id": "G0", "claim": "The speed-unit correction from PR #1537 (approved but never merged, branch deleted) is not present in this PR, and the maintainer asks the author to add it back here since the torrent-speed misinterpretation still stands.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scop...
null
ajnart__homarr__1554
ajnart/homarr
1,554
defect
f4a4b3c25216ad84251dfb25d517f67d240db396
17871f62f56b5b253710f5888c86ac53bbfd4ce0
Add Torrents ratio in Torrents Queue Widget
### Category > Feature ### Overview > Add global ratio and filtered torrents list ratio ### New Vars > Var : widget.properties.displayRatioWithFilter & ratioGlobal & ratioWithFilter > Function : getTorrentsRatio ### Screenshot ![image](https://github.com/ajnart/homarr/assets/10882916/f60eb896-8247-4f1b-9f...
diff --git a/public/locales/en/modules/torrents-status.json b/public/locales/en/modules/torrents-status.json index 3f83a6396d0..d78e4e01636 100644 --- a/public/locales/en/modules/torrents-status.json +++ b/public/locales/en/modules/torrents-status.json @@ -19,13 +19,19 @@ "labelFilter": { "label": "Labe...
3
3
0
[{"id": "G0", "claim": "The displayRatioWithFilter description should be reworded to fix its broken English: \"If disabled, only the global ratio will be display. The global ratio will still use the labels if set\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": ...
null
ajnart__homarr__1911
ajnart/homarr
1,911
defect
46a57c1cf2bdcfeb99171cac253585496447eb47
bedd9c4d7dfd1f27b3c2c69b722dd929bc02b842
Fix redirect OIDC
This pull request fixes #1909 The redirect uri for oidc was sometimes wrong and so it was not able to eighter redirect to the correct page or to use the registered redirect url
diff --git a/src/pages/auth/login.tsx b/src/pages/auth/login.tsx index eb7f0af2efc..482e1db6e4d 100644 --- a/src/pages/auth/login.tsx +++ b/src/pages/auth/login.tsx @@ -70,7 +70,15 @@ export default function LoginPage({ }; useEffect(() => { - if (oidcAutoLogin) signIn('oidc'); + if (oidcAutoLogin && !isEr...
3
2
1
[{"id": "G0", "claim": "The redirect_uri sent to the OIDC provider stays on localhost (e.g. http://localhost:7575/api/auth/callback/oidc) instead of the forwarded host, so the PR's redirect approach does not work properly; catrielmuller suggests accepting an env var to override redirect_uri as a hotfix.", "category": "...
null
ajv-validator__ajv__1485
ajv-validator/ajv
1,485
defect
663ee005e2fdf1065476f1238e8e8ed8d9035b8c
e98762a290d1e80ef793d5baeaed0bc65bdd0b9d
add union support to JSONSchemaType
**What issue does this pull request resolve?** fixes #1302 somewhat anyway **What changes did you make?** In addition to the full JSONSchemaType, it can not also be an empty `anyOf` or `oneOf` construct containing any array of valid schemas. I thought about supporting combinations, but I'm not sure how much...
diff --git a/docs/guide/typescript.md b/docs/guide/typescript.md index c3e2385ba..4dde113c6 100644 --- a/docs/guide/typescript.md +++ b/docs/guide/typescript.md @@ -243,3 +243,36 @@ function parseAndLogFoo(json: string): void { ``` </code-block> </code-group> + +## Type-safe Unions + +JSON Type Definition only suppo...
4
2
1
[{"id": "G0", "claim": "JSONSchemaType should support unions of primitives expressed as a type array, e.g. JSONSchemaType<number | string> = { type: [\"number\", \"string\"] }, because not supporting that form would break type coercion.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "in...
null
ajv-validator__ajv__1584
ajv-validator/ajv
1,584
defect
380de72d127716037767462d0e4c50b7398d83d5
3ab66c27997be75e32a8f6f9e88b36ab9386ec00
JTD timestamp option
**What issue does this pull request resolve?** https://github.com/ajv-validator/ajv/issues/1543 **What changes did you make?** - added `timestamp` configuration option, ~~available only under JTD~~ - added tests for its behavior - adjusted timestamp check accordingly **Is there anything that requires ...
diff --git a/lib/2019.ts b/lib/2019.ts index 0311c4d097..8248f11b54 100644 --- a/lib/2019.ts +++ b/lib/2019.ts @@ -1,5 +1,5 @@ import type {AnySchemaObject} from "./types" -import AjvCore, {Options} from "./core" +import AjvCore, {AjvOptions} from "./core" import draft7Vocabularies from "./vocabularies/draft7" imp...
3
3
1
[{"id": "G0", "claim": "timestampCode should take the keyword context instead of loose arguments, and useFunc should be called only in the branches that need it, because useFunc adds generated code creating a scope variable in the generated function.", "category": "performance", "verdict": "supported", "priority": "P2"...
null
ajv-validator__ajv__1815
ajv-validator/ajv
1,815
defect
8fccddb4161cfe4d63f2b8987d58f6c10a6bf005
afb1781e4455904ad7b8aa32394c8bfb55206282
resolve references before validating the discriminator
fixes #1554 <!-- Thank you for submitting a pull request to Ajv. Before continuing, please read the guidelines: https://github.com/ajv-validator/ajv/blob/master/CONTRIBUTING.md#pull-requests If the pull request contains code please make sure there is an issue that we agreed to resolve (if it is a documentati...
diff --git a/lib/vocabularies/discriminator/index.ts b/lib/vocabularies/discriminator/index.ts index f8656d8d2..0d2d39418 100644 --- a/lib/vocabularies/discriminator/index.ts +++ b/lib/vocabularies/discriminator/index.ts @@ -2,6 +2,7 @@ import type {CodeKeywordDefinition, AnySchemaObject, KeywordErrorDefinition} fro i...
8
8
1
[{"id": "G0", "claim": "The discriminator should not infer that a subschema is a plain reference from $ref alone or from the number of keys; a reference must be the only validation keyword in the schema (ignoring keywords like title), and the error message for the invalid case needs updating.", "category": "correctness...
null
akarnokd__RxJavaInterop__18
akarnokd/RxJavaInterop
18
defect
1b37340ea7a3e839c15e0adeb398b6c959faeca1
c80a92b5f02abf5f24af9f19fc15bff5bfce8cf0
Observable.Transformer -> ObservableTransformer
Added some helpers for converting between Observable.Transformer and ObservableTransformer. Handles backpressure by taking a strategy as input, similar to helpers for FlowableTransformer.
diff --git a/src/main/java/hu/akarnokd/rxjava/interop/RxJavaInterop.java b/src/main/java/hu/akarnokd/rxjava/interop/RxJavaInterop.java index bca43a4..857086b 100644 --- a/src/main/java/hu/akarnokd/rxjava/interop/RxJavaInterop.java +++ b/src/main/java/hu/akarnokd/rxjava/interop/RxJavaInterop.java @@ -16,6 +16,9 @@ pa...
3
2
0
[{"id": "G0", "claim": "The maintainer is not convinced the new convenience transformer converters are needed, as they look like a convenience rather than a non-trivial conversion like the rest of the class.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "D...
null
akarnokd__RxJavaInterop__22
akarnokd/RxJavaInterop
22
defect
37fd1030f79ea303cc8f37beddf775bc22ce1217
00170885e223b9d8cd3eae8358727b9244627f12
Add 2.x Scheduler to 1.x Scheduler conversion.
Noticed a bug in our internal impl and decided to rewrite it and push to upstream. @akarnokd do you think I should add v1 to v2 Scheduler conversion? We only need v2 to v1 since we're aggressively replacing v1 with v2 and not vice versa.
diff --git a/README.md b/README.md index 8870e88..1ee30d7 100644 --- a/README.md +++ b/README.md @@ -129,3 +129,11 @@ io.reactivex.disposables.Disposable d2 = RxJavaInterop.toV2Disposable(rx.Subscri rx.Subscription s1 = RxJavaInterop.toV1Subscription(io.reactivex.disposables.Disposable); ``` + +### Convert between ...
13
11
0
[{"id": "G0", "claim": "akarnokd questions the motivation for the 2.x-to-1.x Scheduler conversion itself, saying he has found no convincing reasoning for it and has not encountered custom scheduler implementations that would need it.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced...
null
akashic-games__akashic-engine__157
akashic-games/akashic-engine
157
defect
a842b3522a06a202e2a5de8f0e7eb4f28c8f490e
7c41fa5054b0d9bee7c805df2a7bfb0a878fa201
Support a legacy specification of default anchor
## このpull requestが解決する内容 #142 にて変更したアンカーの初期値について、 `Object2D#anchorX` または `Object2D#anchorY` を明示的に `null` に指定した場合に、旧挙動 (位置は左上端を基準に、拡大・縮小・回転の基点は中央を基準に) となるように修正します。 ## preview ### before ![anchor_default](https://user-images.githubusercontent.com/16933898/69843287-2b64fb80-12aa-11ea-9936-94b4f39548a6.gif) ``...
diff --git a/src/__tests__/HitTestSpec.ts b/src/__tests__/HitTestSpec.ts index 1af4b0e17..8c497de00 100644 --- a/src/__tests__/HitTestSpec.ts +++ b/src/__tests__/HitTestSpec.ts @@ -84,8 +84,8 @@ describe("test E", () => { const scale = 2; const w = e.width * scale; const h = e.height * scale; - const fromX = ...
3
3
0
[{"id": "G0", "claim": "updateWithoutAnchor is internal to PlainMatrix, so it should be renamed to _updateWithoutAnchor.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment sentence「変形の原点は引数で指定された位置の原寸大、すなわち (anchorX * width, anchorY * he...
null
akashic-games__akashic-engine__175
akashic-games/akashic-engine
175
defect
b1f6af39a26cf470fefc4c6b9faf0f8eba97be7a
3aec4228e0f50ea68b1cf4e4a18cf39cef7c760a
Asset by path
## このpull requestが解決する内容 ファイルパスでアセットにアクセスできるよう、以下の変更を加えます。 - `g.SceneParameterObject#assetPaths: string[]` を追加 - `g.Scene#asset: g.AssetAccessor` を追加 - 対応する `g.AssetAccessor` とその処理本体を `g.AssetManager` に追加 これにより次のような記述が可能になります。 ``` const scene = new g.Scene({ game: g.game, assetPaths: [ "/as...
diff --git a/src/Scene.ts b/src/Scene.ts index 147fa9856..7bfbf8b4e 100644 --- a/src/Scene.ts +++ b/src/Scene.ts @@ -1,5 +1,6 @@ import { Trigger } from "@akashic/trigger"; import { ExceptionFactory } from "./commons/ExceptionFactory"; +import { AssetAccessor } from "./domain/AssetAccessor"; import { AssetManager } ...
4
4
0
[{"id": "G0", "claim": "The AssetManager `peek~()` methods (e.g. `peekLiveAssetByAccessorPath`) should be defined as generics, `peekLiveAssetByAccessorPath<T extends AssetLike>(accessorPath: string, type: string): T`, because that makes it easier to infer that the result can be downcast.", "category": "design", "verdic...
null
akashic-games__akashic-engine__179
akashic-games/akashic-engine
179
defect
cb67b92a9c9cd6fd8a64124304ddc7048b87de9b
3f9e3034d9708b4205d0554b8142420873b8fd84
Add EventConverter
## このpull requestが解決する内容 * [game-driver](https://github.com/akashic-games/game-driver) から以下の機能を移植します。 * EventConverter * PointEventResolver * [akashic-pdi](https://github.com/akashic-games/akashic-pdi) から以下のインタフェースを移植します。 * PointEvent -> PlatformPointEvent ## 破壊的な変更を含んでいるか? - なし <!-- 後方互換のない変更...
diff --git a/package.json b/package.json index 27caad905..40384a59b 100644 --- a/package.json +++ b/package.json @@ -36,10 +36,10 @@ "clean": "rimraf dist && rimraf lib", "test": "npm run test:jest && npm run lint && npm run textlint", "test:jest": "jest --config jest.config.js", - "lint": "npm run fo...
1
1
0
[{"id": "G0", "claim": "PointEventResolver seems it could drop its Game dependency, since almost its only requirement should be the existence of findPointSource().", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
akashic-games__akashic-engine__211
akashic-games/akashic-engine
211
defect
0d661d3c82eedfe878e8b5f0c84e458d8893d31f
c0b7eaad1c0463c29d0159cc2f065c0b50dd396b
Add string literal types to replace/deprecate enums
## このpull requestが解決する内容 enum (const enum でない enum) で定義されていた定数に代わる、文字列リテラル型を導入します。 たとえば従来 DynamicFont の生成時には enum g.FontFamily を使った次のようなコードが必要でした。 ```typescript new g.DynamicFont({ fontFamily: g.FontFamily.SansSerif, ... }); ``` これを文字列で簡潔に指定できるようにします。 ```typescript new g.DynamicFont({ fontFamily: ...
diff --git a/src/Game.ts b/src/Game.ts index 1b02e8187..803bdb35b 100644 --- a/src/Game.ts +++ b/src/Game.ts @@ -7,7 +7,7 @@ import { AudioSystemManager } from "./domain/AudioSystemManager"; import { Camera } from "./domain/Camera"; import { DefaultLoadingScene } from "./domain/DefaultLoadingScene"; import { E, Poin...
4
3
0
[{"id": "G0", "claim": "Consider deleting the AssetLoadErrorType enum entirely (by changing the corresponding ExceptionFactory argument) instead of only deprecating it, since it appears unused outside the engine and no replacement string literal type is needed.", "category": "design", "verdict": "uncertain", "priority"...
null
akashic-games__akashic-engine__213
akashic-games/akashic-engine
213
defect
03e0fc5b0bbf9d1cbebf474c8eae9254f9a8ea34
fdfba89917652553286794072e2e952575b6e6fe
refactor: remove cyclic dependencies around SceneAssetHolder
## このpull requestが解決する内容 掲題どおり。 #184 を再考しました。 `Scene` と循環参照していて、 Scene.ts から分離できていなかった `SceneAssetHolder` を見直し、 `AssetHolder` として切り離します。 `SceneAssetHolder` はもともと `Scene` の一部で、 `Scene` の各種トリガーを直接 fire するという状態になっていました。これを改めるため、生成時にいくつかのハンドラを受け取り、それを呼び出すだけの形にします。 また `SceneAssetHolder` は、生成時に与える `direct: boolean`...
diff --git a/src/AssetHolder.ts b/src/AssetHolder.ts new file mode 100644 index 000000000..bb3c6d805 --- /dev/null +++ b/src/AssetHolder.ts @@ -0,0 +1,190 @@ +import { Trigger } from "@akashic/trigger"; +import { ExceptionFactory } from "./commons/ExceptionFactory"; +import { AssetManager } from "./domain/AssetManager"...
10
9
0
[{"id": "G0", "claim": "The type parameter `T` of `_pushPostTickTask()` in src/Game.ts is not referenced anywhere and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `owner` passed as `this` to the called function is invoke...
null
akashic-games__akashic-engine__220
akashic-games/akashic-engine
220
defect
82d469074fbb43744581514a2a1e4ba84fe00117
3ac625eafe37e8b12f4bf7a09aae03d1e1609c64
fix Object2D constructor argument anchorX and anchorY
## このpull requestが解決する内容 `E` の生成時に `anchorX`, `anchorY` に `null` を指定できない問題を修正。 ## 破壊的な変更を含んでいるか? - なし
diff --git a/package-lock.json b/package-lock.json index 4c74038fd..c91c0c48c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@akashic/akashic-engine", - "version": "3.0.0-beta.18", + "version": "3.0.0-beta.19", "lockfileVersion": 1, "requires": true, "dependencies": { d...
3
3
0
[{"id": "G0", "claim": "The release-note content should be written in CHANGELOG.md instead of a separate unreleased-changes file, since beta contents are now also recorded in the CHANGELOG.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G2", "claim": "The doc co...
null
akashic-games__akashic-engine__241
akashic-games/akashic-engine
241
defect
d5fa6d82e5eabe30d9a56c34ad3c129e6e2ef473
c55f4c3ff283a5994829ac74137a0196a4a92f08
(V3) add game joined player ids
## このpull requestが解決する内容 <!-- Pull Requestの変更内容の概要を書いてください --> https://github.com/akashic-games/akashic-engine/pull/240 のV3対応です。 ## 破壊的な変更を含んでいるか? - なし <!-- 後方互換のない変更を含んでいる場合は詳細を書いてください。 特に含まれていない場合は "なし" で問題ありません。 -->
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8dd83431d..5bd62cb20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # ChangeLog +## 3.0.0-beta.29 + +機能追加 + * `g.Game#joinedPlayerIds` を追加 + +### ゲーム開発者への影響 + + * `g.Game#joinedPlayerIds` を追加 + * ゲーム開発者は、このプロパティを参照することで、joinしているプレイヤーIDの一覧を取得することができます。 ...
3
3
2
[{"id": "G0", "claim": "The join handler should be registered on the recommended g.Game#onJoin trigger instead of the deprecated g.Game#join.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "package-lock.json also needs the same version bump to 3.0.0-...
null
akashic-games__akashic-engine__244
akashic-games/akashic-engine
244
defect
0c734c79aed25887768ce9c3593b11156a2d8088
e74c0bc89c53877eaa472785714f8a5dbcb9537f
V3 fix timerientifier bug
## このpull requestが解決する内容 `TimerIdentifer` の destroy 後にハンドラが実行できてしまい、コンテンツが落ちる不具合の修正。 ## 破壊的な変更を含んでいるか? - なし
diff --git a/CHANGELOG.md b/CHANGELOG.md index 36199400f..47551bbd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # ChangeLog +## 3.0.0-beta.32 + +不具合修正 + * 破棄された `g.TimerIdentifer` のハンドラが実行できてしまう不具合の修正。 + ## 3.0.0-beta.31 機能追加 diff --git a/package-lock.json b/package-lock.json index 33f60a5ce..e...
3
3
0
[{"id": "G0", "claim": "The test's purpose is that TimerIdentifier#_fired() is itself not executed after destroy, and naming the test after TimerIdentifier rather than TimerManager#setTimeout()/setInterval() is unintuitive and should be reworded.", "category": "maintainability", "verdict": "supported", "priority": "P2"...
null
akashic-games__akashic-engine__386
akashic-games/akashic-engine
386
defect
818075d005cfb1cc19fc19b066d8c069e40e91dd
63d6c6a6675aba8aa583c9a786c069f6a35ac592
Fix bug OperationPluginManager when game reset
## このpull requestが解決する内容 `Game#_reset()` 時に `OperationPluginManager` が異常終了する不具合を修正。 - `stopAll()`, `_doAutoStart()` 等で forループ(for ([初期化式]; [条件式]; [加算式])) を使用していたが、条件となる `this._infos` は配列のインデックスが 0 から連番でないためエラーとなっていた。`infos` を削除。 - `initialize()` を削除し、`register()` を利用で統一するよう修正。 - 一部の変数を初期化する `OperationPluginMana...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ad62a39e..a8b98cc74 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # ChangeLog +## 3.4.3 + +不具合修正 +* `g.OperationPluginManager` のゲーム状態リセットでの不具合を修正 + ## 3.4.2 不具合修正 diff --git a/package-lock.json b/package-lock.json index 007599aa1..08bf1ed24 100644 -...
7
7
4
[{"id": "G0", "claim": "reset() should take no trigger argument; registering the handler on onOperate should be done by the caller after calling reset(), since reset is by name a 'reset to just-created state' operation and how onOperate is used is the caller's concern.", "category": "design", "verdict": "supported", "p...
null
akashic-games__akashic-engine__456
akashic-games/akashic-engine
456
defect
148491e376d3baef050ff5192675b6501a6238ad
500fc8c7a25942738beb6b0ca941fcfc75b4008d
feat: support 'prepare' phase before the scene load
## このpull requestが解決する内容 * `g.Scene` のアセット読み込み後、任意の非同期処理を行うための `prepare` をサポートします。 * `g.Scene#vars` を追加します。この値はゲームエンジンのロジックからは使用されず、ゲーム開発者が任意の値を代入することができます。 コードイメージは以下のようになります。 ```javascript const scene = new g.Scene({ ... }); scene.onLoad.addOnce(() => { console.log(scene.vars.data); }); g.game.pushSce...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 78ec2d2bc..ed5a983f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # ChangeLog +# unreleased changes +* `g.Scene#vars` を追加 +* `g.Scene` のアセット読み込み後に任意の非同期処理を行うための `prepare` をサポート + * `g.Game#pushScene()` に第2引数 `PushSceneOption` を追加 + * `g.Game#replace...
4
4
2
[{"id": "G0", "claim": "The test comment should use the common kanji 「拠」 instead of the old character form 「據」 in 「根據」.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The properties of PushSceneOption/ReplaceSceneOption should carry doc comments, ...
null
akashic-games__akashic-engine__492
akashic-games/akashic-engine
492
defect
e21d586faf86a8b3b67a4a4315f1d4651ae8d6d2
cdca4384911909c39e513fe25685210da4bdca19
feat: add AssetAccessor#pathOf()
## このpull requestが解決する内容 - アセットIDからアクセッサパスを逆引きするメソッド `AssetAccessor#pathOf()` を追加します。 - `g.Game#asset: AssetAccessor` を追加します。 ## 破壊的な変更を含んでいるか? - なし <!-- 後方互換のない変更を含んでいる場合は詳細を書いてください。 特に含まれていない場合は "なし" で問題ありません。 -->
diff --git a/CHANGELOG.md b/CHANGELOG.md index 3921cd2bb..38d074610 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # ChangeLog +## unreleased changes +* `g.Game#asset: AssetAccessor` を追加 +* アセットIDから `virtualPath` を逆引きするメソッド `AssetAccessor#resolveVirtualPath()` を追加 + ## 3.17.0 * @akashic/pdi-types@1.1...
3
3
0
[{"id": "G0", "claim": "resolveVirtualPath() in AssetManager should not build an entries array and loop over it on every call, but instead resolve the path with three table lookups: _assets by ID, the asset's absolute path, then _liveAssetPathTable to the virtual path.", "category": "performance", "verdict": "supported...
null
akashic-games__akashic-engine__530
akashic-games/akashic-engine
530
defect
a0375e5016d2348aa6139bf2b9178199535687c3
638770df24b6a7568e8fad241abc0207c1aa6f21
feat: add g.Math utility
## このpull requestが解決する内容 ルックアップテーブルを使った `sin()`, `cos()` を提供する `g.Math` を導入します。 これらの関数の使用前に `g.Math.initialize()` を呼び出す必要があります。 コードベースは [akashic-box2d の patch](https://github.com/akashic-games/akashic-box2d/blob/master/patch/math.js) を使っています。 ## 破壊的な変更を含んでいるか? - なし <!-- 後方互換のない変更を含んでいる場合は詳細を書いてください。 特に含ま...
diff --git a/src/Math.ts b/src/Math.ts new file mode 100644 index 000000000..8c3a78ef7 --- /dev/null +++ b/src/Math.ts @@ -0,0 +1,73 @@ +/** + * ルックアップテーブルを使った三角関数計算を提供する。 + */ +export module Math { + const TABLE_SIZE = 8192 * 2; + const WHOLE_PERIOD = true; + const PI = globalThis.Math.PI; + + function setupSinTable(a...
1
1
0
[{"id": "G0", "claim": "Building the 16384-entry sine table at module load makes every user run the 8192*2-entry loop even if they never use g.Math; add an explicit initialization method g.Math.initialize() and let WHOLE_PERIOD, TABLE_SIZE and iterNum be passed as options instead of being hard-coded.", "category": "des...
null
akavel__up__54
akavel/up
54
defect
88516fde4023aafa335f8da0a12a95bab0f8033a
d185cdd1bf92bcb9d9fae8a8f2acd946741fff97
keys: Implement unix-word-rubout (Ctrl-W)
unix-word-rubout erases all the characters before the cursor until finding either a space or a BOL. fixes #53
diff --git a/up.go b/up.go index 53ebc09..a86ace5 100644 --- a/up.go +++ b/up.go @@ -97,7 +97,7 @@ If a plus '+' is visible in top-left corner, the internal buffer limit KEYS -- alphanumeric & symbol keys, Left, Right, Ctrl-A/E/B/F/K/Y +- alphanumeric & symbol keys, Left, Right, Ctrl-A/E/B/F/K/Y/W ...
8
7
1
[{"id": "G0", "claim": "The word-search loop could just `break` instead of using the `foundBeginingOfWord` flag variable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Ctrl-W implementation's word-boundary behavior should be confirmed again...
null
akheron__jansson__374
akheron/jansson
374
defect
9e7847ed261636b5a505cbc9be52946f7d668724
018ec86578bafe220b0c30f59fa6e43ee3198b4b
json_pack: Enable more complete stealing of references.
Users of the "o" format have an expectation that the object reference will be stolen. Any error causes the collection process to end early. This patch causes json_pack and related functions to continue scanning the format and parameters so all references can be stolen to prevent leaks. This makes no attempt to co...
diff --git a/doc/apiref.rst b/doc/apiref.rst index 54d5c7ef..4e4bd04f 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -1554,7 +1554,10 @@ type whose address should be passed. Store a JSON value with no conversion to a :type:`json_t` pointer. ``O`` (any value) [json_t \*] - Like ``O``, but the JSON value'...
3
3
0
[{"id": "G0", "claim": "The scan_mode field should be renamed to reflect that an error was encountered and error recovery is in progress.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The o/O branch of pack() should not substitute JSON null for...
null
akheron__jansson__393
akheron/jansson
393
defect
3e81f78366b57a0b5c34d5bfab9cffe5c9605027
7b20ef85388ad0799f9bdeb2c234824b14033d12
Add json_sprintf and json_vsprintf
Fixes #392
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c1082b2..310be264 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -496,6 +496,7 @@ if (NOT JANSSON_WITHOUT_TESTS) test_object test_pack test_simple + test_sprintf test_unpack) # Doing arithmetic on void pointer...
2
2
1
[{"id": "G0", "claim": "The static json_vsprintf helper should be exposed in the public API, since Asterisk would need it to use this feature.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "An extra allocation and string copy could be avoided by calling ...
null
akheron__jansson__465
akheron/jansson
465
defect
f4498d2856fff130366e1dacc74d66d3502e0e5c
98577e7aaf42a4bab76e0ff2c7d5373b80e199aa
Add runtime version checking functions
This patch adds two new exported functions: * `jansson_version_str` - Returns a human-readable version number * `jansson_version_cmp` - Returns an integer less than, equal to, or greater than zero if the runtime version of Jansson is found, respectively, to be less than, to match, or be greater than the p...
diff --git a/doc/apiref.rst b/doc/apiref.rst index 3945c113..8b91e97c 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -58,6 +58,21 @@ the library: /* Code specific to version 1.3 and above */ #endif +Additionally, as of ``2.13``, there are functions to determine the version of +Jansson at runtime: +...
4
3
2
[{"id": "G0", "claim": "The new version functions should keep the existing json_ naming convention (e.g. json_get_version and json_get_version_str) instead of the jansson_ prefix, though the reviewer says he has no strong opinion.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {...
null
akheron__jansson__499
akheron/jansson
499
defect
672b6df4743dbf76e059c640ad3fe45f7c795594
8682f2aab3891a53c30c5b47490a2814cb41f340
Add json_object_update_new, json_object_update_existing_new and json_object_update_missing_new
Fixes #281
diff --git a/doc/apiref.rst b/doc/apiref.rst index 3c4fa471..5d8d41b7 100644 --- a/doc/apiref.rst +++ b/doc/apiref.rst @@ -708,6 +708,24 @@ allowed in object keys. .. versionadded:: 2.3 +.. function:: int json_object_update_new(json_t *object, json_t *other) + + Like :func:`json_object_update()`, but steals t...
1
1
1
[{"id": "G0", "claim": "The new json_object_update_new, json_object_update_existing_new and json_object_update_missing_new functions should call json_decref(other) only when ret == 0, because otherwise other is freed even when the update call fails, and the reference-counting semantics should be aligned with the other ...
null
akheron__jansson__555
akheron/jansson
555
defect
a740f15c17ef7956b1493d8d1f800896c1e60bad
38c4b80ab70aaa9fbc3d728959083ddff9132b6e
Fix size_t related MSVC compiler warnings
For Windows 64-bit build using MSVC, the fact that sizeof(long) != sizeof(size_t) would generate a fair bit compiler warnings. Using size_t consistently is a better approach than using long and size_t interchangeably. For printing size_t variables using printf(), It is also better to take advantage of C11 "%zd" if po...
diff --git a/examples/simple_parse.c b/examples/simple_parse.c index 4554e4f4..728416d3 100644 --- a/examples/simple_parse.c +++ b/examples/simple_parse.c @@ -30,7 +30,7 @@ void print_json(json_t *root); void print_json_aux(json_t *element, int indent); void print_json_indent(int indent); -const char *json_plural(in...
1
1
0
[{"id": "G0", "claim": "If %lld with the (long long) cast works for all compilers, it would be better to keep only that variant and omit the other four lines of C11 conditional-compile code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
akinncar__react-native-mask-text__15
akinncar/react-native-mask-text
15
defect
ade895e57a51f725dd7a0015547f556b2f0ffdc0
dd9cea030c07a269de8663cf6771b0c935d4f295
Add currency/money mask
# Overview This Pull Request has the objective of close #4 The next steps are to create tests for most features possible and merge them with this PR to prevent bugs. Before releasing this feature, we need to refactor the types (currently made with annotations) inside utils. Also, we need to add types options o...
diff --git a/package.json b/package.json index d70a800..f0a048f 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,9 @@ "prepare": "bob build", "release": "dotenv release-it --" }, + "dependencies": { + "bignumber.js": "^9.0.1" + }, "devDependencies": { "@release-it/conventional-changel...
2
2
1
[{"id": "G0", "claim": "Remove \"any\" from the options type and type it in place instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Document in the docs that if no group size is passed, the default resolves to 3, avoiding magical behavior.", "...
null
akiran__react-slick__1041
akiran/react-slick
1,041
defect
504409d0970a58258c1ac4fcab4b1fffaee5f1c3
5283b4921385cdd6aadeb71000137ad70799d4af
merge dev to master
**changes to mention** - handled responsive breakpoint collision - renamed autoPlayTimer to autoplayTimer and removed it from state - changed es5 module.exports with es6 export default in src/index - implemented slider syncing with asNavFor prop - made all the slides untabbable - implemented getSlick method as ...
diff --git a/.babelrc b/.babelrc index 5c828aeba..6f01494b0 100644 --- a/.babelrc +++ b/.babelrc @@ -3,5 +3,9 @@ "react", ["es2015", {"loose": true}] ], - "plugins": ["transform-object-assign", "transform-object-rest-spread"] + "plugins": [ + "transform-object-assign", + "transform-object-rest-spr...
7
6
4
[{"id": "G0", "claim": "Remove the documented getSlick method, since an instance can be obtained with a plain ref.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Remove the documented slickGetOption method from the README.", "category": "design", "verdic...
null
aklivity__zilla__1021
aklivity/zilla
1,021
defect
d0356d5cbcd753f5161374a42a99679da878ad72
26c8266b8486240c02902f6127a6ea22fbc1f19d
Unsubscribe on partition reassignment
## Description Unsubscribe on partition reassignment Fixes #882
diff --git a/runtime/binding-kafka/src/main/java/io/aklivity/zilla/runtime/binding/kafka/internal/KafkaConfiguration.java b/runtime/binding-kafka/src/main/java/io/aklivity/zilla/runtime/binding/kafka/internal/KafkaConfiguration.java index 6786f38ffc5..d8d9bdbb1dd 100644 --- a/runtime/binding-kafka/src/main/java/io/akli...
3
2
0
[{"id": "G0", "claim": "Rename the tempMembers field to memberIds, per the reviewer's suggestion block.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Reviewer asks whether members was switched to LinkedHashMap to maintain insertion order or for...
null
aklivity__zilla__1027
aklivity/zilla
1,027
defect
d0356d5cbcd753f5161374a42a99679da878ad72
2864bb9878cfdd3d20342e44083d2fb47fcbb087
catalog:apicurio - unify caching across workers to maximize cache hits
Fixes #938
diff --git a/runtime/catalog-apicurio/pom.xml b/runtime/catalog-apicurio/pom.xml index 9bf55266089..d352e584b8f 100644 --- a/runtime/catalog-apicurio/pom.xml +++ b/runtime/catalog-apicurio/pom.xml @@ -24,7 +24,7 @@ <properties> <maven.compiler.source>11</maven.compiler.source> <maven.compiler.target>11</ma...
1
1
0
[{"id": "G0", "claim": "Use YAML block scalar syntax like `|` or `>` to put the asyncapi spec on multiple lines for improved readability while still parsing into the same overall string with spaces and newlines as needed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
aklivity__zilla__1029
aklivity/zilla
1,029
defect
d0356d5cbcd753f5161374a42a99679da878ad72
2a6fb0d9f8a27371a501be151aaccfb1f443e4cb
feat: replace static event name with dynamic based on event id
## Description This will use the defined internal `eventId` to format an observability-friendly in an all-caps snake case. Fixes #1013 docs PR: - https://github.com/aklivity/zilla-docs/pull/230
diff --git a/incubator/catalog-filesystem/src/main/java/io/aklivity/zilla/runtime/catalog/filesystem/internal/FilesystemEventFormatter.java b/incubator/catalog-filesystem/src/main/java/io/aklivity/zilla/runtime/catalog/filesystem/internal/FilesystemEventFormatter.java index 1a64df83095..f12b80fdaf9 100644 --- a/incubat...
6
6
0
[{"id": "G0", "claim": "The event name computation is duplicated in each exporter and allocates strings for the same event id on every logged event, so it should be moved into the engine as a cached EngineContext.supplyEventName(int) and StdoutExporterContext should expose supplyEventName instead of the now unused supp...
null
aklivity__zilla__1071
aklivity/zilla
1,071
defect
10458889188441e95263e6ea9011763cfaa2ba44
d9601d8410306008479fb798a819a3ecfa890294
Support remote zilla configuration with change detection
## Description This change moves away from URL to Path abstraction and introduces the http file system, so the config and the resources can be watched over file and http protocol and opens up the potential for further extension. Fixes #1061
diff --git a/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/config/EngineConfig.java b/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/config/EngineConfig.java index 450002ff2e3..34ab6785d00 100644 --- a/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/config/EngineConfig.java ...
6
6
2
[{"id": "G0", "claim": "The MD5 message digest used for change detection (in EngineConfigReader, HttpWatchService and HttpFileSystem) is a weak cryptographic algorithm and should not be used.", "category": "security", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G6", "claim": "The ResourceR...
null
aklivity__zilla__1093
aklivity/zilla
1,093
defect
36cac796b0754a76a546fe5a13ac8044c52631b6
94c5656b4ea7f078dfa54b89571bd5e386011550
filtering by structured value field(s)
Fixes #1062
diff --git a/runtime/binding-kafka/src/main/java/io/aklivity/zilla/runtime/binding/kafka/config/KafkaTopicConfig.java b/runtime/binding-kafka/src/main/java/io/aklivity/zilla/runtime/binding/kafka/config/KafkaTopicConfig.java index 679a743b158..9b9c9c84bdd 100644 --- a/runtime/binding-kafka/src/main/java/io/aklivity/zil...
8
8
1
[{"id": "G0", "claim": "Hoist the trailers lookup out of the if and guard testing trailers with `match.value == 0L && !trailers.isEmpty()` so trailers are only fetched and tested when no header matched.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
aklivity__zilla__1096
aklivity/zilla
1,096
defect
36cac796b0754a76a546fe5a13ac8044c52631b6
2976524f942002bd208d5bc7f8476eb21996477c
Promote catalog-filesystem out of incubator
## Description This change promotes the filesystem catalog module out of the incubator project. Fixes #1068
diff --git a/incubator/pom.xml b/incubator/pom.xml index 3a394cb3727..f7815a3ad2d 100644 --- a/incubator/pom.xml +++ b/incubator/pom.xml @@ -21,9 +21,6 @@ <module>binding-amqp</module> - <module>catalog-filesystem.spec</module> - <module>catalog-filesystem</module> - <module>command-log</module> ...
2
2
2
[{"id": "G0", "claim": "The @Incubating annotation must be removed from FilesystemCatalogFactorySpi now that the module is being promoted out of incubator.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "runtime/pom.xml must add <module>catalog-filesystem...
null
aklivity__zilla__1183
aklivity/zilla
1,183
defect
36016d71817bfd0ce043170e8e7d551d670b8407
cf72d1c4dac5b8f24b9a8476ac4d3942dc505b82
Support extract-key kafka message transform
## Description Support extract-key kafka message transform. Fixes #1176
diff --git a/runtime/binding-asyncapi/src/main/java/io/aklivity/zilla/runtime/binding/asyncapi/internal/config/composite/AsyncapiClientGenerator.java b/runtime/binding-asyncapi/src/main/java/io/aklivity/zilla/runtime/binding/asyncapi/internal/config/composite/AsyncapiClientGenerator.java index 7f248e81ffa..2b7d5ce786f ...
8
6
2
[{"id": "G0", "claim": "The schema subjects in the asyncapi generators should be consistent (either `subject` everywhere or `message.payload.name` everywhere), and ideally derived from the channel address topic (with a `-value` suffix) rather than the message payload name.", "category": "correctness", "verdict": "suppo...
null
aklivity__zilla__1246
aklivity/zilla
1,246
defect
7171a25e813a5b7511b300608d2009337e656ca3
e061df897e020f2ef76e4e808d364e30518d56d3
Support catalog register new schema version
## Description Support catalog register new schema version. Fixes #1060
diff --git a/runtime/catalog-schema-registry/src/main/java/io/aklivity/zilla/runtime/catalog/schema/registry/internal/handler/SchemaRegistryCatalogHandler.java b/runtime/catalog-schema-registry/src/main/java/io/aklivity/zilla/runtime/catalog/schema/registry/internal/handler/SchemaRegistryCatalogHandler.java index d2309...
2
2
1
[{"id": "G0", "claim": "SUBJECT_PATH should start with a leading slash like SUBJECT_VERSION_PATH, since paths tend to start with / and the HTTP client may only be injecting the / as a workaround.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The sc...
null
aklivity__zilla__1297
aklivity/zilla
1,297
defect
cb44f1e8975e16e9cb3071920986e75f18f6ee38
f625bcffc34419e9b8853da35ffb0297aed2d698
syntax check mqtt topic names in zilla.yaml
Fixes #521
diff --git a/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/config/proxy.when.publish.topic.invalid.yaml b/specs/binding-mqtt-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/mqtt/kafka/config/proxy.when.publish.topic.invalid.yaml new file mode 100644 index 00000000...
1
1
1
[{"id": "G0", "claim": "The topic-name pattern added to the schema matches `abc/def/++/jkl`, which is invalid because `+` must be the only content of a level, and does not match `abc/def//jkl`, which is valid by spec because a level may be empty.", "category": "correctness", "verdict": "supported", "priority": "P1", "s...
null
aklivity__zilla__1309
aklivity/zilla
1,309
defect
b23e3f09cadec07cf0f28c7a29570382c96ca1a3
e64c3cbe86b8054340525b35296dde523d4419bb
pgsql ALTER TOPIC command to register new schema
Fixes #1058
diff --git a/incubator/binding-pgsql-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/pgsql/kafka/config/proxy.yaml b/incubator/binding-pgsql-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/pgsql/kafka/config/proxy.yaml index 8155445c7a6..b6b652cb757 100644 --- a/incubator/binding-pgsql-kafka.spe...
3
3
1
[{"id": "G0", "claim": "The parser grammar should list ALTER TABLE and ALTER TOPIC explicitly in altertablestmt instead of introducing the opttable_alter_type alias rule.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Model class names should not use the...
null
aklivity__zilla__1320
aklivity/zilla
1,320
defect
18e6cb4810a51d3fd6d871e8510e491043f89096
ac88a6156ba60c6eefe1611f96289dc103318f2a
Support ALTER STREAM and ALTER TABLE transformation
## Description Support ALTER STREAM and ALTER TABLE transformation
diff --git a/incubator/binding-pgsql-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/pgsql/kafka/config/proxy.alter.yaml b/incubator/binding-pgsql-kafka.spec/src/main/scripts/io/aklivity/zilla/specs/binding/pgsql/kafka/config/proxy.alter.yaml new file mode 100644 index 00000000000..32a4211b4b0 --- /dev/null...
3
3
0
[{"id": "G0", "claim": "The explicit no-arg constructor in RisingwaveAlterTopicTemplate (and the same in other classes) is redundant and should be removed since Java provides it implicitly.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In the a...
null
aklivity__zilla__1334
aklivity/zilla
1,334
defect
d18d8a3c324d6f84407b9d8e155a92171c2ec91c
eb15324563891845afe95fb2b4f9aaf4bb755d04
Replace Ivy APIs with embedded Maven during zpmw install
Fixes https://github.com/aklivity/zilla/issues/1173
diff --git a/manager/NOTICE b/manager/NOTICE index 55298baee0d..d429d8d30e7 100644 --- a/manager/NOTICE +++ b/manager/NOTICE @@ -16,12 +16,46 @@ This project includes: Airline - Library under The Apache License, Version 2.0 Apache Commons Collections under Apache License, Version 2.0 Apache Commons Lang under ...
10
10
0
[{"id": "G0", "claim": "The Jetty dependencies newly listed in manager/NOTICE are no longer used and their dependency should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Bouncy Castle is unneeded because the JDK's built-in crypto i...
null
aklivity__zilla__1362
aklivity/zilla
1,362
defect
063d7cba075179425aef634bee19ffec829016a6
41314f7ebc0560e362db54004402ece303832308
fix: kafka header extraction expression in composite zilla.yaml
Fixes #1138
diff --git a/runtime/binding-kafka/src/main/java/io/aklivity/zilla/runtime/binding/kafka/config/KafkaTopicHeaderType.java b/runtime/binding-kafka/src/main/java/io/aklivity/zilla/runtime/binding/kafka/config/KafkaTopicHeaderType.java index 0504b85abbf..470f8b9a478 100644 --- a/runtime/binding-kafka/src/main/java/io/akli...
2
2
1
[{"id": "G0", "claim": "The builder should use no matcher when building KafkaTopicTransformsConfig, capturing the parsed values directly, and the parsed config should instead be converted to a runtime type such as KafkaTopicTransformType (using matchers) in KafkaTopicType's constructor.", "category": "design", "verdict...
null
aklivity__zilla__1384
aklivity/zilla
1,384
defect
5b6a1e3f447c09bf98926efae5c52a87a1d6f8fc
a40fe35600ec12ccd5cd2b0ff664115645a6aa97
Support gRPC client stream/unary oneway
Fixes #642
diff --git a/runtime/binding-grpc-kafka/src/main/java/io/aklivity/zilla/runtime/binding/grpc/kafka/internal/config/GrpcKafkaWithProduceConfigAdapter.java b/runtime/binding-grpc-kafka/src/main/java/io/aklivity/zilla/runtime/binding/grpc/kafka/internal/config/GrpcKafkaWithProduceConfigAdapter.java index 299bbefde0d..8ff4...
3
3
2
[{"id": "G0", "claim": "The oneway test methods in GrpcProduceIT and KafkaProduceIT should be renamed from 'shouldExchangeMessage...' to 'shouldSend...', because 'exchange' implies a request-response echo that oneway does not have.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "int...
null
aklivity__zilla__1387
aklivity/zilla
1,387
defect
4b096f0a0c4adf62faecb58328abcad0f3e4319f
8688c667b6191551f11828400dbc291fcc4e2531
MQTT topics with path parameters required to match guarded identity
The goal of this PR is to allow secure access to some MQTT client specific topics for publish and/or subscribe. For `publish` or `subscribe` routes: - mqtt server can define path parameters for any segment in a topic name - mqtt server can enforce that a path parameter matches the client's guarded identity (e.g. v...
diff --git a/runtime/binding-mqtt/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/config/MqttPublishConfig.java b/runtime/binding-mqtt/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/config/MqttPublishConfig.java index 2de4aab1b01..714bbac4646 100644 --- a/runtime/binding-mqtt/src/main/java/io/aklivity/zilla/...
11
11
2
[{"id": "G0", "claim": "The `params` field in MqttPublishConfigBuilder should not be final, since builder fields are non-final in this codebase.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `params` field in MqttPublishConfigBuilder should be lazil...
null
aklivity__zilla__1407
aklivity/zilla
1,407
defect
f49c9d48642bca7167f494b97252ef6e9221d0c0
77a0ebbed4ad58cbc9d18af8d5c3513358a8df21
fix: resolveKind flow for composite binding
Fixes #1406
diff --git a/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/internal/registry/EngineRegistry.java b/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/internal/registry/EngineRegistry.java index 2eaa8a16d4e..6409a7cf8c3 100644 --- a/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine...
3
3
1
[{"id": "G0", "claim": "The findNamespace method in EngineRegistry should stay private rather than being made public.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new findNamespace constructor parameter should be placed first in NamespaceR...
null
aklivity__zilla__1409
aklivity/zilla
1,409
defect
f49c9d48642bca7167f494b97252ef6e9221d0c0
743d98f47b55a03dad7b8a3291a397ea93e5886e
support boolean model
Fixes #1408
diff --git a/runtime/binding-asyncapi/src/main/java/io/aklivity/zilla/runtime/binding/asyncapi/internal/config/composite/AsyncapiCompositeGenerator.java b/runtime/binding-asyncapi/src/main/java/io/aklivity/zilla/runtime/binding/asyncapi/internal/config/composite/AsyncapiCompositeGenerator.java index 0c14bec9e82..f5d919...
5
5
1
[{"id": "G0", "claim": "The MODELS map entries in AsyncapiCompositeGenerator should be placed in alphabetical order of keys, with `boolean` first.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In shouldWriteDefault, the variable holding the exp...
null
aklivity__zilla__1438
aklivity/zilla
1,438
defect
0edf1eb378c66539843082574a2030fcda954b56
0310f0feaee0d69e8dd18fd25528310619878425
Auto discover available host resources and dynamically set internal limits
Fixes #984
diff --git a/manager/src/main/java/io/aklivity/zilla/manager/internal/commands/install/ZpmInstall.java b/manager/src/main/java/io/aklivity/zilla/manager/internal/commands/install/ZpmInstall.java index 84379d1c2a1..8cb22632fa9 100644 --- a/manager/src/main/java/io/aklivity/zilla/manager/internal/commands/install/ZpmInst...
1
1
1
[{"id": "G0", "claim": "Default the events buffer capacity to 4 times the default value of buffer slot capacity instead of deriving it from the configured buffer slot capacity, because tying it to the configured value leaves the events buffer too small to log events when buffer.slot.capacity is configured small (breaki...
null
aklivity__zilla__1455
aklivity/zilla
1,455
defect
88f71330b40a1117a68056f67872eee81fb95b21
8e8a4b9b9e646cbbfa7380763bb470dea5b8cd71
Fix default worker capacity
Fix #1456
diff --git a/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/EngineConfiguration.java b/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/EngineConfiguration.java index cd325f2d75f..56ad5f7f410 100644 --- a/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/EngineConfiguration.java ...
4
4
3
[{"id": "G0", "claim": "The workers-capacity calculation should be based on the configured `workers` (ENGINE_WORKERS) instead of `numberOfCores` from available processors, so `osBean` is only needed for `getTotalMemorySize()`.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
aklivity__zilla__1482
aklivity/zilla
1,482
defect
03f41b92f79fe79ba9616a5139aa57e4f3be9b82
0b0c0e4564e7215ab2e84fc6636727a941a3b3b6
Overriding `correlation-id` via AsyncAPI Specification
Fixes #1471
diff --git a/runtime/binding-asyncapi/src/main/java/io/aklivity/zilla/runtime/binding/asyncapi/internal/config/composite/AsyncapiProxyGenerator.java b/runtime/binding-asyncapi/src/main/java/io/aklivity/zilla/runtime/binding/asyncapi/internal/config/composite/AsyncapiProxyGenerator.java index 33faf20cb17..b7bc3e321ee 10...
9
9
1
[{"id": "G0", "claim": "In HttpKafkaWithProduceResult the new correlationId constructor parameter should be moved up near replyTo because they are logically related parameters.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "In HttpKafkaWithProduceResult....
null
aklivity__zilla__1488
aklivity/zilla
1,488
defect
f636e08dfce461407fec31075913dc2c328e859d
713885a29e3151a53069c4cd7b96b10b316cc46b
fix: Schema declaration in message & record unresolved `$ref`
Fixes #1466
diff --git a/runtime/binding-asyncapi/src/main/java/io/aklivity/zilla/runtime/binding/asyncapi/internal/config/composite/AsyncapiCompositeGenerator.java b/runtime/binding-asyncapi/src/main/java/io/aklivity/zilla/runtime/binding/asyncapi/internal/config/composite/AsyncapiCompositeGenerator.java index c90a188111f..7c7e26...
7
7
2
[{"id": "G0", "claim": "Calling the resolver's unresolved() method more than once accumulates duplicate entries in the unresolved set and copies each sub-resolver's list into a larger collection on every call; the reviewer suggests instantiating the collection inside the method (possibly renamed unresolvedRefs()) or, p...
null
aklivity__zilla__1509
aklivity/zilla
1,509
defect
a5bf60016253066e8408f83fcbc42793e0997318
66cf9bd2846e971d9a774132b5159d216589c013
Support load balancer health check even at full capacity
Fixes #1495
diff --git a/runtime/binding-tcp/src/main/java/io/aklivity/zilla/runtime/binding/tcp/internal/TcpBinding.java b/runtime/binding-tcp/src/main/java/io/aklivity/zilla/runtime/binding/tcp/internal/TcpBinding.java index d6e94f7cbab..9215c9830a1 100644 --- a/runtime/binding-tcp/src/main/java/io/aklivity/zilla/runtime/binding...
13
13
4
[{"id": "G0", "claim": "Move the private attachNamespace method further down in EngineBoss.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The detach method should be offered as a NamespaceTask too, so it executes on the boss thread rather than ...
null
aklivity__zilla__1530
aklivity/zilla
1,530
defect
e19d815154d4bba02476a1b91515caa69423333d
cf09bcbac1b5d4aed2a53cdd78b58c0134c26541
Support http patch
Fixes #1419
diff --git a/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/stream/HttpServerFactory.java b/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/stream/HttpServerFactory.java index 1c464dc00ce..0ae8e668e7a 100644 --- a/runtime/binding-http/src/main/java/...
1
1
1
[{"id": "G0", "claim": "The pull request accidentally removed the `httpPostExchangeWhenStreaming()` method from the rfc7540 server `ConnectionManagementIT` when adding `httpPatchExchange()`, and it should be restored so the diff is just an add of the `httpPatchExchange()` method, similar to the other `ConnectionManagem...
null
aklivity__zilla__1555
aklivity/zilla
1,555
defect
fd5cb1bac09b5d31065dfc7460564d4faa2b0727
acb0dcd32b40244e539285477cbcd848c807313b
Migrate engine started and stopped to telemetry events
Fixes https://github.com/aklivity/zilla/issues/1491
diff --git a/runtime/command-start/src/main/java/io/aklivity/zilla/runtime/command/start/internal/airline/ZillaStartCommand.java b/runtime/command-start/src/main/java/io/aklivity/zilla/runtime/command/start/internal/airline/ZillaStartCommand.java index 3c10924e434..660a6ecdc49 100644 --- a/runtime/command-start/src/mai...
15
14
3
[{"id": "G0", "claim": "To test the new system-namespace patch in the engine IT, the StdoutExporter needs to be added to the available exporters in the EngineRule somehow.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new CLI option should be renam...
null
aklivity__zilla__1582
aklivity/zilla
1,582
defect
6723c826d08f10f0cb66825feed7564b4d53aa29
0b818e5fc9caec133f28f04e35cf71047f3c01ea
Support guard attributes
Fixes #1578
diff --git a/runtime/binding-http-kafka/src/main/java/io/aklivity/zilla/runtime/binding/http/kafka/internal/config/HttpKafkaRouteConfig.java b/runtime/binding-http-kafka/src/main/java/io/aklivity/zilla/runtime/binding/http/kafka/internal/config/HttpKafkaRouteConfig.java index 072cc6b3825..38ef6877c1e 100644 --- a/runti...
5
4
0
[{"id": "G0", "claim": "Rename the engine-side per-guard attribute lookup field assigned in EngineManager from `guarded.attributor` to `guarded.attributes`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new attribute examples use `$.`-prefi...
null
aklivity__zilla__1615
aklivity/zilla
1,615
defect
56d1a419461ca6fcf59bf34e1a2526758da345c6
e56e2a06361283c6ec9d404da035885f465d4bff
`avro` validator implementation with `encoded` strategy
Fixes #1611
diff --git a/runtime/model-avro/src/main/java/io/aklivity/zilla/runtime/model/avro/internal/AvroModelContext.java b/runtime/model-avro/src/main/java/io/aklivity/zilla/runtime/model/avro/internal/AvroModelContext.java index 1199a6531d7..b418676111c 100644 --- a/runtime/model-avro/src/main/java/io/aklivity/zilla/runtime/...
1
1
0
[{"id": "G0", "claim": "The PR needs to illustrate the `avro` validator with the `encoded` strategy via an end-to-end example such as `http-kafka`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
aklivity__zilla__1664
aklivity/zilla
1,664
defect
a90c2a05146026573cdba74680057f3031356ed3
e1e3901e2432e262b4c04ae61707c079833409ae
logging for auth errors in kafka client binding
Fixes #1662
diff --git a/runtime/binding-kafka/src/main/java/io/aklivity/zilla/runtime/binding/kafka/internal/events/KafkaEventContext.java b/runtime/binding-kafka/src/main/java/io/aklivity/zilla/runtime/binding/kafka/internal/events/KafkaEventContext.java index 1f1ddf954dc..9ff99d21859 100644 --- a/runtime/binding-kafka/src/main/...
3
3
1
[{"id": "G0", "claim": "Instead of adding the topic parameter to the existing onDecodeResponseErrorCode method and changing all call sites to pass null, add an override with the original arguments that defaults topic to null so call sites that need no topic need not change.", "category": "design", "verdict": "supported...
null
aklivity__zilla__1734
aklivity/zilla
1,734
defect
9e2faf5eb297e52df9885e1d4145d1bfd4d32324
0315b3f606f9e1e905d59bcad2aad527ced28baf
feat(engine): add store reference, preauthorize, and roles on GuardHandler
## Summary - `GuardConfig` gains an optional `store` field (plus transient `storeId`/`qstore`), mirroring how `BindingConfig` references a vault. Resolved at namespace init; guards retrieve the `StoreHandler` at runtime via `EngineContext.supplyStore(storeId)`. - `GuardHandler` gains a new `NEEDS_PREAUTHORIZE = -1L` s...
diff --git a/CLAUDE.md b/CLAUDE.md index 53aab9b9bbb..b133e7e9990 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1059,6 +1059,32 @@ import io.aklivity.zilla.runtime.engine.vault.VaultHandler; // v When adding a new import, insert it at the correct alphabetical position — do not append it at the end of the group. ...
1
1
1
[{"id": "G0", "claim": "All call sites of GuardHandler.reauthorize must verify a valid sessionId with > 0 rather than != 0, since reauthorize can now return a non-zero invalid sentinel (NEEDS_PREAUTHORIZE).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
aklivity__zilla__216
aklivity/zilla
216
defect
7f7cfaeb5055ff27d7a1b2eed89e54bbe3445c5b
e0b482d848d71ab67e5c71f7e01f15b500be7546
Encode kafka progress as last message id
## Description We were sending kafka progress bytes as it is without encoding them to last message id. Fixes # (issue)
diff --git a/incubator/binding-grpc-kafka.spec/pom.xml b/incubator/binding-grpc-kafka.spec/pom.xml index d6431ec2c37..1f02b624366 100644 --- a/incubator/binding-grpc-kafka.spec/pom.xml +++ b/incubator/binding-grpc-kafka.spec/pom.xml @@ -83,7 +83,7 @@ <artifactId>flyweight-maven-plugin</artifactId> <ve...
2
2
0
[{"id": "G0", "claim": "The parameter of MessageIdBuilder.partitionCount should be named `partitionCount` rather than `fieldCount`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The offset parameter of MessageIdBuilder.partition should be renam...
null
aklivity__zilla__327
aklivity/zilla
327
defect
99ef36ceeaf596a4b965789bad23217a24e3659e
8ab5ee0335f10a170617a2784d82341a1e34a26d
Include member count as part of group data ex
## Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. Fixes # (issue)
diff --git a/runtime/binding-kafka/src/main/java/io/aklivity/zilla/runtime/binding/kafka/internal/stream/KafkaClientGroupFactory.java b/runtime/binding-kafka/src/main/java/io/aklivity/zilla/runtime/binding/kafka/internal/stream/KafkaClientGroupFactory.java index d7d5265332b..2918246b4a2 100644 --- a/runtime/binding-kaf...
1
1
1
[{"id": "G0", "claim": "The new `members` field in KafkaGroupDataExMatchBuilder should be `Integer` rather than `int`, and `matchmembers` should return `members != null && members == groupDataEx.members()`, so matching is skipped when members is not set.", "category": "correctness", "verdict": "supported", "priority": ...
null
aklivity__zilla__369
aklivity/zilla
369
defect
4146fd73f89e82d9d67d10b41fdb438697d615ba
153ec0add590f1e1085aca098845240fef59ce77
Generate zilla.yaml from an AsyncAPI definition
## Description Generate zilla.yaml from a corresponding AsyncAPI definition. Fixes #256
diff --git a/incubator/command-config/pom.xml b/incubator/command-config/pom.xml index abffc062e9d..fa369b72cc2 100644 --- a/incubator/command-config/pom.xml +++ b/incubator/command-config/pom.xml @@ -98,6 +98,7 @@ <configuration> <excludes> <exclude>src/test/resources/io/aklivity/zilla...
6
6
2
[{"id": "G0", "claim": "ConfigGenerator should be an abstract class with `unquoteEnvVars` being `protected final` rather than a public default method on an interface.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The `inputStream` field should be rename...
null
aklivity__zilla__452
aklivity/zilla
452
defect
2a89ef222395ffaa35bc1e4169079418e11cf6c5
3a3680d6b60b892135efbe36c2f9786a32b9912f
Mqtt validator implementation
Fixes #456
diff --git a/runtime/binding-mqtt/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/internal/config/MqttBindingConfig.java b/runtime/binding-mqtt/src/main/java/io/aklivity/zilla/runtime/binding/mqtt/internal/config/MqttBindingConfig.java index 529623c069b..6b50e453d2b 100644 --- a/runtime/binding-mqtt/src/main/java/...
1
1
1
[{"id": "G0", "claim": "Config builders for the options classes need to be added.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
aklivity__zilla__586
aklivity/zilla
586
defect
b321ebc0e9017ea7ae264738264cb61a33d69454
3cf0decfc02c1f8b565eccefd6dbf11e2a1d15ce
Include validation in the `openapi.http.proxy` generator
## Description Include validation in the generate command in the `openapi.http.proxy` template Fixes #459
diff --git a/incubator/command-generate/src/main/java/io/aklivity/zilla/runtime/command/generate/internal/airline/ConfigGenerator.java b/incubator/command-generate/src/main/java/io/aklivity/zilla/runtime/command/generate/internal/airline/ConfigGenerator.java index 49917fb8187..2e8d44d24ea 100644 --- a/incubator/command...
2
2
0
[{"id": "G0", "claim": "The third parameter of writeSchemaYaml can change from SchemaView to Object (since jsonb.toJson takes Object), so the method can move to the generic ConfigGenerator superclass.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The im...
null
aklivity__zilla__649
aklivity/zilla
649
defect
6ca39e80993eb2a3bcfe56d3f24dbf269f7b0028
f66effe1be74939d74035aacbdebacbae0571410
Handle large message in grpc
## Description Issues found across the following bindings: - Both grpc client and server have an issue propagating the wrong deferred - Flow control bug in KafkaMerged stream setting wrong reply max causing the message to stal - KafkaCacheClientFetch doesn't propagate headers with data init? - KafkaGrpc bindin...
diff --git a/runtime/binding-grpc-kafka/src/test/java/io/aklivity/zilla/runtime/blinding/grpc/kafka/internal/stream/GrpcKafkaProduceProxyIT.java b/runtime/binding-grpc-kafka/src/test/java/io/aklivity/zilla/runtime/blinding/grpc/kafka/internal/stream/GrpcKafkaProduceProxyIT.java index 3128c2ebb24..f89fecd9820 100644 ---...
4
4
1
[{"id": "G0", "claim": "Use the local `deferred` variable instead of `helper.deferred` when calling queueGrpcMessage.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Changing initialMaxRW to Math.max (maxInitialMax) lets the merged stream spend a...
null
aklivity__zilla__714
aklivity/zilla
714
defect
d7b388f2f492821649567683155f172d4107a189
fb505c654a432a9767d72e8ac597505ef4ff2402
Http1 server not progressing after reaching full buffer slot size
## Description Http1 server not progressing after reaching full buffer slot size and the client is getting stuck not being able to produce Fixes #715
diff --git a/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/stream/HttpServerFactory.java b/runtime/binding-http/src/main/java/io/aklivity/zilla/runtime/binding/http/internal/stream/HttpServerFactory.java index bd0bb4daaa7..90fc13a62a7 100644 --- a/runtime/binding-http/src/main/java/...
1
1
0
[{"id": "G0", "claim": "If these helpers are not needed elsewhere, requestPendingAck and requestWindow should be inlined into onRequestWindow before the call to flushNetWindow instead of standing as private methods.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
aklivity__zilla__78
aklivity/zilla
78
defect
bf683104537009f025d2b1fd155d59a0c5d8b903
f4565dd1b823ea482ee54edd789ab78ae5a1401e
Fix github action
Fix #23
diff --git a/README.md b/README.md index 1aec7ad59dc..e9b2f2c5a93 100644 --- a/README.md +++ b/README.md @@ -20,11 +20,11 @@ Zilla is designed on the fundamental principle that _every data flow is a stream Zilla's declarative configuration defines a routed graph of protocol decoders, transformers, encoders and caches ...
2
2
1
[{"id": "G0", "claim": "Use a static import of java.lang.invoke.VarHandle.fullFence and call fullFence() instead of the fully qualified call in ServerStatsIT.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add the same fullFence() call to all ot...
null
aklivity__zilla__797
aklivity/zilla
797
defect
2af9e2f12ff29055a820639575c7c22e06fa6125
e24c2ce4cf9cdf4002617e6f000d8ba9d545e802
Zilla is validating env vars before replacing them
## Description Zilla is validating env vars before replacing them Fixes #795
diff --git a/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/config/EngineConfigAnnotator.java b/runtime/engine/src/main/java/io/aklivity/zilla/runtime/engine/config/EngineConfigAnnotator.java new file mode 100644 index 00000000000..f8f64564f55 --- /dev/null +++ b/runtime/engine/src/main/java/io/aklivity/...
3
3
2
[{"id": "G0", "claim": "EngineConfigReader should not hold the schema annotator in a field because it carries internal parse state whose side effects would persist across reads; instantiate it locally in validateAnnotatedSchema and remove the field and its constructor assignment.", "category": "design", "verdict": "sup...
null