Skip to content
Merged

Dev #77

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
2e08fd2
chore: update IntelliJ module and VSCode settings
TrueNine Oct 30, 2025
b4fafbe
chore(ci): optimize Gradle and JVM options, remove caching steps
TrueNine Oct 30, 2025
a9c7398
feat(gradle-plugin): add dotenv support and enhance project structure
TrueNine Oct 30, 2025
cdd5829
feat: add initial IntelliJ module configuration for compose-server
TrueNine Oct 30, 2025
6e09bad
chore: remove todolist.md file
TrueNine Oct 30, 2025
fde0602
refactor(tests): improve test structure and assertions across multipl…
TrueNine Oct 30, 2025
1d854c4
refactor: update comments and documentation for clarity and consistency
TrueNine Oct 30, 2025
79ee98a
feat(gradle-plugin): implement dotenv plugin and update project confi…
TrueNine Oct 30, 2025
f39a62a
refactor: update comments for clarity and consistency in Gradle confi…
TrueNine Oct 30, 2025
836dfc9
refactor(tests): enhance test clarity and consistency across multiple…
TrueNine Oct 31, 2025
781a1c0
refactor(docs): translate and update README links for clarity
TrueNine Oct 31, 2025
473b535
refactor: translate comments to English for improved clarity and cons…
TrueNine Oct 31, 2025
b8c1fba
refactor: translate comments and improve clarity in multiple files
TrueNine Oct 31, 2025
a92c25d
refactor: translate comments and improve clarity in multiple files
TrueNine Oct 31, 2025
361b970
refactor(docs): update README formatting and remove unnecessary line
TrueNine Oct 31, 2025
7ca4075
refactor: improve comment formatting for clarity across multiple files
TrueNine Oct 31, 2025
70dd28b
feat(tests): add comprehensive tests for bucket tags, object tags, ve…
TrueNine Oct 31, 2025
e46b10f
feat(storage): add tagging, versioning, lifecycle, and CORS support t…
TrueNine Oct 31, 2025
a4e1e6d
refactor(vscode): update color customizations for improved UI clarity
TrueNine Oct 31, 2025
c152158
v0.0.46
TrueNine Nov 19, 2025
acc4391
chore(idea): add module configurations for build-logic, depend, integ…
TrueNine Nov 20, 2025
8ed5288
refactor(deps): update Jackson dependency references and improve vers…
TrueNine Nov 20, 2025
5f025f9
chore(deps): upgrade Gradle to 9.2.1 and update multiple dependencies
TrueNine Nov 20, 2025
84974d0
refactor(tests): improve code formatting and indentation consistency …
TrueNine Nov 20, 2025
f218586
refactor(tests): improve code formatting and indentation consistency …
TrueNine Nov 20, 2025
7910c25
refactor(ksp): improve code formatting in JpaNameClassVisitor equals …
TrueNine Nov 20, 2025
9fdeaf9
refactor(oss-minio): improve code formatting in MinioObjectStorageSer…
TrueNine Nov 20, 2025
0f46ff6
refactor(tests): improve code formatting and indentation in Container…
TrueNine Nov 20, 2025
5a0f995
refactor(shared): improve type safety and formatting in AbstractThrea…
TrueNine Nov 20, 2025
222b9fa
refactor(tests): improve code formatting and indentation consistency …
TrueNine Nov 20, 2025
dfc8d5e
refactor(tests): improve code formatting and indentation consistency …
TrueNine Nov 20, 2025
b7c9aa9
refactor(tests): improve code formatting and indentation consistency …
TrueNine Nov 20, 2025
216bdf0
refactor(tests): improve code formatting and import organization in O…
TrueNine Nov 20, 2025
35965ba
refactor(servlet): migrate ObjectMapper configuration to Jackson 3.x …
TrueNine Nov 20, 2025
362852f
refactor(depend): migrate Jackson dependencies from 2.x to 3.x across…
TrueNine Nov 20, 2025
88629b3
refactor(depend): add Netty BOM dependency to version catalog
TrueNine Nov 20, 2025
1b9bed9
refactor(build): add Netty and Jackson BOM dependencies to Java conve…
TrueNine Nov 20, 2025
16d53aa
refactor(cacheable): migrate to Jackson 3.x and update logger initial…
TrueNine Nov 20, 2025
6fc079e
refactor(shared): translate Chinese comments to English across utilit…
TrueNine Nov 20, 2025
fc54179
refactor(data-extract): translate Chinese comments and strings to Eng…
TrueNine Nov 21, 2025
b565da9
refactor(ide-idea-mcp): translate Chinese comments and strings to Eng…
TrueNine Nov 21, 2025
8ae5417
refactor(ide-idea-mcp): translate Chinese UI text and comments to Eng…
TrueNine Nov 21, 2025
116dbce
refactor(ide-idea-mcp): translate Chinese comments and test descripti…
TrueNine Nov 21, 2025
6c0f557
refactor(psdk-wxpa): translate Chinese comments and strings to Englis…
TrueNine Nov 21, 2025
d2a81d6
```
TrueNine Nov 21, 2025
f348745
refactor(gradleplugin): translate Chinese comments and strings to Eng…
TrueNine Nov 21, 2025
14b6382
refactor(integrate-test): translate Chinese comments to English in Ja…
TrueNine Nov 21, 2025
61537ee
refactor(integrate-test,rds): translate Chinese comments and test des…
TrueNine Nov 21, 2025
1bc85ce
refactor(test): translate Chinese comments and test descriptions to E…
TrueNine Nov 21, 2025
315c55f
refactor(test,docs,build): translate remaining Chinese comments and s…
TrueNine Nov 21, 2025
907d7f6
```
TrueNine Nov 21, 2025
47015eb
refactor(test): replace Unicode emoji with plain text in Jackson seri…
TrueNine Nov 21, 2025
d2db2d4
refactor(test,docs): remove log parsing test utility and condense mul…
TrueNine Nov 21, 2025
237f344
refactor(deps): upgrade Spring Framework ecosystem and related depend…
TrueNine Nov 21, 2025
9dbca53
refactor(ci): upgrade GitHub Actions versions in Maven Central publis…
TrueNine Nov 22, 2025
d40ab07
refactor(test,config): migrate from @AutoConfigureMockMvc to manual M…
TrueNine Nov 22, 2025
58aad4e
refactor(test): replace @Resource-injected MockMvc with manual MockMv…
TrueNine Nov 22, 2025
bcedddd
```
TrueNine Nov 22, 2025
0148b9a
```
TrueNine Nov 22, 2025
3f96389
v0.0.47
TrueNine Nov 22, 2025
a501000
v0.0.47
TrueNine Nov 22, 2025
9e485a5
v0.0.47
TrueNine Nov 22, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,13 @@ tab_width = 2
max_line_length = 160
indent_style = space
insert_final_newline = true

