Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
249341b
Release v2.0.1
WMC001 Apr 10, 2026
5e1ab83
Update CODEOWNERS
WMC001 Apr 17, 2026
31f767f
Merge branch 'main' into release/v2.0.2
Dallas98 Apr 18, 2026
d8f1b99
🔧 Bump APP_VERSION to v2.0.2
Dallas98 Apr 18, 2026
5c9504c
Merge pull request #2822 from ModelEngine-Group/release/v2.0.2
Dallas98 Apr 18, 2026
045a948
✨ Feat: Personal file uploads support permission isolation. #2836 (#2…
YehongPan Apr 23, 2026
98a9509
✨ Feat: Add presigned URL support for external MCP tool file access a…
xuyaqist Apr 23, 2026
1d0ee63
Refactor OAuth implementation and enhance account linking features
hhhhsc701 Apr 24, 2026
4d93277
♻️ File preview: Change the preview style of txt and merge the previe…
Stockton11 Apr 25, 2026
e7457d6
🐛 Bugfix: fix excessive execution time of test_a2a_client_servic (#2851)
xuyaqist Apr 25, 2026
7b0a331
Bugfix: agent to save agent before publishing (#2862)
xuyaqist Apr 25, 2026
859b113
✨ Refactor: Improve title generation logic in chat interface and stre…
Zhi-a Apr 25, 2026
7890cde
🐛 Bugfix: Add display name to index name mapping for KnowledgeBaseSea…
Zhi-a Apr 25, 2026
fde5dca
Bugfix: Support viewing whether the agent version has been published …
xuyaqist Apr 25, 2026
9d36e0e
🐛 Bugfix: Multi-turn dialogues and file uploads are not working prope…
YehongPan Apr 25, 2026
756f825
🐛 Bugfix: Implement max steps reached handling in chat system (#2860)
Zhi-a Apr 25, 2026
ef92dd3
✨feat:add model-monitoring (#2841)
DongJiBao2001 Apr 27, 2026
df61b72
🐛 Bugfix: Enhance prompt generation with knowledge base display names…
Zhi-a Apr 27, 2026
6a6d288
Enhance ToolTestPanel to support dynamic KB selection based on tool t…
Zhi-a Apr 27, 2026
aae2aad
修改oauth登录跳转页 (#2876)
hhhhsc701 Apr 27, 2026
fcf4c44
✨ Support multi-turn and more complicated NL2Skill (#2871)
Jasonxia007 Apr 27, 2026
55079a6
feature: Enhance agent context management with compression and metric…
JasonW404 Apr 27, 2026
ccd30d9
🐛 Bugfix: Multi-turn dialogues and file uploads are not working prope…
YehongPan Apr 28, 2026
4422cc6
✨feat:add haotian knowledge base search tool (#2878)
DongJiBao2001 Apr 28, 2026
c998b4e
✨ Feat: Enhance final answer generation with streaming support (#2873)
Zhi-a Apr 28, 2026
70bffa7
🔧 Fix: Ensure knowledge_base_names is always included in template con…
Zhi-a Apr 28, 2026
072a2ad
fix: add enable_context_manager column to init.sql files (#2883)
JasonW404 Apr 28, 2026
374de1c
✨ Enhance OpenAIModel error handling and chunk processing (#2886)
Zhi-a Apr 28, 2026
66a5718
🐛 Bugfix: expose URL via the northbound api to allow third-party MCP …
xuyaqist Apr 28, 2026
0cc4e7e
🐛 Bugfix: Fixes the issue where external APIs cannot be converted to …
YehongPan Apr 28, 2026
22645cc
🐛 Bugfix: Fixed the issue of the session deletion interface reporting…
YehongPan Apr 28, 2026
724990b
Bugfix: Overwrite agent draft info when rolling back version (#2893)
xuyaqist Apr 28, 2026
bd052c7
🐛 Bugfix: always include knowledge_base_names in prompt template cont…
xuyaqist Apr 29, 2026
6eb981b
Bugfix: force refresh agent info when needed (#2901)
xuyaqist Apr 29, 2026
a7809ba
🐛 Bugfix: Modify callbackBaseUrl in the Kubernetes deployment environ…
YehongPan Apr 29, 2026
03774ff
hide model api key for security (#2900)
SimengBian Apr 29, 2026
fdaeda1
Update overview docs to fit version 2.1.0 (#2906)
SimengBian Apr 29, 2026
a04d2ec
Update App Version
Dallas98 Apr 29, 2026
53f270c
🐛 Bugfix: Files in knowledge base creation cannot be previewed and fi…
Jasonxia007 Apr 30, 2026
f6949c5
Merge branch 'main' into release/v2.1.0
Dallas98 Apr 30, 2026
fdaa59f
Merge pull request #2910 from ModelEngine-Group/release/v2.1.0
Dallas98 Apr 30, 2026
5f893cf
Merge pull request #2912 from ModelEngine-Group/release/v2.1.0
Dallas98 Apr 30, 2026
57f3f97
🐛 Bugfix: Resolve rotation reverse issue and replace scrollbar with d…
Stockton11 May 6, 2026
c1d47f7
🐛 Bugfix: Fixed the issue of conversation history not being saved cor…
YehongPan May 6, 2026
471b2ad
🐛 Bugfix: Fixed the issue of conversation history not being saved cor…
YehongPan May 6, 2026
3281bff
✨ Feat: Enhance final answer prompts for maximum step limit (#2930)
Zhi-a May 7, 2026
046169f
import ali and volc stt model (#2934)
wadecrack May 8, 2026
9c92a07
🐛 Bugfix: Fixed the issue where VLM could not be added properly witho…
YehongPan May 11, 2026
a4978ea
📝 Doc: Add API to MCP service documentation (#2905)
YehongPan May 11, 2026
17915e3
📝 Doc: Add API to MCP service documentation (#2960)
YehongPan May 11, 2026
dd4aed6
📝 Docs: Revise docs and register hint to guide user star our repo (#2…
SimengBian May 11, 2026
2dec40d
🐛 Bugfix: modify sql name (#2949)
Zhi-a May 11, 2026
2d0bec5
🔧 Chore: Extend pipeline trigger scope and implement automatic image …
Dallas98 May 11, 2026
fa10711
:sparkles: Feat: Auto generate summery for vector database (#2877)
MoeexT May 11, 2026
defef26
Feat: Improve processing speed (#2832)
yzAiden May 11, 2026
b9ef213
✨ Feat:Add support for new filetypes (#2429)
yzAiden May 12, 2026
5c23ad5
🐛 Bugfix: add embedding_model_id to knowledge base records (#2938)
Zhi-a May 12, 2026
64b84ba
✨Feat: support Nacos A2A Client (#2935)
xuyaqist May 13, 2026
11db603
📃 Docs:Update skill documents (#2971)
Jasonxia007 May 13, 2026
581d0cf
Chore: add three components to the sdk layer dependency (#2972)
yzAiden May 13, 2026
f578526
🐛 Fixed an issue where tool calls were not processed correctly when i…
YehongPan May 13, 2026
97c7c63
🐛 Fixed an issue where the model output history was not included duri…
YehongPan May 14, 2026
90e2ee1
🐛 Bugfix: change to lazy import to decouple data-process and config (…
Jasonxia007 May 14, 2026
405192b
Bump APP_VERSION to v2.1.1
Dallas98 May 14, 2026
045adc8
🐛 Bugfix: Resolve issue where saving external collaboration agent fai…
xuyaqist May 14, 2026
b8b24c4
Bugfix: Add external northbound a2a url in k8s (#2985)
xuyaqist May 14, 2026
b16ae8c
🐛 Bugfix: Fix file forward failed and missing ijson (#2987)
Jasonxia007 May 14, 2026
4f1b8bb
fix:init model_appid sql (#2989)
Zhi-a May 15, 2026
dc2b29b
fix dashscope add model failed (#2990)
Zhi-a May 15, 2026
49f5dfb
Merge main into release/v2.1.1 (resolve conflicts by keeping release/…
Dallas98 May 15, 2026
7afba8d
Merge pull request #2991 from ModelEngine-Group/release/v2.1.1
Dallas98 May 15, 2026
f70d4eb
Merge pull request #2993 from ModelEngine-Group/release/v2.1.1
Dallas98 May 15, 2026
46832df
Optimize prompt (#2924)
2h0u4n May 18, 2026
ac1417d
📃 Add sql tools document (#3005)
WMC001 May 18, 2026
b4b9f2f
🐛 Bugfix: Avoid directly modifying files in the runtime environment u…
WMC001 May 18, 2026
f03704e
🐛 Bugfix: Auto-clean account when exists in Supabase but not in postg…
xuyaqist May 19, 2026
1614aab
Chore: Add workflow and script for offline deployment package build (…
Dallas98 May 19, 2026
cc8c574
Chore: Add workflow and script for offline deployment package build (…
Dallas98 May 19, 2026
08d2a1f
feat: add prompt template management for agent generation (#2925)
2h0u4n May 20, 2026
70c360e
Feature:Refine and internationalize OAuth account completion flow (#2…
hhhhsc701 May 21, 2026
f87b1cb
Feat: Enhance monitoring with OpenTelemetry, Grafana, and new provide…
hhhhsc701 May 21, 2026
436604b
✨ Feat: support user to configurate model concurrency limit and timeo…
xuyaqist May 21, 2026
1b93a61
✨ Support modifying passward #2809 (#3016)
WMC001 May 22, 2026
ee181cf
♻️ Mcp Tools Management Page Development (#2771)
HelloWorldGitHub114 May 25, 2026
8ad3cb6
♻️ Performance optimization of the knowledge base file list query int…
WMC001 May 26, 2026
5c68af4
✨ Skill ability enhancement and bug fix (#3017)
Jasonxia007 May 26, 2026
8ce248b
🐛 Fixes the model addition issue in ModelEngine. (#3026)
YehongPan May 26, 2026
d0298f9
Feat: support user to add and use tts model (#2959)
wadecrack May 26, 2026
5eeef3c
🐛 Bugfix: Cannot generate agent prompt (#3028)
Jasonxia007 May 26, 2026
e85f6a6
♻️ Refactor: Optimize agent page layout & refactor agent generate pag…
xuyaqist May 27, 2026
9cb445a
Optimize deployment scripts and improve Helm chart instructions (#3029)
hhhhsc701 May 27, 2026
d543d96
♻️ Add v2.2.0 shell script to update the directory of skills (#3035)
Jasonxia007 May 27, 2026
d4ab4e8
Feat: Add vision-language model classification and audio understandin…
827dsl May 27, 2026
8a6be81
feat: Support image extraction & retrieval for office/PDF documents (…
yzAiden May 27, 2026
d44777d
feat: support multi-turn compare sessions (#3012)
2h0u4n May 27, 2026
533fea1
♻️ Improvement: Supports adding custom headers when adding MCP servic…
YehongPan May 27, 2026
179c602
Fix markdown table code block diaplay eccentrically (#2992)
MoeexT May 28, 2026
3db588c
Support adding models individually and Fix audio tools (#3049)
827dsl May 28, 2026
d5ecd3f
🐛 Bugfix: Fix the issue with permission control for released agents. …
YehongPan May 28, 2026
fd69d10
:bug: Add detail error message in debug mode (#2977)
MoeexT May 28, 2026
e2c75c6
🐛 Bugfix: Fix iData tool call error. (#3054)
YehongPan May 28, 2026
d79a95b
✨ Feat: Context management refactoring. Add benchmark for agent conte…
JasonW404 May 28, 2026
1e2bb04
✨ feat: increase agent max_steps default to 15 and widen bounds to 30…
JasonW404 May 28, 2026
31a8966
🐛 Bugfix: Fix no password check when creating tenant admin (#3061)
WMC001 May 28, 2026
132c788
refactor: remove unnecessary interactions (#3065)
yzAiden May 28, 2026
000832b
feat: Add Link App OAuth provider support and update related configur…
hhhhsc701 May 28, 2026
15cece9
✨ Feat: add ASSET_OWNER role, enforce asset visibility, and refine no…
Lifeng-Chen May 29, 2026
9b617a0
knowledge_base_search工具参数中添加了index_names输入参数 (#3078)
yzAiden May 29, 2026
0302eab
🐛 Bugfix: Disable tool and skill selection when user is not in edit m…
xuyaqist May 29, 2026
c8710cd
Bugfix: when user login or register, do not open session expire modal…
xuyaqist May 29, 2026
44f6b51
♻️ Add log of tool execution (#3081)
WMC001 May 29, 2026
b50aca7
♻️ Docker sql duplicate fix (#3080)
Jasonxia007 May 29, 2026
87bbdbd
Style: Align agent dropdown list width with parent component (#3113)
xuyaqist May 30, 2026
54765ed
feat(model): optimize model type labels and max token input (#3117)
Dallas98 May 30, 2026
c910933
Bugfix: Disable skill buttons when page is not in edit mode (#3120)
xuyaqist May 30, 2026
60818b3
Fix deployment persistence and sync monitoring environment variables …
hhhhsc701 May 30, 2026
622ffdd
feat: require OAuth signup and merge cross-tenant agent lists (#3086)
Lifeng-Chen Jun 1, 2026
9f3d843
🐛 Bugfix: Fix MCP integration by ignoring proxy environment variables…
xuyaqist Jun 1, 2026
b478f58
Add deployment script guidance for monitoring and OAuth (#3168)
hhhhsc701 Jun 1, 2026
4d5422d
🐛 Bugfix: Batch add dashscope embedding model failed to calculate emb…
Jasonxia007 Jun 2, 2026
9fa4d5c
Bugfix: Store created_by when rolling back version (#3175)
xuyaqist Jun 2, 2026
2d81927
📃 Add multimodal tools document (#3177)
WMC001 Jun 2, 2026
c7a0bac
🐛 Bugfix: Constraints and Examples falsely generated when user didn't…
Jasonxia007 Jun 2, 2026
4029ff4
Fix: Update DashScope provider for realtime WebSocket and translation…
Dallas98 Jun 2, 2026
2ffde75
add_epub_dependency (#3176)
yzAiden Jun 3, 2026
464c344
Bump APP_VERSION from v2.1.1 to v2.2.0
Dallas98 Jun 3, 2026
517b67f
Merge branch 'main' into develop
Dallas98 Jun 3, 2026
a57538f
Merge pull request #3183 from ModelEngine-Group/develop
Dallas98 Jun 3, 2026
e046431
add_greeting_fields_to_agent-develop
Zzzxxxxy Jun 3, 2026
9d10fc2
feat(knowledge-base): add preserve_source_file and post-index source …
Lifeng-Chen Jun 4, 2026
80bd159
test(data_process): stub knowledge_db, redis_service, and redis in te…
Lifeng-Chen Jun 4, 2026
571ab07
test(data_process): shim cleanup_source for submit_process_forward_ch…
Lifeng-Chen Jun 4, 2026
18d4c13
remove duplicate import
Zzzxxxxy Jun 4, 2026
d093dcb
fix: update unit tests for greeting_message and example_questions fields
Zzzxxxxy Jun 4, 2026
19fe184
add init.sql to sonar.properites
Zzzxxxxy Jun 4, 2026
d7634ab
Chore:Add agent greeting message and example questions
Dallas98 Jun 4, 2026
96944a0
feat: fix conflict
Lifeng-Chen Jun 4, 2026
2273fd8
Merge pull request #3189 from ModelEngine-Group/clf/lianyong_0604
Dallas98 Jun 4, 2026
119af70
♻️ Improvement: API to MCP conversion service supports configuring he…
YehongPan Jun 5, 2026
ff1b0d1
♻️ Improvement: Enhance processing of ES index names in memory banks.…
YehongPan Jun 5, 2026
4ee7f58
feat: add active memory tools (StoreMemoryTool, SearchMemoryTool) (#3…
JasonW404 Jun 5, 2026
64a0c11
🐛 Bugfix: skill names and descriptions never load to context (#3205)
Jasonxia007 Jun 8, 2026
6933428
Feat: add selected count badges to tool/skill pool labels (#3206)
jeffwu-1999 Jun 9, 2026
3e4873d
🐛 Bugfix: Fix attribution error when tool calling error (#3208)
WMC001 Jun 9, 2026
9de2bd5
✨ Feat: Add support for Word document generation, preview, and downlo…
xuyaqist Jun 9, 2026
b4e6fe4
✨Feat:Enhance prompt optimization by integrating openjiuwen and fix r…
DongJiBao2001 Jun 9, 2026
29eabf8
Add CAS SSO integration and improve logout handling (#3072)
hhhhsc701 Jun 9, 2026
54bee0f
🐛 Bugfix: skill names and descriptions never load to context (#3207)
Jasonxia007 Jun 9, 2026
b45d64d
Merge branch 'main' into develop
Dallas98 Jun 9, 2026
a4d499d
🐛Bugfix: Remove unnecessary dependency exclusions and upgrade hugging…
DongJiBao2001 Jun 9, 2026
b6b6027
refactor: move current time from system prompt to user message for pr…
wuyuanfr Jun 9, 2026
109a915
🐛 Bugfix: Fixed the issue of being unable to add MCP services via con…
YehongPan Jun 11, 2026
81bb802
🐛 Bugfix: Fixed the issue where uploaded text files could not be pars…
YehongPan Jun 11, 2026
4dd04b3
🐛 Bugfix: Fixed an issue where the MCP service could not be added cor…
YehongPan Jun 11, 2026
8961efc
🐛 Bugfix: Fix incomplete display of tenant resources page after windo…
xuyaqist Jun 11, 2026
2087080
Add agent marketplace repository and version pinning for sub-agents (…
Lifeng-Chen Jun 16, 2026
b9d2229
feat(agent): add verification configuration for agents and update rel…
Dallas98 Jun 16, 2026
fe9c5f0
🐛 Bugfix: Fix inability to select agent from agent space to edit (#3240)
xuyaqist Jun 16, 2026
7be83d7
Update data agent and ME CAS integration documentation (#3242)
hhhhsc701 Jun 16, 2026
4a0e4ee
✨ Add several northbound apis (#3223)
Jasonxia007 Jun 16, 2026
b578855
refactor: simplify deployment script by removing unused variables and…
Dallas98 Jun 16, 2026
a2e05a9
🐛 Bugfix: Adjust agent detail UI layout to accommodate newly added "s…
xuyaqist Jun 16, 2026
6765940
✨Feat: Add AIDP search tool https://github.com/ModelEngine-Group/nexe…
DongJiBao2001 Jun 18, 2026
350f9f2
补充sql (#3248)
hhhhsc701 Jun 18, 2026
35fce96
🐛 Bugfix: Fixed an issue where the MCP service failed to start in a K…
YehongPan Jun 18, 2026
2eb724f
🐛 Bugfix: knowledge_base_search_tool called with TypeError: argument …
Jasonxia007 Jun 18, 2026
8dde21f
🐛 Bugfix: Fixed an issue where the one-click rename function failed a…
YehongPan Jun 18, 2026
09cc600
Bugfix: Exclude attachments from assistant when saving conversation h…
xuyaqist Jun 18, 2026
f5bbab1
Bump APP_VERSION from v2.2.0 to v2.2.1 (#3268)
YehongPan Jun 18, 2026
20af495
Release/v2.2.1 (#3270)
YehongPan Jun 18, 2026
2b1ae47
Revert "Release/v2.2.1 (#3270)" (#3274)
WMC001 Jun 18, 2026
9e1d8ff
Release/v2.2.1 (#3275)
WMC001 Jun 18, 2026
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
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"permissions": {
"allow": []
}
}
4 changes: 1 addition & 3 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ build/
*.tgz

# Backend
backend/assets/*
!backend/assets/test.wav
backend/flower_db.sqlite
uploads/
test/
Expand All @@ -60,4 +58,4 @@ assets/
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
Thumbs.db
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
4 changes: 2 additions & 2 deletions .github/workflows/auto-build-data-process-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ concurrency:
on:
workflow_dispatch:
pull_request:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'backend/**'
- 'sdk/**'
- 'make/data_process/**'
- '.github/workflows/**'
push:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'backend/**'
- 'sdk/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-build-doc-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ concurrency:
on:
workflow_dispatch:
pull_request:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'doc/**'
- '.github/workflows/**'
push:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'doc/**'
- '.github/workflows/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-build-main-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ concurrency:
on:
workflow_dispatch:
pull_request:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'backend/**'
- 'sdk/**'
- 'make/main/**'
- '.github/workflows/**'
push:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'backend/**'
- 'sdk/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-build-mcp-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ concurrency:
on:
workflow_dispatch:
pull_request:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'backend/**'
- 'sdk/**'
- 'make/mcp/**'
- '.github/workflows/**'
push:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'backend/**'
- 'sdk/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-build-terminal-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ concurrency:
on:
workflow_dispatch:
pull_request:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'make/terminal/**'
- '.github/workflows/**'
push:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'make/terminal/**'
- '.github/workflows/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto-build-web-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ concurrency:
on:
workflow_dispatch:
pull_request:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'frontend/**'
- 'make/web/**'
- '.github/workflows/**'
push:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'frontend/**'
- 'make/web/**'
Expand Down
28 changes: 4 additions & 24 deletions .github/workflows/auto-unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ on:
required: false
default: '["ubuntu-24.04-arm"]'
pull_request:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'backend/**'
- 'sdk/**'
- 'test/**'
- '.github/workflows/**'
push:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'backend/**'
- 'sdk/**'
Expand All @@ -36,7 +36,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'

- name: Install uv
run: pip install --upgrade uv
Expand Down Expand Up @@ -68,26 +68,7 @@ jobs:
echo "✅ All tests passed successfully."
fi

# Detect architecture
- name: Detect architecture
id: arch
run: echo "arch=$(uname -m)" >> $GITHUB_OUTPUT

# Use Python uploader on ARM
- name: Upload coverage to Codecov (Python uploader on ARM)
if: startsWith(steps.arch.outputs.arch, 'arm') || startsWith(steps.arch.outputs.arch, 'aarch64')
run: |
pip install --upgrade codecov
codecov \
-t ${{ secrets.CODECOV_TOKEN }} \
-f test/coverage.xml \
-F unittests \
-n codecov-umbrella \
-v

# Use official action on x86
- name: Upload coverage to Codecov (Official Action on x86)
if: steps.arch.outputs.arch == 'x86_64'
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
files: test/coverage.xml
Expand All @@ -96,4 +77,3 @@ jobs:
name: codecov-umbrella
fail_ci_if_error: false
verbose: true
directory: .
4 changes: 2 additions & 2 deletions .github/workflows/auto-web-check-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ on:
description: 'runner array in json format (e.g. ["ubuntu-latest"] or ["self-hosted"])'
default: '["ubuntu-latest"]'
pull_request:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'frontend/**'
- '.github/workflows/**'
push:
branches: [develop]
branches: [develop, 'release/**', 'hotfix/**']
paths:
- 'frontend/**'
- '.github/workflows/**'
Expand Down
105 changes: 105 additions & 0 deletions .github/workflows/build-offline-package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
name: Build Offline Deployment Package

on:
workflow_dispatch:
inputs:
include_source:
description: 'Include source code in the package'
required: false
default: true
type: boolean

jobs:
build-offline-package:
runs-on: ubuntu-latest
strategy:
matrix:
platform: [amd64, arm64]

steps:
- name: Free disk space
uses: jlumbroso/free-disk-space@main
with:
tool-cache: false
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: false
swap-storage: true

- name: Checkout code
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set version and platform variables
id: set-vars
run: |
PLATFORM="${{ matrix.platform }}"
REF_TYPE="${{ github.ref_type }}"
REF_NAME="${{ github.ref_name }}"

if [ "$REF_TYPE" = "tag" ]; then
VERSION="$REF_NAME"
elif [ "$REF_TYPE" = "branch" ]; then
if [ "$REF_NAME" = "main" ]; then
VERSION="latest"
else
VERSION="${REF_NAME//\//-}"
fi
else
VERSION="latest"
fi

echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "platform=$PLATFORM" >> $GITHUB_OUTPUT
echo "package-name=nexent-offline-${PLATFORM}-${VERSION}" >> $GITHUB_OUTPUT

- name: Build offline package
run: |
chmod +x scripts/offline/build_offline_package.sh

./scripts/offline/build_offline_package.sh \
--version "${{ steps.set-vars.outputs.version }}" \
--platform "${{ matrix.platform }}" \
--output-dir ./offline-output \
--include-source "${{ inputs.include_source }}"



- name: Create ZIP package
run: |
PACKAGE_NAME="${{ steps.set-vars.outputs.package-name }}"

cd offline-output
zip -r "../${PACKAGE_NAME}.zip" .
cd ..

echo "Package created: ${PACKAGE_NAME}.zip"

ls -lh "${PACKAGE_NAME}.zip"

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ steps.set-vars.outputs.package-name }}
path: ${{ steps.set-vars.outputs.package-name }}.zip
retention-days: 30

- name: Summary
run: |
echo ""
echo "========================================"
echo "Offline Package Build Summary"
echo "========================================"
echo "Version: ${{ steps.set-vars.outputs.version }}"
echo "Platform: ${{ matrix.platform }}"
echo "Package: ${{ steps.set-vars.outputs.package-name }}.zip"
echo "Ref Type: ${{ github.ref_type }}"
echo "Ref Name: ${{ github.ref_name }}"
echo "========================================"
echo ""
echo "Package contents:"
unzip -l "${{ steps.set-vars.outputs.package-name }}.zip" | head -50
Loading
Loading