Commit graph

351 commits

Author SHA1 Message Date
Luke B. Silver
a151959903
Merge branch '1.8.x' into ci/remove-stave-state 2026-02-13 20:54:56 +00:00
loks0n
baa6599cef ci: upgrade docker/login-action from v2 to v3
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 20:53:56 +00:00
loks0n
4326600751 Refactor CI workflows: add COMPOSE_FILE env, add build targets, bump action versions, pin composer
- Add COMPOSE_FILE=docker-compose.yml to tests, benchmark, and sdk-preview to prevent loading overrides in CI
- Add target: development to tests/benchmark builds, target: production to pr-scan/nightly builds
- Bump actions/checkout v4→v6, docker/build-push-action v4/v5→v6, actions/upload-artifact v4→v6, actions/github-script v7→v8
- Pin composer images to 2.8 in linter and static-analysis workflows

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 00:56:03 +00:00
Chirag Aggarwal
b243404a71 chore(ci): add PR comment permissions to retry jobs 2026-02-11 16:53:25 +05:30
Chirag Aggarwal
dcb759e3fe chore(ci): restore retry job metadata inputs 2026-02-11 16:49:59 +05:30
Chirag Aggarwal
5371aa6820 chore(ci): add php-retry to tests workflow 2026-02-11 16:30:29 +05:30
ArnabChatterjee20k
e3aaac7f9f Merge remote-tracking branch 'origin/1.8.x' into pg-adapter 2026-02-06 11:35:38 +05:30
Matej Bačo
a37aa2dd68 Generic abuse test group 2026-01-05 22:51:11 +01:00
ArnabChatterjee20k
ee35322db6 Merge remote-tracking branch 'upstream/1.8.x' into pg-adapter 2025-12-29 16:56:02 +05:30
Darshan
45d5f14b83 add: targets. 2025-12-13 16:43:19 +05:30
Steven Nguyen
babddf2d1e
fix: clarify bold formatting in triage instructions 2025-11-12 11:49:58 -08:00
Steven Nguyen
73d8fbfebc
feat: update issue-triage to process comments for AI spam 2025-11-12 10:56:33 -08:00
Steven Nguyen
09933ce658
refactor: Simplify issue retrieval - use single since query
The list_issues tool's 'since' parameter already filters by updated_at,
which captures both newly created issues AND recently commented issues in
a single query. Removed redundant second query.
2025-11-07 12:28:14 -08:00
Steven Nguyen
b225503dc5
feat: Enhance issue triage with updated criteria
- Include issues updated in last 24 hours (with new comments), not just newly created
- Add non-English content check: detect and request English translation respectfully
- Add multi-topic detection: ask users to split issues with multiple unrelated topics
- Improve spam detection with clear guidance
- Enhanced with empathetic approach for language and topic guidance
- Add parameter hints for list_label tool usage
- Clarify good first issue label application criteria
- Update summary message to reflect new triage scope
2025-11-07 12:26:13 -08:00
Steven Nguyen
a77a279539
fix: update issue-triage workflow
- look for duplicate issues across the org
- fix deprecated timeout_minutes
2025-11-07 12:17:51 -08:00
Steven Nguyen
b1e65725b5
fix: increase safe-outputs limits (labels=100, comments=10) and extend workflow stop-time 2025-11-07 12:01:42 -08:00
Steven Nguyen
84ebbc6993
fix: Enable labels toolset in GitHub MCP server
- Add github tool configuration with 'default' and 'labels' toolsets
- The labels toolset was not enabled by default, causing the agent
  to fall back to bash commands like 'gh label list'
- Now list_label MCP tool will be available to the agent
2025-11-06 15:43:31 -08:00
Steven Nguyen
94db75fd6c
fix: Correct GitHub MCP tool name from list_labels to list_label
The correct tool name in GitHub MCP server is 'list_label' (singular), not 'list_labels' (plural). This was causing the agent to fall back to bash commands like 'gh label list' instead of using the proper MCP tool.
2025-11-06 15:05:45 -08:00
Steven Nguyen
2e4397a951
fix: Use GitHub MCP list_labels tool instead of bash gh command
- Replace 'gh label list' bash command instruction with 'list_labels' GitHub MCP tool
- GitHub MCP tools are already enabled and authenticated, no additional config needed
- Fixes permission denied errors when agent tried to use gh CLI
2025-11-06 14:33:24 -08:00
Steven Nguyen
2f255ce01c
fix: Enable batch mode for issue triage safe-outputs
- Add target: "*" to safe-outputs configuration for add-labels and add-comment
- This allows the workflow to apply comments and labels to multiple issues
  when running in scheduled/manual trigger mode (batch processing)
