Copilot commented on code in PR #29:
URL: 
https://github.com/apache/shenyu-plugin-store/pull/29#discussion_r4306629325


##########
pom.xml:
##########
@@ -84,7 +84,7 @@
     </profiles>
     <properties>
         <java.version>17</java.version>
-        <shenyu.version>2.7.2-SNAPSHOT</shenyu.version>
+        <shenyu.version>2.7.0</shenyu.version>

Review Comment:
   Changing this default selects `shenyu-plugin-logging-common:2.7.0`, whose 
`AbstractLogConsumeClient.initClient0(T)` returns `void`. All six store logging 
collectors override it with `boolean` (for example, 
`PulsarLogCollectClient.java:56`), which is an incompatible Java override. The 
root build therefore fails compilation even on JDK 17. Reconcile the collectors 
and their tests with the released API contract, or choose an API version 
compatible with their implementation, before switching the default.



##########
docs/release-and-compatibility.md:
##########
@@ -0,0 +1,75 @@
+<!--
+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 not use this file except in compliance with
+the License. You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+# Release and Compatibility
+
+This document describes the release gates for artifacts built by 
`apache/shenyu-plugin-store`. A merged pull request is not a published release, 
and a `-SNAPSHOT` artifact is not a production release.
+
+## Version and API Contract
+
+The root POM has two independent versions:
+
+- `project.version` identifies artifacts published by this repository.
+- `shenyu.version` identifies the ShenYu core API used to compile and test the 
extensions.
+
+Do not assume these versions are interchangeable. The current development 
defaults are `2.7.1-SNAPSHOT` for this repository and the released `2.7.0` 
ShenYu API. They describe the current checkout, not a promise that every 
extension is compatible with every ShenYu release.
+
+The JDK 17 build workflow pins its ShenYu source checkout by commit SHA. That 
pinned revision, the effective `shenyu.version`, and the workflow result are 
the reproducible compatibility evidence for a build. Before changing a 
supported API line, update the pin and version together, run the full workflow, 
and record the resulting core revision and test report. Extension-specific 
runtime and protocol versions are recorded in the top-level POM and each 
migration guide.
+
+## Build and Validation
+
+A clean checkout must have JDK 17 and can run the root verification with the 
checked-in Maven Wrapper:

Review Comment:
   The default reactor still includes `shenyu-kubernetes-controller-motan`, 
whose POM requires `shenyu-kubernetes-controller:2.7.2-SNAPSHOT`. The workflow 
installs that dependency from its pinned core checkout before verification; 
this preparation is needed for the root build, not just integration tests. With 
a fresh Maven cache, the documented command cannot resolve it from Central. 
Document the pinned-core preparation before this command, or eliminate the 
default reactor's snapshot dependency.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to