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
apache__streampark__2395
apache/streampark
2,395
defect
1e163ac73b35091295b144700f1b49f4e1054695
c9cc9b3e3038170e4242e8f25c091cf3fd240b6e
[Issue-2014][test] Add SpringTestBase class.
<!-- Thank you for contributing to StreamPark! Please make sure that your code changes are covered with tests. And in case of new features or big changes remember to adjust the documentation. ## Contribution Checklist - If this is your first time, please read our contributor guidelines: [Submit Code](https:/...
diff --git a/pom.xml b/pom.xml index e10795e8da4..6a590625981 100644 --- a/pom.xml +++ b/pom.xml @@ -141,6 +141,10 @@ <httpclient.version>4.5.13</httpclient.version> <lombok.version>1.18.24</lombok.version> <jupiter.version>5.9.1</jupiter.version> + <mockito.version>3.4.6</mockito.vers...
3
3
1
[{"id": "G0", "claim": "Move the chrome and mock-server testcontainer suites out of SpringTestBase into an abstract subclass, because test classes that do not use them still inherit their startup cost and slow down.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G...
null
apache__streampark__2734
apache/streampark
2,734
defect
3bea6208648260640bde4d8fb3feb13ec32c3549
9d2bd1c37b18499cfc12c9991c33f516d398dbb8
[Improve] remove delete user function and add transfer resource of user function
<!-- Thank you for contributing to StreamPark! Please make sure that your code changes are covered with tests. And in case of new features or big changes remember to adjust the documentation. ## Contribution Checklist - If this is your first time, please read our contributor guidelines: [Submit Code](https:/...
diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/mapper/ApplicationMapper.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/mapper/ApplicationMapper.java index a1f05be742..dc7c129b64 100644 --- a/streampark-co...
2
2
0
[{"id": "G0", "claim": "The new service method `changeUser` should be renamed to `changeOwnership`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The transfer-resource modal's title icon should use `<Icon icon=\"ant-design:swap-outlined\" />` i...
null
apache__streampark__3847
apache/streampark
3,847
defect
759413f290e3744aa9c6bd37ca5b80de8392de7e
8bbe47fb97dad19cc93758f64c14b9133f637854
[Fix-3681] DockerConfig setting error
<!-- Thank you for contributing to StreamPark! Please make sure that your code changes are covered with tests. And in case of new features or big changes remember to adjust the documentation. ## Contribution Checklist - If this is your first time, please read our contributor guidelines: [Submit Code](https:/...
diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/bean/DockerConfig.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/core/bean/DockerConfig.java index 52771cdc0c..c802f99c7c 100644 --- a/streampark-console/streampa...
2
2
0
[{"id": "G0", "claim": "In getDockerConfig, call baseMapper.querySettingByKeys(xxx) instead of the separately injected settingMapper.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The explicitly @Autowired SettingMapper field in SettingServiceImpl is un...
null
apache__streampark__3860
apache/streampark
3,860
defect
fc856b0d67af3f74a3f84b2264f7c197d3850364
38eb72a629a54b598c7fef0f183ca19409dce0ba
[Improve] flink on yarn e2e testcase
<!-- Thank you for contributing to StreamPark! Please make sure that your code changes are covered with tests. And in case of new features or big changes remember to adjust the documentation. ## Contribution Checklist - If this is your first time, please read our contributor guidelines: [Submit Code](https:/...
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index f908b05d52..d6fe8686e4 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -124,12 +124,12 @@ jobs: class: org.apache.streampark.e2e.cases.TeamManagementTest - name: MemberManagementTest c...
1
1
0
[{"id": "G0", "claim": "Please avoid this unnecessary change to the e2e workflow matrix (renaming the Flink on YARN test-case entries).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__streampark__3868
apache/streampark
3,868
defect
8a2f39f31985a76108750b51fd419bec7eaa7e6a
5278573eaa5d9b4e451169dbab7444f825234800
[Feature-3862] Add Flink On Yarn Clusters e2e test
<!-- Thank you for contributing to StreamPark! Please make sure that your code changes are covered with tests. And in case of new features or big changes remember to adjust the documentation. ## Contribution Checklist - If this is your first time, please read our contributor guidelines: [Submit Code](https:/...
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 5374fc941f..42048260ef 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -126,6 +126,12 @@ jobs: class: org.apache.streampark.e2e.cases.TeamManagementTest - name: MemberManagementTest cl...
1
1
0
[{"id": "G0", "claim": "The new e2e test case name Flink116OnYarnClustersTest is ambiguous because Flink supports multiple cluster types (yarn-session, standalone, k8s-session) while only yarn-session is implemented, so it should be renamed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sc...
null
apache__streampark__3911
apache/streampark
3,911
defect
9f9f9c0086557df36c73b0f0cbee65f6e37ae37c
aa1486fc0c27effb076422019d416af7ae054cc8
[Feature] Introduce environment e2e test
<!-- Thank you for contributing to StreamPark! Please make sure that your code changes are covered with tests. And in case of new features or big changes remember to adjust the documentation. ## Contribution Checklist - If this is your first time, please read our contributor guidelines: [Submit Code](https:/...
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 78991717c12..b32b860b67a 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -110,6 +110,8 @@ jobs: strategy: matrix: case: + - name: EnvironmentTest + class: org.apache.streampark.e2e...
3
3
2
[{"id": "G0", "claim": "The generic OK/Cancel button locators shared by DockerSettingForm and EmailSettingForm are unstable and cause the test case to fail (the two buttonOk() elements cannot pass at the same time).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G...
null
apache__streampark__3936
apache/streampark
3,936
defect
180bfb23dac5b48e3dbc007918f5a0028cd3332c
0bfa1125950fe17f7f4ca0c5b863f7e8de84d6ae
[catalog] Introduce catalog managed
## What changes were proposed in this pull request Issue Number: close #3935 <!-- REMOVE this line if no issue to close --> <!--(For example: This pull request proposed to add checkstyle plugin).--> ## Brief change log introduce catalogn managed ## Verifying this change This change is a trivial re...
diff --git a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/util/JacksonUtils.java b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/util/JacksonUtils.java index c712c6eddb7..ee136c1b199 100644 --- a/streampark-console/stream...
2
1
1
[{"id": "G0", "claim": "The pull request lacks the design details and purpose of the code in the PR description and related issues, and asks the author to fill them in first.", "category": "documentation", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks how the...
null
apache__streampark__4040
apache/streampark
4,040
defect
e69ef0fa152a8331d70ab60e27ef20f1f11a2449
5e7fbd03b2672b2fcc3d6ebba755860396f2583a
[Feature-3960] Add task distribution for streampark
<!-- Thank you for contributing to StreamPark! Please make sure that your code changes are covered with tests. And in case of new features or big changes remember to adjust the documentation. ## Contribution Checklist - If this is your first time, please read our contributor guidelines: [Submit Code](https:/...
diff --git a/helm/streampark/conf/streampark-console-config/application-mysql.yml b/helm/streampark/conf/streampark-console-config/application-mysql.yml index 7c91f7c8ca..3625d21808 100755 --- a/helm/streampark/conf/streampark-console-config/application-mysql.yml +++ b/helm/streampark/conf/streampark-console-config/app...
5
4
1
[{"id": "G0", "claim": "The task distribution feature only supports Flink YARN jobs; the reviewer says k8s and Spark jobs also need to be supported.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request needs more test cases to protect stability:...
null
apache__streampark__4127
apache/streampark
4,127
defect
3cb63e1f29b674b134ee0b036f7c608139df4351
0296878cc49b21eb321a8172bfc3ffa181d52d2b
[Feature-3934] Add zookeeper registry for streampark
## What changes were proposed in this pull request Issue Number: close https://github.com/apache/incubator-streampark/issues/3934 <!--(For example: This pull request proposed to add checkstyle plugin).--> ## Brief change log Add zookeeper registry for streampark ## Verifying this change <!--*(Please...
diff --git a/pom.xml b/pom.xml index 0c9fdbc156..4a65812bae 100644 --- a/pom.xml +++ b/pom.xml @@ -103,6 +103,7 @@ <hadoop.version>3.3.4</hadoop.version> <hbase.version>2.1.10</hbase.version> <redis.version>3.3.0</redis.version> + <zoopkeeper.version>3.6.3</zoopkeeper.version> ...
3
3
1
[{"id": "G0", "claim": "Directly configuring a top-level `zookeeper` block will confuse users, so the config should be changed to the suggested `high-availability:` block with `zookeeper.quorum` peers.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Wheth...
null
apache__streampark__4166
apache/streampark
4,166
defect
9c7387fcce3a19c6074d0eeb9d0979409c8529af
0865bd14b6063d21bf8d507e51e670b4e6d724a5
[Feature] Add CDC jar client for support cdc yaml
## What changes were proposed in this pull request Issue Number: close #4163 <!-- REMOVE this line if no issue to close --> [Feature] Add CDC jar client for support cdc yaml ## Brief change log [Feature] Add CDC jar client for support cdc yaml ## Verifying this change This change is already covered ...
diff --git a/pom.xml b/pom.xml index 4a65812bae3..3c4cbf74ec5 100644 --- a/pom.xml +++ b/pom.xml @@ -67,6 +67,7 @@ <module>streampark-flink</module> <module>streampark-spark</module> <module>streampark-console</module> + <module>streampark-flink/streampark-flink-cdcclient</module> ...
3
3
0
[{"id": "G0", "claim": "The new CDC client code should be renamed to live under the org.apache.streampark.flink.cdc... package rather than org.apache.streampark.cdc.cli.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The newly added PropertiesUtils.fromY...
null
apache__streampark__4273
apache/streampark
4,273
defect
4997c4e0741c99e8c78e1eba282ab50d3589e942
249de690e24348a810439ae6841b71546b229af3
[Improve] Improve login authentication
<!-- Thank you for contributing to StreamPark! Please make sure that your code changes are covered with tests. And in case of new features or big changes remember to adjust the documentation. ## Contribution Checklist - If this is your first time, please read our contributor guidelines: [Submit Code](https:/...
diff --git a/streampark-console/streampark-console-service/src/main/assembly/bin/streampark.sh b/streampark-console/streampark-console-service/src/main/assembly/bin/streampark.sh index 5045c78926..af4083ad67 100755 --- a/streampark-console/streampark-console-service/src/main/assembly/bin/streampark.sh +++ b/streampark-...
11
10
1
[{"id": "G0", "claim": "Translate the Chinese comment '用于 HMAC256' on the JWT_KEY field into English for consistency with the rest of the codebase.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Translate the Chinese comment 'Base64解码签名密钥' inside ...
null
apache__streampipes__2077
apache/streampipes
2,077
defect
5987161e8983bd34b2f618b9282da063fb9704f4
672745e7ce14407e4442cb852431be2d4cf96c84
implement migration for adapter and pipeline element configurations
<!-- ~ 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...
diff --git a/streampipes-client-api/src/main/java/org/apache/streampipes/client/api/IAdminApi.java b/streampipes-client-api/src/main/java/org/apache/streampipes/client/api/IAdminApi.java index 2b9d9e45eb..35047ca9e6 100644 --- a/streampipes-client-api/src/main/java/org/apache/streampipes/client/api/IAdminApi.java +++ b...
4
4
1
[{"id": "G0", "claim": "Unless the equals override is genuinely needed, the migrator base types such as AdapterMigrator should be interfaces rather than abstract classes that exist mainly to carry that equals method.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
apache__streampipes__2311
apache/streampipes
2,311
defect
b6d4f3f2338f9f9a43f017d062c5f75955652d74
926550b4e6e2189c3970d459e836f986f456cf19
Extend MS Teams sink by a silent period
<!-- ~ 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...
diff --git a/streampipes-extensions/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/InternalSinksExtensionModuleExports.java b/streampipes-extensions/streampipes-sinks-internal-jvm/src/main/java/org/apache/streampipes/sinks/internal/jvm/InternalSinksExtensionModuleExports.java ind...
1
1
0
[{"id": "G0", "claim": "Remove the TODO comment about adding the targeted user to the notification object from InternalStreamPipesNotificationSink and track that feature in a GitHub issue instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}]
null
apache__streampipes__2375
apache/streampipes
2,375
defect
4bc42d7d2e700854ff9fd326337a06015cfa1ddf
8fa927d854c6f5a3b2acc0bb7fc5d0e779eb9196
feat(#2374): Add suggestion to test processing elements
<!-- ~ 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...
diff --git a/streampipes-extensions/streampipes-processors-filters-jvm/pom.xml b/streampipes-extensions/streampipes-processors-filters-jvm/pom.xml index ed05e4cbc5..a024a80514 100644 --- a/streampipes-extensions/streampipes-processors-filters-jvm/pom.xml +++ b/streampipes-extensions/streampipes-processors-filters-jvm/p...
2
1
0
[{"id": "G0", "claim": "The local variable holding the parameter extractor should be named `extractor` instead of `e`.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Fix the typo in the comment before onPipelineStopped: 'vlaidate' should be 'val...
null
apache__streampipes__2515
apache/streampipes
2,515
defect
7d62a9068e7cc62de350ec4b89c0aff01262c052
f0186ad541c2e18b3b8e5de2ef8f9f28a6de132d
2312 Extend Notification sinks by silent period
Purpose For the following sinks: OneSignalSink, SlackSink, TelegramSink Refactored to extend StreamPipesNotificationSink interface Implemented migrations with the use of a common interface INotificationDataSinkMigrator Added a unit test for INotificationDataSinkMigrator Remarks PR introduces (a) breaking ...
diff --git a/streampipes-extensions/streampipes-sinks-notifications-jvm/src/main/java/org/apache/streampipes/sinks/notifications/jvm/NotificationsExtensionModuleExport.java b/streampipes-extensions/streampipes-sinks-notifications-jvm/src/main/java/org/apache/streampipes/sinks/notifications/jvm/NotificationsExtensionMod...
1
1
0
[{"id": "G0", "claim": "The Slack sink ID string should be extracted into a public static variable so it can be reused in the Migration classes.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__streampipes__2803
apache/streampipes
2,803
defect
1082ac2844b12d0a94fbfa11bbabce82136d3177
a963cfee1f218cc4baf578f6857784674df38084
refactor: abstract data explorer modules from Influx-related code
<!-- ~ 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...
diff --git a/streampipes-commons/src/main/java/org/apache/streampipes/commons/constants/Envs.java b/streampipes-commons/src/main/java/org/apache/streampipes/commons/constants/Envs.java index 4c58485e27..a0ea079eab 100644 --- a/streampipes-commons/src/main/java/org/apache/streampipes/commons/constants/Envs.java +++ b/st...
2
2
1
[{"id": "G0", "claim": "The influx tag should be spelled lowercase \"influxdb\" instead of \"influxDB\", both in the SP_TS_STORAGE env variable default in Envs.java and in SupportedDataExplorerStorages.INFLUX_DB.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "...
null
apache__streampipes__3075
apache/streampipes
3,075
defect
6d24e9f42629c881190fffda86c1ccf0d8f4b365
f317d72e109aabb37a2f4a56040ebb57388151a1
feat(#3074): Support OAuth login
<!-- ~ 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...
diff --git a/streampipes-commons/src/main/java/org/apache/streampipes/commons/constants/Envs.java b/streampipes-commons/src/main/java/org/apache/streampipes/commons/constants/Envs.java index 672014852e..00765b76b5 100644 --- a/streampipes-commons/src/main/java/org/apache/streampipes/commons/constants/Envs.java +++ b/st...
4
2
0
[{"id": "G0", "claim": "Extract the OAuth login button block added to login.component.html into its own component.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Change the OAuthConfiguration class to a record.", "category": "design", "verdict": "opposed...
null
apache__streampipes__3231
apache/streampipes
3,231
defect
362216ebf32ca8b1dc1265fb2b943a280d0fd594
1e2dc8c6f5c5692eeea2413f7e772c34e9c0cfca
feat: Manually override dimensions in data lake sink
<!-- ~ 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...
diff --git a/streampipes-extensions-api/src/main/java/org/apache/streampipes/extensions/api/extractor/IParameterExtractor.java b/streampipes-extensions-api/src/main/java/org/apache/streampipes/extensions/api/extractor/IParameterExtractor.java index 396f0f3961..b9bd660f08 100644 --- a/streampipes-extensions-api/src/main...
1
1
1
[{"id": "G0", "claim": "The new getInputEventProperties(int streamIndex) method ignores its streamIndex parameter and always returns the event properties of the first input stream via get(0); the reviewer asks whether this is an error or intentional.", "category": "correctness", "verdict": "supported", "priority": "P1"...
null
apache__streampipes__3251
apache/streampipes
3,251
defect
ff210601927a62d6346c0c1553acb001f274f62f
3d3e6f2a48c01eb3d4cfee0cc2ea469402f2ae01
refactor: Rename domain properties to semantic type
<!-- ~ 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...
diff --git a/streampipes-client-go/streampipes/model/common.go b/streampipes-client-go/streampipes/model/common.go index 0cb1d9631f..d5a81d684b 100644 --- a/streampipes-client-go/streampipes/model/common.go +++ b/streampipes-client-go/streampipes/model/common.go @@ -29,7 +29,7 @@ type EventProperty struct { Label ...
1
1
1
[{"id": "G0", "claim": "Add a new method for semanticType and deprecate the existing `domainProperty` method instead of repurposing it.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__streampipes__3260
apache/streampipes
3,260
defect
52c2530641c193ef2f3c590cc19b964ae84cd8b6
9eccef8f85aa18abab9e4ea909955a2610257285
feat(#3259): Add duplicate filter to timeseries storage
<!-- ~ 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...
diff --git a/streampipes-data-explorer-api/src/main/java/org/apache/streampipes/dataexplorer/api/IDataExplorerManager.java b/streampipes-data-explorer-api/src/main/java/org/apache/streampipes/dataexplorer/api/IDataExplorerManager.java index ef1b68a0ca..586a77706c 100644 --- a/streampipes-data-explorer-api/src/main/java...
2
2
0
[{"id": "G0", "claim": "Remove the TODO comment saying ignoreDuplicates is not yet supported for IoTDB and track the work in an issue instead.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ignore_duplicates option should also be documen...
null
apache__streampipes__4096
apache/streampipes
4,096
defect
50dc17b48e567b2e1f280accf5ba5ce17066edfb
6bb9852e2c03b15701560d98678ec4d246e787a5
refactor: Improve health checks
<!-- ~ 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...
diff --git a/pom.xml b/pom.xml index af0058acf8..90745684d6 100644 --- a/pom.xml +++ b/pom.xml @@ -1125,6 +1125,7 @@ <module>streampipes-wrapper-kafka-streams</module> <module>streampipes-wrapper-siddhi</module> <module>streampipes-wrapper-standalone</module> + <module>streampipes-heal...
2
2
0
[{"id": "G0", "claim": "The variable names in Envs.java should be refactored to use the 'SP_' prefix to be consistent with the other variable names.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The leftover commented-out AdapterHealthCheck cod...
null
apache__streampipes__4223
apache/streampipes
4,223
defect
2cb63ad525e4254186e1b3deea7f62f00abcfd1c
257cb6b0ba2a56e012e231460e8c48ead56d9dc4
chore: Simplify code to verify pipeline elements
<!-- ~ 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...
diff --git a/streampipes-connect-management/src/main/java/org/apache/streampipes/connect/management/management/AdapterMasterManagement.java b/streampipes-connect-management/src/main/java/org/apache/streampipes/connect/management/management/AdapterMasterManagement.java index 4aa3625f0d..925f2447ef 100644 --- a/streampip...
1
1
0
[{"id": "G0", "claim": "The new test class should follow the repo's 'Test'-suffix naming convention (TypeExtractorTest instead of TestTypeExtractor) for consistency with other unit tests, and the convention should be documented and possibly enforced.", "category": "maintainability", "verdict": "supported", "priority": ...
null
apache__streampipes__4342
apache/streampipes
4,342
defect
9165a7b034a8104b601f77d802cf637d1055888f
65adf69e18cb2e9c4e66ed969533b9741a780e07
feat(#4314): add streampipesclient to javascript transformation context
<!-- ~ 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...
diff --git a/streampipes-connect-management/pom.xml b/streampipes-connect-management/pom.xml index 5a052bcd1f..b317a59c91 100644 --- a/streampipes-connect-management/pom.xml +++ b/streampipes-connect-management/pom.xml @@ -60,6 +60,16 @@ <artifactId>streampipes-connect-transformer-api</artifactId> ...
1
1
1
[{"id": "G0", "claim": "The two transformSampleData functions should be migrated into one, because the wrapper's way of resolving the user might not work for compact adapters.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__struts-examples__16
apache/struts-examples
16
defect
5de8ef46205500c40feed212885117bbf38624c7
9e586240c662cb1b631baa77d46e43537f57cb2b
WW-4864 Upgrade to the latest Jetty plugin in all examples
This is still a Work In Progress TODO: - [ ] Update to the 9.4.8 version when it's released - [ ] Check what needs to be done to upgrade portlet application
diff --git a/action-chaining/pom.xml b/action-chaining/pom.xml index 58a7f8f9..c154c237 100644 --- a/action-chaining/pom.xml +++ b/action-chaining/pom.xml @@ -20,17 +20,13 @@ <build> <plugins> <plugin> - <groupId>org.mortbay.jetty</groupId> + <groupId>org.eclipse...
3
3
0
[{"id": "G0", "claim": "In file-upload, json and message-store the jetty plugin configuration should add a <webApp><contextPath>/${project.artifactId}</contextPath></webApp> block like the other examples have.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim"...
null
apache__struts__1218
apache/struts
1,218
defect
58f37babbf99fc3e59f1885450f31c2de4c9cfc5
11e791b9f3c3910858726cf6ad20035b8bd3200d
WW-5501 Reverts all changes related to WW-5501
WW-5501 After longer discussion on the Dev User List I decided to revert changes related to hardening file upload logic.
diff --git a/core/src/main/java/org/apache/struts2/dispatcher/multipart/AbstractMultiPartRequest.java b/core/src/main/java/org/apache/struts2/dispatcher/multipart/AbstractMultiPartRequest.java index 88d6e991b0..23d879ba43 100644 --- a/core/src/main/java/org/apache/struts2/dispatcher/multipart/AbstractMultiPartRequest.j...
3
1
0
[{"id": "G0", "claim": "Change the new debug log in JakartaMultiPartRequest.processFileField so it does not log user-controlled data (the field name), to avoid a logging injection vulnerability.", "category": "security", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Change the...
null
apache__struts__1232
apache/struts
1,232
defect
5c22c0da745101e3f2b527bd48989c94b39a385a
ed111dad416b76374dd26bffc38dea5516b1a689
WW-5532 Upgrade and align various dependencies
WW-5532 -- Dependencies: - Spring: `6.0.13` -> `6.2.3` - Hibernate-Validator: `8.0.1.Final` -> `8.0.2.Final` Adopt BOMs: - `jakarta.platform:jakarta.jakartaee-bom` - `org.glassfish.jaxb:jaxb-bom` - `org.springframework:spring-framework-bom` - `org.apache.logging.log4j:log4j-bom` - `com.fasterxml.jackson:j...
diff --git a/apps/pom.xml b/apps/pom.xml index 614a3ada10..161b1c66be 100644 --- a/apps/pom.xml +++ b/apps/pom.xml @@ -99,7 +99,6 @@ <dependency> <groupId>org.springframework</groupId> <artifactId>spring-test</artifactId> - <version>${spring.platformVersion}</version> ...
1
1
0
[{"id": "G0", "claim": "Keep juneau-marshall's version management in the root pom's dependencyManagement (per the WW-5376 approach) instead of removing that entry and pinning an explicit <version>8.1.3</version> on the dependency in plugins/rest/pom.xml.", "category": "maintainability", "verdict": "supported", "priorit...
null
apache__struts__1405
apache/struts
1,405
defect
d48e04756a7506742d0b1ce87c2178852177f328
2b7c4ca54ba5cbb9e338f6290d2c2b6cf417d729
WW-5536 Bump ognl:ognl from 3.3.5 to 3.4.8
Bumps [ognl:ognl](https://github.com/orphan-oss/ognl) from 3.3.5 to 3.4.8. Closes [WW-5536](https://issues.apache.org/jira/browse/WW-5536) <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/orphan-oss/ognl/releases">ognl:ognl's releases</a>.</em></p> <blockquote> <h2>OG...
diff --git a/core/src/main/java/org/apache/struts2/ognl/OgnlNullHandlerWrapper.java b/core/src/main/java/org/apache/struts2/ognl/OgnlNullHandlerWrapper.java index aac6a478a0..743d4ea38a 100644 --- a/core/src/main/java/org/apache/struts2/ognl/OgnlNullHandlerWrapper.java +++ b/core/src/main/java/org/apache/struts2/ognl/O...
8
7
3
[{"id": "G0", "claim": "CodeQL reports that the OGNL Expression Language statements in OgnlUtil (ognlSet/ognlGet) depend on a user-provided value.", "category": "security", "verdict": "uncertain", "priority": "P3", "scope": "pre_existing"}, {"id": "G1", "claim": "The security test verifying that custom OGNL map impleme...
null
apache__struts__1562
apache/struts
1,562
defect
b64cd2e4ac718bc58b5bfdeb6732919dc653a0fe
4d1fd162b030316f9027011253961df746942665
WW-4291 Allow Spring bean names for type converters
## Summary This PR implements two-phase processing for conversion properties to enable Spring bean name resolution in `struts-conversion.properties` files. **Problem:** Users could not reference Spring bean names in conversion properties. When specifying a bean name (e.g., "myConverter") instead of a fully qualified ...
diff --git a/core/src/main/java/org/apache/struts2/StrutsConstants.java b/core/src/main/java/org/apache/struts2/StrutsConstants.java index 9791a89adc..a66478a97c 100644 --- a/core/src/main/java/org/apache/struts2/StrutsConstants.java +++ b/core/src/main/java/org/apache/struts2/StrutsConstants.java @@ -562,6 +562,7 @@ p...
1
1
0
[{"id": "G0", "claim": "The error message built by string concatenation should use String.format instead.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
apache__struts__956
apache/struts
956
defect
dcaff0bf108466442801c153bd4e20239afc1470
3a6ad5a5576f9a30957b5a93f06f950af5e616db
WW-5400 Simplifies how CspSettings is created
Small refactoring of how `CspSettings` class is created plus additional tests. See #913 for more details. Closes [WW-5400](https://issues.apache.org/jira/browse/WW-5400)
diff --git a/core/src/main/java/org/apache/struts2/interceptor/csp/CspInterceptor.java b/core/src/main/java/org/apache/struts2/interceptor/csp/CspInterceptor.java index 54d9eeab1c..49bc04d30f 100644 --- a/core/src/main/java/org/apache/struts2/interceptor/csp/CspInterceptor.java +++ b/core/src/main/java/org/apache/strut...
3
1
0
[{"id": "G0", "claim": "The assignability check should reuse the already-loaded cspSettingsClass instead of calling Class.forName(cspSettingsClassName) a second time.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The refactoring made reportUri ...
null
apache__thrift__1677
apache/thrift
1,677
defect
6503043bc42ab96da14c25f3aee2bb4add719774
ee9cb47b56ca69a11a2bd498a2767806f9091d58
THRIFT-4720:migrate code to c++11
As discussed in THRIFT-4678. This closes #1448
diff --git a/build/cmake/DefinePlatformSpecifc.cmake b/build/cmake/DefinePlatformSpecifc.cmake index a809c0723ff..e324f59d82d 100644 --- a/build/cmake/DefinePlatformSpecifc.cmake +++ b/build/cmake/DefinePlatformSpecifc.cmake @@ -97,21 +97,14 @@ elseif(WITH_STDTHREADS) endif() # C++ Language Level -set(CXX_LANGUAGE_...
10
7
3
[{"id": "G0", "claim": "CXX_LANGUAGE_LEVEL is used in the build summary output, which is why it was built as a string, so the change should not have removed it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "By setting the standard outright one cann...
null
apache__thrift__1765
apache/thrift
1,765
defect
718ab46379b6b358f5b216b76e5031da04f0dcae
6e274be7bec9465ef6fc43f3e0bf0791c1f56012
THRIFT-4830: Add to_string helper function for cpp generator
ITNOA Hi, I add to_string helper function for enum in cpp, because it is increase usability and performance. - [x] Did you create an [Apache Jira](https://issues.apache.org/jira/projects/THRIFT/issues/) ticket? (not required for trivial changes) - [x] Does your pull request title follow the pattern "THRI...
diff --git a/compiler/cpp/src/thrift/generate/t_cpp_generator.cc b/compiler/cpp/src/thrift/generate/t_cpp_generator.cc index dca3167df2d..3112006d82a 100644 --- a/compiler/cpp/src/thrift/generate/t_cpp_generator.cc +++ b/compiler/cpp/src/thrift/generate/t_cpp_generator.cc @@ -114,6 +114,8 @@ class t_cpp_generator : pub...
2
2
1
[{"id": "G0", "claim": "This also needs a unit test in the runtime library for C++.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The generated to_string can be optimized by removing the unnecessary std::string out temporary and returning directly inst...
null
apache__thrift__2121
apache/thrift
2,121
defect
2d2df9e89210a768134a185808769566e2cd9aa8
794d42a8b337ae70d7c103f4bec6eade3f68cd18
THRIFT-5185: Add support for using WebSockets as a server transport.
<!-- Explain the changes in the pull request below: --> Add support for using WebSockets as a server transport to the C++ library. <!-- We recommend you review the checklist/tips before submitting a pull request. --> - [X] Did you create an [Apache Jira](https://issues.apache.org/jira/projects/THRIFT/issues/) ti...
diff --git a/lib/cpp/CMakeLists.txt b/lib/cpp/CMakeLists.txt index d705bb3d7a4..29caad4756f 100755 --- a/lib/cpp/CMakeLists.txt +++ b/lib/cpp/CMakeLists.txt @@ -57,6 +57,8 @@ set( thriftcpp_SOURCES src/thrift/transport/TServerSocket.cpp src/thrift/transport/TTransportUtils.cpp src/thrift/transport/TBufferTr...
7
6
4
[{"id": "G0", "claim": "The TWebSocketServer lines newly added to lib/cpp/Makefile.am in both the SOURCES and the HEADERS list are misaligned with the surrounding continuation lines and should be realigned.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "...
null
apache__thrift__3002
apache/thrift
3,002
defect
db37125c5fc1febd6ba6ab6454f375ec546a8664
3d298d815a6a60a76b433eee8d7c69143067aa26
THRIFT-5272 printTo does not properly handle i8 datatypes
This fixes [Thift5272](https://issues.apache.org/jira/browse/THRIFT-5272). Using the patch provided with the issue and adding a test for it. There is one commit for the test, which includes related build-files (Makefile + CMake). So you can see the test is actually detecting the issue. There is 2nd commit for the...
diff --git a/lib/cpp/src/thrift/TToString.h b/lib/cpp/src/thrift/TToString.h index d91c58c4b2e..fe460326918 100644 --- a/lib/cpp/src/thrift/TToString.h +++ b/lib/cpp/src/thrift/TToString.h @@ -45,6 +45,14 @@ std::string to_string(const T& t) { return o.str(); } +// special handling of i8 datatypes (THRIFT-5272) +...
2
1
0
[{"id": "G0", "claim": "The bare `#pragma once` newly added to lib/cpp/src/thrift/TUuid.h should either use the same `_MSC_VER`-guarded construct thrift applies elsewhere or be dropped if it is not needed at all.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "...
null
apache__thrift__3276
apache/thrift
3,276
defect
b8f7e5b3e79b033115ba536b726508f81a237eb8
ea60e946040076b6aa8a126dc0b8982f5c706e6c
THRIFT-5915: Fix Python 3.12 build issues in thrift Python
[JIRA link for THRIFT-5915](https://issues.apache.org/jira/browse/THRIFT-5915) Summary: - Switch Python setup scripts to use setuptools instead of stdlib distutils (Python 3.12 removed distutils). - Use setuptools._distutils errors for build_ext error handling when available. - Guard ntohll/htonll definitions in ...
diff --git a/contrib/fb303/py/setup.py b/contrib/fb303/py/setup.py index d27c2962f71..c07cf55ca0a 100644 --- a/contrib/fb303/py/setup.py +++ b/contrib/fb303/py/setup.py @@ -20,10 +20,8 @@ # import sys -try: - from setuptools import setup, Extension -except: - from distutils.core import setup, Extension, Comma...
2
1
0
[{"id": "G0", "claim": "Consider keeping the distutils fallback (minus the unused Command import) in contrib/fb303/py/setup.py and lib/py/setup.py as a fallback for earlier versions of Python, instead of removing it outright.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id":...
null
apache__thrift__3278
apache/thrift
3,278
defect
b8f7e5b3e79b033115ba536b726508f81a237eb8
cf288f69cee3abe57a4316554bcc5cfcb37e9076
add `private_optional` support (and wire up tests/CI)
Add a new `cpp:private_optional` generator option for C++ that emits optional fields as private members and provides const getters, enabling stricter encapsulation while preserving access for generated helpers. To keep the feature stable and exercised in automation, add fixture-based compiler tests and the minimal b...
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 508d2f0e666..e764e6148db 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -38,3 +38,11 @@ jobs: run: | cd cmake_build ctest -j$(nproc) + + - name: Upload LastTest log + if...
2
2
2
[{"id": "G0", "claim": "A number of the pull request's new files are lacking the ASF license header.", "category": "compliance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The ASF file header should be added to the new test data files such as expected_TestStruct_default.txt...
null
apache__thrift__3388
apache/thrift
3,388
defect
7ee3e5f50686c52e3aa7c7117e16592c4af72dcc
a1d247c731cd80b489e35fe6552e85262b4714b9
THRIFT-5940: Make generated Ruby code RuboCop compliant
<!-- Explain the changes in the pull request below: --> This change addresses Rubocop offenses in the generated code, mostly spacing: * extra blank lines around top-level generated blocks * `message=nil` instead of `message = nil` * trailing whitespace in generated service inheritance lines * enum constant r...
diff --git a/.github/workflows/sca.yml b/.github/workflows/sca.yml index ae41f862a1d..c9a8648c8d8 100644 --- a/.github/workflows/sca.yml +++ b/.github/workflows/sca.yml @@ -167,6 +167,10 @@ jobs: continue-on-error: true working-directory: "lib/rb" run: | + # The SCA configure args di...
1
1
1
[{"id": "G0", "claim": "std::getline() only strips '\n', so a CRLF-terminated blank doc line leaves line == \"\\r\", the empty check lets it through, and the generated output regains trailing whitespace (\"# \\r\").", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__tika__1737
apache/tika
1,737
defect
63b7e91477d1dcdb0a5535dd4a008a3562a0609b
7c2fb07a11bbbbd11ce6b43d27f1be79e63a0790
TIKA-4247 HttpFetcher - add ability to send request headers
set headers in a metadata value for "httpRequestHeaders" those will be sent along with http request.
diff --git a/tika-pipes/tika-fetchers/tika-fetcher-http/src/main/java/org/apache/tika/pipes/fetcher/http/HttpFetcher.java b/tika-pipes/tika-fetchers/tika-fetcher-http/src/main/java/org/apache/tika/pipes/fetcher/http/HttpFetcher.java index 26b45f8bfac..a8bea6f1b96 100644 --- a/tika-pipes/tika-fetchers/tika-fetcher-http/...
1
1
1
[{"id": "G0", "claim": "The new code reads request headers from the user-provided Metadata key `httpRequestHeaders`, and the reviewer asks whether this should instead be the `httpHeaders` property of the http-fetcher schema, i.e. headers configured on the fetcher rather than read from per-request metadata.", "category"...
null
apache__tika__2098
apache/tika
2,098
defect
5e486a628d8a188a0a7316ca5450e60877e59651
bc6fd9dc87e16b5cc513f326b3e040f89abc2d83
[TIKA-4303] Handle OneNotePropertyEnum.CachedTitleString as RichEditTextUnicode
Fixes https://issues.apache.org/jira/browse/TIKA-4303 The issue of garbled text is caused by `OneNotePropertyEnum.CachedTitleString` not being correctly parsed. It should be parsed using `handleRichEditTextUnicode`. As for why versions `2.7.0` and earlier did not encounter garbled text, I believe it was due to a ...
diff --git a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/onenote/OneNoteTreeWalker.java b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/mi...
1
1
1
[{"id": "G0", "claim": "The pull request needs a unit test (with an example file) proving the CachedTitleString-as-RichEditTextUnicode fix works.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__tika__2460
apache/tika
2,460
defect
36c7d49529ce9cbb56c26b9bb3fabc7521ef0b35
70dfff7224ff8482c7085030c3930867bf6cb548
TIKA-4576 add fetcher config store interface
https://issues.apache.org/jira/browse/TIKA-4576 when fetchers are stored, right now they are stored in memory within a sync hashmap. i would like to create an interface for storage of fetchers. then implement the interface with an InMemoryStore.
diff --git a/tika-pipes/tika-pipes-core/src/main/java/org/apache/tika/pipes/core/AbstractComponentManager.java b/tika-pipes/tika-pipes-core/src/main/java/org/apache/tika/pipes/core/AbstractComponentManager.java index 02c77d4d283..059cfc839ab 100644 --- a/tika-pipes/tika-pipes-core/src/main/java/org/apache/tika/pipes/co...
6
6
0
[{"id": "G0", "claim": "InMemoryConfigStore.keySet() returns the live key set of the ConcurrentHashMap, which can throw ConcurrentModificationException when iterated while the map is modified concurrently; return Set.copyOf(store.keySet()) for an immutable snapshot.", "category": "correctness", "verdict": "supported", ...
null
apache__tika__2672
apache/tika
2,672
defect
30e46db4fab603dd69b152448aba3b241805c9b7
1061ef529dc2cc4a22f3477a642e4ad9a8fda854
TIKA-4679: Add HTTP/2 support to tika-server via Jetty http2-server
## Summary Adds HTTP/2 (h2c cleartext) support to tika-server by including the `org.eclipse.jetty.http2:http2-server` jar on the classpath. When this jar is present, CXF's Jetty transport automatically negotiates HTTP/2 alongside HTTP/1.1 on the existing port (default 9998). Existing HTTP/1.1 clients are completely un...
diff --git a/tika-e2e-tests/pom.xml b/tika-e2e-tests/pom.xml index e87d0149c54..818c4387802 100644 --- a/tika-e2e-tests/pom.xml +++ b/tika-e2e-tests/pom.xml @@ -59,6 +59,7 @@ <modules> <module>tika-grpc</module> + <module>tika-server</module> </modules> <dependencyManagement> diff --g...
2
2
1
[{"id": "G0", "claim": "The unused `moduleDir` variable should be removed and `repoRoot` initialized directly via `Paths.get(\"\").toAbsolutePath()`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "`stopServer()` calls `serverProcess.waitFor()` w...
null
apache__tika__2725
apache/tika
2,725
defect
901769480d4a3c77cfa60019dc553302344540ef
0045bf7f5f8b465e91c394332b8abbf076a9c3e2
[TIKA-4704] use TemporaryResources to avoid leak
Added temporary resources management for TikaInputStream. <!-- 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...
diff --git a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/microsoft/ooxml/OOXMLExtractorFactory.java b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-microsoft-module/src/main/java/org/apache/tika/parser/...
1
1
1
[{"id": "G0", "claim": "TemporaryResources is used in OOXMLExtractorFactory but not imported in this file, so as-is it won't compile; add the appropriate import (org.apache.tika.io.TemporaryResources).", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}]
null
apache__tika__2726
apache/tika
2,726
defect
1ae03db8c7542f89e4575f318476a0c23a385051
286e696bb37b9f59f8e2cef5482cffa8b6a426e0
[TIKA-4704] use TemporaryResources to avoid leak
<!-- 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"); yo...
diff --git a/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/main/java/org/apache/tika/parser/odf/OpenDocumentParser.java b/tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-miscoffice-module/src/main/java/org/apache/tika/parser/odf/OpenDocum...
2
1
1
[{"id": "G0", "claim": "The PR-added tmp.dispose() in the outer finally can mask an IOException/SAXException thrown during parsing if disposal itself fails (dispose() throws a new TikaException); switch to try-with-resources for TemporaryResources (using close()) or otherwise ensure disposal exceptions are suppressed/a...
null
apache__tika__2753
apache/tika
2,753
defect
50cb0fa1dc74abf8e58c21dfdfd73f8b78c75ebb
ffa7c9cf7a4b0c2d45e7095b76edeb102a97a32f
[TIKA-4327] set TZ because of metadata-extractor change in update
Add setup and teardown methods for timezone management in JpegParserTest. <!-- 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 thi...
diff --git a/tika-parent/pom.xml b/tika-parent/pom.xml index fd2bf91979e..1deef5e5a6e 100644 --- a/tika-parent/pom.xml +++ b/tika-parent/pom.xml @@ -413,7 +413,7 @@ <lucene.version>9.12.3</lucene.version> <maven.plugin.annotations.version>3.15.2</maven.plugin.annotations.version> <mchange.version>0.4.0</...
4
3
1
[{"id": "G0", "claim": "Setting the JVM default timezone is a global mutation that can make the build flaky if JUnit tests run in parallel, so the test class should be isolated (e.g., @Isolated or @ResourceLock) or excluded from parallel execution.", "category": "correctness", "verdict": "supported", "priority": "P1", ...
null
apache__tika__935
apache/tika
935
defect
6a25e5ea88aa99cbb6ecc88f462846fcb62c83c3
d5cbfc700732f74a446d40b0d75ad8dc705abc4b
TIKA-3963
<!-- 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/CHANGES.txt b/CHANGES.txt index 9561838e448..fcb3355d8eb 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,9 @@ +Release 2.7.1 - ??? + + * Normalize author, title, subject and description to their Dublin Core + properties in the HTMLParser (TIKA-3963). + + Release 2.7.0 - 1/31/2023 * Add S...
1
1
1
[{"id": "G0", "claim": "The new meta-name-to-DC mapping means a <title> element and a meta name=\"title\" can collide, and it is unclear what happens when the code at HtmlHandler.java lines 325-329 (the TITLE-tag handling) runs, since the TITLE tag can also appear in the header.", "category": "correctness", "verdict": ...
null
apache__tomcat-jakartaee-migration__33
apache/tomcat-jakartaee-migration
33
defect
34d7c72aa0eea3d403b287b10e92cdcead0676c7
000a159e84e8123011d8c26fce18b3f8080974f3
fixes #32 check if file name ends with manifest name
Check if the file name ends with the manifest name so that exploded archives with a war deployment are also migrated.
diff --git a/src/main/java/org/apache/tomcat/jakartaee/ManifestConverter.java b/src/main/java/org/apache/tomcat/jakartaee/ManifestConverter.java index 30e4ec0..a0e5f13 100644 --- a/src/main/java/org/apache/tomcat/jakartaee/ManifestConverter.java +++ b/src/main/java/org/apache/tomcat/jakartaee/ManifestConverter.java @@ ...
2
1
0
[{"id": "G0", "claim": "The new test should not use a static import of org.junit.Assert.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new test file's indentation mixes tabs and spaces and should be reformatted.", "category": "maintainability...
null
apache__tomcat-jakartaee-migration__45
apache/tomcat-jakartaee-migration
45
defect
0e21b054e81aba8f28a55d43f5b9252e786053b3
647909ed5eae99b6021e29d60ba70c9631d52d38
Migrate SPI files in directories by renaming them to the jakartaee pr…
…efix We already rename files in JAR files, so directory handling should follow here. A more correct way to handle this, would probably be to restrict the renaming to files, that are found in META-INF/services directories, only.
diff --git a/CHANGES.md b/CHANGES.md index 8b31d08..de8ff50 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Tomcat Migration Tool for Jakarta EE - Changelog +## 1.0.7 + +- When converting directories, rename files according to the chosen profile. (fschumacher) + ## 1.0.6 - Fix handling of javax.annota...
1
1
0
[{"id": "G0", "claim": "The assertion messages added in the new directory-migration tests are missing a \"not\" — e.g. \"SPI file migrated by renaming\" should read \"SPI file not migrated by renaming\" (and likewise \"SPI file copied with content\" should read \"SPI file not copied with content\").", "category": "test...
null
apache__tomcat-jakartaee-migration__87
apache/tomcat-jakartaee-migration
87
defect
7bdcfbc605aa5e912be1c7705c12a4a7392217ab
4e993c488cf67a594555ff30e5e31d898c6a97b0
add a shared, file based jar cache to improve performance of follow on runs of the tool
When processing a 100MB war file, with code changes but no dependency changes, zipInMemory seems to have a moderate reduction in processing time (145_000 ms pre-change, 110_000 post change, while only a minor increase when the cache is empty (150_000 ms on empty cache). The streaming implementation went from 10_000ms ...
diff --git a/src/main/java/org/apache/tomcat/jakartaee/CacheEntry.java b/src/main/java/org/apache/tomcat/jakartaee/CacheEntry.java new file mode 100644 index 0000000..d4ac0bf --- /dev/null +++ b/src/main/java/org/apache/tomcat/jakartaee/CacheEntry.java @@ -0,0 +1,110 @@ +/* + * Licensed to the Apache Software Foundatio...
11
11
4
[{"id": "G0", "claim": "The cache should be opt-in rather than opt-out because it grows without bounds, is enabled by default, and is silent.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The converted bytes should be streamed to the destination rather ...
null
apache__tomee__1081
apache/tomee
1,081
defect
e5076d4d41bf56044e9009bd5460d49f65152deb
5c41ae8adffb2e47787181c0276620a287378b13
add an integration test for optional beans
if a class creates a NoClassDefFoundError or ClassNotFoundException then it's simply not an eligible bean class. All works fine in TomEE 10!
diff --git a/itests/openejb-itests-optional-classes/3rdpartydep/pom.xml b/itests/openejb-itests-optional-classes/3rdpartydep/pom.xml new file mode 100644 index 00000000000..fceac6c3632 --- /dev/null +++ b/itests/openejb-itests-optional-classes/3rdpartydep/pom.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="UTF-8"?>...
1
1
1
[{"id": "G0", "claim": "The new file ThirdPartyApi.java is missing the Apache license header.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__tomee__1232
apache/tomee
1,232
defect
d82baaa0e5f5bb69c76bde48dfd275f79b80711b
9040397384d56cc66234c5e4b821f7818fbf151a
[TOMEE-4354] Implicitly create ContextService when needed
Resolves [TOMEE-4354](https://issues.apache.org/jira/browse/TOMEE-4354) Makes the following configuration work again on TomEE 10 (note that Context is omitted): ``` <Resource id="Mes" type="ManagedExecutorService"> Core = 5 Max = 25 KeepAlive = 5 s Queue = 15 ThreadFactory = org.apache.o...
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/config/BuiltInEnvironmentEntries.java b/container/openejb-core/src/main/java/org/apache/openejb/config/BuiltInEnvironmentEntries.java index 9e926a73af1..b356def61e8 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/config/BuiltInEnv...
8
7
1
[{"id": "G0", "claim": "Instead of code that unconditionally binds the default Concurrency services and prevents disabling them, the default of `openejb.environment.default` should be changed (i.e. revert to the original behaviour of adding them only when defaults are enabled, keeping the toggle for tests/TCKs).", "cat...
null
apache__tomee__1327
apache/tomee
1,327
defect
9fa0dc02682534e70007c7627182b837ea57399b
de0c0fdfeedfae5df47c55e5626c53fa71746929
#TOMEE-2934 if loading a class that is a parameter to an Async method
if loading a class that is a parameter to an Async method fails with java.lang.ClassNotFoundException replace last '.' with '$' and retry in hope that it is an inner class, else throw original exception. The method params comes with '.' for inner classes from here ` org.apache.openejb.jee.AsyncMethod(final java.la...
diff --git a/container/openejb-core/src/test/java/org/apache/openejb/core/asynch/AsyncInnerClassTest.java b/container/openejb-core/src/test/java/org/apache/openejb/core/asynch/AsyncInnerClassTest.java new file mode 100644 index 00000000000..1ca505e799c --- /dev/null +++ b/container/openejb-core/src/test/java/org/apache...
3
2
2
[{"id": "G0", "claim": "The PR would benefit from a test case and does not work for more than one level of nested classes at the moment.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "claim": "Similar parameter-name issues might also exist in other places, for ...
null
apache__tomee__2472
apache/tomee
2,472
defect
794d323848b4fd94ac8021d05e48c8228316ef6e
1965f1c2edb30a2fe9b2e42c5aef0181426457b7
TOMEE-4584 - OpenIdAuthenticationMechanism store parameterMap
Fixes [TOMEE-4584](https://issues.apache.org/jira/browse/TOMEE-4584)
diff --git a/examples/security-openid/src/main/java/org/superbiz/openid/SecuredServlet.java b/examples/security-openid/src/main/java/org/superbiz/openid/SecuredServlet.java index 03d671984a5..9d1d869ea63 100644 --- a/examples/security-openid/src/main/java/org/superbiz/openid/SecuredServlet.java +++ b/examples/security-...
4
2
2
[{"id": "G0", "claim": "The mask() wrapper's parameter methods (getParameterNames/getParameterValues/getParameter/getParameterMap) access the parameterMap field without null handling and will throw a NullPointerException when deserializing SavedRequest JSON from older versions that lack the field, unlike the null-safe ...
null
apache__tomee__763
apache/tomee
763
defect
e65e2d7dd0852105a3b70377d3c729dadb687ea3
11d727f5a29cf41b280a4727a74d62524a5c3138
TOMEE-2968: Postgres connection error when a password contains "}"
# What does this PR do? - Adds unit tests to reproduce TOMEE-2968 (also affects 7.0.x and 7.1.x) - Single opening curly braces are stripped away in property values as we treat them as suffix placeholders (even in the case, we did not have an opening curly brace). PR proposes a related fix. # References - http...
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/util/PropertyPlaceHolderHelper.java b/container/openejb-core/src/main/java/org/apache/openejb/util/PropertyPlaceHolderHelper.java index cd6ae90be57..a0e5529504a 100644 --- a/container/openejb-core/src/main/java/org/apache/openejb/util/PropertyPlaceHol...
5
5
4
[{"id": "G0", "claim": "A lone closing bracket that is not part of a complete placeholder should be left as-is (noop) instead of being stripped, so the original input is preserved.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The PR should add t...
null
apache__tomee__765
apache/tomee
765
defect
0db7e42e16bfee027011d4b24b0a965f4090ad78
c1eed40d19008bbd7d53e8919d7dac569db5ef66
TOMEE-2976 - Provide two examples using Arquillian & JUnit 5
# What does this MR do? - Adds two examples of testing with Arquillian and JUnit 5 # References - http://mail-archives.apache.org/mod_mbox/tomee-dev/202103.mbox/%3C1615057870806-0.post%40n4.nabble.com%3E - https://issues.apache.org/jira/browse/TOMEE-2976
diff --git a/examples/junit5-arquillian-multiple-tomee/README.adoc b/examples/junit5-arquillian-multiple-tomee/README.adoc new file mode 100644 index 00000000000..3278bfcd012 --- /dev/null +++ b/examples/junit5-arquillian-multiple-tomee/README.adoc @@ -0,0 +1,57 @@ += JUnit 5: Multiple TomEE Arquillian +:index-group: A...
2
2
2
[{"id": "G0", "claim": "The fixed httpPort (and stop port) in arquillian.xml can clash when tests run concurrently in a shared CI environment, so dynamic port allocation (-1) should be used instead.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Onc...
null
apache__tomee__883
apache/tomee
883
defect
e6e7ad138325b8575b35a10523b2077b8235931b
cad98c0f15e45a3ed7f66f6ca79fcddad1d473c5
Tomee 3824
I create a new method into ObjectFactory and a new test method, where unmarshalling the web-fragment.xml is successful. Sorry I made a code format in JeeTest.java. Unfortunately I do not know how to test ObjectFactory.createWebFragment method.
diff --git a/container/openejb-jee/src/main/java/org/apache/openejb/jee/ObjectFactory.java b/container/openejb-jee/src/main/java/org/apache/openejb/jee/ObjectFactory.java index 1bd33398acf..d7a82ae5a05 100644 --- a/container/openejb-jee/src/main/java/org/apache/openejb/jee/ObjectFactory.java +++ b/container/openejb-jee...
4
3
2
[{"id": "G0", "claim": "The pull request reordered the imports in JeeTest.java as a style change, and the reviewer asks to restore the original import order.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new test resource web-fragment-examp...
null
apache__tsfile__201
apache/tsfile
201
defect
149b6212b7f3177835b0033fc77ce454967d112e
10dc6da8620ffbaad452eafb4e37b3096328d193
Fixed testing bug
Fixed testing bug.Mainly includes not outputting logs, outputting file directories without the original directory hierarchy, missing parameters without exception prompts, etc
diff --git a/java/tools/pom.xml b/java/tools/pom.xml index d46e695c7..298e055ab 100644 --- a/java/tools/pom.xml +++ b/java/tools/pom.xml @@ -48,6 +48,10 @@ <artifactId>tsfile</artifactId> <version>1.2.0-SNAPSHOT</version> </dependency> + <dependency> + <groupId>ch.qo...
4
4
1
[{"id": "G0", "claim": "The new LOGGER.error calls log only e.getMessage() and drop the exception stack; where the stack is needed the code should use LOGGER.error(\"...\", e), and the same pattern should be fixed at the other places too.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope...
null
apache__tsfile__278
apache/tsfile
278
defect
53f86c2764ff9712e937e762d0464dc286a88d52
93eb36e80ea7766719958e5214cc29bb296e4414
encrypt thread safety
Push down the encryptor instance build time for thread safety.
diff --git a/java/tsfile/src/main/java/org/apache/tsfile/encrypt/EncryptParameter.java b/java/tsfile/src/main/java/org/apache/tsfile/encrypt/EncryptParameter.java new file mode 100644 index 000000000..f7adb5221 --- /dev/null +++ b/java/tsfile/src/main/java/org/apache/tsfile/encrypt/EncryptParameter.java @@ -0,0 +1,38 @...
1
1
0
[{"id": "G0", "claim": "getEncryptParameter() should be simplified with return getEncryptParameter(TSFileDescriptor.getInstance().getConfig()) to reduce duplicated code.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__tsfile__328
apache/tsfile
328
defect
c1d81120683bc27910af3d61bca9cab0c60d764f
37b35addb745e80218e1d474ab1c8706346ee098
Add FlushChunkMetadataListener
When all ChunkGroupMetadata and ChunkMetadata are flushed into temporary files, notify all registered listeners. This will be used in loading tsfile.
diff --git a/java/tsfile/src/main/java/org/apache/tsfile/write/writer/FlushChunkMetadataListener.java b/java/tsfile/src/main/java/org/apache/tsfile/write/writer/FlushChunkMetadataListener.java new file mode 100644 index 000000000..2937763e0 --- /dev/null +++ b/java/tsfile/src/main/java/org/apache/tsfile/write/writer/Fl...
3
3
2
[{"id": "G0", "claim": "If the onFlush callback is also used by the TableModel, the listener interface should use Pair<IDeviceId, String> instead of exposing Path to TableModel users.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "CopyOnWriteArrayList is...
null
apache__tsfile__415
apache/tsfile
415
defect
8f4fffea1a2cdd0be2a9acad2954989977239eaf
e972680e85241bb59f27f158a36b38a7b6602337
compaction adapting new type when table alter column type
compaction adapting new type when table alter column type
diff --git a/java/tsfile/src/main/java/org/apache/tsfile/file/metadata/AbstractAlignedChunkMetadata.java b/java/tsfile/src/main/java/org/apache/tsfile/file/metadata/AbstractAlignedChunkMetadata.java index 9183d6900..7d2595cb8 100644 --- a/java/tsfile/src/main/java/org/apache/tsfile/file/metadata/AbstractAlignedChunkMet...
10
9
4
[{"id": "G0", "claim": "AbstractAlignedChunkMetadata.getNewType should also throw an exception, as setNewType does, because aligned chunk metadata does not support a new type.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Chunk.rewrite must not forget c...
null
apache__tsfile__627
apache/tsfile
627
defect
7dd6ef05563705ba54b31ae5e096744ff44a3544
94a8bc6d6952b5d018f38e1aaabbf7cffd619bf2
Feature/new cpp interface
1. Implement new cpp tree-model interface. Tested in `TEST_F(TsFileTreeReaderTest, ExtendedRowsAndColumnsTest)` 2. Renamed Java-Edition recordIterator() to iterator() 3. Marked get_device_schema interface with existing bug
diff --git a/cpp/src/common/record.h b/cpp/src/common/record.h index 370508a35..8c729f688 100644 --- a/cpp/src/common/record.h +++ b/cpp/src/common/record.h @@ -125,6 +125,11 @@ struct TsRecord { pa.init(512, common::MOD_TSFILE_READER); } + TsRecord(const std::string &device_name, const int64_t &time...
3
2
1
[{"id": "G0", "claim": "The commented-out and incomplete get_device_schema assertion block (with its TODO about a schema bug) left in the test should be explained or removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The license header in t...
null
apache__tsfile__676
apache/tsfile
676
defect
0b286adf251c7e2b020ab920f658a08c79b41965
e309eb1a40df20e0e099aef17900a3270564a959
Increment the getBinary() function in nonBinary Column
Allow other value of data type can be converted to value of Binary data type when find type is not consistence in the column of tsblock. Resolve this problem : <img width="3011" height="1052" alt="image" src="https://github.com/user-attachments/assets/cfa0c4b0-2b4c-42d7-99ad-01b9edd4b818" />
diff --git a/java/common/src/main/java/org/apache/tsfile/utils/TsPrimitiveType.java b/java/common/src/main/java/org/apache/tsfile/utils/TsPrimitiveType.java index 4850d1ade7..0538f1b398 100644 --- a/java/common/src/main/java/org/apache/tsfile/utils/TsPrimitiveType.java +++ b/java/common/src/main/java/org/apache/tsfile/...
1
1
1
[{"id": "G0", "claim": "The new BooleanColumn.getBinary() needlessly copies the whole column into a Binary array via getBinaries() just to return a single value.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__tsfile__79
apache/tsfile
79
defect
a86eb4a0cf58a667d6a1df5c31cd6484a87f7783
9f604154ec2f9e1bfad2a3e69bcea99f68528175
Add copy slice methods to all Column classes.
Add `getRegionCopy()` and `subColumnCopy()` methods which return slice copy instead of its view.
diff --git a/java/common/src/main/java/org/apache/tsfile/block/column/Column.java b/java/common/src/main/java/org/apache/tsfile/block/column/Column.java index 6db30a27f..161a2c8eb 100644 --- a/java/common/src/main/java/org/apache/tsfile/block/column/Column.java +++ b/java/common/src/main/java/org/apache/tsfile/block/co...
1
1
1
[{"id": "G0", "claim": "The timeColumnSubColumnTest should use TimeColumnBuilder instead of LongColumnBuilder.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__tvm__18823
apache/tvm
18,823
defect
739027de423d5087b3a5ff59d98bd55ebd7ea9bb
097d05fb559e5da1079b77e3a9a1a25b3568410a
[WebGPU] Add gating logic for subgroup shuffle primitives
## Summary This adds gating logic on top of #17699 to support optional subgroup shuffle primitives based on a compile-time flag. ## Problem The PR #17699 always generates subgroup shuffle ops when targeting WebGPU. However, not all WebGPU devices support subgroups. We need a way to: - Default to shared memory...
diff --git a/src/target/source/codegen_webgpu.cc b/src/target/source/codegen_webgpu.cc index cf8176001a8a..469585bf9398 100644 --- a/src/target/source/codegen_webgpu.cc +++ b/src/target/source/codegen_webgpu.cc @@ -105,6 +105,9 @@ std::string CodeGenWebGPU::Finish() { if (enable_fp16_) { header_stream << "enabl...
12
8
5
[{"id": "G0", "claim": "UpdateWebGPUAttrs unconditionally overwrites any user-provided thread_warp_size with 32 when supports_subgroups is true; it should only set the value when the user has not already specified one.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", ...
null
apache__tvm__18914
apache/tvm
18,914
defect
c9fb8cd3cd481fd77de1aeb18e40cc197e4f59cf
80819853121a083c25bb45331b2d99cb443ff8f1
[Vulkan] Avoid explicit layout decoration on non-interface allocations
SPIR-V codegen currently emits `ArrayStride` and `Offset` decorations for non-interface allocations in `GetStructArrayType()`. That is correct for descriptor-backed interface blocks, but not for static workgroup allocations. I hit this while bringing up tilelang vulkan shared memory allocation path: the vulkan vali...
diff --git a/src/target/spirv/ir_builder.cc b/src/target/spirv/ir_builder.cc index 135888c23d8b..f912e482761c 100644 --- a/src/target/spirv/ir_builder.cc +++ b/src/target/spirv/ir_builder.cc @@ -178,23 +178,24 @@ SType IRBuilder::GetStructArrayType(const SType& value_type, uint32_t num_elems, } else { ib_.Begin...
1
1
0
[{"id": "G0", "claim": "The new static shared-memory test should be written with TVMScript instead of a schedule-based (tir.Schedule) construction.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__tvm__18938
apache/tvm
18,938
defect
59c14f6d45a961a5384a7f40e52e58d2c83ea343
018c5988e6a4265a01478c4c6cfb9e5a28985442
[FFI] Bump tvm-ffi to 63224e3 and fix regressions
## Summary Bump tvm-ffi submodule from c85fd42 (#471) to 63224e3 (#512), spanning 41 commits with 7 breaking changes. Fix regressions introduced by the bump: ### Fixes 1. **Duplicate field declarations in C++ types** — New tvm-ffi auto-wires `__init__` from C++ reflection by walking the parent type chain. Child type...
diff --git a/3rdparty/tvm-ffi b/3rdparty/tvm-ffi index c85fd42df6eae..63224e3f1e464 160000 --- a/3rdparty/tvm-ffi +++ b/3rdparty/tvm-ffi @@ -1 +1 @@ -Subproject commit c85fd42df6eae4ae0ec1aaa4ebb67ac859758cf5 +Subproject commit 63224e3f1e464cc62307223787926a48fc8df8c0 diff --git a/python/tvm/base.py b/python/tvm/base.p...
1
1
0
[{"id": "G0", "claim": "Monkey-patching tvm_ffi._ffi_api.ReprPrint in python/tvm/base.py is fragile because it depends on the internal implementation of the tvm-ffi package, and a public tvm-ffi API for refreshing the repr override would be more robust.", "category": "maintainability", "verdict": "supported", "priority...
null
apache__tvm__18942
apache/tvm
18,942
defect
bf6ed31302486fe189c9872642c4a5dbd5c7988f
e8683a3cb18c0910dbb4684122c5670d08349c37
[Relax][TOPI] Add relax.vision.multibox_transform_loc for SSD/TFLite box decode
Introduce relax.vision.multibox_transform_loc with MultiboxTransformLocAttrs: decode center-size offsets against ltrb priors, softmax on class logits, and optional clip, threshold masking, and background score zeroing. Register the C++ op with FInferStructInfo checks for shapes and dtypes (including batch and 4*N c...
diff --git a/include/tvm/relax/attrs/vision.h b/include/tvm/relax/attrs/vision.h index 59a1dd7314fc..c73ac3b6b556 100644 --- a/include/tvm/relax/attrs/vision.h +++ b/include/tvm/relax/attrs/vision.h @@ -73,6 +73,28 @@ struct ROIAlignAttrs : public AttrsNodeReflAdapter<ROIAlignAttrs> { TVM_FFI_DECLARE_OBJECT_INFO_FIN...
9
9
2
[{"id": "G0", "claim": "The float() conversions around np.clip in the numpy reference are unnecessary and inconsistent with the duplicated reference in tests, so they should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The nested t...
null
apache__tvm__18948
apache/tvm
18,948
defect
3eb86f78ed1bdb2111118924d16e92bf2d1b054d
09cf58248c467c4def5ee82b08521c2e5ef4c210
[Relax] Add conv3d_transpose and ONNX ConvTranspose 3D support
Introduce relax.nn.conv3d_transpose (attrs, C++ inference/layout, Python API) and lower it to TOPI group_conv3d_transpose_ncdhw when using NCDHW/IODHW with dilation 1, matching the conv2d_transpose legalization policy. Wire the Relax ONNX frontend to emit conv3d_transpose for 5D inputs. Extend tests for ONNX, struct...
diff --git a/include/tvm/relax/attrs/nn.h b/include/tvm/relax/attrs/nn.h index 2a2ac5fe07d9..5c1931c3ee23 100644 --- a/include/tvm/relax/attrs/nn.h +++ b/include/tvm/relax/attrs/nn.h @@ -267,6 +267,58 @@ struct Conv2DTransposeAttrs : public AttrsNodeReflAdapter<Conv2DTransposeAttrs> ...
3
3
1
[{"id": "G0", "claim": "The out_dtype docstring line added for conv3d_transpose says 'mixed precision conv3d' instead of 'conv3d_transpose'.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new conv3d_transpose dilation condition 'len(dilation) ...
null
apache__tvm__18952
apache/tvm
18,952
defect
52b5d55fc4e629bed002b6e4e0383088a52ad17b
6d56702b29971d0bc6e8f6acc0c2090fd314bbf8
[Relax][ONNX] Add roi_pool op and MaxRoiPool frontend support
## Summary Add Relax `roi_pool` support and wire it through the ONNX frontend for `MaxRoiPool`. ## Changes - add `relax.vision.roi_pool`, including attrs, Python wrapper, struct info inference, and legalization - add TOPI `roi_pool` compute for NCHW layout - support ONNX `MaxRoiPool` in the Relax ONNX fronte...
diff --git a/include/tvm/relax/attrs/vision.h b/include/tvm/relax/attrs/vision.h index 69ce458e7e35..8971127d76dc 100644 --- a/include/tvm/relax/attrs/vision.h +++ b/include/tvm/relax/attrs/vision.h @@ -73,6 +73,23 @@ struct ROIAlignAttrs : public AttrsNodeReflAdapter<ROIAlignAttrs> { TVM_FFI_DECLARE_OBJECT_INFO_FIN...
2
1
1
[{"id": "G0", "claim": "The TOPI roi_pool implementation computes bin boundaries twice (in _sample and in _is_empty), which is inefficient; it could instead identify empty bins by checking whether the max-pooling result equals the -inf sentinel, allowing _is_empty to be removed (with the caveat that this assumes the in...
null
apache__tvm__18962
apache/tvm
18,962
defect
fd9d9db130fb9ede300a062b95f81dd186dc5140
e00d7ba528ac73f8995ddbf56b578b06f1bba3c0
[BugFix][Relax] Add structural_equal verification to subroutine cache lookup
## Summary - `SubroutineMixin._get_subroutine()` used `structural_hash` as the sole cache key without `structural_equal` verification. If two different `arg_sinfo` values produced the same 64-bit hash (collision), the cache would return a previously compiled function with mismatched parameter shapes, leading to silent...
diff --git a/docs/reference/security_advisory_subroutine_hash_collision.rst b/docs/reference/security_advisory_subroutine_hash_collision.rst new file mode 100644 index 000000000000..0de960a2b180 --- /dev/null +++ b/docs/reference/security_advisory_subroutine_hash_collision.rst @@ -0,0 +1,84 @@ +.. Licensed to the Apac...
1
1
1
[{"id": "G0", "claim": "Include the old_forward function object in the lookup_key so that different functions or classes sharing the cache and having identical input signatures cannot collide.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__tvm__18963
apache/tvm
18,963
defect
fd9d9db130fb9ede300a062b95f81dd186dc5140
84d82fcd93b07aa6f95c7ff0fc6cdf8b968a5d89
[Relax][ONNX] Support Resize dynamic ROI via TOPI
The ONNX Resize converter previously rejected non-constant ROI inputs, which blocked models where ROI is provided at runtime. This change adds a dynamic-ROI path lowered through TOPI resize kernels while preserving the existing relax.image.resize* path for static ROI. Specifically: - add reusable helper to convert ...
diff --git a/python/tvm/relax/frontend/onnx/onnx_frontend.py b/python/tvm/relax/frontend/onnx/onnx_frontend.py index 21b8f22a0cf8..d04c53f9325a 100644 --- a/python/tvm/relax/frontend/onnx/onnx_frontend.py +++ b/python/tvm/relax/frontend/onnx/onnx_frontend.py @@ -2632,6 +2632,91 @@ def _impl_v1(cls, bb, inputs, attr, pa...
3
3
2
[{"id": "G0", "claim": "The ROI indices passed to topi.image.resize3d are in the wrong order — TOPI expects [start_w, start_h, start_d, end_w, end_h, end_d] while the helper produces [d1, h1, w1, d2, h2, w2] — so the indices must be reordered when passed to resize3d.", "category": "correctness", "verdict": "supported",...
null
apache__tvm__19341
apache/tvm
19,341
defect
10ba3c232bfce87d7dc4f079c7717ac82ce7203a
6da1fa96425353dd6f5eb697773bb581e0fcb8aa
[Frontend][ONNX] Fix SplitToSequence keepdims=0 and uneven last chunk
### Summary Fixes two spec violations in `SplitToSequence`: 1. **keepdims=0** was raising `NotImplementedError`. The fix squeezes the split axis from each chunk when `split` is scalar and `keepdims=0`. Per spec: > "If input 'split' is specified [as a 1-D array], this attribute is ignored" — verified again...
diff --git a/python/tvm/relax/frontend/onnx/onnx_frontend.py b/python/tvm/relax/frontend/onnx/onnx_frontend.py index ab1ea2b292af..dd7560f08b48 100644 --- a/python/tvm/relax/frontend/onnx/onnx_frontend.py +++ b/python/tvm/relax/frontend/onnx/onnx_frontend.py @@ -4310,31 +4310,44 @@ def _impl_v11(cls, bb, inputs, attr, ...
5
5
3
[{"id": "G0", "claim": "When dim_size is symbolic, setting split = chunk_size is incorrect because relax.op.split interprets an integer argument as the number of sections rather than the chunk size, and since SplitToSequence returns a relax.Tuple the number of outputs must be statically known, so a chunk count dependin...
null
apache__tvm__19361
apache/tvm
19,361
defect
36a82f515960b1460909ffebfa9466b71c5acd95
4cb5da0fb97d20052db8094a8b6a612f9f1e3597
[Relax][ONNX] Support ConcatFromSequenc/SequenceInsert with new_axis=1
## Description This PR adds support for `new_axis=1` in the ONNX `ConcatFromSequence` operator, which was previously raising a `NotImplementedError`. *Note regarding the tracking issue:* The tracking issue listed this task as "SequenceInsert — Does not support inserting with new axis.", but i think it meant `Con...
diff --git a/python/tvm/relax/frontend/onnx/onnx_frontend.py b/python/tvm/relax/frontend/onnx/onnx_frontend.py index d54877646cd2..53fa856449df 100644 --- a/python/tvm/relax/frontend/onnx/onnx_frontend.py +++ b/python/tvm/relax/frontend/onnx/onnx_frontend.py @@ -4295,7 +4295,7 @@ def _impl_v11(cls, bb, inputs, attr, pa...
3
3
3
[{"id": "G0", "claim": "Add a test case for concatenation along axis=1 to the new_axis,axis,expected_shape parametrization, so the coverage the previous version of the test had when it hardcoded axis=1 is retained.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "...
null
apache__tvm__19367
apache/tvm
19,367
defect
36a82f515960b1460909ffebfa9466b71c5acd95
481f23b6f17bb1d914d083cc991281ca5bc78097
[BugFix][ONNX] Fix Round op to use ties-to-even
## Problem The ONNX `Round` operator specification requires **ties-to-even** (banker's) rounding: > "For cases where number is exactly halfway between two integers, it rounds to the nearest even integer." > — https://onnx.ai/onnx/operators/onnx__Round.html However, the current TVM implementation produces **ties-away...
diff --git a/python/tvm/topi/math.py b/python/tvm/topi/math.py index 146009e3ba12..d3e8991c85c7 100644 --- a/python/tvm/topi/math.py +++ b/python/tvm/topi/math.py @@ -447,7 +447,10 @@ def isinf(x): @tvm.te.tag_scope(tag=tag.ELEMWISE) def round(x): - """Round elements of x to nearest integer. + """Round elemen...
2
1
0
[{"id": "G0", "claim": "The existing tirx.round registration on WebGPU maps to WGSL's ties-to-even round(), so tirx.round and the newly added tirx.nearbyint get the same ties-to-even behavior, which is likely not intended for tirx.round; consider a follow-up to implement tirx.round correctly, e.g. with a manual ties-aw...
null
apache__tvm__19368
apache/tvm
19,368
defect
2345e6ea2665dcc681c78cdc2d2da650d87130c3
3da7c03a9a9d78574571b5d010d3a0b0b8de8238
[BugFix] Align `tir.round` to ties-to-even across all backends
## Problem `tir.round` constant-folds using `std::nearbyint` (IEEE 754 ties-to-even), but all backends lower it to platform `round()` which uses ties-away-from-zero. This means compiled code can produce different results from constant-folded code for midpoint values: | Input | Constant-fold (ties-to-even) | Compiled ...
diff --git a/include/tvm/tirx/op.h b/include/tvm/tirx/op.h index 66d9d932b3fa0..c953f12e38706 100644 --- a/include/tvm/tirx/op.h +++ b/include/tvm/tirx/op.h @@ -654,7 +654,11 @@ TVM_DLL PrimExpr floor(PrimExpr x, Span span = Span()); TVM_DLL PrimExpr ceil(PrimExpr x, Span span = Span()); /*! - * \brief Calculate ro...
4
3
2
[{"id": "G0", "claim": "In the Metal round lowering, `StringImm` is missing the `tirx::` namespace prefix, which will likely cause a compilation error since the `tirx` namespace is not imported in this scope.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "cl...
null
apache__tvm__19371
apache/tvm
19,371
defect
2345e6ea2665dcc681c78cdc2d2da650d87130c3
7c83474390cfb597d6dfd27c0ad14d0b37264cb8
[relax][frontend][tflite] Add tests for l2_normalization/slice/reverse_v2
This PR adds Relax TFLite frontend test coverage for: - L2_NORMALIZATION - SLICE - REVERSE_V2 Part of fixing #18971.
diff --git a/tests/python/relax/test_frontend_tflite.py b/tests/python/relax/test_frontend_tflite.py index 275e162b818b..8ef5ec0f0e22 100644 --- a/tests/python/relax/test_frontend_tflite.py +++ b/tests/python/relax/test_frontend_tflite.py @@ -707,6 +707,67 @@ def main(x: R.Tensor((5, 30), dtype="float32")) -> R.Tensor(...
5
1
1
[{"id": "G0", "claim": "test_l2_normalization should be parameterized to cover various input shapes instead of a single (2, 4) shape.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "test_slice should be parameterized to cover various input shapes and beg...
null
apache__tvm__19373
apache/tvm
19,373
defect
643cf60f40f330173299ef1484abc9f650dbf798
44b64b8531be7a4a15dccd1fafddb9374abe3a55
[Relax][TFLite] Fix `MIRROR_PAD`/`ONE_HOT` converters and add tests for `PAD`, `PADV2`, `MIRROR_PAD`, `TOPK_V2`, `ONE_HOT`
Part of #18971 Two bugs in the TFLite Relax frontend converters are fixed, and unit tests are added for the **Padding / Sparse / Other** category operators claimed in that tracking issue. ## Bug fixes ### `convert_mirror_pad` Called `relax.op.nn.mirror_pad` which does not exist in the Relax op namespace. R...
diff --git a/python/tvm/relax/frontend/tflite/tflite_frontend.py b/python/tvm/relax/frontend/tflite/tflite_frontend.py index 1a437093a718..d4ac8e457629 100644 --- a/python/tvm/relax/frontend/tflite/tflite_frontend.py +++ b/python/tvm/relax/frontend/tflite/tflite_frontend.py @@ -2550,7 +2550,13 @@ def convert_mirror_pad...
2
2
0
[{"id": "G0", "claim": "The elements of `flat_pads` are `np.int32` from `val.astype(np.int32)`, so casting to Python `int` during flattening would be safer to avoid potential type mismatch issues in downstream passes or serialization.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "...
null
apache__tvm__19374
apache/tvm
19,374
defect
643cf60f40f330173299ef1484abc9f650dbf798
ad2edb49a84127202adfedb1cb0cb59f96d32b8b
[DLight] Add CPU Reduction schedule rule for softmax-like operators
This PR resolves part of #18569 ## Description This PR adds a DLight CPU schedule rule targeting reduction patterns (softmax, layer norm, RMS norm) that previously had no CPU-specific schedule. Without this rule, LLVM auto-vectorization produces suboptimal code for RVV targets — #18569 reports RVV softmax i...
diff --git a/python/tvm/s_tir/dlight/cpu/__init__.py b/python/tvm/s_tir/dlight/cpu/__init__.py index 8743c616bb10a..20e1e9a3b8298 100644 --- a/python/tvm/s_tir/dlight/cpu/__init__.py +++ b/python/tvm/s_tir/dlight/cpu/__init__.py @@ -20,3 +20,4 @@ """ from .gemv import GEMV +from .reduction import Reduction diff --g...
7
5
4
[{"id": "G0", "claim": "dtype_bits is hardcoded to 32 (float32), so for the float16/bfloat16 buffers common in softmax-like LLM operators the rule computes too few vector lanes (e.g. 4 instead of 8 for a 128-bit vector); the bit width should be inferred from the block's buffer dtype.", "category": "performance", "verdi...
null
apache__tvm__19377
apache/tvm
19,377
defect
643cf60f40f330173299ef1484abc9f650dbf798
69bac9eaaf5eca4d55a84c8e586d9eb7a6c06c42
[S-TIR] Fix the ScheduleError from missing guard in CheckInline
Hi Commiters, This PR is trying to fix issues https://github.com/apache/tvm/issues/18380. Any suggestions would be appreciated if you are available. ### Root Cause The ScheduleError comes from a missing guard in CheckInline before calling `GetScopRoot` ### Solution Skip Inline if this is the root block
diff --git a/src/s_tir/meta_schedule/schedule_rule/auto_inline.cc b/src/s_tir/meta_schedule/schedule_rule/auto_inline.cc index 5606301eb5b7..4911363484e5 100644 --- a/src/s_tir/meta_schedule/schedule_rule/auto_inline.cc +++ b/src/s_tir/meta_schedule/schedule_rule/auto_inline.cc @@ -164,6 +164,10 @@ inline InlineType Au...
2
1
1
[{"id": "G0", "claim": "The guard `block_sref->parent == nullptr` is insufficient because a root block wrapped in a `For` loop has a non-null parent but no enclosing `SBlockNode`, so `GetScopeRoot` still throws `RootBlockError`; the guard should instead traverse the parent chain and return `InlineType::kNoInline` when ...
null
apache__tvm__19403
apache/tvm
19,403
defect
5efa4b72dca7c33b5e4f6658720ba2e15dae28be
d5a1880193d6a37aa5e8f10f5e818dd8a22fc4a3
[S-TIR] Fix Segfault when applying Parallel during TIR schedule rewriting
Hi Commiters, This PR is trying to fix issues https://github.com/apache/tvm/issues/18424. Any suggestions would be appreciated if you are available. ### Root Cause Unsafe dynamic-shape dereferences in `AdjustParallelVectorize` The code assumed IntImm for buffer shape / loop extent and dereferenced directly. With...
diff --git a/src/s_tir/meta_schedule/postproc/rewrite_parallel_vectorize_unroll.cc b/src/s_tir/meta_schedule/postproc/rewrite_parallel_vectorize_unroll.cc index ebaa58660e3a..e574e5326ca9 100644 --- a/src/s_tir/meta_schedule/postproc/rewrite_parallel_vectorize_unroll.cc +++ b/src/s_tir/meta_schedule/postproc/rewrite_pa...
2
2
0
[{"id": "G0", "claim": "AdjustParallelVectorize contains unsafe dereferences of IntImmNode (access->buffer->shape[i].as<IntImmNode>()->value and prev_loop->extent.as<IntImmNode>()->value) that will cause a segmentation fault if the IR contains dynamic shapes, which the try-catch cannot catch since SIGSEGV is not an exc...
null
apache__tvm__19406
apache/tvm
19,406
defect
f0863fd5c711e9fec08e2f3b2cb69b8e02933a31
4017e23665a08db8cd645c1ed1a39e33ef59d032
[S-TIR] Fix cache_read/cache_write region when inner block has T.whe…
…re predicate When the actual buffer access is gated by T.where on a nested (inner) sblock, the outer block's own predicate is trivially true. Both cache_write and cache_read were computing cache regions based only on that outer predicate, producing allocations as large as the full loop extent instead of the guard...
diff --git a/src/s_tir/schedule/primitive/cache_read_write.cc b/src/s_tir/schedule/primitive/cache_read_write.cc index baa80b38a9c4..9dd29fe2d6ba 100644 --- a/src/s_tir/schedule/primitive/cache_read_write.cc +++ b/src/s_tir/schedule/primitive/cache_read_write.cc @@ -542,6 +542,60 @@ bool AllConsumersUnderStmt(ScheduleS...
5
4
2
[{"id": "G0", "claim": "Combining nested block predicates with && is incorrect for sibling blocks accessing the same buffer: the union of their access regions requires OR, so disjoint predicates (e.g. i < 5 and i >= 5) will likely produce an incorrectly small or empty cache region, and AND-ing a parent's predicate with...
null
apache__tvm__19408
apache/tvm
19,408
defect
14751b34913394bd4b621338f702874c51cffb9a
5522f85f601b5ab1ea8d8ee3d72858fe5a8b29da
[Relax][Frontend][TFLite] Fix and test `MATRIX_DIAG`, `MATRIX_SET_DIAG`, `SPARSE_TO_DENSE`
## Summary This PR partially implements test coverage requested in issue #18971 for Relax TFLite frontend operator tests. ## Bug Fix The TFLite frontend converters for `MATRIX_DIAG`, `MATRIX_SET_DIAG`, and `SPARSE_TO_DENSE` were broken due to calling non-existent Relax ops: - `relax.op.matrix_set_diag` - ne...
diff --git a/python/tvm/relax/frontend/tflite/tflite_frontend.py b/python/tvm/relax/frontend/tflite/tflite_frontend.py index ce74f707cf95..22f45e8a5adc 100644 --- a/python/tvm/relax/frontend/tflite/tflite_frontend.py +++ b/python/tvm/relax/frontend/tflite/tflite_frontend.py @@ -3015,11 +3015,20 @@ def convert_sparse_to...
1
1
1
[{"id": "G0", "claim": "The pull request removed the `tvm.ir.assert_structural_equal(mod, Expected)` assertion from `test_prelu`, so the test passes without verifying the correctness of the generated IR; restore the assertion or refactor `test_prelu` to use the `verify` helper for consistency with the new tests.", "cat...
null
apache__tvm__19416
apache/tvm
19,416
defect
5c17111ed98bae916f88aea32b281ef67aa249c8
092a469911c28fccca4702c3ff3ecc4dcf34fe51
[Relax][TVMScript] Print ExternFunc struct_info when non-default
### Summary 1. Add HasDefaultExternFuncStructInfo helper to detect default FuncStructInfo for extern functions. 2. Update relax::ExternFunc printer to: - emit global_symbol using the correct AccessPath attribute key, - conditionally include struct_info only when it differs from the default inferred-by-sinfo-a...
diff --git a/src/script/printer/relax/function.cc b/src/script/printer/relax/function.cc index 24ae192c73b34..e49edbbf3b156 100644 --- a/src/script/printer/relax/function.cc +++ b/src/script/printer/relax/function.cc @@ -22,6 +22,20 @@ namespace tvm { namespace script { namespace printer { +bool HasDefaultExternFun...
2
2
1
[{"id": "G0", "claim": "The helper HasDefaultExternFuncStructInfo should be marked static since it is only used within this translation unit, and the EnvFunc::Get lookup for the default derivation function should be cached in a static variable to avoid repeated expensive registry lookups during printing.", "category": ...
null
apache__tvm__19421
apache/tvm
19,421
defect
ca68bef6b5ecec9872a7de4fb1c63139dd150048
6155997db4075b405be6c278b9697af129a9cd4f
[Relax][Frontend][TFLite] Add DENSIFY operator test and fix prefetched handling
## Summary This PR adds test coverage for the TFLite DENSIFY operator as requested in issue #18971 , and fixes several related bugs in the TFLite frontend. DENSIFY converts sparse weight tensors to dense format at **conversion time** (not runtime). The dense weights become constants in the output IR via the `prefet...
diff --git a/python/tvm/relax/frontend/tflite/tflite_frontend.py b/python/tvm/relax/frontend/tflite/tflite_frontend.py index 334021b903007..3ffaf62bc3f46 100644 --- a/python/tvm/relax/frontend/tflite/tflite_frontend.py +++ b/python/tvm/relax/frontend/tflite/tflite_frontend.py @@ -331,13 +331,14 @@ def convert_op_to_rel...
2
2
0
[{"id": "G0", "claim": "The weight handling in convert_fully_connected can be simplified by calling the get_tensor_expr helper instead of the manual has_expr/new_const block, and the then-unused weight_tensor_type_str variable should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2",...
null
apache__tvm__19426
apache/tvm
19,426
defect
ca68bef6b5ecec9872a7de4fb1c63139dd150048
b2c557fc8f7919bc49137b2f4a4a6b2b2a8ab5c1
[Relax][Frontend][TFLite] Add soft-NMS support for TFLite NON_MAX_SUPPRESSION_V5
## Summary This PR completes the TFLite `NON_MAX_SUPPRESSION_V5` implementation in Relax by adding support for `soft_nms_sigma != 0`. It extends `relax.vision.non_max_suppression` with soft-NMS attributes, updates the TFLite frontend to consume the soft-NMS outputs correctly, and aligns the TOPI implementation wi...
diff --git a/include/tvm/relax/attrs/vision.h b/include/tvm/relax/attrs/vision.h index 8971127d76dc..9dec6fd5037e 100644 --- a/include/tvm/relax/attrs/vision.h +++ b/include/tvm/relax/attrs/vision.h @@ -122,6 +122,8 @@ struct NonMaximumSuppressionAttrs int id_index; bool return_indices; bool invalid_to_bottom;...
7
7
1
[{"id": "G0", "claim": "The processing of selected_indices and num_valid is repeated in both the soft-NMS and hard-NMS branches of convert_nms_v5 and should be refactored to determine the source of indices and valid counts first, then apply the common steps.", "category": "maintainability", "verdict": "supported", "pri...
null
apache__tvm__19431
apache/tvm
19,431
defect
a8f1aced2f54d53538f26d60ba081d0cd47cc1ea
57fcdc96cad407710f7aed3793317e8a23d9f224
[Relax][Frontend][KVCache] Extend masked sequence prefill to causal left-padding
This PR extends `_attention_sequence_prefill_with_mask` to support a second mask regime for decoder-style embedding workloads. ### Summary - Keep the existing right-padded bidirectional behavior as `mask_mode="padded"`. - Add `mask_mode="causal_padded_left"` for left-padded causal sequence prefill. - Add a `sof...
diff --git a/python/tvm/relax/frontend/nn/llm/_kernel_common.py b/python/tvm/relax/frontend/nn/llm/_kernel_common.py index 3f881daf70c5..417b3b1530dd 100644 --- a/python/tvm/relax/frontend/nn/llm/_kernel_common.py +++ b/python/tvm/relax/frontend/nn/llm/_kernel_common.py @@ -383,7 +383,54 @@ def softmax_update_valid_len...
2
1
1
[{"id": "G0", "claim": "The `softmax_update_causal_padded_left` macro should take `kv_len` as an argument, compute a separate `pad_kv` for keys/values, and generalize the causal mask to `col <= row + (kv_len - qo_len)`, with the `softmax_update` call site passing `kv_len`, so that qo_len and kv_len may differ.", "categ...
null
apache__tvm__19433
apache/tvm
19,433
defect
a8f1aced2f54d53538f26d60ba081d0cd47cc1ea
c043efc9925cc4445ef055fa00456a99245344e6
[Relax][Frontend][TFLite] Fix dynamic FILL/SPLIT_V partial implementations
This PR fixes partial TFLite frontend support for dynamic `FILL` and `SPLIT_V`. Key changes: - Allow `FILL` to accept runtime `dims` tensors by converting them with `relax.op.tensor_to_shape` before calling `relax.op.full`. - Allow `SPLIT_V` to accept runtime `size_splits` tensors by decomposing the op into ...
diff --git a/python/tvm/relax/frontend/tflite/tflite_frontend.py b/python/tvm/relax/frontend/tflite/tflite_frontend.py index 334021b903007..75b49c7e1164d 100644 --- a/python/tvm/relax/frontend/tflite/tflite_frontend.py +++ b/python/tvm/relax/frontend/tflite/tflite_frontend.py @@ -1726,14 +1726,16 @@ def convert_fill(se...
5
4
3
[{"id": "G0", "claim": "The new local variables num_splits and rank are less clear than using len(output_tensors) directly and renaming them to num_outputs and input_rank.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added tvm.compile(mod, t...
null
apache__tvm__19434
apache/tvm
19,434
defect
7eea6df1b61683d5a415203332cd4b7ee1d507bf
f101326712063afc58485e2e1b4e6029e1fe1a90
[Relax][Frontend][TFLite] Add CUMSUM operator mapping
This commit adds frontend support for the TFLite `CUMSUM` operator by lowering it to `relax.op.cumsum`. Specifically, it handles: - Extracting the `axis` parameter from a constant tensor and converting it to an integer. - Parsing the `exclusive` flag from `CumsumOptions` via FlatBuffers. - Deriving the target `dt...
diff --git a/python/tvm/relax/frontend/tflite/tflite_frontend.py b/python/tvm/relax/frontend/tflite/tflite_frontend.py index 334021b90300..c76df98fd996 100644 --- a/python/tvm/relax/frontend/tflite/tflite_frontend.py +++ b/python/tvm/relax/frontend/tflite/tflite_frontend.py @@ -129,6 +129,7 @@ def __init__(self, model,...
3
2
2
[{"id": "G0", "claim": "The axis tensor may be the dynamic output of another operation, in which case self.get_tensor_value would return incorrect data; a check should be added to ensure the axis is a constant, as in convert_reshape or convert_gather.", "category": "correctness", "verdict": "supported", "priority": "P1...
null
apache__tvm__19438
apache/tvm
19,438
defect
2c72b902d746e463d97d6bc48f721c8c499ef04d
d8f8193c3e05926eb40a3c7c9da789c38002e172
[S-TIR][MetaSchedule] Make evolutionary search resilient to trace replay failures
Hi Committers, This PR is trying to fix issues https://github.com/apache/tvm/issues/17934. Any suggestions would be appreciated if you are available. ### Root Cause - During `EvolutionarySearch` candidate generation, `trace->ApplyToSchedule(...)` could throw `ScheduleError`. - The exception was propagated throu...
diff --git a/src/s_tir/meta_schedule/search_strategy/evolutionary_search.cc b/src/s_tir/meta_schedule/search_strategy/evolutionary_search.cc index fabe50dd60f9..ec85ffeee510 100644 --- a/src/s_tir/meta_schedule/search_strategy/evolutionary_search.cc +++ b/src/s_tir/meta_schedule/search_strategy/evolutionary_search.cc @...
1
1
0
[{"id": "G0", "claim": "The trace replay failure warnings use DLOG(WARNING) so they are only visible in debug builds; replace them with TVM_PY_LOG(WARNING, nullptr) in both catch blocks of ThreadedTraceApply::Apply so failures are logged in all build configurations, as the Gemini review suggested.", "category": "observ...
null
apache__tvm__19445
apache/tvm
19,445
defect
d883f5064f2170cf09de6c9d4a8a901dc7209f91
6df22c09b9d7538877c956c75c2c17fe45ca4f04
[CI][REFACTOR] Decouple data.py from Jenkins script and docker images
## Summary `ci/jenkins/data.py` was carrying two unrelated concerns: artifact bundle definitions for s3 staging, and the docker image tag registry. This PR decouples both from the Jenkinsfile-generated code, making each concern standalone and machine-readable without Python. ## Changes ### Part 1 — Bundle refactor (...
diff --git a/ci/docker-images.ini b/ci/docker-images.ini new file mode 100644 index 0000000000000..d36b8b238e2e2 --- /dev/null +++ b/ci/docker-images.ini @@ -0,0 +1,26 @@ +; Docker image registry for TVM CI. +; This is the single source of truth for docker image tags used by dev_common.sh +; (via awk) and ci/jenkins/da...
2
2
1
[{"id": "G0", "claim": "The dictionary comprehension over all sections of ci/docker-images.ini in ci/jenkins/data.py assumes every section has both 'tag' and 'platform' options and will raise a NoOptionError if a non-image section is ever added, so it is safer to filter the sections to those containing the expected key...
null
apache__tvm__19450
apache/tvm
19,450
defect
c01f898ed0e57ea6a880db811ed2bb305b06bd50
c9b446e2fa12f7f578380cfda42fb39677813c5b
[BugFix][Relax][ONNX] Honor auto_pad in ConvTranspose converter
## Motivation The `ConvTranspose` ONNX → Relax converter silently drops the `auto_pad` attribute. `Conv` has dedicated handling (`onnx_frontend.py` lines 1383-1404), but `ConvTranspose` passes `pads` straight through, defaulting to 0 when the attribute is absent. Models that rely on `auto_pad=SAME_UPPER`/`SAME_LOWER`/...
diff --git a/python/tvm/relax/frontend/onnx/onnx_frontend.py b/python/tvm/relax/frontend/onnx/onnx_frontend.py index bf65434db08c..33089be30910 100644 --- a/python/tvm/relax/frontend/onnx/onnx_frontend.py +++ b/python/tvm/relax/frontend/onnx/onnx_frontend.py @@ -1663,13 +1663,60 @@ def _impl_v1(cls, bb, inputs, attr, p...
1
1
1
[{"id": "G0", "claim": "The SAME_UPPER/SAME_LOWER total_pad calculation should be simplified to be independent of input spatial dimensions, because `int(s)` on symbolic (tir.Var) input dims at line 1683 would raise a TypeError and crash model import.", "category": "correctness", "verdict": "supported", "priority": "P0"...
null
apache__tvm__19453
apache/tvm
19,453
defect
b7c85e3a53a0eda71c4358edabfbfc23f45ac274
67241980043c6fb8310fc0f2d729f2960d620fb5
[S-TIR][Dlight] Add layered fall back strategy to handle missing attr `max_shared_memory_per_block`
Hi Committers, This PR is trying to fix issues https://github.com/apache/tvm/issues/19419. Any suggestions would be appreciated if you are available. ### Root Cause - auto-detected CUDA might lacks `max_shared_memory_per_block` and it would cause `KeyError` ### Solutions - Add layered fall back strategy to h...
diff --git a/python/tvm/s_tir/dlight/analysis/__init__.py b/python/tvm/s_tir/dlight/analysis/__init__.py index 36d988b896a5..9e41003d7376 100644 --- a/python/tvm/s_tir/dlight/analysis/__init__.py +++ b/python/tvm/s_tir/dlight/analysis/__init__.py @@ -27,6 +27,7 @@ normalize_prim_func, get_root_block, get...
2
2
0
[{"id": "G0", "claim": "The fallback mapping dictionary defined inside get_max_shared_memory_per_block is re-allocated on every call where the attribute is missing; it should be a module-level constant for better maintainability and performance.", "category": "maintainability", "verdict": "supported", "priority": "P2",...
null
apache__tvm__19466
apache/tvm
19,466
defect
11ac2ad97c84fdc6ca14690a6221e9f3d1631955
22a899512646c108803e45ec442c45b9a7d369f2
[Relax][Frontend][TFLite] Add BITCAST operator mapping
This PR adds TFLite frontend support for the BITCAST operator which reinterprets a tensor's bytes as a different dtype without converting the underlying data. The handler lowers BITCAST to relax.op.memory.view which aliases the input buffer with the new shape and dtype. Frontend tests cover same-width (float32 ->...
diff --git a/python/tvm/relax/frontend/tflite/tflite_frontend.py b/python/tvm/relax/frontend/tflite/tflite_frontend.py index 732950ca6869..6120d6b9e75a 100644 --- a/python/tvm/relax/frontend/tflite/tflite_frontend.py +++ b/python/tvm/relax/frontend/tflite/tflite_frontend.py @@ -124,6 +124,7 @@ def __init__(self, model,...
1
1
1
[{"id": "G0", "claim": "Use the to_int_list helper instead of .tolist() when converting the input and output tensor shapes in convert_bitcast, for consistency with the rest of the frontend and to ensure numpy integer types are correctly converted to Python int (avoiding potential issues with int64 in Relax/TOPI).", "ca...
null
apache__tvm__19467
apache/tvm
19,467
defect
1e7314f446099e861fb0791b4393b77ddbe97dcc
af3a240fec599759bbb90560406fd06aa839bf14
[Relax][ONNX] Fix CumSum axis handling: support runtime axis tensor, error on multi-element axis
Hi Committers, This PR is trying to fix issues https://github.com/apache/tvm/issues/19437. Any suggestions would be appreciated if you are available. ### Root Cause The original CumSum converter always defaulted to axis=0 when the axis input was a relax.Var (i.e., a runtime tensor), ignoring the actual runtime v...
diff --git a/python/tvm/relax/frontend/onnx/onnx_frontend.py b/python/tvm/relax/frontend/onnx/onnx_frontend.py index 98571634a773..4c8d6122ad60 100644 --- a/python/tvm/relax/frontend/onnx/onnx_frontend.py +++ b/python/tvm/relax/frontend/onnx/onnx_frontend.py @@ -1748,22 +1748,31 @@ class CumSum(OnnxOpConverter): @...
4
4
3
[{"id": "G0", "claim": "In the constant-axis branch, `axis_np = int(axis_input.data.numpy())` makes `axis_np` a Python int, so the following `.size`/`.shape`/`.item()` calls raise AttributeError at runtime (and the `int()` conversion itself fails with TypeError on multi-element arrays); the size check should be perform...
null
apache__tvm__19473
apache/tvm
19,473
defect
84fbd77468f0cb69cd6e5a2f2c1161e37b9d1fe5
31fd65e2557a3029b08cb739c7953dfe8e2fd8bb
[Relax][Frontend][TFLite] Add `RANDOM_UNIFORM`, `RANDOM_STANDARD_NORMAL`, and `MULTINOMIAL`
## Summary This PR adds support for the TFLite `RANDOM_UNIFORM`, `RANDOM_STANDARD_NORMAL`, and `MULTINOMIAL` operators in the Relax TFLite frontend, covering the items I claimed in #19412. `RANDOM_UNIFORM` and `RANDOM_STANDARD_NORMAL` are lowered to seeded `tvm.contrib.random` calls with dynamic shape sup...
diff --git a/python/tvm/relax/frontend/tflite/tflite_frontend.py b/python/tvm/relax/frontend/tflite/tflite_frontend.py index 80c5e024f92f1..82b9b26ebba6a 100644 --- a/python/tvm/relax/frontend/tflite/tflite_frontend.py +++ b/python/tvm/relax/frontend/tflite/tflite_frontend.py @@ -184,6 +184,7 @@ def __init__(self, mode...
12
11
3
[{"id": "G0", "claim": "The seed combination in CombineSeeds (shift/OR that truncates to 32 bits) may be prone to overflow or unexpected behavior for negative seeds and can collide when the high 32 bits are truncated; use a more robust combining function or add a comment noting the truncation is intentional.", "categor...
null
apache__tvm__19477
apache/tvm
19,477
defect
6e8f77d664e3a0c4424aaa3d753c170503d03796
5b114f8c87a82ef2d3db55b4aad0efc48ecee019
[REFACTOR] Delete src/support/libinfo.cc; replace with runtime FFI-registry env query
## Summary `support.GetLibInfo` exposed ~30 build-time `TVM_INFO_*` strings (git hash, LLVM/MLIR versions, every `USE_*` flag). Real callers reduce to "is this feature enabled?" — better answered at runtime. `USE_CUDA=ON` does not mean a CUDA device is loadable; runtime discovery is the actual signal. Git versioning i...
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 815d48118fa84..1b701aee5748d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -35,14 +35,6 @@ repos: language_version: python3 pass_filenames: false verbose: false - - id: check-cmake-options - ...
1
1
0
[{"id": "G0", "claim": "The mapping dictionaries _flag_to_device_kind and _flag_to_global_func should be defined at module level instead of inside _cmake_flag_enabled, so they are not recreated on every function call, which can be frequent during test collection.", "category": "performance", "verdict": "supported", "pr...
null
apache__tvm__19481
apache/tvm
19,481
defect
556571fc9d6ce8127d7ae9bf23069ebb7cb70ccd
7086c432bc9155f2225d31456033ea890bc41c4e
[Relax][Frontend][TFLite] Add DILATE operator mapping
This PR adds TFLite frontend support for the DILATE operator which extends a tensor by inserting a padding value between existing elements per axis according to the dilation strides. Decomposes into existing Relax primitives instead of registering a new op: applied per axis: - relax.op.reshape adds a size-1 stride...
diff --git a/python/tvm/relax/frontend/tflite/tflite_frontend.py b/python/tvm/relax/frontend/tflite/tflite_frontend.py index b7a7e42c488db..a66803c84de08 100644 --- a/python/tvm/relax/frontend/tflite/tflite_frontend.py +++ b/python/tvm/relax/frontend/tflite/tflite_frontend.py @@ -136,6 +136,7 @@ def __init__(self, mode...
3
2
0
[{"id": "G0", "claim": "convert_dilate assumes the input tensor has a fully static shape: with dynamic dimensions (symbolic Relax variables or -1 in the TFLite shape) to_int_list would fail converting a symbolic variable to an int, or np.prod followed by int() would fail if in_shape contains TIR expressions, limiting t...
null
apache__tvm__19485
apache/tvm
19,485
defect
0565724c230a23a86620f6c3a6b36c7196108921
28261c868b975183eea5c599220797e182f28b97
[Relax][Frontend][TFLite] Add ATAN2 op and TFLite mapping
This PR adds the ATAN2 operator to the Relax TFLite frontend. Introduces relax.op.atan2 as a new binary elementwise primitive (TOPI broadcast op, Relax registration, legalization to topi.atan2, script parser support) and registers ATAN2 in the TFLite convert_map. It reuses the TIR primitive tvm::atan2 so this PR is ...
diff --git a/include/tvm/topi/broadcast.h b/include/tvm/topi/broadcast.h index f8ef2edc39d1b..778f59046d021 100644 --- a/include/tvm/topi/broadcast.h +++ b/include/tvm/topi/broadcast.h @@ -384,6 +384,19 @@ TOPI_DEFINE_BCAST_OP(minimum, { return tvm::min(a, b); }); */ TOPI_DEFINE_BCAST_OP(power, { return tvm::pow(a, ...
4
4
1
[{"id": "G0", "claim": "The broadcast.h docstring for atan2 should explicitly state which parameter is y and which is x, per the standard atan2(y, x) convention.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The python/tvm/relax/op/binary.py docs...
null
apache__tvm__19488
apache/tvm
19,488
defect
d6ef18e7711bcc083525d7707fe8fe8530a366ee
584861f0d482341e937b1ad96a2f2c965c33aacb
[Relax][PyTorch] Fix segfault in from_exported_program when model uses index_put_ with tuple output
Hi Committers, This PR is trying to fix issues https://github.com/apache/tvm/issues/18363. Any suggestions would be appreciated if you are available. ### Root Cause - When an ExportedProgram's FX graph output node returns a **nested Python tuple** (e.g., buffer mutation outputs + user-defined tuple returns), `_t...
diff --git a/python/tvm/relax/frontend/torch/base_fx_graph_translator.py b/python/tvm/relax/frontend/torch/base_fx_graph_translator.py index c146cf6c00e3..e2d5e3879ffa 100644 --- a/python/tvm/relax/frontend/torch/base_fx_graph_translator.py +++ b/python/tvm/relax/frontend/torch/base_fx_graph_translator.py @@ -1857,7 +1...
3
3
3
[{"id": "G0", "claim": "The newly added `_flatten_output_args` method is unused, so the FX graph translation result should be processed by it (for both the main function and branch subgraphs) to flatten nested Python structures before being passed to the TVM FFI.", "category": "correctness", "verdict": "supported", "pr...
null
apache__tvm__19489
apache/tvm
19,489
defect
58fc749f273ed4b05de61aad8bed27902d4d51c5
7083a56d9f6497d57441fd7e9534ed2bb048060a
[Relax][Frontend][TFLite] Add BROADCAST_TO, EMBEDDING_LOOKUP, and SELECT_V2
This PR adds support for three new operators in the Relax TFLite frontend:` BROADCAST_TO`, `EMBEDDING_LOOKUP,` and `SELECT_V2.` Passed all newly added unit tests using ``` pytest tests/python/relax/test_frontend_tflite.py -k "test_broadcast_to or test_embedding_lookup or test_select_v2" ``` reference #19412
diff --git a/3rdparty/tvm-ffi b/3rdparty/tvm-ffi index 1fed0ae0421e..3c35034fd102 160000 --- a/3rdparty/tvm-ffi +++ b/3rdparty/tvm-ffi @@ -1 +1 @@ -Subproject commit 1fed0ae0421e614d45662e8ee6bcae353d3ab2ea +Subproject commit 3c35034fd1026011736e19a4e0e1ed0f22058c42 diff --git a/python/tvm/relax/frontend/tflite/tflite_...
2
2
1
[{"id": "G0", "claim": "convert_broadcast_to passes a tensor expression (a relax.Constant or relax.Var) as the shape argument of relax.op.broadcast_to, which expects a ShapeExpr or a list of integers and will lead to errors during structural info inference or legalization; constant shapes should be extracted to a list ...
null
apache__tvm__19490
apache/tvm
19,490
defect
0565724c230a23a86620f6c3a6b36c7196108921
49dd6bee06730d24e0dc15a7efb1bca8209dd915
[Relax][Frontend][TFLite] Add SCATTER_ND operator for Relax TFLite
This PR adds support for the `SCATTER_ND` operator in the Relax TFLite frontend. ### Key Changes: - Added handler `convert_scatter_nd` to parse `indices` and `updates`. - Explicitly handles static vs dynamic shape tensor extraction via `to_int_list` and `relax.op.tensor_to_shape`. - Uses `relax.op.zeros` to in...
diff --git a/python/tvm/relax/frontend/tflite/tflite_frontend.py b/python/tvm/relax/frontend/tflite/tflite_frontend.py index b7a7e42c488d..fba79a0ad272 100644 --- a/python/tvm/relax/frontend/tflite/tflite_frontend.py +++ b/python/tvm/relax/frontend/tflite/tflite_frontend.py @@ -212,6 +212,7 @@ def __init__(self, model,...
2
2
2
[{"id": "G0", "claim": "In convert_scatter_nd, the indices layout must be aligned for Relax's scatter_nd (which expects the index depth on axis 0 while TFLite provides it as the last dimension) by permuting the indices, following convert_gather_nd's pattern.", "category": "correctness", "verdict": "supported", "priorit...
null
apache__tvm__19495
apache/tvm
19,495
defect
fbbbae994d9f9fd1ba3b99c9ed8c5212dd912425
ffb215fd2b3701b389af2b293307b54feee0e575
[Relax][Frontend] Add ParameterList and ParameterDict containers
This PR adds first-class `nn.ParameterList` and `nn.ParameterDict` containers to the Relax frontend. These containers provide PyTorch-like list/dict registration for raw `nn.Parameter` objects while preserving Relax frontend semantics: values must be explicit `nn.Parameter` instances, with no automatic tensor-to-par...
diff --git a/python/tvm/relax/frontend/nn/__init__.py b/python/tvm/relax/frontend/nn/__init__.py index 282944af9833d..1763ca152f5f9 100644 --- a/python/tvm/relax/frontend/nn/__init__.py +++ b/python/tvm/relax/frontend/nn/__init__.py @@ -19,7 +19,17 @@ # pylint: disable=redefined-builtin from . import op, spec -from...
4
3
3
[{"id": "G0", "claim": "ParameterDict.__setitem__ should validate that keys are strings and values are nn.Parameter instances, raising TypeError otherwise.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "ParameterList.__setitem__ should validate that...
null