- Previously, safe-outputs jobs were skipped because they required
  github.event.issue.number which only exists in event-triggered runs
- With target: "*", the workflow now reads issue numbers from the agent
  output and applies changes to each issue individually
2025-11-06 11:50:38 -08:00
copilot-swe-agent[bot]
2f843153da Add duplicate/related issues detection and listing to triage workflow
Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
2025-11-03 20:02:03 +00:00
copilot-swe-agent[bot]
1f9afc8cab Update issue-triage workflow to run daily and process last 24h issues
Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
2025-11-01 15:47:43 +00:00
Steven Nguyen
e5cd093a7b
Apply suggestion from @stnguyen90 2025-10-29 00:45:49 -07:00
copilot-swe-agent[bot]
2078e52798 Add contents: read permission to AI Moderator workflow
Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
2025-10-29 07:16:52 +00:00
Steven Nguyen
37dfce0f5b
Merge pull request #10718 from appwrite/add-workflow-workflows-issue-triage.md-5094
Add agentic workflow issue-triage
2025-10-29 00:04:22 -07:00
Steven Nguyen
eec3d210ee
Add agentic workflow issue-triage 2025-10-28 03:00:30 +00:00
copilot-swe-agent[bot]
b729c8119d Fix parameter name to use 'token' instead of 'github-token'
Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
2025-10-28 02:18:07 +00:00
copilot-swe-agent[bot]
30a093a0d5 Add GitHub AI Moderator workflow
Co-authored-by: stnguyen90 <1477010+stnguyen90@users.noreply.github.com>
2025-10-28 02:16:40 +00:00
Steven Nguyen
21b95c2645
chore: create workflow to auto add labels to issues 2025-10-24 11:24:57 -07:00
Jake Barnby
fb8270733e
Allow running tests with specific response format 2025-09-01 22:09:30 +12:00
Jake Barnby
557bffb350
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
2025-08-22 00:35:12 +12:00
Jake Barnby
42a7f909a2
Fix workflow 2025-08-20 18:01:18 +12:00
Jake Barnby
702058d657
Update workflow 2025-08-18 19:16:27 +12:00
Matej Bačo
746a76dc8e Add extensive build logging 2025-08-16 17:11:27 +02:00
Jake Barnby
3f3319df20
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	composer.lock
2025-08-13 21:04:46 +12:00
Matej Bačo
6eaa2015b0 Fix CI/CD command 2025-08-12 15:18:31 +02:00
Matej Bačo
c3665c35ff Add CI/CD job 2025-08-12 14:14:07 +02:00
Matej Bačo
56d60d7866 Finalized locale check script 2025-08-12 14:09:36 +02:00
Matej Bačo
ea7985ad4d Implement CI/CD action to check EN locale 2025-08-12 13:56:22 +02:00
Darshan
1f31b75582 fix: tests. 2025-07-27 14:48:19 +05:30
Jake Barnby
9ceeb76ad0
Merge branch '1.7.x' into 1.8.x
# Conflicts:
#	app/controllers/api/databases.php
#	composer.lock
#	src/Appwrite/GraphQL/Types/Mapper.php
2025-07-18 17:24:12 +12:00
Matej Bačo
1a3f8bbd48 quality fixes 2025-07-09 14:29:36 +02:00
Matej Bačo
e42275e0b7 Minify tests 2025-07-09 11:26:05 +02:00
Jake Barnby
b2fa28754d
Merge remote-tracking branch 'origin/1.7.x' into 1.8.x
# Conflicts:
#	.github/workflows/benchmark.yml
#	composer.lock
#	src/Appwrite/Event/Database.php
2025-07-04 10:00:45 -04:00
Chirag Aggarwal
bfee98ca87 Merge branch '1.7.x' into feat-exp-scheme 2025-06-30 18:38:25 +05:30
Matej Bačo
4fff9b94f8 Fix benchmark param name 2025-06-25 14:45:58 +02:00
Matej Bačo
4b5fa0652a Merge branch '1.7.x' into fix-rules-platform-check 2025-06-25 14:44:52 +02:00
Matej Bačo
f1590652cb Improve benchmark logging 2025-06-25 14:30:50 +02:00
Christy Jacob
93651c776e chore: fix benchmark CI 2025-06-25 15:32:19 +04:00
Christy Jacob
347f035105 chore: fix benchmark CI 2025-06-25 15:27:51 +04:00