114 Commits
235 changed files with 133870 additions and 1565 deletions

No files matched your search

+3 -3
View File
@@ -44,15 +44,15 @@ Cache__AnalyticsExpirationMinutes=3
Cache__AnalyticsLocalExpirationSeconds=30 Cache__AnalyticsLocalExpirationSeconds=30
Cache__MaximumPayloadKilobytes=2048 Cache__MaximumPayloadKilobytes=2048
# OpenTelemetry 默认收集 HTTP、运行时和数据库指标;配置 OTLP 地址后才会外发。 # 应用日志建立接口与慢 SQL 基线;日志系统可按 DurationMs、RequestId、QueryName 聚合。
Observability__Enabled=true Observability__Enabled=true
Observability__ServiceName=jiaowu-api Observability__ServiceName=jiaowu-api
Observability__LogAllApiRequests=true
Observability__SlowRequestThresholdMilliseconds=1000
Observability__SlowQueryThresholdMilliseconds=500 Observability__SlowQueryThresholdMilliseconds=500
# 默认不记录完整 SQL,避免日志或追踪系统接触业务数据。 # 默认不记录完整 SQL,避免日志或追踪系统接触业务数据。
Observability__IncludeSqlText=false Observability__IncludeSqlText=false
Observability__MaximumSqlTextLength=2000 Observability__MaximumSqlTextLength=2000
# OTEL_EXPORTER_OTLP_ENDPOINT=https://otel-collector.example.edu.cn:4317
# OTEL_EXPORTER_OTLP_HEADERS=Authorization=Bearer%20REPLACE_WITH_TOKEN
# 系统内“运维与审计 → 系统性能”从 Prometheus 只读查询汇总指标。 # 系统内“运维与审计 → 系统性能”从 Prometheus 只读查询汇总指标。
PerformanceReporting__Enabled=false PerformanceReporting__Enabled=false
+8 -3
View File
@@ -31,7 +31,7 @@ jobs:
- name: Set up .NET - name: Set up .NET
uses: https://github.com/actions/setup-dotnet@v4 uses: https://github.com/actions/setup-dotnet@v4
with: with:
dotnet-version: "10.0.302" dotnet-version: "10.0.400"
- name: Set up Node.js - name: Set up Node.js
uses: https://github.com/actions/setup-node@v4 uses: https://github.com/actions/setup-node@v4
@@ -46,6 +46,11 @@ jobs:
npm ci npm ci
npm run build npm run build
- name: Install Chinese PDF font for backend tests
run: |
sudo apt-get update
sudo apt-get install --yes fonts-noto-cjk
- name: Run backend tests - name: Run backend tests
run: dotnet test Jiaowu.slnx --configuration Release run: dotnet test Jiaowu.slnx --configuration Release
@@ -73,7 +78,7 @@ jobs:
echo "version=$version" >> "$GITHUB_OUTPUT" echo "version=$version" >> "$GITHUB_OUTPUT"
echo "profile=$profile" >> "$GITHUB_OUTPUT" echo "profile=$profile" >> "$GITHUB_OUTPUT"
- name: Build self-contained platform packages - name: Build framework-dependent platform packages
shell: bash shell: bash
run: | run: |
bash ./scripts/publish-platform-packages.sh \ bash ./scripts/publish-platform-packages.sh \
@@ -155,7 +160,7 @@ jobs:
- Windows x64:`.zip` - Windows x64:`.zip`
- Linux x64 / ARM64:`.tar.gz` - Linux x64 / ARM64:`.tar.gz`
- `SHA256SUMS`:发布包校验值 - `SHA256SUMS`:发布包校验值
- 自包含程序包无需预装 .NET 或 ASP.NET Core Runtime - 二进制程序包不包含 .NET 或 ASP.NET Core Runtime;请先安装匹配版本的 ASP.NET Core Runtime
Windows ARM64 与 macOS Intel / Apple Silicon 包可通过手动运行工作流并启用扩展平台生成。 Windows ARM64 与 macOS Intel / Apple Silicon 包可通过手动运行工作流并启用扩展平台生成。
+3
View File
@@ -0,0 +1,3 @@
[submodule "Academic-Affairs-System.wiki"]
path = Academic-Affairs-System.wiki
url = https://git.biss.click/biss/Academic-Affairs-System.wiki.git
Loaded 3 of 235 files, more files were not shown because too many files have changed in this diff. Show more