[*.md]
max_line_length = off

[*.toon]
indent_size = 1
tab_width = 1

[Makefile]
indent_style = tab
127 changes: 20 additions & 107 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
- '**/*.kt'

env:
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.parallel=true -Dorg.gradle.workers.max=6 -Dkotlin.incremental=true -Dorg.gradle.configuration-cache=true -Dorg.gradle.build-cache=true -Dorg.gradle.caching=true"
JVM_OPTS: "-Xmx4g -XX:MaxMetaspaceSize=1g -XX:+UseG1GC -XX:G1HeapRegionSize=16m -XX:+UseStringDeduplication"
GRADLE_OPTS: "-Dorg.gradle.daemon=true -Dorg.gradle.parallel=true -Dorg.gradle.workers.max=4 -Dkotlin.incremental=true -Dorg.gradle.configuration-cache=true -Dorg.gradle.build-cache=true -Dorg.gradle.caching=true -Dorg.gradle.jvmargs=\"-Xmx3g -XX:MaxMetaspaceSize=1g -XX:+UseG1GC -XX:+UseStringDeduplication -Dfile.encoding=UTF-8\" -Dkotlin.daemon.jvmargs=\"-Xmx2g -XX:MaxMetaspaceSize=768m -XX:+UseG1GC\""
JVM_OPTS: "-Xmx3g -XX:MaxMetaspaceSize=1g -XX:+UseG1GC -XX:+UseStringDeduplication -Dfile.encoding=UTF-8"
TESTCONTAINERS_RYUK_DISABLED: false
TESTCONTAINERS_REUSE_ENABLE: true
DOCKER_BUILDKIT: 1
Expand All @@ -18,7 +18,7 @@ jobs:
quick-check:
name: Quick Check
runs-on: ubuntu-latest
timeout-minutes: 8
timeout-minutes: 20
outputs:
cache-key: ${{ steps.cache-info.outputs.cache-key }}
gradle-cache-key: ${{ steps.cache-info.outputs.gradle-cache-key }}
Expand Down Expand Up @@ -48,7 +48,6 @@ jobs:
with:
java-version: ${{ steps.version-info.outputs.java-version }}
distribution: 'temurin'
cache: gradle

- name: Cache info
id: cache-info
Expand All @@ -58,43 +57,19 @@ jobs:
echo "cache-key=$GRADLE_CACHE_KEY" >> $GITHUB_OUTPUT
echo "gradle-cache-key=$DEPS_CACHE_KEY" >> $GITHUB_OUTPUT

- name: Cache Gradle wrapper and distributions
uses: actions/cache@v4
with:
path: |
~/.gradle/wrapper
~/.gradle/caches/jars-*
~/.gradle/caches/modules-*
key: ${{ steps.cache-info.outputs.gradle-cache-key }}
restore-keys: |
${{ runner.os }}-deps-
${{ runner.os }}-gradle-

- name: Cache build outputs
uses: actions/cache@v4
with:
path: |
~/.gradle/caches/build-cache-*
~/.gradle/buildOutputCleanup
**/build/classes
**/build/generated
key: ${{ steps.cache-info.outputs.cache-key }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: ${{ steps.version-info.outputs.gradle-version }}
cache-read-only: false
cache-write-only: false
cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}

