Do upgrade testing of AI 1.2.0-dev from 1.0.4

Created on 2 October 2025, about 1 month ago
Updated 8 October 2025, 28 days ago

Problem/Motivation

Currently all upgrade testing has been with either Drupal Standard installation with all the modules installed or Drupal CMS with the agents installed and it has assumed that you update AI, AI Agents and the provider to 1.2.x branch. This has been working, however there are combinations that has not yet been tested that are possible.

  • AI 1.2.0, AI Agents 1.0.2 and AI provider 1.0.x is possible, if you specifically target to update just AI module.
  • AI 1.2.0, AI Agents 1.1.0 and AI provider 1.0.x is even probable for any provider being used that hansn't updated to function calling.

VDB providers we can assume 1.1.x should be added since its a breaking change. We should test these upgrade paths so:

  1. At least they do not break your website.
  2. Better - everything that isn't the assistant, agents, tool explorer or chat explorer with tools works well.
  3. Event better - you have graceful fallback on assistants and agents that already exists.
  4. Best - you have information that you should update (<- this would require updated code)

How to test

Step #1:

  1. Install Drupal Standard installation.
  2. Fetch AI 1.0.5, AI Agents 1.0.2, OpenAI Provider 1.0.2 (Its the most used provider), Milvus Provider 1.0.2-beta2,
  3. Install AI Core, AI API Explorer, AI Logging, AI Automators, AI CKEditor integration, AI Content Suggestions, AI External Moderation, AI Translate, AI Search, OpenAI Provider, AI Agents, AI Assistant API, AI Chatbot, Milvus VDB Provider..
  4. Setup OpenAI
  5. Setup Milvus
  6. Visit filter formats (/admin/config/content/formats) and add the AI CKEditor button to the full html. Setup Summarize.
  7. Visit AI logging settings (/admin/config/ai/logging/settings) and enable Automatically Log Requests and Automatically Log Responses.
  8. Visit AI Content Suggestions Settings (/admin/config/ai/suggestions) and enabled Summarise text (we should be consistent with summarise/summarize here :) )
  9. Visit AI Assistant configuration (/admin/config/ai/ai-assistant) and setup an assistant using the content type agent - you can give the simple instruction "Forward all calls to the Content Type Agent"
  10. Setup a Chatbot, make sure its not streaming, use the assistant.
  11. Visit Search APi (/admin/config/search/search-api) and setup an server and index pointing at your Milvus and using Articles.
  12. Create a new content type called "Test Automators", where you add a String Long text and enable LLM Text Simple and base it on the title and ask it to write a two sentence story.
  13. Visit Automator chain settings (/admin/config/ai/automator_chain_types) and add an chain called "Story teller" and add a text field and a long text and make the long text write a story of the text field. Set the text field to required.
  14. Visit filter formats (/admin/config/content/formats) again and connect this automator chain where the text field is the input and story field is the output.
  15. Add 10 articles - when creating them try the CKEditor assistants and the Content Suggestions.
  16. Run Search API Indexing if needed.
  17. Setup a view using the index.
  18. Try searching.
  19. Try to create using the Test Automators by just filling in the title.
  20. Try asking the Chatbot "What content type exists on the system?"
  21. Take a database dump
  22. Add a language
  23. Try to translate an article using AI translate

Test #1

  1. Upgrade the AI module to 1.2.x-dev
  2. Run drush updb or the update.php
  3. Flush caches
  4. Try to add an article with the CKEditor assistants tools and Content Suggestions.
  5. Try to translate an article using AI translate
  6. Try to index it.
  7. Check the view if its there and search for it.
  8. Try Test Automators
  9. Try asking the Chatbot "What content type exists on the system?
  10. Visit /admin/config/ai/automator_chain_types
  11. Visit /admin/config/ai/automator_chain_types/add
  12. Visit /admin/config/ai/ai-automators/automators-tool
  13. Visit /admin/config/ai/ai-automators/automators_tool/add
  14. Visit /admin/config/ai/ai-assistant/add
  15. Visit edit page of the assistant you setup
  16. Visit /admin/config/content/formats/manage/full_html
  17. Visit /admin/config/ai/agents
  18. Check /admin/reports/status for status errors
  19. Check /admin/reports/dblog for errors that might be connected to the upgrade

Test #2

  1. Upgrade the AI Agents module to 1.2.x-dev
  2. Run drush updb or the update.php
  3. Flush caches
  4. Try to add an article with the CKEditor assistants tools and Content Suggestions.
  5. Try to translate an article using AI translate
  6. Try to index it.
  7. Check the view if its there and search for it.
  8. Try Test Automators
  9. Try asking the Chatbot "What content type exists on the system?
  10. Visit /admin/config/ai/automator_chain_types
  11. Visit /admin/config/ai/automator_chain_types/add
  12. Visit /admin/config/ai/ai-automators/automators-tool
  13. Visit /admin/config/ai/ai-automators/automators_tool/add
  14. Visit /admin/config/ai/ai-assistant/add
  15. Visit edit page of the assistant you setup
  16. Visit /admin/config/content/formats/manage/full_html
  17. Visit /admin/config/ai/agents
  18. Check /admin/reports/status for status errors
  19. Check /admin/reports/dblog for errors that might be connected to the upgrade

These tests can later be created into recipes and kernel tests.

📌 Task
Status

Active

Version

1.2

Component

Miscellaneous

Created by

🇩🇪Germany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024