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
anuraghazra__github-readme-stats__2736
anuraghazra/github-readme-stats
2,736
defect
7ec1a76c6590a8c9682aa71d81ca6bef0405a078
de80dc45675f27eb6faf47282c9263b9c58ef429
feat: remove 'include_private'
As explained in #2517 the 'include_private' flag is confusing and doesn't work as expected. This commit therefore removes this flag. # TODOs - [x] remove conflicts. - [x] Update [FAQ](https://github.com/anuraghazra/github-readme-stats/discussions/1770#how-to-count-private-stats).
diff --git a/api/index.js b/api/index.js index 29ff87f9af863..21448f92c50d2 100644 --- a/api/index.js +++ b/api/index.js @@ -19,7 +19,6 @@ export default async (req, res) => { card_width, hide_rank, show_icons, - count_private, include_all_commits, line_height, title_color, @@ -52,7 +51...
2
1
0
[{"id": "G0", "claim": "The readme formatting changes should be made in a separate pull request so that this pull request's changes are not confusing.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The 'Include statistics from private repositori...
null
anuraghazra__github-readme-stats__3064
anuraghazra/github-readme-stats
3,064
defect
c394ea30ef889abe35bae465b208fa6163622346
3bdc691bdf85c68714586c4a0eb5dca8ac9d72d9
Feature: Add gist card
This pull request adds new endpoint `https://github-readme-stats-2p1ibrtpu-github-readme-stats-team.vercel.app/api/gist?id=1e0f4ebcc7c35bdee2cae9ccf6fec6ec` which generates gist cards. Some examples provided below. What do you think @rickstaa @francois-rozet @anuraghazra @VydrOz? ![image](https://github-readme-stats...
diff --git a/api/gist.js b/api/gist.js new file mode 100644 index 0000000000000..a1a9c35dc9e44 --- /dev/null +++ b/api/gist.js @@ -0,0 +1,80 @@ +import { blacklist } from "../src/common/blacklist.js"; +import { clampValue, CONSTANTS, renderError } from "../src/common/utils.js"; +import { isLocaleAvailable } from "../sr...
3
3
2
[{"id": "G0", "claim": "The gist fetcher should get all information from the GraphQL API instead of making a second request and scraping the stargazers HTML page with the parseHTML (linkedom) library.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The fe...
null
anuraghazra__github-readme-stats__3453
anuraghazra/github-readme-stats
3,453
defect
5b3b920ed277147b3236d978152df4796a95c128
067f9b4721fe374fa7aa2e75d8413083298521fe
feature(repo card): add description lines count query parameter
Before: <div align="center"> <a href="https://github.com/anuraghazra/github-readme-stats"> <img src="https://github-readme-stats-52eik9zo5-github-readme-stats-team.vercel.app/api/pin/?username=rjyo&repo=Air-Test"/> </a> <a href="https://github.com/anuraghazra/github-readme-stats"> <img src="https://github-read...
diff --git a/api/pin.js b/api/pin.js index c67df29abffe3..0bc029d7ffda3 100644 --- a/api/pin.js +++ b/api/pin.js @@ -24,6 +24,7 @@ export default async (req, res) => { locale, border_radius, border_color, + description_lines_count, } = req.query; res.setHeader("Content-Type", "image/svg+xml");...
3
3
2
[{"id": "G0", "claim": "The readme should state that the maximum for `description_lines_count` is 3.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The clamp's lower bound should be 1 (not the description's actual line count) so a user-set count b...
null
anuraghazra__github-readme-stats__3708
anuraghazra/github-readme-stats
3,708
defect
4761871c924c62aaf58ba44424425fd0368cd375
9d37526435ae65924d6f95cdbf51eda8f013b9c3
feat: Add a display bytes option to top-languages card
## What's Change ? Add the `&display_bytes=` parameter to the top-languages card. (Fix #3707) ## Implementation 1. Add `display_bytes` parameter to `api/top-langs.js` and `src/cards/types.d.ts`. 2. Pass this parameter to each `render~Layout` function. 3. Implement `formatBytes` in `src/common/utils.js`. ...
diff --git a/api/top-langs.js b/api/top-langs.js index 382ee4205a87e..b4d48abaafd59 100644 --- a/api/top-langs.js +++ b/api/top-langs.js @@ -33,6 +33,7 @@ export default async (req, res) => { border_color, disable_animations, hide_progress, + display_bytes, } = req.query; res.setHeader("Content-...
9
7
2
[{"id": "G0", "claim": "Replace the `display_bytes: boolean` query string parameter with a `stats_format: \"percentages\" | \"bytes\"` enum parameter so future stats formats extend the enum instead of adding more query parameters.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
anuraghazra__github-readme-stats__58
anuraghazra/github-readme-stats
58
defect
2efb399f33d8f3dca7eb156404598384f419cb8b
3d8dea90e2072a5ce25aa148cf6ecb06aa7d123f
fix: increase github rate limit with multiple PATs
Work in Progress, special thanks to @filiptronicek @ApurvShah007 @garvit-joshi fixes #51 TODO: - write tests - refactor code - add retry logic in pin.js
diff --git a/api/index.js b/api/index.js index 392b6943cfdc3..803680ee3021b 100644 --- a/api/index.js +++ b/api/index.js @@ -18,7 +18,9 @@ module.exports = async (req, res) => { } = req.query; let stats; + res.setHeader("Cache-Control", "public, max-age=300"); res.setHeader("Content-Type", "image/svg+xml");...
4
3
2
[{"id": "G0", "claim": "A check for whether all tokens have hit the rate limit would be nice, because the retryer keeps looping over all tokens and possibly causes performance issues (an unbounded recursive loop).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
anvil-verifier__anvil__422
anvil-verifier/anvil
422
defect
78593624ac12383abb68db9f01e3b016cdead511
e2fe183c5086339e264a84ab1b9f6f1b8f26ea3b
Count unit tests
1. Add `tools/count-tests.py`. 2. Use `python3 tools/count-tests.py` to show the coverage of unit-tests. 3. All the test files' names are now following to snake rule. 4. Add some missing tests.
diff --git a/src/kubernetes_api_objects/volume.rs b/src/kubernetes_api_objects/volume.rs index 0a15ec5fc..f001a5251 100644 --- a/src/kubernetes_api_objects/volume.rs +++ b/src/kubernetes_api_objects/volume.rs @@ -705,6 +705,12 @@ impl ObjectFieldSelector { pub fn into_kube(self) -> deps_hack::k8s_openapi::api::cor...
1
1
1
[{"id": "G0", "claim": "The main loop overwrites test_filename/test_file_path on every pass of the `for struct_name in structs:` loop, so only the last struct's test file is checked.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
any1__wayvnc__202
any1/wayvnc
202
defect
2a9e3dac58914a85d000e94a6e4cf001e920e595
f4cac3b9f00e1b306f70963751732c4503619188
Custom option parser
This implements a custom option parser. The individual commit history is not great, but I've kept it for the sake of review. The commits will be squashed before merging for the sake of bisectability. The new parser allows us to define positional options and subcommands in the "option schema". This helps with consis...
diff --git a/include/option-parser.h b/include/option-parser.h index 098e2ee3..aac5e486 100644 --- a/include/option-parser.h +++ b/include/option-parser.h @@ -17,26 +17,40 @@ #pragma once #include <stdio.h> -#include <getopt.h> +#include <stdbool.h> struct wv_option { char short_opt; const char* long_opt; ...
6
1
0
[{"id": "G0", "claim": "The option parser should provide a way to register a list of valid subcommands with a second level of command-specific options for each one.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Consider introducing the list of allowed v...
null
any1__wayvnc__220
any1/wayvnc
220
defect
a28ce1552169b7a9c10b2afc5cc59d6128daf920
8ba35c23a734c7de2646973887f85d86daff1c7d
Positional Parameters
- Allow positional args for single-param commands - Add help output for wayvncctl positional arguments - Add description and argument help to wayvnc --help Fixes #215 I have read and understood CONTRIBUTING.md and its associated documents.
diff --git a/examples/single-output-sway b/examples/single-output-sway index b9ef72c5..fb991310 100755 --- a/examples/single-output-sway +++ b/examples/single-output-sway @@ -41,7 +41,7 @@ restore_outputs() { local firstOutput=${OUTPUTS_TO_RECONNECT[0]} echo "Switching wayvnc back to physical output $...
3
3
0
[{"id": "G0", "claim": "Add a flag to `struct cmd_param_info` marking whether a parameter is positional, so the command line can mix positional and named options instead of hardcoding the single-parameter case as positional.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"...
null
anymail__django-anymail__109
anymail/django-anymail
109
defect
d3ac4a1542fe4e53ccb824e930387099d2dec3b6
f60013c580517daafd1240b7f3e9a8cc2697bd0d
Modified custom_arg message_id for compatibility with SendGrid webhook
Based our discussion in #108. According to SendGrid support, the `Message-ID` and `smtp-id` are both used by SendGrid to set their unique message ID. Based on the conversation with SendGrid support we should use a custom arg with a key named something other than `Message-ID` or `smtp-id`. Tried to set this up to...
diff --git a/anymail/backends/sendgrid.py b/anymail/backends/sendgrid.py index fe4c3c23..ca232827 100644 --- a/anymail/backends/sendgrid.py +++ b/anymail/backends/sendgrid.py @@ -114,10 +114,8 @@ def ensure_message_id(self): self.data["headers"]["Message-ID"] = self.make_message_id() self.message_...
3
3
1
[{"id": "G0", "claim": "The backend's tracking custom arg should be named \"anymail_id\" (underscore) rather than \"anymail-id\", to parallel all other webhook data fields.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The webhook's message_id ...
null
anymail__django-anymail__134
anymail/django-anymail
134
defect
7b58d870793cd94cc92821a28dd4f9fc3bb9052e
0b1dc991c20dc76b8d5d682aab0282a3ad4d98a8
Support for per-message meta data for SendGrid
SendGrid supports specifying the metadata per message when using the bulk-sending API, like with merge data. This is really useful in some cases, so here's simple support for it using the same kind of API as merge data.
diff --git a/anymail/backends/base.py b/anymail/backends/base.py index 2d318794..2bcbd258 100644 --- a/anymail/backends/base.py +++ b/anymail/backends/base.py @@ -245,6 +245,7 @@ class BasePayload(object): ('template_id', last, force_non_lazy), ('merge_data', combine, force_non_lazy_dict), ('...
4
4
3
[{"id": "G0", "claim": "Tests need to be added in test_sendgrid_backend covering the basic behavior of the merge_metadata feature and what happens when merge_data and merge_metadata are used on the same message.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "cla...
null
anymail__django-anymail__156
anymail/django-anymail
156
defect
df3d577b4169e409b3f50ba7c235c17d26784412
6229c5d876cab9ae323c1576bb72436999e1c46b
Add template support for Mailgun
Fixes #155
diff --git a/anymail/backends/mailgun.py b/anymail/backends/mailgun.py index 2af8cc5e..cd33acd2 100644 --- a/anymail/backends/mailgun.py +++ b/anymail/backends/mailgun.py @@ -253,8 +253,8 @@ def set_track_clicks(self, track_clicks): def set_track_opens(self, track_opens): self.data["o:tracking-opens"] = "...
1
1
1
[{"id": "G0", "claim": "The new test_template_id test uses self.get_api_call_json(), but the Mailgun API uses form field encoding, so the test should use self.get_api_call_data() to make the tests pass.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
anymail__django-anymail__42
anymail/django-anymail
42
defect
d54d7ecff53c6d748fde8959a6f148519f7a2712
c574358eda25c677ec23fedaad137f0993260fd8
Compatibility with Pythons older than 2.7.7
Fixes #41
diff --git a/anymail/webhooks/mailgun.py b/anymail/webhooks/mailgun.py index ad110f85..5acd6029 100644 --- a/anymail/webhooks/mailgun.py +++ b/anymail/webhooks/mailgun.py @@ -10,6 +10,14 @@ from ..signals import tracking, AnymailTrackingEvent, EventType, RejectReason from ..utils import get_anymail_setting, combine ...
2
2
1
[{"id": "G0", "claim": "Instead of shimming compare_digest with a plain == fallback on Pythons lacking hmac.compare_digest, use django.utils.crypto.constant_time_compare, which is available on all supported Django versions and preserves the constant-time security property.", "category": "security", "verdict": "supporte...
null
anymail__django-anymail__462
anymail/django-anymail
462
defect
e0f50c2550a1f42e287ab63ca0046ba200e77353
ee8e8b1381a837a5607bf14ec77efc0b05f218da
Add Resend inbound handling.
Added inbound handling for Resend. https://resend.com/docs/dashboard/receiving/introduction
diff --git a/anymail/urls.py b/anymail/urls.py index 09e65aed..18e3965b 100644 --- a/anymail/urls.py +++ b/anymail/urls.py @@ -15,7 +15,7 @@ from .webhooks.mandrill import MandrillCombinedWebhookView from .webhooks.postal import PostalInboundWebhookView, PostalTrackingWebhookView from .webhooks.postmark import Postm...
2
2
1
[{"id": "G0", "claim": "The docs should note (and the inbound view should support) a separate RESEND_INBOUND_SECRET setting for the inbound webhook, since Resend assigns a different signing secret to each webhook rather than reusing RESEND_SIGNING_SECRET.", "category": "design", "verdict": "supported", "priority": "P1"...
null
anymail__django-anymail__93
anymail/django-anymail
93
defect
fffd762f56c6e6a567950240c59494a614e1ed8f
d16259ccaea795eb7a2a99d13757669f2e7184c8
[WIP] Feature integration sendinblue
| Q | R | ------------------------------------------ | ------------------------------------------- | Type of contribution ? | Feature | Tickets (_issues_) concerned | fixed #84 --- I've begin an integration of `SendinBlue` ...
diff --git a/AUTHORS.txt b/AUTHORS.txt index 1c1d3c2d..c0727d84 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -6,6 +6,7 @@ Calvin Jeong Peter Wu Charlie DeTar Jonathan Baugh +Noel Rignon Anymail was forked from Djrill, which included contributions from: diff --git a/anymail/backends/sendinblue.py b/anymail/back...
9
9
5
[{"id": "G0", "claim": "Anymail's template_id/merge_data send options should be supported via SendinBlue's transactional-template sending.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Anymail's tags send option should be supported, likely via SendinBlu...
null
anza-xyz__mollusk__114
anza-xyz/mollusk
114
defect
7d5e16bbb6f456caf6fbb9900c72d7a48b7cf01f
26cffe262e882c2f024616ef89305e48b99e3d90
harness: introduce account store interface and wrapper
Adds a new API for working with Mollusk using a provided account store. A new trait - `AccountStore` - allows developers to implement their own custom account store and provide it to a new method on Mollusk: `with_account_store`. This method essentially "converts" from a `Mollusk` instance to a `MolluskWithAccountSt...
diff --git a/Cargo.lock b/Cargo.lock index 66c1aac66..e0a8aefe0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1613,6 +1613,7 @@ dependencies = [ "solana-hash", "solana-instruction", "solana-loader-v3-interface", + "solana-loader-v4-interface", "solana-log-collector", "solana-logger", "solana-native-token", d...
5
2
0
[{"id": "G0", "claim": "Replacing RwLock with Rc<RefCell> for the program cache loses thread safety; should it use Arc<RwLock<...>> (or similar) instead?", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Even if the cache fields were flipped back to RwLock or...
null
anza-xyz__mollusk__197
anza-xyz/mollusk
197
defect
f84b4a342f9ee2a5845cf868dc02a628fcdbfa80
495c7aebe655fb11bf798ece567797bea8f9877a
fix cu for process_transaction_message
the calculated cu value should be the sum of the cu values ​​of each instruction.
diff --git a/harness/src/lib.rs b/harness/src/lib.rs index 474613439..da1afea5e 100644 --- a/harness/src/lib.rs +++ b/harness/src/lib.rs @@ -1050,6 +1050,7 @@ impl Mollusk { ); } + let mut compute_units_consumed_instruction = 0u64; let invoke_result = if invoke_co...
2
2
0
[{"id": "G0", "claim": "The two CU tests in harness/tests/transaction_instructions.rs use loose assertions (lines 111-112 and 135-139) instead of checking for exactly 150 and exactly 300 CUs consumed, so they do not correctly assert proper CU coverage.", "category": "testing", "verdict": "supported", "priority": "P1", ...
null
anza-xyz__mollusk__63
anza-xyz/mollusk
63
defect
0c7b0edfe5788e9a6892d2c4eb60d43390c7175f
93edfae050901626a9cf7ca8ec54743bb6b78eed
add support for return data
using this for minimum delegation tests with normal mollusk, i didnt modify any of the fuzz types since im not sure what support is needed for those
diff --git a/harness/src/fuzz/firedancer.rs b/harness/src/fuzz/firedancer.rs index bdf77f054..07daedcbf 100644 --- a/harness/src/fuzz/firedancer.rs +++ b/harness/src/fuzz/firedancer.rs @@ -235,6 +235,7 @@ fn parse_fixture_effects( .compute_budget .compute_unit_limit .saturating_su...
1
1
1
[{"id": "G0", "claim": "Return-data support should be extended to the fuzzing features: the Mollusk-based (non-Firedancer) fixture protobuf and effects lib should carry the field (as Vec<u8>, like FD does), and the Firedancer fixture support should handle return data where test vectors exercise it.", "category": "corre...
null
anza-xyz__wincode__187
anza-xyz/wincode
187
defect
0daa955b825042836e33a6e552a086ee48c7a3b9
a0afebf61e4aaf13a4614e6bb5b231e61869f2e0
perf: manual decode for utf-8 char deserialization using take_array
* Avoid calling `fill_exact` during `char` deserialization such that `Reader` implementation isn't required to always provide borrowed slice of requested (2-4 byte) size. * Use `take_array` of varying lengths depending on first byte check * Manually compose `code_point` from bytes for each 2-4 len (based on https://g...
diff --git a/wincode/src/schema/impls.rs b/wincode/src/schema/impls.rs index 9a558f64..aacecc86 100644 --- a/wincode/src/schema/impls.rs +++ b/wincode/src/schema/impls.rs @@ -356,27 +356,29 @@ unsafe impl<'de, C: ConfigCore> SchemaRead<'de, C> for char { let b0 = *reader.peek()?; let len = match b0 ...
2
1
1
[{"id": "G0", "claim": "Using `copy_into_slice` for small reads like `char` can circumvent buffering (an IO call per individual deserialization) and its memcpy can inhibit scalarization, so the PR should prefer fill/take-style methods (e.g. a `read_to_array`/`get_array` helper) for small loads instead of eliminating `f...
null
apache__accumulo-fluo__1037
apache/accumulo-fluo
1,037
defect
1bd1f6a736ddae510bb2bf0705b04e3c41c48a7d
919ee500cc8887d221b20da858789b523ac22443
Switch to leader latch WIP
I switched from LeaderSelector to LeaderLatch in order to avoid all of the exception logging. I am not completely finished with this, but just got a full build to run. I am creating a PR to see how it does on travis.
diff --git a/modules/core/src/main/java/org/apache/fluo/core/impl/CuratorCnxnListener.java b/modules/core/src/main/java/org/apache/fluo/core/impl/CuratorCnxnListener.java index 5711e86c7..d9de6a203 100644 --- a/modules/core/src/main/java/org/apache/fluo/core/impl/CuratorCnxnListener.java +++ b/modules/core/src/main/jav...
4
3
1
[{"id": "G0", "claim": "The IllegalStateException message added in getTimestampsImpl ends with a stray trailing space that should not be there.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Halting the JVM when the Oracle loses leadership without stop() ...
null
apache__accumulo-fluo__1043
apache/accumulo-fluo
1,043
defect
01fc804f5914e6f9f2f4bfed8fc6e3e2701c16dd
391fc16d7e888f9221c79f47bd8f86bce89e6e93
FLUO-1002 Create integration test for `FluoAdmin.remove()`
This is a work in progress for #1002 . I added a check to FluoAdminImpl so that in line with the previous discussion it won't let you successfully call remove with the oracle running. Created a utility class.
diff --git a/modules/core/src/main/java/org/apache/fluo/core/client/FluoAdminImpl.java b/modules/core/src/main/java/org/apache/fluo/core/client/FluoAdminImpl.java index 1da5155a1..7d5ca63ae 100644 --- a/modules/core/src/main/java/org/apache/fluo/core/client/FluoAdminImpl.java +++ b/modules/core/src/main/java/org/apache...
7
6
0
[{"id": "G0", "claim": "The catch block in the new CuratorUtil.pathExist is overly broad and wraps the failure in a very generic RuntimeException; it should catch only the checked exceptions thrown and throw a specific RTE such as IllegalStateException or IllegalArgumentException.", "category": "design", "verdict": "su...
null
apache__accumulo-fluo__1087
apache/accumulo-fluo
1,087
defect
a37ddaac595d689445d5f986ea11999c60d5f451
f9614e0c556bca2287a0819169ad779c0d49f081
Add Oracle count functionality
Add functionality to FluoAdminImpl to count the number of Oracles started. This allows the 'fluo list' command to print the number of Oracles for each app. Fixes #895
diff --git a/modules/command/src/main/java/org/apache/fluo/command/FluoList.java b/modules/command/src/main/java/org/apache/fluo/command/FluoList.java index a430d0c09..7a24922e5 100644 --- a/modules/command/src/main/java/org/apache/fluo/command/FluoList.java +++ b/modules/command/src/main/java/org/apache/fluo/command/F...
3
3
1
[{"id": "G0", "claim": "The numOracles count, taken from the raw children of the ORACLE_SERVER znode, may be temporarily inaccurate because the LeaderLatch may create ephemeral ZNodes during leader election, and the approach relies on the Curator LeaderLatch implementation.", "category": "correctness", "verdict": "supp...
null
apache__accumulo-fluo__1113
apache/accumulo-fluo
1,113
defect
0a91a85048bcd8147f55ba81da0621a60f1c291f
c8b7898d77bf6dbb02b73ff98c586dad32d636dd
Fluo #1112 - Change CompletableFuture<Void> to CompletableFuture<Loader>
This PR addresses the feature request documented in #1112
diff --git a/.github/workflows/maven.yaml b/.github/workflows/maven.yaml index a84d641fe..f89e67d87 100644 --- a/.github/workflows/maven.yaml +++ b/.github/workflows/maven.yaml @@ -28,6 +28,7 @@ on: branches: [ '*' ] pull_request: branches: [ '*' ] + workflow_dispatch: jobs: mvn: diff --git a/module...
4
4
1
[{"id": "G0", "claim": "The workflow_dispatch trigger added to .github/workflows/maven.yaml was not intended for this pull request and should be backed out and tested on a different branch instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
apache__accumulo-fluo__1120
apache/accumulo-fluo
1,120
defect
405e28d8c1623878dfdbb2b3172bc855b9d79094
d0ec36e0ae1776cd19cae00c8c1aad8834d92ac5
First pass at adding scan time authorizations to transactions/snapshots
Rough cut of this. Needs to fix documentation, and add assertion to the tests. Open to suggestions on better test cases. This PR adds support for the following: 1. Specifying authentication tokens to use with the `FluoClient` on construction. 2. Specifying authentication tokens to use with a `Snapshot` when perf...
diff --git a/modules/api/src/main/java/org/apache/fluo/api/client/FluoClient.java b/modules/api/src/main/java/org/apache/fluo/api/client/FluoClient.java index fcbe4db86..bbf56dacb 100644 --- a/modules/api/src/main/java/org/apache/fluo/api/client/FluoClient.java +++ b/modules/api/src/main/java/org/apache/fluo/api/client...
7
6
4
[{"id": "G0", "claim": "Snapshot.useScanTimeAuthz should be renamed to useScanTimeAuthorizations, given javadoc, and throw UnsupportedOperationException instead of silently returning this.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "FluoConfiguration....
null
apache__accumulo-fluo__1122
apache/accumulo-fluo
1,122
defect
ddf02796690ab56176b3bd19c19b823d93d55524
ac2ef7fbf99099e5b7477c1827cc7acf4c522d59
Get fluo building and running against Accumulo 2.1.0
These changes : * Update to log4j2 (this was slightly related to updating to Accumulo 2.1.0) * Update to Accumulo 2.1.0 * made changes to get `mvn verify` running * made changes to get fluo running against an Accumulo instance setup by uno * Updated lots of dependencies
diff --git a/modules/accumulo/src/test/java/org/apache/fluo/accumulo/iterators/CountingIterator.java b/modules/accumulo/src/test/java/org/apache/fluo/accumulo/iterators/CountingIterator.java index a2517be55..c937032b0 100644 --- a/modules/accumulo/src/test/java/org/apache/fluo/accumulo/iterators/CountingIterator.java +...
6
3
1
[{"id": "G0", "claim": "Setting the thrift version in the root pom does not take effect: the integration tests fail because the Accumulo servers cannot start, still seeing thrift 0.12.0 on the classpath.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim":...
null
apache__accumulo-fluo__129
apache/accumulo-fluo
129
defect
889b3b1e02a49387831b7a5ad6e4695931f2097c
e39e6301dfe7c29705f17229560383cc5bcbd458
Fixes #122 - Removed Range dependency in Span.
Pull reqest for #122 This allowed the SpanUtil and ByteUtil classes to be moved from API to core module.
diff --git a/modules/api/src/main/java/io/fluo/api/data/Span.java b/modules/api/src/main/java/io/fluo/api/data/Span.java index 241b8d8f1..348ba70b7 100644 --- a/modules/api/src/main/java/io/fluo/api/data/Span.java +++ b/modules/api/src/main/java/io/fluo/api/data/Span.java @@ -18,10 +18,6 @@ import com.google.common....
4
4
0
[{"id": "G0", "claim": "testExactSpan should also make assertions about the columns of the exact span.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "testExactSpan's two-argument case should make assertions about the row and the other column components,...
null
apache__accumulo-fluo__197
apache/accumulo-fluo
197
defect
2b3046c3d460a7b391b2b0dd4c17b4f71a260f5e
3a3cf7e9980ec24d81667d0f57004c34298bd2f2
Fixes #14 Drops and recreates table when if it exists during initializing only if setClearZookeepers = true in configuration.
...g only if setClearZookeepers = true in configuration. The more I thought about this, I think the best option is to drop and recreate the table when setClearZookeepers() is enabled and fail otherwise (with the table already exists exception).
diff --git a/modules/core/src/main/java/io/fluo/core/client/FluoAdminImpl.java b/modules/core/src/main/java/io/fluo/core/client/FluoAdminImpl.java index 8d1ac601a..d0b161ab2 100644 --- a/modules/core/src/main/java/io/fluo/core/client/FluoAdminImpl.java +++ b/modules/core/src/main/java/io/fluo/core/client/FluoAdminImpl....
2
2
1
[{"id": "G0", "claim": "Initialization should handle an already-existing Accumulo table explicitly instead of silently dropping it under a misleadingly named property — either keep the property and always abort before touching Zookeeper, printing a message rather than throwing when the table exists, or rename the prope...
null
apache__accumulo-fluo__204
apache/accumulo-fluo
204
defect
dfcbb04768dc595e3958b13651a6751fff9639a7
5345bbb5b62b32fd5fa3684f35d492ced335aa60
Closes #186 - Added FluoException to API as parent for other exceptions to extend.
Pull request for #186 Improved exception documentation. Created unit test.
diff --git a/modules/api/src/main/java/io/fluo/api/client/TransactionBase.java b/modules/api/src/main/java/io/fluo/api/client/TransactionBase.java index 23e1e8830..9850455dd 100644 --- a/modules/api/src/main/java/io/fluo/api/client/TransactionBase.java +++ b/modules/api/src/main/java/io/fluo/api/client/TransactionBase....
3
3
3
[{"id": "G0", "claim": "delete() can also throw AlreadySetException, so it should declare it just like set() does.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Other set() overloads besides set(Bytes) should also declare throws AlreadySetException...
null
apache__accumulo-fluo__353
apache/accumulo-fluo
353
defect
ba2d35209315625d86e53012984b4692b81393a7
76cdd9eb32b46c70d46c3408ef6c626e1dd400cb
Closes #198 #244 - Improve how 'fluo init' handles existing Fluo instance
...and make initialization easier for users Pull request for #198 & #244
diff --git a/modules/api/src/main/java/io/fluo/api/client/FluoAdmin.java b/modules/api/src/main/java/io/fluo/api/client/FluoAdmin.java index 9c9a268ba..0f5af0ca8 100644 --- a/modules/api/src/main/java/io/fluo/api/client/FluoAdmin.java +++ b/modules/api/src/main/java/io/fluo/api/client/FluoAdmin.java @@ -15,29 +15,83 @@...
6
6
1
[{"id": "G0", "claim": "A table could be created by another thread between the two exists() calls in initialize(), so initialize() could delete a table it did not create; calling exists() once and storing the output (or rechecking opts.getClearTable()) would avoid this.", "category": "correctness", "verdict": "supporte...
null
apache__accumulo-fluo__364
apache/accumulo-fluo
364
defect
a6cd1d8b4756192672cebd9fcde1bb567852075a
80cfd7731b6ced9bca940b7ccb510253c044f02b
Closes #359 - Modified Column by adding isSet methods and removing
setVisibility method. Also, created unit test for Column. Pull request for #359
diff --git a/modules/accumulo/src/main/java/io/fluo/accumulo/values/LockValue.java b/modules/accumulo/src/main/java/io/fluo/accumulo/values/LockValue.java index 1b93e8de1..c30cebd87 100644 --- a/modules/accumulo/src/main/java/io/fluo/accumulo/values/LockValue.java +++ b/modules/accumulo/src/main/java/io/fluo/accumulo/v...
3
3
0
[{"id": "G0", "claim": "The snapshot get() should not fetch the whole column family when a column's qualifier is unset, because the scan requests exact columns and will filter on the exact columns later anyway.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
apache__accumulo-fluo__417
apache/accumulo-fluo
417
defect
4978a1e9dfde36bb661ded2803375408e23c2f80
605b2b9aa6be86a53538dcd7dd3320a0f7b134e6
fixes #415 added two integration test and fixed 4 bugs
Started off adding CollisionIT and found 4 bugs as a result. Wrote more specific IT for two of the bugs found.
diff --git a/modules/accumulo/src/main/java/io/fluo/accumulo/util/ZookeeperUtil.java b/modules/accumulo/src/main/java/io/fluo/accumulo/util/ZookeeperUtil.java index 457e976b4..bbacdf9e7 100644 --- a/modules/accumulo/src/main/java/io/fluo/accumulo/util/ZookeeperUtil.java +++ b/modules/accumulo/src/main/java/io/fluo/accu...
2
1
0
[{"id": "G0", "claim": "The testLotsOfCollisions test should also check the `processed` column in addition to `total`.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks how garbage collection could cause duplicate row columns (curiosity a...
null
apache__accumulo-fluo__465
apache/accumulo-fluo
465
defect
06b12f5f008d0f7bf5a05fe55b5d977de211c2cd
9328cc819adc8ae2750d8e46791199db337dbc0f
Closes #434 #463 - Wait for all notifications to be processed. Stop exc...
...eptions from being logged when OracleClient is closed
diff --git a/modules/accumulo/pom.xml b/modules/accumulo/pom.xml index 3cd501eed..789982d57 100644 --- a/modules/accumulo/pom.xml +++ b/modules/accumulo/pom.xml @@ -52,11 +52,6 @@ <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> - <dependency> - <groupId>org.slf4j...
4
4
1
[{"id": "G0", "claim": "calculateSleep has no upper bound; the computed sleep should also be capped at a maximum (the reviewer suggests 5 or 10 minutes).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new MiniAppRunnerIT test may not create notificat...
null
apache__accumulo-fluo__528
apache/accumulo-fluo
528
defect
484a1196e92bf71ef706f39092dc079e09794bad
40489f4eb0bc3448d4e5d1868824dfb5710b5a09
Closes #523 #524 - Create 'fluo list' command to list all Fluo applic…
…ations within a Fluo instance. Allow Fluo commands to be run without apps directory configured.
diff --git a/modules/cluster/src/main/java/io/fluo/cluster/command/FluoCommand.java b/modules/cluster/src/main/java/io/fluo/cluster/command/FluoCommand.java index 5f1ebcae3..cb9cef106 100644 --- a/modules/cluster/src/main/java/io/fluo/cluster/command/FluoCommand.java +++ b/modules/cluster/src/main/java/io/fluo/cluster/...
6
6
2
[{"id": "G0", "claim": "The usage text for the init command could give more detail, e.g. saying the configuration is in apps/<app>/conf/fluo.properties rather than just apps/<app>.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "It may be useful to...
null
apache__accumulo-fluo__550
apache/accumulo-fluo
550
defect
bda986a00b09833d8857ed7fa4120def4e393af0
2ab04143cd8527e29da1790272393b534011fb1c
changed setObservers() to addObservers()
I was finding it cumbersome to write utility code that in fluo-recipes that would configure a recipe.
diff --git a/modules/api/src/main/java/io/fluo/api/config/FluoConfiguration.java b/modules/api/src/main/java/io/fluo/api/config/FluoConfiguration.java index 3f88698ce..ba8cca412 100644 --- a/modules/api/src/main/java/io/fluo/api/config/FluoConfiguration.java +++ b/modules/api/src/main/java/io/fluo/api/config/FluoConfig...
2
2
0
[{"id": "G0", "claim": "The javadoc of addObservers should read 'Adds multiple observers using unique integer prefixes for each' instead of the misspelled text.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The extra blank line around the addObse...
null
apache__accumulo-fluo__726
apache/accumulo-fluo
726
defect
6c988a72ed45d6dc61043bcb06590fa470791298
3fe0857f9a4c6fd462a84497608549489ee1a884
fixes #715 Added Append Method for BytesBuilder to take byte[], offset, and length.
- Added Append Method for BytesBuilder to take byte[], offset, and length. - Added unit test to test method.
diff --git a/modules/api/src/main/java/org/apache/fluo/api/data/BytesBuilder.java b/modules/api/src/main/java/org/apache/fluo/api/data/BytesBuilder.java index 549b9e937..649b63ac4 100644 --- a/modules/api/src/main/java/org/apache/fluo/api/data/BytesBuilder.java +++ b/modules/api/src/main/java/org/apache/fluo/api/data/B...
3
3
2
[{"id": "G0", "claim": "The testArraySection assertion is broken and does not verify the data in `bytes`, which holds only the appended section, so the test fails; the expected data should be the appended section, e.g. produced with Bytes.of(byte[], offset, len).", "category": "correctness", "verdict": "supported", "pr...
null
apache__accumulo-fluo__738
apache/accumulo-fluo
738
defect
19b64c115809930a912992684788de8b675abb96
1548900317e4099bb70e1b490dad3d398d3f658e
Rollup changes
Fixes several issues, and cleans up the generation of the source and binary tarballs for releases.
diff --git a/modules/accumulo/pom.xml b/modules/accumulo/pom.xml index e480c98eb..2e91bd0a9 100644 --- a/modules/accumulo/pom.xml +++ b/modules/accumulo/pom.xml @@ -17,7 +17,7 @@ <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.fluo</groupId> - <artifactId>fluo</artifactId> + <artifactId...
2
2
0
[{"id": "G0", "claim": "MiniFluoImpl's main() method appears to have no callers left (the mini-fluo script that invoked it was removed in 6fd8629) and may be removable; the log message this PR added to it is also questionable since MiniFluoImpl has no toString().", "category": "maintainability", "verdict": "supported",...
null
apache__accumulo-fluo__741
apache/accumulo-fluo
741
defect
5ed9f2d8624a4c07f5d22718ca13af5c1f1d2b1d
e5353c4d8c7631fafd8e7b980fee3f4bfba6f817
Fixes #727 - Avoid console output in tests
- Converted calls to System.out.print\* to log.debug - Increased log level for minicluster - Removed commented out System.out call
diff --git a/modules/accumulo/src/main/java/org/apache/fluo/accumulo/iterators/TimestampSkippingIterator.java b/modules/accumulo/src/main/java/org/apache/fluo/accumulo/iterators/TimestampSkippingIterator.java index d1734b0e0..a09ac3bff 100644 --- a/modules/accumulo/src/main/java/org/apache/fluo/accumulo/iterators/Times...
2
1
1
[{"id": "G0", "claim": "None of the tests have an implementing slf4j module on the classpath (only the default NOP logger or impls pulled in transitively, sometimes several), so an slf4j implementation needs to be configured for test scope, transitive impl dependencies excluded, and tickets filed upstream to make slf4j...
null
apache__accumulo-fluo__804
apache/accumulo-fluo
804
defect
25839df1671608517b9a74b24aef575ec02567d7
c5efed75775d6cea6680e93b02dfef534301c5cc
Added some caching of string to bytes conversions for #800
* Added some localized per transactions caching of string to bytes conversions * Optimized hashCode(), equals(), and compareTo() methods for data objects in API * Made transaction reuse passed in Bytes and Column objects when returning data * Optimized Bytes.toString() by weakly remembering the string that creat...
diff --git a/modules/api/src/main/java/org/apache/fluo/api/client/AbstractSnapshotBase.java b/modules/api/src/main/java/org/apache/fluo/api/client/AbstractSnapshotBase.java index 30b325ac0..69780b289 100644 --- a/modules/api/src/main/java/org/apache/fluo/api/client/AbstractSnapshotBase.java +++ b/modules/api/src/main/j...
1
1
0
[{"id": "G0", "claim": "Remove the \"// TODO move\" comment and track the pending move in a GitHub issue instead of leaving a TODO in the code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__accumulo-fluo__841
apache/accumulo-fluo
841
defect
a1c869ca508a020d028f8942225100523d5379a2
810477021c8f3a4087188f0f709917ed65dacc7f
closes #827 - implement a copyTo
that uses a new Bytes.arraycopy method. That last test in BytesTests may a little much, but I had to prove to myself how System.arraycopy was working.
diff --git a/modules/api/src/main/java/org/apache/fluo/api/data/Bytes.java b/modules/api/src/main/java/org/apache/fluo/api/data/Bytes.java index 1e66a2261..dafba27ee 100644 --- a/modules/api/src/main/java/org/apache/fluo/api/data/Bytes.java +++ b/modules/api/src/main/java/org/apache/fluo/api/data/Bytes.java @@ -565,4 +...
6
6
2
[{"id": "G0", "claim": "Bytes.arraycopy's use of src.toArray() allocates an intermediate copy on every call; it could pass the internal byte array (with the Bytes offset) to System.arraycopy directly.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "c...
null
apache__accumulo-fluo__875
apache/accumulo-fluo
875
defect
ad1042db80ecdce38cc7e85b1743a2d3d9be31fd
7b858c4f962183948038011dc47e687c9fd1ada5
fixes #830
Looking for some feed back. The commented out version of the concat method would be an implementation using the Accumulo [UnsynchronizedBuffer.java](https://github.com/apache/accumulo/blob/master/core/src/main/java/org/apache/accumulo/core/util/UnsynchronizedBuffer.java) class. Left it there as an option.
diff --git a/modules/accumulo/src/main/java/org/apache/fluo/accumulo/util/ByteArrayUtil.java b/modules/accumulo/src/main/java/org/apache/fluo/accumulo/util/ByteArrayUtil.java index 33dc796aa..d5d9fa170 100644 --- a/modules/accumulo/src/main/java/org/apache/fluo/accumulo/util/ByteArrayUtil.java +++ b/modules/accumulo/sr...
2
2
2
[{"id": "G0", "claim": "The size counter and offset advance assume a variable-length int always takes one byte, so for Bytes longer than 127 bytes the concatenated data would be sized and advanced wrongly; a method that calculates the expected vint length should be called, and writeVint could return the new offset inst...
null
apache__accumulo-fluo__916
apache/accumulo-fluo
916
defect
0a5a3e7fa44af69b496bdccd49cacc14ce06ecfd
5382befb216dc8990bdd62edb16c3663bc5f184a
Fixes #914 Allow passing config to oracle/worker cmds
* This work was done to support running Fluo in Docker * Fluo oracle/worker commands now support '-D key=value' arguments to override configuration. * Fluo oracle/worker command now support '-fg' option to run in foreground * Fixed bug in Fluo status command
diff --git a/docs/applications.md b/docs/applications.md index 7d8557a16..cc2001bca 100644 --- a/docs/applications.md +++ b/docs/applications.md @@ -204,15 +204,13 @@ Follow the instructions below to start a Fluo application which contains an orac are typically run with one oracle process and multiple worker proces...
5
4
3
[{"id": "G0", "claim": "If a -D property does not split into exactly name=value, overrideConfig silently skips it; the reviewer asks that it throw an exception instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The parsing should call prop.spli...
null
apache__accumulo-fluo__929
apache/accumulo-fluo
929
defect
42e84cd3f77502614201d0686ff4c16497877c4e
2dda47e2f9baf053f34562f3f971614381573c2c
Ensure allocated timestamps are valid.
Could you please review the code for the issue 921. Thanks.
diff --git a/modules/core/src/main/java/org/apache/fluo/core/oracle/Stamp.java b/modules/core/src/main/java/org/apache/fluo/core/oracle/Stamp.java index 1b308d658..b53786ce3 100644 --- a/modules/core/src/main/java/org/apache/fluo/core/oracle/Stamp.java +++ b/modules/core/src/main/java/org/apache/fluo/core/oracle/Stamp....
3
3
1
[{"id": "G0", "claim": "Replace `b==0?true:false` with `b==0` and include more info in the error message, something like `timestamp prefix should be zero`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Add a unit test for the new stamp validati...
null
apache__activemq__1172
apache/activemq
1,172
defect
e896f2688eb260f5fccabc2e33dfc89afc6de7a6
121b6797521524be344e0b2c46c2964de06ba13c
[AMQ-9394] Tech Preview: Virtual Thread support
Tasks: - [x] Throw exception if virtualThreadTaskRunner is enabled and JDK 21 (or higher) is not available - [x] Breakout the Virtual Thread factory init so it only logs on JDK 17 - [x] Add webpage with instructions and implementation progress status (https://activemq.apache.org/virtual-threads) - [x] Update 'yie...
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java b/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java index b05c3ec66d8..5f2b43c3724 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerService.java +++ b/activemq-broker/src/main/ja...
5
3
3
[{"id": "G0", "claim": "It is way too early to merge the virtual-thread tech preview into main; the work should live in a separate branch for testing until it is ready, because delivering something completely untested to end users risks breaking them.", "category": "design", "verdict": "opposed", "priority": "P1", "sco...
null
apache__activemq__1174
apache/activemq
1,174
defect
72bbb0c521a3811971006c703030ce8fdc5e4f41
1b99917ee1ae2962f8395cf0594611bc2a1dfe16
AMQ-9452: unwind BaseDestination to access queue/topic message
When dest is instance of DestinationFilter the queue/topic message is not accessed (statistic "firstMessageTimestamp" is not sent)
diff --git a/activemq-broker/src/main/java/org/apache/activemq/plugin/StatisticsBroker.java b/activemq-broker/src/main/java/org/apache/activemq/plugin/StatisticsBroker.java index 3429da4a7c3..702056d6b2a 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/plugin/StatisticsBroker.java +++ b/activemq-broker/sr...
2
2
1
[{"id": "G0", "claim": "Please add a unit test covering this change.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Please squash the commits into one for this change.", "category": "process", "verdict": "supported", "priority": "P3", "scope": "introduc...
null
apache__activemq__1247
apache/activemq
1,247
defect
4e3084d9bbb8e2bf17c641773460a44ff40d5ae5
8594de61d5f06d697c565e05503ac4dbe9a77657
[AMQ-9530]Fix SelectorAwareVirtualTopicInterceptor ClassCastException if next is not Topic.
`next` is not guaranteed to be Topic. If there is plugin that injects another `DestinationInterceptor`, the code will fail with `ClassCastException`. Added a method to correctly unwrap next. Ran: * AMQ4899Test.java * VirtualTopicSelectorTest.java * JavaVirtualDestTest.java * SelectorAwareVTThatDropsMessagesW...
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/region/virtual/SelectorAwareVirtualTopicInterceptor.java b/activemq-broker/src/main/java/org/apache/activemq/broker/region/virtual/SelectorAwareVirtualTopicInterceptor.java index 727f79d3805..af0837c4677 100644 --- a/activemq-broker/src/main/java/org...
3
3
1
[{"id": "G0", "claim": "Keep the selectorCachePlugin field final and instead resolve it defensively at line 47 as selectorCachePlugin = (baseDestination != null) ? ... : null, so removing final is unnecessary.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
apache__activemq__1258
apache/activemq
1,258
defect
4e3084d9bbb8e2bf17c641773460a44ff40d5ae5
ea121be71a1c151903e06d6c7efecbaa7bc898d0
[AMQ-9484/9533] Add offset support and Backup command
Sample backup command syntax: 1. Send a set of messages (1,125 messages to verify counts used in this example) 2. Run backup command 3. Inspect contents of backup.tar.gz ``` % ./bin/activemq backup --filename=backup.tar.gz --queue=offset.q --offset=999 --count=125 ```
diff --git a/activemq-broker/src/main/java/org/apache/activemq/store/MessageStore.java b/activemq-broker/src/main/java/org/apache/activemq/store/MessageStore.java index aee619a27a9..e35327f8481 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/store/MessageStore.java +++ b/activemq-broker/src/main/java/org...
3
2
0
[{"id": "G0", "claim": "The pull request mixes several unrelated fixes/changes — for instance the hawtbuf dependency issue on the CLI should be in a separate PR — and should be split into different PRs.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "clai...
null
apache__activemq__1288
apache/activemq
1,288
defect
e45ee4aae5b49986750d5a2feb171f36cf432fca
101291765c92caefcc2aa8b8b392ce241608d02d
[AMQ-9548] Add BrokerView attributes to retrieve number of total, managed, and temporary queues and topics
**What problems does this PR solve?** Currently, to get the total number of queues and topics on the broker using JMX, one needs to query the attribute values of Queues and Topics on the broker MBean then post-process it (finding the length of returned array) to get that data. This can be resource intensive (unnecessa...
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java b/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java index e8ec158dae0..97dab615933 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java +++ b/activemq-broker/src/main...
4
4
0
[{"id": "G0", "claim": "The new getTotalTopicsCount()/getTotalQueuesCount() still call methods that create a new ObjectName array just to take its length; they should return the size of an existing collection (e.g. the queue region destination map) instead of allocating.", "category": "performance", "verdict": "support...
null
apache__activemq__1377
apache/activemq
1,377
defect
a4a42277d1b69273652d8cb1e326ff90f4ad1399
fe4497d883c010fef7b65d1c0041f4ca4ab8fca2
[AMQ-9646] Support selecting specific messages for command line backup
- [x] Tested indexed backup - [x] Tested messageId range backup Example usage: ``` ./bin/activemq backup --filename=backup.tar.gz --indexes=0,1,5,7,1000,1001 ```
diff --git a/activemq-broker/src/main/java/org/apache/activemq/store/MessageStore.java b/activemq-broker/src/main/java/org/apache/activemq/store/MessageStore.java index e35327f8481..f96c473ed28 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/store/MessageStore.java +++ b/activemq-broker/src/main/java/org...
8
8
2
[{"id": "G0", "claim": "Selecting the messages to backup by raw order-index index values has no clear use case, and message-id-based selection would be more beneficial and should be added.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Recovery should se...
null
apache__activemq__1419
apache/activemq
1,419
defect
be361fd7e66447c95f0024e75a42ee4c5b2a547f
5daa26b4efceacd723479c8870cda689c285e9ea
AMQ-9689 - Network of Broker durable sync TTL fixes and improvements
This commit makes several improvements and fixes for syncing durable subscriptions when a network bridge connects. 1. A bug was fixed during durable sync that would cause the clientId to not always be included for durables in the subscription list which could cause a loop to be created as the other broker would not ...
diff --git a/activemq-broker/src/main/java/org/apache/activemq/network/DemandForwardingBridgeSupport.java b/activemq-broker/src/main/java/org/apache/activemq/network/DemandForwardingBridgeSupport.java index 57afc85d11e..c933f489fdf 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/network/DemandForwardingB...
2
2
0
[{"id": "G0", "claim": "The PR should not collapse the java.util imports into a wildcard `import java.util.*;` (in NetworkBridgeUtils.java and DemandForwardingBridgeSupport.java).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A typo ('brokerz' ...
null
apache__activemq__1420
apache/activemq
1,420
defect
953737ca082e1ff67cf0b408e7ec72cd89be75ac
5dd1e9f827aa0cd78806e6907e093ff73ec926b8
AMQ-9693: avoid synchronized blocks
This PR fixes a couple of issues in the RA. - move the running flag to a non-blocking approach (remove synchronized on a mutex and use AtomicBoolean) - update the running to false if we can shedule a task in the worker - move the listener initialization to the #start which is functionally better and avoid stacking...
diff --git a/activemq-ra/src/main/java/org/apache/activemq/ra/ServerSessionImpl.java b/activemq-ra/src/main/java/org/apache/activemq/ra/ServerSessionImpl.java index ee19403742f..357406e3904 100644 --- a/activemq-ra/src/main/java/org/apache/activemq/ra/ServerSessionImpl.java +++ b/activemq-ra/src/main/java/org/apache/ac...
1
1
0
[{"id": "G0", "claim": "The reviewer guesses the deadlock problem is rooted in the pre-existing runningFlag not being thread safe when several sessions exist.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
apache__activemq__1449
apache/activemq
1,449
defect
caeb4cad03d197e432213221d4a52ec5e6010ae1
b73281d6abf006ae434021d1570cbc07386d19bf
AMQ-9723 implemented try with resources for socket
Not sure what to return in the end of method - used value -1 for now.
diff --git a/activemq-client/src/main/java/org/apache/activemq/transport/tcp/QualityOfServiceUtils.java b/activemq-client/src/main/java/org/apache/activemq/transport/tcp/QualityOfServiceUtils.java index 5ce83bb2d27..0559ee825c3 100644 --- a/activemq-client/src/main/java/org/apache/activemq/transport/tcp/QualityOfServic...
2
2
2
[{"id": "G0", "claim": "The new catch (IOException e) branch should throw an IllegalArgumentException instead of swallowing the exception with e.printStackTrace() and returning -1.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Throwing IllegalArgum...
null
apache__activemq__1536
apache/activemq
1,536
defect
5f394c14922919c1f036c0eb6253d0c673df5d97
298612050142fe723a72b19d10a990e5cf5c6884
AMQ-9808: Dead lock when using CRON schedule with AMQ_SCHEDULED_REPEAT
This is not related to the Java 25 work because the bug can be reproduced in 5.18.x branch for instance. It has been broken for a long time I believe. When using repeat with a cron scheduler, we need to deffer the actual scheduling when process is done to avoid a dead lock to happen because we want to write a comman...
diff --git a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/scheduler/JobSchedulerImpl.java b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/scheduler/JobSchedulerImpl.java index 29e9e23ee83..78ceb9fd9cb 100644 --- a/activemq-kahadb-store/src/main/java/org/apache/activemq/sto...
1
1
1
[{"id": "G0", "claim": "The deferred scheduling loop needs a catch-and-continue pattern so that if scheduling one job fails due to IOException, the remaining jobs would all fail to even be attempted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__activemq__1563
apache/activemq
1,563
defect
50931e7df8771d4a15b701fcff49acb3ea944bcf
bfc0690fd2afb7986ac5a9c7fe61c4939ff65f59
ActiveMQ on Java 25
No need to review, this is a temp PR I'll kill whenever I have more visibility on what now fails on Java 25
diff --git a/.github/workflows/ci-nightly.yml b/.github/workflows/ci-nightly.yml index f2ac9419f1d..fba64043eb9 100644 --- a/.github/workflows/ci-nightly.yml +++ b/.github/workflows/ci-nightly.yml @@ -56,7 +56,7 @@ jobs: strategy: matrix: os: [ ubuntu-24.04, ubuntu-22.04, macos-26, macos-15, window...
6
5
1
[{"id": "G0", "claim": "The wildcard import in MessageDatabase.java should be replaced with explicit imports because wildcard imports make discovery via searching less deterministic.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The java24 Subj...
null
apache__activemq__1564
apache/activemq
1,564
defect
a6b11f7e8ed5ca8d2b84449d6c30ba253ce303e8
a50e7b3a0675ed0914b94aa1d9a3bd996c43debf
[AMQ-9820]: closed connections leaking into the pool when reconnectOnException is used
Possible bug revealed by PooledConnectionSecurityExceptionTest on faster environments (Github Actions nodes for example). The PR fixes the test itself leaking connections during the waitFor condition. But it also fixes the connection pool itself because when reconnectOnException is used, commons-pool will close th...
diff --git a/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/PooledConnectionFactory.java b/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/PooledConnectionFactory.java index d3a64e1934e..1b11531b454 100644 --- a/activemq-jms-pool/src/main/java/org/apache/activemq/jms/pool/PooledConnectionFact...
1
1
0
[{"id": "G0", "claim": "Use try-with-resources for the newly created PooledConnection in the test's isSatisified blocks (both testFailureGetsNewConnectionOnRetry and testFailoverWithInvalidCredentials) instead of a manual try/finally close.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco...
null
apache__activemq__1654
apache/activemq
1,654
defect
4809b1eed6a5a2398a2ee4c25aa8eeffd8ebeaff
7f50bccfc78557dc1d5af931f3f04c2be193c7a4
[AMQ-9856] Journal move fails on Windows
To be discussed. On Github Actions for Windows nodes, it consistently fails. On Windows, files cannot be renamed/moved while open by another process. The simplest and most appropriate fix is to skip this test on Windows where file locking makes it inherently unreliable.
diff --git a/activemq-broker/src/main/java/org/apache/activemq/util/IOHelper.java b/activemq-broker/src/main/java/org/apache/activemq/util/IOHelper.java index 008140df1aa..98d099f606b 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/util/IOHelper.java +++ b/activemq-broker/src/main/java/org/apache/activem...
17
6
3
[{"id": "G0", "claim": "On Windows, the journal move during checkpoint fails with java.io.IOException \"The process cannot access the file because it is being used by another process\" thrown from IOHelper.moveFile.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "pre_existing"}, {"id": ...
null
apache__activemq__1740
apache/activemq
1,740
defect
1f2114e0bcb42d9cbd7538b6d4d50fdeae65a67b
91f73232ebc07d2e5ba9853b0029e88c7331984e
feat(#1739): Add requestTimeout to ConnectionFactory to prevent hanging threads in syncSendPacket()
This is a rework of https://github.com/apache/activemq/pull/644 (new investigation).
diff --git a/activemq-client/src/main/java/org/apache/activemq/transport/ResponseCorrelator.java b/activemq-client/src/main/java/org/apache/activemq/transport/ResponseCorrelator.java index 7e9112ab91e..c7cf0b68564 100644 --- a/activemq-client/src/main/java/org/apache/activemq/transport/ResponseCorrelator.java +++ b/act...
4
4
1
[{"id": "G0", "claim": "Add the parallel test annotation to ResponseCorrelatorTest so it can run in parallel with the suite's forking setup.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fixed Thread.sleep(500) in testRequestWithZeroMaxResponseTime...
null
apache__activemq__1793
apache/activemq
1,793
defect
1bac6156f76da2dd1a986b6c00e26e1f1dbcc366
2fe1f537e298207663b195ef603b13fd3ae1fd9a
Improve FactoryFinder Validation
Also modernizes with generics and adds improved testing **Edit:** Adding more details on the changes that were done here now that [CVE-2026-33227](https://www.cve.org/CVERecord?id=CVE-2026-33227) has been published. * FactoryFinder and and our default ObjectFactory impls now verify any classes loaded implement...
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerFactory.java b/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerFactory.java index 9dfb85952e3..06a26b36f47 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/broker/BrokerFactory.java +++ b/activemq-broker/src/main/ja...
10
5
3
[{"id": "G0", "claim": "The java.awt.Frame import added to StompTest.java is a typo or IDE auto-completion artifact and can be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Since making ObjectFactory.create throw UnsupportedOperationEx...
null
apache__activemq__1814
apache/activemq
1,814
defect
b9a2b8ffbfb61552e62ed8f75181980e2e176588
c55082c0c0bd14c0b16324d18e0e1b516b2f13cc
chore: migrate tests from JMock to Mockito
Replace JMock with Mockito in activemq-ra, activemq-unit-tests, and activemq-kahadb-store modules. Remove JMock dependencies from POMs.
diff --git a/activemq-kahadb-store/pom.xml b/activemq-kahadb-store/pom.xml index 0f4804f9265..a05bbdea734 100644 --- a/activemq-kahadb-store/pom.xml +++ b/activemq-kahadb-store/pom.xml @@ -122,16 +122,6 @@ <artifactId>log4j-slf4j2-impl</artifactId> <scope>test</scope> </dependency> - <dependency> ...
7
5
3
[{"id": "G0", "claim": "The JMock `never()` checks on onMessage/afterDelivery and the release expectation from setupExpectRelease() were not ported and should be restored as Mockito verifies in testBeforeDeliveryFailure.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "...
null
apache__activemq__1847
apache/activemq
1,847
defect
a4c771f2440efb3ae8cb9b9b66483fc2a8c6a249
21da3c8fff0c37a15cdcb76e6a0986f5b7e594fa
Also validate nested composite URIs used with BrokerView
Add a check for VM transports that are in a nested composite URI This is a follow on to #1840
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java b/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java index 37c6f64f2ee..b77f13fd88e 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java +++ b/activemq-broker/src/main...
1
1
1
[{"id": "G0", "claim": "The recursion in validateAllowedUri needs a limit on the recursion depth, otherwise bad input could cause a stack overflow.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
apache__activemq__1910
apache/activemq
1,910
defect
b787b0ed11cf1b7444b0a3904398fea5dc16179b
ab6c5ad55fe3e9b09d1938ef2c89d332c0432e0c
Restrict URL protocol types loaded by XBeanBrokerFactory
This adds a new system property to control which protocol types are valid for loading resources using the XBeanBrokerFactory. By default only file and classpath resources can be loaded. The goal of this is to prevent possible future security issues by hardening what is allowed to be loaded by default. There have bee...
diff --git a/activemq-spring/src/main/java/org/apache/activemq/spring/Utils.java b/activemq-spring/src/main/java/org/apache/activemq/spring/Utils.java index ba776e605e4..0f6c747e662 100644 --- a/activemq-spring/src/main/java/org/apache/activemq/spring/Utils.java +++ b/activemq-spring/src/main/java/org/apache/activemq/s...
2
2
0
[{"id": "G0", "claim": "The factory imports several classes (e.g. the stomp frame translators and FactoryFinder) that are not actually used in XBeanBrokerFactory and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "DEFAULT_ALLOW...
null
apache__activemq__1918
apache/activemq
1,918
defect
b787b0ed11cf1b7444b0a3904398fea5dc16179b
69edccdb7be5cd3913a7af699f4585bd389bc87d
Add Http discovery transport to denied list for JMX
This also prevents the Http discovery transport from being added as a connector or network connector through JMX and Jolokia
diff --git a/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java b/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java index 619912c01a0..a23680113dc 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/BrokerView.java +++ b/activemq-broker/src/main...
2
1
0
[{"id": "G0", "claim": "Consider whether https should also be included in the DENIED_TRANSPORT_SCHEMES set.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The word 'vm' should be dropped from the fail message 'Should have failed trying to add vm conne...
null
apache__activemq__1938
apache/activemq
1,938
defect
ca34bcd387156b7bacb8abc382c768354c48d730
bd0acaaceffd76e8706e75e107c3859ef6f9f0c6
Queue browse improvements in webconsole
This change makes sure we always use the correct content type for the output based on the configured view and also escape xml content when displaying. This version is different from #1937 because it uses our own method for XML escaping and it does not require adding new dependencies. We do use common-text as a testi...
diff --git a/activemq-web/pom.xml b/activemq-web/pom.xml index 6c1f85d28a8..11f556b220f 100644 --- a/activemq-web/pom.xml +++ b/activemq-web/pom.xml @@ -87,6 +87,13 @@ <artifactId>websocket-jetty-server</artifactId> </dependency> + <!-- Just used for testing --> + <dependency> + <groupId>org.ap...
2
2
0
[{"id": "G0", "claim": "Remove the unused import com.rometools.rome.feed.atom.Link from ViewUtils.java.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the typo in the constant name XMl_ESCAPED_GT, renaming it to XML_ESCAPED_GT via the sugges...
null
apache__activemq__517
apache/activemq
517
defect
d474580a349aecaa788627b70390721b13c8c440
d3db3de47a4e4b244975a20a2d22ddc57ebbf7a4
AMQ-7450 - Put some restrictions on the URLs that are allowed in Blob…
…Messages The idea is for the default + FTP blob download strategies, to check that the protocol, host + port match the configured upload URL of the BlobTransferPolicy.
diff --git a/activemq-client/src/main/java/org/apache/activemq/blob/DefaultBlobDownloadStrategy.java b/activemq-client/src/main/java/org/apache/activemq/blob/DefaultBlobDownloadStrategy.java index 3b4ef0aca09..23ba1ae861a 100644 --- a/activemq-client/src/main/java/org/apache/activemq/blob/DefaultBlobDownloadStrategy.ja...
1
1
1
[{"id": "G0", "claim": "The change breaks the client test org.apache.activemq.blob.DownloadStrategyTest.testFTPBlobDownloadStrategy, which now errors with org.apache.commons.net.MalformedServerReplyException ('Could not parse response code. Server Reply: SSH-2.0-...') instead of behaving as expected.", "category": "cor...
null
apache__activemq__636
apache/activemq
636
defect
b6ab868f949a688b24a669398f7cdc7be100220b
acb45a638ccb7096a8d59cdac88db6ee7fecd08c
Forward commit commands for local transactions as well as XA transact…
…ions during ACK compaction. This PR will forward all commits with transaction info (as opposed to just XA transactions, which would not include commits for local transactions). I have included a unit test, and will open a discussion on the mailing list.
diff --git a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java index 6e0688b4645..b7641558281 100644 --- a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/MessageDatab...
1
1
0
[{"id": "G0", "claim": "The hasTransactionInfo() check in shouldForward() is redundant (and more so now) and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__activemq__756
apache/activemq
756
defect
c36ca15d5d33699b020017d9a4af60f1308cf2b9
456b4510e7c97a7ea5051cb349b92e6ecd0f4c9c
[AMQ-8412] Update client-side maxFrameSize handling to be more symetr…
…ical with server-side - Handle in the OpenWireFormat class - Add unit tests to confirm - Verify compression is accounted for - Verify the ability to disable using wireFormat.maxFrameSizeEnabled=false Requested changes: - [x] 1. Tests for all transports - [x] 2. *NIO*Transport.java updates - [x] 3. isA...
diff --git a/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnection.java b/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnection.java index ef48e842d93..58d419725d6 100644 --- a/activemq-client/src/main/java/org/apache/activemq/ActiveMQConnection.java +++ b/activemq-client/src/main/java/org...
9
7
3
[{"id": "G0", "claim": "The NIOSSLTransport and NIOTransport server-side frame size checks, which happen in a different place than OpenWireFormat, must also honor the new maxFrameSizeEnabled flag.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Tests...
null
apache__activemq__979
apache/activemq
979
defect
ee1477830511a71d89a1e987191c271cb8c0b5a7
e86e7099c92d0e7c59e8744b2536c87be73f708e
AMQ-7309 - Implement Message#isBodyAssignableTo and Message#getBody methods
This might still need some tweaks but there's some initial tests pushed and wanted to get eyes on it and any feedback.
diff --git a/activemq-client/src/main/java/org/apache/activemq/ActiveMQProducer.java b/activemq-client/src/main/java/org/apache/activemq/ActiveMQProducer.java index 7a6c621a94e..2596bf2aac5 100644 --- a/activemq-client/src/main/java/org/apache/activemq/ActiveMQProducer.java +++ b/activemq-client/src/main/java/org/apach...
6
6
3
[{"id": "G0", "claim": "ActiveMQBytesMessage#doGetBody only shallow-wraps the content array (and builds a never-used ByteSequence) instead of deep-copying the bytes, so a caller could modify the message's payload, and the copy should account for offset/length.", "category": "correctness", "verdict": "supported", "prior...
null
apache__age__1064
apache/age
1,064
defect
a31408e656ffa2fa2c1d6596c1ebf29935dd7164
761da63debc903bcb9e17f7be51693b2c825da02
Add checks for array functions to recognize and decode VPC
- Added for array functions size, head, last, isEmpty, reverse, agtype_in_operator and agtype_access_slice. - Fixed a bug where object input to reverse would terminate the server instead of erroring out. - Added regression tests. resolves #1044 **If I am missing any array function other than above listed, ...
diff --git a/regress/expected/expr.out b/regress/expected/expr.out index b01cf977b6..f0a30e7265 100644 --- a/regress/expected/expr.out +++ b/regress/expected/expr.out @@ -2554,6 +2554,16 @@ ERROR: function ag_catalog.age_size() does not exist LINE 2: RETURN size() ^ HINT: No function matches...
2
2
1
[{"id": "G0", "claim": "The repeated VPC-check expression (binary container -> check VLE vpc -> materialize edges) should be generalized into a function since it repeats in many places.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Converting t...
null
apache__age__1198
apache/age
1,198
defect
d9bc21665bc8519af6fa5449f81c0f1e04be4326
ce36f5b5d72dbeed6dc2e875f2c2fbc22f1907d4
Add concat || operator to agtype
This patch is originally authored by Josh Innis for #282 . I have verified, extended the functionality and added more regression tests for concat operator (which is one of the operators among `?,?|,?&,->,->>,#>,#>>,||` implemented in the original patch)
diff --git a/Makefile b/Makefile index ab98665e19..fbd3f3b8f7 100644 --- a/Makefile +++ b/Makefile @@ -99,6 +99,7 @@ REGRESS = scan \ analyze \ graph_generation \ name_validation \ + jsonb_operators \ drop srcdir=`pwd` diff --git a/age--1.4.0.sql b/age--1.4.0.sql ...
1
1
0
[{"id": "G0", "claim": "The comment added above agtype_concat reads \"Jsonb returns NULL when for PG Null\", where \"when\" appears to be an extra word put mistakenly.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__age__1252
apache/age
1,252
defect
85b41b0952e0e61f6f0cf1a369ac64d761c4f8de
9e44c5732fb11d17183be39a3c6f62ac6205deca
Optmize vertex and edge builder functions
Changes: - Added the agtype_raw module, which contains helper functions to build agtype directly without building an agtype_value first - Optimize _agtype_build_vertex and _agtype_build_edge functions - Minor refactor in agtype_ext.h The agtype_raw module: Inserting a composite agtype (i.e...
diff --git a/Makefile b/Makefile index fbd3f3b8f7..c2f1430680 100644 --- a/Makefile +++ b/Makefile @@ -56,6 +56,7 @@ OBJS = src/backend/age.o \ src/backend/utils/adt/agtype_ops.o \ src/backend/utils/adt/agtype_parser.o \ src/backend/utils/adt/agtype_util.o \ + src/backend/utils/adt/agtype_...
1
1
1
[{"id": "G0", "claim": "The reviewer asks whether the implementation should be exposed to others, because the PR moves the AGT_HEADER_TYPE macro from agtype_ext.c into the header agtype_ext.h and the new agtype_raw.h exposes the full agtype_build_state struct definition.", "category": "design", "verdict": "supported", ...
null
apache__age__1339
apache/age
1,339
defect
34c738fa850cbe198bf505d7b58da600e6796084
c80b90fbbb0b4519e160361159001596df147321
Fix Issue 1329 - agtype_to_int4 crash
Fixed issue 1329 where `agtype_to_int`<8,4,2> and `agtype_to_int4_array` crashed due to not properly checking input. As these functions take "any" input, the input has to be properly checked before casting it to a specific type. The input section assumed it was agtype, which caused crashes for non-agtypes. The fu...
diff --git a/regress/expected/agtype.out b/regress/expected/agtype.out index f8860b63a8..04ec1f3d65 100644 --- a/regress/expected/agtype.out +++ b/regress/expected/agtype.out @@ -2744,6 +2744,59 @@ SELECT agtype_to_int8(agtype_in('false')); 0 (1 row) +-- should return SQL NULL +SELECT agtype_to_int8(a...
1
1
0
[{"id": "G0", "claim": "In agtype_to_int2, the AGTV_FLOAT branch should use DatumGetInt16 instead of DatumGetInt32, since dtoi2 returns an int16 datum.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
apache__age__1451
apache/age
1,451
defect
0ea118689d786efdb08344d32be5ef265b376426
0ac671c477bf7018fbd9bb246025f53e6eefa891
Master to PostgreSQL version 16
** **PLEASE DO NOT MERGE** ** until thoroughly reviewed and approved by all reviewers. Reviewers must state their approval as a comment in the thread below. PR for moving the **master** branch up to PostgreSQL version 16. It contains all of the latest work in the master branch in addition to all of the changes ma...
diff --git a/.github/workflows/go-driver.yml b/.github/workflows/go-driver.yml index adbacc93ba..10b1abaa6b 100644 --- a/.github/workflows/go-driver.yml +++ b/.github/workflows/go-driver.yml @@ -2,10 +2,10 @@ name: Go Driver Tests on: push: - branches: [ "master", "PG15" ] + branches: [ "master", "PG16" ] ...
11
11
4
[{"id": "G0", "claim": "_label_name() silently returns NULL for null arguments instead of raising the previous ERRCODE_NULL_VALUE_NOT_ALLOWED error, which hides the issue; the error should be kept as in master.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
apache__age__1454
apache/age
1,454
defect
8e56db90aa06c12921263d2c380db00896615b01
69d8494b547f2f0f464018d391dc6f3f8d9318b1
Pg16 to master
When merging PG16 into the master, there were changes that needed to be addressed. This PR applies merges those changes back into PG16. Additionally, this PR adjusts the CI scripts to be exclusively for the PG16 branch
diff --git a/.github/workflows/go-driver.yml b/.github/workflows/go-driver.yml index 10b1abaa6b..6bf08f2027 100644 --- a/.github/workflows/go-driver.yml +++ b/.github/workflows/go-driver.yml @@ -2,10 +2,10 @@ name: Go Driver Tests on: push: - branches: [ "master", "PG16" ] + branches: [ "PG16" ] pull_r...
1
1
0
[{"id": "G0", "claim": "The 'Set tag based on branch' step in each driver workflow (go-driver.yml, jdbc-driver.yaml, nodejs-driver.yaml, python-driver.yaml) keeps redundant if/elif conditions that this PR made dead, and should be reduced to just `echo \"TAG=PG16_latest\" >> $GITHUB_ENV`.", "category": "maintainability"...
null
apache__age__2066
apache/age
2,066
defect
05487a08f7b1985c5a815f55918905ede47454da
a05858cec90ef9fc35e76fec782cc1ffb8b4cafe
Fix memory leaks in functions part 1
Fixing memory leaks in functions due to contexts not clearing out the memory soon enough. Background: Destroying a context will free up its associated memory. However, before that happens, a process can still accumulate a lot of memory working on large data sets if it expects the context free to do it for it. For ex...
diff --git a/src/backend/utils/adt/age_vle.c b/src/backend/utils/adt/age_vle.c index ed094e952b..6f7efbbc3d 100644 --- a/src/backend/utils/adt/age_vle.c +++ b/src/backend/utils/adt/age_vle.c @@ -2147,7 +2147,6 @@ agtype_value *agtv_materialize_vle_edges(agtype *agt_arg_vpc) /* build the AGTV_ARRAY of edges from th...
4
1
0
[{"id": "G0", "claim": "In agtype_to_int8's invalid-agtype-string error path, agtv should be freed as well, not just temp.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "In execute_array_access_operator, array_index_value should also be freed on the e...
null
apache__age__2075
apache/age
2,075
defect
05487a08f7b1985c5a815f55918905ede47454da
a391d86793158589578491abbaf89ad71cd79e8e
Issue 1996 - Add agtype to json typecast
- Added a helper function to determine agtype value type. - Added a function to cast agtype to json. - Added regression tests.
diff --git a/regress/expected/expr.out b/regress/expected/expr.out index d82c0f2a44..1922039a8b 100644 --- a/regress/expected/expr.out +++ b/regress/expected/expr.out @@ -2426,6 +2426,185 @@ SELECT agtype_typecast_path(null); (1 row) +-- +-- Tests for explicit typecast to json +-- +-- Should pass +SELECT agtype_t...
1
1
1
[{"id": "G0", "claim": "Need to add the new function to the upgrade script.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__age__2227
apache/age
2,227
defect
9c370f421ff0d138c14080a069524aff14682e19
3297c7fec2afec76cb09f855d5da3417e931317b
Add fast functions for checking edge uniqueness
Added fast functions for checking edge uniqueness. This will help improve performance for MATCH queries with paths longer than 3 but less than 11. The normal edge uniqueness function will deal with any path 11 and over. modified: age--1.6.0--y.y.y.sql modified: sql/agtype_graphid.sql modified: ...
diff --git a/age--1.6.0--y.y.y.sql b/age--1.6.0--y.y.y.sql index d781be986e..2d693a433d 100644 --- a/age--1.6.0--y.y.y.sql +++ b/age--1.6.0--y.y.y.sql @@ -31,3 +31,23 @@ --* file. We need to keep the order of these changes. --* REMOVE ALL LINES ABOVE, and this one, that start with --* +CREATE FUNCTION ag_catalog._a...
2
1
0
[{"id": "G0", "claim": "The declarations and assignments of ag_catalog, edge_fn and qualified_function_name at the top of prevent_duplicate_edges can be removed, since the function call is now constructed further down in the function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "...
null
apache__age__2302
apache/age
2,302
defect
7beb653303529b05391667de4204ffb4da318eeb
7537dd045d920d2dddc40b2545db873d1e13e9b9
Optimize vertex/edge field access with direct array indexing
NOTE: This PR was created using AI tools and a human. Leverage deterministic key ordering from uniqueify_agtype_object() to access vertex/edge fields in O(1) instead of O(log n) binary search. Fields are sorted by key length, giving fixed positions: - Vertex: id(0), label(1), properties(2) - Edge: id(0), label(...
diff --git a/Makefile b/Makefile index 0392d8b85..0048b749f 100644 --- a/Makefile +++ b/Makefile @@ -112,7 +112,8 @@ REGRESS = scan \ name_validation \ jsonb_operators \ list_comprehension \ - map_projection + map_projection \ + direct_field_access ifneq ($...
3
3
3
[{"id": "G0", "claim": "The direct field access macros assume vertices always have exactly 3 fields and edges exactly 5 fields, so they should verify num_pairs before accessing fields directly to catch data corruption or unexpected vertex/edge structures.", "category": "correctness", "verdict": "supported", "priority":...
null
apache__age__2306
apache/age
2,306
defect
8bdeec54e898451771f4dc021a13b00781d6d1a0
9d4f38e588e55060eefd8cef6ea0f843a12f7c6d
Fix Issue 1884: Ambiguous column reference
Fix Issue 1884: Ambiguous column reference and invalid AGT header errors. Note: This PR was created with AI tools and a human, or 2. This commit addresses two related bugs that occur when using SET to store graph elements (vertices, edges, paths) as property values: Issue 1884 - "column reference is ambiguous"...
diff --git a/regress/expected/cypher_set.out b/regress/expected/cypher_set.out index 1d24a7f9b..5a2a71230 100644 --- a/regress/expected/cypher_set.out +++ b/regress/expected/cypher_set.out @@ -988,6 +988,224 @@ SELECT * FROM cypher('issue_1634', $$ MATCH (u) DELETE (u) $$) AS (u agtype); --- (0 rows) +-- +-- Issue ...
1
1
1
[{"id": "G0", "claim": "The new Test B3 and Test E2 tests create and match a path in the same query and show (0 rows) where the test should have returned a row, so they are not correct tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__age__2337
apache/age
2,337
defect
55476ad2875f37f5b65919b6eeab7d81fd65aa7c
afb33967851d900d4626ce223618267a47d8d722
Fix VLE NULL handling for chained OPTIONAL MATCH
## Problem Chained `OPTIONAL MATCH` clauses with VLE (variable-length edges) crash or error when a preceding `OPTIONAL MATCH` produces NULL results. **Segfault (with `WHERE IS NOT NULL`):** ```cypher MATCH (u)-[:BELONGS_TO*]->(nop)-[:PARENT_OF*]->(g2) OPTIONAL MATCH (nop)-[:RESPONSIBLE_FOR*]->(inp) OPTIONAL MATCH (in...
diff --git a/regress/expected/cypher_vle.out b/regress/expected/cypher_vle.out index 57f930d98..b3fe9ad86 100644 --- a/regress/expected/cypher_vle.out +++ b/regress/expected/cypher_vle.out @@ -1109,6 +1109,92 @@ NOTICE: graph "issue_1910" has been dropped (1 row) +-- issue 2092: VLE with chained OPTIONAL MATCH a...
2
2
0
[{"id": "G0", "claim": "The new regression queries assert a specific row order in regress/expected/cypher_vle.out but have no ORDER BY, so an explicit ORDER BY (e.g., ORDER BY p.name) should be added to each RETURN that is compared against fixed expected output, with the expected file updated accordingly, to avoid flak...
null
apache__age__2351
apache/age
2,351
defect
d0741d8dc90f0c2f636f049b48b9d41eb54516cf
7e07f3210b3e08a095a21e884d736c4946674a3c
Add index scan
**Motivation / Problem:** As a result of load testing, a significant performance degradation was found in insertion scenarios. The scenarios used were taken from an open-source benchmark and rewritten in pure SQL. Examples of the queries can be found here: 1) https://github.com/ldbc/ldbc_snb_interactive_v1_impls/blo...
diff --git a/src/backend/catalog/ag_label.c b/src/backend/catalog/ag_label.c index 54c31ef36..ee209418e 100644 --- a/src/backend/catalog/ag_label.c +++ b/src/backend/catalog/ag_label.c @@ -21,6 +21,7 @@ #include "access/genam.h" #include "catalog/indexing.h" +#include "catalog/namespace.h" #include "executor/execu...
13
12
4
[{"id": "G0", "claim": "The index-scan update path in process_update_list() skips the RLS USING-policy check that the sequential-scan path performs, so SET/REMOVE can update rows that row-level security should filter out.", "category": "security", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id":...
null
apache__age__638
apache/age
638
defect
2a233e3e2da911bf6bcf186bcb962144ea46cf6d
f9608fde82feff9b9aea207ddfaa41ed66101a42
Implement plus-equal operator in SET clause
Additional changes: Null properties are removed from cypher maps in certain cases. A new property `cypher_map.keep_null` is added. It is set while transforming CREATE, MATCH and SET clause. Based on its value, transform_cypher_map tells executor whether to keep the null properties in maps that appear in the mentioned ...
diff --git a/age--1.2.0.sql b/age--1.2.0.sql index 54f0f304a2..3075824c9b 100644 --- a/age--1.2.0.sql +++ b/age--1.2.0.sql @@ -3145,6 +3145,14 @@ CALLED ON NULL INPUT PARALLEL SAFE AS 'MODULE_PATHNAME', 'agtype_build_map_noargs'; +CREATE FUNCTION ag_catalog.agtype_build_map_nonull(VARIADIC "any") +RETURNS agtype +L...
1
1
0
[{"id": "G0", "claim": "The new keep_null field of cypher_map should be a Boolean (true/false) rather than an integer (1/0).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__age__895
apache/age
895
defect
b0c9e9c09ba09db7cefeb848514cabc31f163bca
1528a783095d9c1421c49618265743c33647c712
Added string to pg_float8 typecasting
**Why:** While it is a common practice to convert a _string_ to an _integer_ or _float_ if it resembles one, this functionality was missing for `pg_float8` ``` SELECT * from cypher('test', $$ RETURN "1.23"::pg_float8 $$) as (result agtype); ERROR: cannot cast agtype string to type float ``` **Solution:...
diff --git a/regress/expected/expr.out b/regress/expected/expr.out index 645ab96a61..8b6fe2696e 100644 --- a/regress/expected/expr.out +++ b/regress/expected/expr.out @@ -1667,6 +1667,135 @@ SELECT agtype_in('[NaN, {"e": 2.718281::numeric, "one": Infinity, "pie": 3.14159 [NaN, {"e": 2.718281::numeric, "one": Infinity...
5
4
1
[{"id": "G0", "claim": "More regression tests should be added to the PR to cover all potential and edge cases, including the unhandled ::int, ::pg_float8, and ::pg_bigint annotations in agtype_in.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The 'infi...
null
apache__airflow__42624
apache/airflow
42,624
defect
39f8e1d487ab8f1969aaec512fdffacca989813c
529b53d16af5cd93f3239a434e7fdf9169d7c280
[KubernetesExecutor] Don't skip succeeded status
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may ...
diff --git a/providers/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor.py b/providers/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor.py index 7c6e0d8852e5f..4301a54f02922 100644 --- a/providers/src/airflow/providers/cncf/kubernetes/executors/kubernetes_executor.py +++ b/provider...
2
2
2
[{"id": "G0", "claim": "Fix, or probably remove, the broken test (test_process_status_succeeded_dedup_timestamp) that the removal of the Succeeded dedup logic left failing.", "category": "testing", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "Add test coverage for the early r...
null
apache__airflow__49031
apache/airflow
49,031
defect
9255a0ac1169576d630d6adad7fcbf7697b9829d
8c4333225ae519603c4cb910d0e8ed35c250de69
Bring back serve_logs to be in the core
The `serve_logs` has been moved in #48457 to fab provider by mistake. It should remain in the airflow-core. We still depend on flask in the core (but as a next step we can replace it by starlette and unicorn). Fixes: #49028 <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor li...
diff --git a/airflow-core/pyproject.toml b/airflow-core/pyproject.toml index 527ddec8d854a2..3d77dee53f9992 100644 --- a/airflow-core/pyproject.toml +++ b/airflow-core/pyproject.toml @@ -84,7 +84,10 @@ dependencies = [ # 0.115.10 fastapi was a bad release that broke our API's and static checks. # Related fast...
2
1
1
[{"id": "G0", "claim": "A static check fails because providers/celery/README.rst and providers/celery/pyproject.toml still reference the apache-airflow-providers-fab dependency/extra that should be removed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "clai...
null
apache__airflow__49814
apache/airflow
49,814
defect
402a14f5a226965e531623cabe68d63879a73125
965620cc6e096532af63366f20f78931d6995619
Fix docker compose tests
The docker compose tests on linux have been broken by #49681 because of: a) perrmission problems with config folder - airflow.cfg created eventually was owned by root, not airflow user and it was not readable by the airflow user b) the airflow.cfg has not been initialized in init because airflow version...
diff --git a/airflow-core/docs/howto/docker-compose/docker-compose.yaml b/airflow-core/docs/howto/docker-compose/docker-compose.yaml index 603d373e4faa3..17f2e93bf144b 100644 --- a/airflow-core/docs/howto/docker-compose/docker-compose.yaml +++ b/airflow-core/docs/howto/docker-compose/docker-compose.yaml @@ -217,6 +217,...
1
1
0
[{"id": "G0", "claim": "The subfolder-cleanup loop should use the newly added `subfolders` variable instead of repeating the `(\"dags\", \"logs\", \"plugins\", \"config\")` tuple a second time.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__airflow__50391
apache/airflow
50,391
defect
f60c91d1723a5ca4791bb4926c3865cdba46b43b
d58ac016df6951e45180272cf2176e4edf9263db
Use non-deprecated context in tests for Airflow 3
The #50301 deprecated using get_current_context in standard provider in favour of the task.sdk call, but some core tests are still using the provider's one. <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work fo...
diff --git a/airflow-core/tests/unit/models/test_taskinstance.py b/airflow-core/tests/unit/models/test_taskinstance.py index 8c4ab5e73a8449..c50e4ae1d2a059 100644 --- a/airflow-core/tests/unit/models/test_taskinstance.py +++ b/airflow-core/tests/unit/models/test_taskinstance.py @@ -3713,7 +3713,12 @@ def f(*args, **kwa...
3
3
3
[{"id": "G0", "claim": "The six files still importing get_current_context from the deprecated airflow.providers.standard.operators.python path should be switched to the non-deprecated Airflow 3 import.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "...
null
apache__airflow__56733
apache/airflow
56,733
defect
235d6f830c1b1c0fbc711617fae50822179c9e8f
92739ebfab8edbb919cf5188a71948942128ba94
Skip PodGenerator import for deserialization when no k8s installed
The #56692 introduced optimization for PodGenerator imports - but there was a problem that when deserializing Pod it failed when no k8s classes were loaded - but it really is not optimisation but failure - nothing actually prevents us from importing the k8s classes and we actually **have to** do it in case we want to d...
diff --git a/airflow-core/src/airflow/serialization/serialized_objects.py b/airflow-core/src/airflow/serialization/serialized_objects.py index bd8a4096ca5e14..bab3452979a520 100644 --- a/airflow-core/src/airflow/serialization/serialized_objects.py +++ b/airflow-core/src/airflow/serialization/serialized_objects.py @@ -9...
1
1
1
[{"id": "G0", "claim": "The change is a wrong fix: it discards the `_has_kubernetes()` result and unconditionally imports/uses PodGenerator, which will result in the Scheduler or API-server crashing with weird errors if the k8s library/provider is not installed; POD deserialization should instead raise RuntimeError whe...
null
apache__airflow__58227
apache/airflow
58,227
defect
d9a805253dcc9b705b538022be70be772df99c8d
6e657fdfa48bb908ed030ff732be5ad6fa16ee4f
Fix operator extra links not appearing on failed tasks
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may ...
diff --git a/task-sdk/src/airflow/sdk/execution_time/task_runner.py b/task-sdk/src/airflow/sdk/execution_time/task_runner.py index 8ca403f3c96ca4..de26786aea5747 100644 --- a/task-sdk/src/airflow/sdk/execution_time/task_runner.py +++ b/task-sdk/src/airflow/sdk/execution_time/task_runner.py @@ -1407,9 +1407,17 @@ def fi...
3
3
0
[{"id": "G0", "claim": "In test_task_failed_with_operator_extra_links, replace mock_xcom_set.assert_called_once_with(...) with an exact comparison of mock_xcom_set.mock_calls against a single call(...) as suggested.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
apache__airflow__58368
apache/airflow
58,368
defect
25d36db8aceaf9b964881f4a85ffad2ba0d4cbd8
64ee24a6a7e1b3fc4961a422a6a5d35960124c80
Fix assets used only as inlets being incorrectly orphaned (#58303)
Fix assets with only inlet references being incorrectly orphaned (#58303) Assets that were referenced only in task inlets were incorrectly marked as orphaned and removed from the AssetActive table. This caused a race condition where validate_inlets_and_outlets would intermittently fail with AirflowInactiveAssetInInl...
diff --git a/airflow-core/src/airflow/jobs/scheduler_job_runner.py b/airflow-core/src/airflow/jobs/scheduler_job_runner.py index f5fbc0acf6179..395211d1bf261 100644 --- a/airflow-core/src/airflow/jobs/scheduler_job_runner.py +++ b/airflow-core/src/airflow/jobs/scheduler_job_runner.py @@ -62,6 +62,7 @@ AssetWatcher...
5
4
0
[{"id": "G0", "claim": "The fallback import of TaskInletAssetReference in compat.py should either carry a comment explaining when the ImportError path is needed or be removed altogether, since the shim is not used anywhere.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
apache__airflow__58698
apache/airflow
58,698
defect
2866191e754fb1afcd6e985968047b9197996aa7
8a53d8e07d945c03e7baa8f841dc5951303a37e3
Fix Google Cloud Data Fusion hook to handle pipeline start errors properly
## Description Fixes #50387 - Bug in Data Fusion hook where `start_pipeline` crashes with `KeyError: 'runId'` when pipelines fail to start. ## Problem The hook used the multi-program start endpoint which returns HTTP 200 even on failures. The code accessed `response_json[0]["runId"]` without validation, causing a Ke...
diff --git a/providers/google/src/airflow/providers/google/cloud/hooks/datafusion.py b/providers/google/src/airflow/providers/google/cloud/hooks/datafusion.py index c27f63eb8399af..7355cca2842388 100644 --- a/providers/google/src/airflow/providers/google/cloud/hooks/datafusion.py +++ b/providers/google/src/airflow/prov...
1
1
0
[{"id": "G0", "claim": "The MagicMock used for the mocked _cdap_request response should be specced with google.auth.transport.requests.Request so that static checks can verify the mocked methods exist for that class.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__airflow__58704
apache/airflow
58,704
defect
6d36d7b4ff787f3071bcd86a36e6116fd1116a63
b1530202c9068e5ec7175b5d92946824b70e261e
Fix DAG Processor health check threshold matching the pattern used by…
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you ma...
diff --git a/airflow-core/src/airflow/config_templates/config.yml b/airflow-core/src/airflow/config_templates/config.yml index 242bb87b4776b8..be33ed51c36fe4 100644 --- a/airflow-core/src/airflow/config_templates/config.yml +++ b/airflow-core/src/airflow/config_templates/config.yml @@ -2509,6 +2509,16 @@ dag_processor:...
4
2
1
[{"id": "G0", "claim": "The description block of dag_processor_health_check_threshold in config.yml is too long and should be adjusted (wrapped below the line-length limit) to resolve the failing check.", "category": "documentation", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim"...
null
apache__airflow__59245
apache/airflow
59,245
defect
42d82cbc17a5edea92f9b95a6fedbc8a89cc9a55
a1290ad67a5708bf9e89356da841d8a951dced52
Create `create_token` method in FAB auth manager
Resolves #51362. As mentioned in #51362, some users are frustrated because the way to generate a JWT token to call Airflow public API is not customizable like it used to be in Airflow 2. Some deployment managers want to allow users to use oauth to generate a token whereas the current implementation force them to use...
diff --git a/providers/fab/docs/auth-manager/api-authentication.rst b/providers/fab/docs/auth-manager/api-authentication.rst index 38e47bc13c19b..b8f5a24de8454 100644 --- a/providers/fab/docs/auth-manager/api-authentication.rst +++ b/providers/fab/docs/auth-manager/api-authentication.rst @@ -38,9 +38,9 @@ command as in...
1
1
0
[{"id": "G0", "claim": "The `create_token` return type annotation is wrong: since the auth check can return `None` when no user is found (rather than raising), the signature should be `User | None` instead of `User`.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__airflow__59281
apache/airflow
59,281
defect
274e096e6df62efcd5d877025d30a23be27c1734
b133c5ccb624b4964dc38a23ae5b1158a7e80116
Return 403 when the Keycloak access token is expired
Resolves #59277. When calling the Airflow API using Keycloak auth manager with a Keycloak access token expired, the API returns 500. This fix makes it return 403. <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with thi...
diff --git a/providers/keycloak/src/airflow/providers/keycloak/auth_manager/keycloak_auth_manager.py b/providers/keycloak/src/airflow/providers/keycloak/auth_manager/keycloak_auth_manager.py index 39b3b73c5e8944..a262a0700b5fdd 100644 --- a/providers/keycloak/src/airflow/providers/keycloak/auth_manager/keycloak_auth_ma...
1
1
0
[{"id": "G0", "claim": "The `print(\"Refreshing the token\")` statement added in `refresh_user` looks like a forgotten debug statement duplicating the existing `log.debug` call and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__airflow__59372
apache/airflow
59,372
defect
e1adf0b1eba8fb5e00046cf49f15da3de59ff705
6bb2f0cf7c7042250113c5f035fd07e641154573
Kubernetes Pod Operator callbacks repeating log line
Closes #59366 I noticed the callbacks were just being passed the same log line over and over again. I tried previous versions of the provider, and they all seem to have the same bug, so I think this probably never worked correctly. I think the best thing to do is have the callback be passed the same message that...
diff --git a/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/callbacks.py b/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/callbacks.py index 20ea0d02a8846..928f127617f9e 100644 --- a/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/callbacks.py +++ b/providers/cncf/kuber...
4
2
0
[{"id": "G0", "claim": "The `if message_to_log is not None:` guard added in the else branch is redundant because line 485 above and line 489 already ensured there is a message to log.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new `conta...
null
apache__airflow__59711
apache/airflow
59,711
defect
8defa759f9f569d1fe8bc2d6de9c0bb957ec505b
81d42184668490fbbee7aae6ec004b0fd88f3425
Use SDK serde for trigger and next kwargs serialization
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may ...
diff --git a/airflow-core/.pre-commit-config.yaml b/airflow-core/.pre-commit-config.yaml index 38e740e27ae1b..106a7605b175e 100644 --- a/airflow-core/.pre-commit-config.yaml +++ b/airflow-core/.pre-commit-config.yaml @@ -370,6 +370,7 @@ repos: ^src/airflow/models/taskmap\.py$| ^src/airflow/models/...
6
4
3
[{"id": "G0", "claim": "The type of next_kwargs should be changed to JsonValue (rather than dict[str, Any]) now that the serialized value is stored directly.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The TaskInstanceHistory.next_kwargs column type c...
null
apache__airflow__59712
apache/airflow
59,712
defect
b2f16085206c6fd436d068c2332972fac327d406
9dc4511adf935b5faa5579191ad4a1b3c569fd59
Add ability to get previous TI on ``RuntimeTaskInstance``
Fixes #59609 Add `get_previous_ti()` method to `RuntimeTaskInstance` for retrieving previous task instance executions. Supports filtering by state, logical_date, and run_id. This will help users migrating from Airflow 2.x since they were able to do `prev_ti = ti.get_previous_ti(state='success')` in Airflow 2 as ...
diff --git a/airflow-core/src/airflow/api_fastapi/execution_api/datamodels/taskinstance.py b/airflow-core/src/airflow/api_fastapi/execution_api/datamodels/taskinstance.py index 78faf620991b57..134019b6e31aba 100644 --- a/airflow-core/src/airflow/api_fastapi/execution_api/datamodels/taskinstance.py +++ b/airflow-core/sr...
3
3
1
[{"id": "G0", "claim": "The run_id filter on the get-previous-TI API is of questionable use — if you know the run ID you could just fetch that task instance directly — so it should be removed.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The single-TI ...
null
apache__airflow__59855
apache/airflow
59,855
defect
8c3b26e18b48d98ff3520cd30e006f980c8e1e17
7fdc4990ceb4382e3d80eac2a972c1d15525c848
Remove redundant --conn-id flag from `airflow connections list`
The --conn-id filter in 'airflow connections list' is redundant with 'airflow connections get'. Users should use 'get' when they know the specific connection ID they want. Changes: - Removed ARG_CONN_ID_FILTER argument definition - Removed --conn-id from connections list command args - Removed filtering logic fro...
diff --git a/airflow-core/newsfragments/59855.significant.rst b/airflow-core/newsfragments/59855.significant.rst new file mode 100644 index 0000000000000..691ea0fda2da8 --- /dev/null +++ b/airflow-core/newsfragments/59855.significant.rst @@ -0,0 +1 @@ +Removed the unused ``--conn-id`` option from the ``airflow connecti...
2
2
0
[{"id": "G0", "claim": "This pull request also needs a newsfragment describing the change.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newsfragment should describe the option as redundant rather than unused and tell users to use `airflow co...
null
apache__airflow__59938
apache/airflow
59,938
defect
cf80ae19840f1d03e16323e7bca819550633db97
72f8b4bb75315c542ef44dfea9ba88190df5bb46
Add validation for pool names to prevent InvalidStatsNameException
Fixes #59935 ## Problem Pool names can currently contain any characters (spaces, emojis, etc.), which causes `InvalidStatsNameException` when reporting metrics because stats names must only contain ASCII alphabets, numbers, underscores, dots, and dashes. Example error: InvalidStatsNameException: The stat name...
diff --git a/airflow-core/src/airflow/models/pool.py b/airflow-core/src/airflow/models/pool.py index 13ec3e9dccf9c..6deebd5a5ee16 100644 --- a/airflow-core/src/airflow/models/pool.py +++ b/airflow-core/src/airflow/models/pool.py @@ -17,6 +17,7 @@ # under the License. from __future__ import annotations +import re f...
2
1
1
[{"id": "G0", "claim": "The PR should reuse the existing stats-reporting validation logic instead of adding a new validate_pool_name method, so that new validation rules do not have to be updated in two places.", "category": "design", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
apache__airflow__60052
apache/airflow
60,052
defect
9bdd6536e5d12f57aed81b80a4a1d0799784a667
3215f5fc6912d48532cd370e15b98b7863d6168a
Fix `TriggerDagRunOperator` deferring when `wait_for_completion=False`
## Summary Closes #60049 The bug was in the task runner's `DagRunTriggerException` handler, which checked the `deferrable` flag before checking `wait_for_completion`. This caused tasks with `deferrable=True` to incorrectly enter `DEFERRED` state even in fire-and-forget mode (`wait_for_completion=False`). ## Root...
diff --git a/providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py b/providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py index 3060c2dafe0d3c..5d17a643f2d116 100644 --- a/providers/standard/src/airflow/providers/standard/operators/trigger_dagrun.py +++ b/providers/stand...
1
1
1
[{"id": "G0", "claim": "If deferrable only makes sense when wait_for_completion=True, the operator should raise an exception (with reasoning and suggested fixing actions) when it is not, that exception should be tested, and the interaction should be documented in the docstrings of both parameters.", "category": "design...
null
apache__airflow__60330
apache/airflow
60,330
defect
870af3d949c10467437c6425dad5b8465567fac8
3ad9273e7bddd863c933fc56f7212ff300691b78
Fix duplicate task execution when running multiple schedulers (HA)
In HA, two scheduler processes can race to schedule the same TaskInstance. Previously DagRun.schedule_tis() updated rows by ti.id alone, so a scheduler could increment try_number and transition state even after another scheduler had already advanced the TI (e.g. to SCHEDULED/QUEUED), resulting in duplicate attempts bei...
diff --git a/airflow-core/src/airflow/models/dagrun.py b/airflow-core/src/airflow/models/dagrun.py index bd3973b77683d..052ddc1a45947 100644 --- a/airflow-core/src/airflow/models/dagrun.py +++ b/airflow-core/src/airflow/models/dagrun.py @@ -2063,7 +2063,18 @@ def schedule_tis( empty_ti_ids.append(ti.id...
1
1
0
[{"id": "G0", "claim": "The new schedulable_state_clause should be benchmarked with EXPLAIN ANALYZE on a moderately sized DB to verify no extra index scan, and checked whether a simpler `TI.state != TaskInstanceState.SCHEDULED` clause would suffice and be more performant.", "category": "performance", "verdict": "suppor...
null
apache__airflow__60380
apache/airflow
60,380
defect
92a69564a7999b227d2dfcbbf907ae185202e168
c170d0342385b9755db80c16ebc6ebbbb26cd998
Prevent OpenLineage failure when BigQuery table metadata is missing
Fixes #60096 ### What Adds a safety condition to OpenLineage extraction to prevent errors when `BigQueryUpdateTableSchemaOperator` do not return a table resource. Also removes duplicate and unused imports ### Why OpenLineage callbacks run after task execution and should not cause task failures when metadata ...
diff --git a/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py b/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py index b27392ab04b858..455d6dd8cd43c0 100644 --- a/providers/google/src/airflow/providers/google/cloud/operators/bigquery.py +++ b/providers/google/src/airflo...
1
1
1
[{"id": "G0", "claim": "The OpenLineage imports should stay conditional (inside the methods) instead of being moved to module top level, because OpenLineage is not a required provider and the operator should work even when it is not installed.", "category": "correctness", "verdict": "supported", "priority": "P0", "scop...
null
apache__airflow__60458
apache/airflow
60,458
defect
bfaf4ffc4881fb21e8303bb9cf07d22a9e226a9d
24c512999ace703143a833cc5dfa865c9375915d
Refactor HttpAsyncHook to support session-based async HTTP operations and simplify LivyAsyncHook
<!-- Thank you for contributing! Please provide above a brief description of the changes made in this pull request. Write a good git commit message following this guide: http://chris.beams.io/posts/git-commit/ Please make sure that your code changes are covered with tests. And in case of new features or big ch...
diff --git a/providers/apache/livy/src/airflow/providers/apache/livy/hooks/livy.py b/providers/apache/livy/src/airflow/providers/apache/livy/hooks/livy.py index 9de3582de1109..e9f8e94c74843 100644 --- a/providers/apache/livy/src/airflow/providers/apache/livy/hooks/livy.py +++ b/providers/apache/livy/src/airflow/provide...
3
3
2
[{"id": "G0", "claim": "If the livy provider's changes depend on the changes to the http provider, the minimum apache-airflow-providers-http version must be bumped in providers/apache/livy/pyproject.toml.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null