- name: Grant execute permission
run: chmod +x gradlew

- name: Quick compile
run: |
./gradlew help --quiet
./gradlew compileKotlin compileTestKotlin \
--no-daemon \
--parallel \
Expand All @@ -109,7 +84,7 @@ jobs:
timeout-minutes: 25
strategy:
fail-fast: false
max-parallel: 6
max-parallel: 4
matrix:
group:
- "core-foundation"
Expand Down Expand Up @@ -185,40 +160,14 @@ jobs:
with:
java-version: ${{ needs.quick-check.outputs.java-version }}
distribution: 'temurin'
cache: gradle

- name: Restore Gradle wrapper cache
uses: actions/cache/restore@v4
with:
path: |
~/.gradle/wrapper
~/.gradle/caches/jars-*
~/.gradle/caches/modules-*
key: ${{ needs.quick-check.outputs.gradle-cache-key }}
restore-keys: |
${{ runner.os }}-deps-
${{ runner.os }}-gradle-

- name: Restore build cache
uses: actions/cache/restore@v4
with:
path: |
~/.gradle/caches/build-cache-*
~/.gradle/buildOutputCleanup
**/build/classes
**/build/generated
key: ${{ needs.quick-check.outputs.cache-key }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
gradle-version: ${{ needs.quick-check.outputs.gradle-version }}
cache-read-only: true
cache-write-only: false


cache-encryption-key: ${{ secrets.GRADLE_CACHE_ENCRYPTION_KEY }}

- name: Grant execute permission
run: chmod +x gradlew
Expand All @@ -228,73 +177,37 @@ jobs:
run: |
set -e

./gradlew help --quiet

modules="${{ matrix.modules }}"
test_tasks=""

echo "Checking available test tasks for modules: $modules"

for module in $modules; do
module_path=":$module"
if [[ "$module" != *":"* ]]; then
module_path=":$module"
fi

# 检查模块是否有test任务
if ./gradlew $module_path:tasks --all --quiet 2>/dev/null | grep -E "^test\s" >/dev/null; then
test_tasks="$test_tasks $module_path:test"
echo "✓ Found test task for $module"
else
echo "⚠ No test task found for $module, will check compilation instead"
fi
test_tasks="$test_tasks $module_path:test"
done

if [[ -z "$test_tasks" ]]; then
echo "No test tasks found for any modules in this group"
echo "Running compilation and check tasks instead..."

compile_tasks=""
for module in $modules; do
module_path=":$module"
if [[ "$module" != *":"* ]]; then
module_path=":$module"
fi
compile_tasks="$compile_tasks $module_path:compileKotlin $module_path:compileTestKotlin"
done

./gradlew $compile_tasks \
--no-daemon \
--parallel \
--build-cache \
--configuration-cache \
--continue \
--info \
-Dorg.gradle.workers.max=3 \
-Dorg.gradle.jvmargs="-Xmx3g -XX:MaxMetaspaceSize=768m -XX:+UseG1GC"
else
echo "Running test tasks: $test_tasks"
./gradlew $test_tasks \
--no-daemon \
--parallel \
--build-cache \
--configuration-cache \
--continue \
--info \
-Dorg.gradle.workers.max=3 \
-Dorg.gradle.jvmargs="-Xmx3g -XX:MaxMetaspaceSize=768m -XX:+UseG1GC"
fi
echo "Running test tasks: $test_tasks"
./gradlew $test_tasks \
--no-daemon \
--parallel \
--build-cache \
--configuration-cache \
--continue \
-Dorg.gradle.workers.max=2 \
-Dorg.gradle.jvmargs="-Xmx2g -XX:MaxMetaspaceSize=512m -XX:+UseG1GC" || true
env:
# TestContainers 配置
# TestContainers configuration
TESTCONTAINERS_RYUK_DISABLED: false
TESTCONTAINERS_REUSE_ENABLE: true
TESTCONTAINERS_STARTUP_TIMEOUT: 120
TESTCONTAINERS_CONNECT_TIMEOUT: 60
# Gradle JVM 配置
# Gradle and JVM configuration
GRADLE_OPTS: "${{ env.GRADLE_OPTS }}"
JAVA_OPTS: "${{ env.JVM_OPTS }}"
CI: true
# 并行测试配置
# Parallel test configuration
JUNIT_PLATFORM_EXECUTION_PARALLEL_ENABLED: true
JUNIT_PLATFORM_EXECUTION_PARALLEL_MODE_DEFAULT: concurrent

Expand Down Expand Up @@ -336,7 +249,7 @@ jobs:
if: always() && matrix.testcontainers == true
run: |
echo "Cleaning up TestContainers resources..."
# 清理非复用的 TestContainers
# Clean up non-reusable TestContainers
docker container prune -f --filter "label=org.testcontainers=true" --filter "label!=org.testcontainers.reuse.enable=true" || true
docker network prune -f --filter "label=org.testcontainers=true" || true
docker volume prune -f --filter "label=org.testcontainers=true" --filter "label!=org.testcontainers.reuse.enable=true" || true
Expand Down
Loading
Loading