367 Commits

Author SHA1 Message Date
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
Chirag Aggarwal 1a9664a679 chore: fix benchmark 2025-06-25 11:43:18 +05:30
Chirag Aggarwal c331a3caae chore: minor fixes 2025-06-25 11:00:07 +05:30
Darshan 6a74273564 fix: oha as per latest updates. 2025-06-23 12:45:34 +05:30
Darshan b52c49389c fix: oha as per latest updates. 2025-06-23 12:28:14 +05:30
Darshan c93d92abef rename: tests from collections to legacy. 2025-06-19 10:52:15 +05:30
Jake Barnby e704e96290 Revert "Feat: Lazy-load relationships" 2025-06-16 11:48:27 -04:00
Darshan 44870b9810 fix: pending tests. 2025-06-13 10:26:05 +05:30
Darshan df9a6d81fd remove: unnecessary change. 2025-06-12 09:07:56 +05:30
Darshan 6f493e7c29 remove: unnecessary change. 2025-06-12 09:07:22 +05:30