Skip to content

Tocharian AI — release test checklist

Run this list for every release and for every Kibana version the plugin is built for. Write the results into a copy of the table at the end (one row per item: pass / fail / not applicable, plus a note).

  • First run the automated release check of that version: tools/tests/remote.sh <kibana version> (see tools/tests/README.md). It builds the plugin, starts a temporary Elasticsearch + Kibana of that version, seeds test data and checks the API and the browser (charts in answers, selections, dashboard panels, masking, a read-only user) with a scripted model, and writes a report with screenshots. Preparation P1–P5 and most of §10a are covered by it.
  • [A] items are covered by tools/smoke-test.mjs (API level). Run the script first; then do the [M] items by hand in the browser, with a real model.
  • “Admin” means a user with the all privilege of the Tocharian AI feature (for example elastic). “Limited user” means a user with the read feature privilege and read access to only one or two indices.
  • Check every UI item in both light and dark theme (Profile menu → Appearance) and at a narrow window (about 1000 px wide).
IDStepExpected
P1Build: node ../../scripts/plugin_helpers build --kibana-version <version>The build log contains no ERROR; the zip is in build/.
P2Install the zip in a test Kibana of that version and restart.Kibana starts. The log has no ERROR mentioning tocharian. GET /api/status is available.
P3Create the limited user: a role with feature privilege Tocharian AI read, read + view_index_metadata on one test index, and nothing else.The user can sign in.
P4Configure a model (settings page) and press Test connection.“Connected · <n> ms”.
P5Have test data: one index with e-mail addresses, phone numbers and card numbers in text and keyword fields (for masking), and one with a time field (for questions).—
IDStepExpected
S1 [A]GET /internal/tocharian_ai/config as admin.status.pluginVersion is the new version; status.profileIndex is .kibana-tocharian-ai-profiles, status.auditDataStream is .kibana-tocharian-ai-audit.
S2 [A]Upgrade from the previous version with data (profiles, notes, conversations, activity records), then open the app as admin.Everything is still there; counts match the ones before the upgrade.
S3 [A]Ask a question as the limited user.An tocharian_ai.ask record with user.name = limited user appears in .kibana-tocharian-ai-audit (no API key configured).
S4Limited user adds a personal note in the catalog.Saved (no permission error).
S5Restart Kibana.Starts; the app works; nothing is migrated twice.
IDStepExpected
L1 [A]GET /internal/tocharian_ai/licenseShows the installed license (or none).
L2Upload a valid license (settings page, file and paste).Status active, company, type, expiry and features shown.
L3Upload a tampered license (change one character of issuedTo).Rejected: signature invalid. Previous license stays.
L4License with maxVersion lower than the plugin version.Status invalid / not valid for this version.
L5License expired less than 14 days ago.Status grace, days left shown; enterprise features still work.
L6License expired more than 14 days ago.Masking keeps applying its rules but they cannot be changed; read-write mode still works and its limits keep their last values, which can only be removed; dashboards install refused.
L7Remove the license.Free edition: chat and read-write mode work; masking, the read-write controls and the dashboards are locked with a hint. Restrictions saved earlier stay and can only be removed.
L8Export the usage report.JSON file downloads; contains counts for the last 30 days; nothing is sent anywhere.
IDStepExpected
C1 [A]Ask a simple counting question about the test index.Answer with evidence: query, hit count, table. The number matches a manual query.
C2Ask a follow-up (“and yesterday?”).Uses the earlier context.
C3Ask about data the limited user cannot read (as the limited user).The AI says it has no access; no data from that index appears.
C4Ask in English and in another language (e.g. Chinese).The UI stays English; the answer is in the language of the question.
C5Long question that needs several queries.Steps show live; final answer cites evidence ids; no empty answer.
C6Press Stop during a run.Run stops on the server; “Stopped” shown; draft kept.
C7Conversation list: new conversation appears at once; rename / delete work; the running icon shows while a run is active.—
C8Evidence table: open in Discover link works; copy query works.—
IDStepExpected
B1Start a question, close the tab, reopen the conversation after a few seconds.The run continued; progress is replayed; final answer arrives.
B2Switch on Background investigation, start, go to Discover.A toast “finished” appears with View result; it opens the conversation.
B3 [A]GET /internal/tocharian_ai/runs/active while a run is active.Lists the run.
B4Restart Kibana while a run is active, then open the conversation.Marked “interrupted” with a retry button; retry works. (Same on every version in this release; see “Version-specific behaviour”.)
B5Two users ask at the same time; one user asks in two conversations at the same time.All run in parallel. A second question in the same conversation while one is running is refused with “still being answered”.
IDStepExpected
A1 [A]POST /api/tocharian_ai/investigations with wait: 120.status: done, answer and evidence.
A2 [A]Same with wait: 0, then GET /api/tocharian_ai/investigations/{id} until done.First running, later done.
A3Call with an API key of a user who cannot read the index.No data from that index.
A4Call from a webhook connector of an alerting rule.Investigation recorded; visible in the user’s conversations.
IDStepExpected
M1Scan the test index in the catalog.E-mail / phone / name fields are suggested as sensitive.
M2Admin changes a field to not sensitive, partly hidden, not provided.Saved; a rescan keeps the admin’s choice.
M3Limited user opens the catalog.Sensitivity shown as badges, not editable.
M4Ask for the e-mail addresses of some records.Answer shows real values; the request sent to the model contains only code names (check with a logging proxy as the model base URL, or the model provider’s request log).
M5Ask to filter by one e-mail address the user types.The query runs with the real value; hits are correct.
M6Masking switched off in settings.Real values are sent (and the settings show it is off).
M7Card numbers that fail the Luhn check, normal numbers, dates, IPs.Not masked (no false positives).

Read-write mode allowed in the settings, every kind of change allowed. For every K item: the card shows exactly what will happen; nothing changes before Confirm; Cancel changes nothing; after confirming, the link opens the object. Use names starting with TEST and delete everything afterwards.

IDStepExpected
K1Ask “which dashboards do we have about X”.Lists dashboards with links.
K2On a dashboard, ask about one of its panels (header button).Uses the panel definitions.
K3Ask about recent alerts / rules / cases / connectors.Lists them; numbers match the Kibana pages.
K4Create a dashboard with dataset panels (metric, line over time split by a field, bar top N, donut, table) and an options control.Preview has real rows per panel; after confirm every panel renders without error; the control filters the panels; a missing data view for the control is created and named on the card.
K5Change that dashboard: add ES|QL panels (area over time, heatmap, tag cloud, gauge), replace one panel, remove one.Same; the replaced panel keeps its place; the removed one is gone; nothing else changes.
K6Ask for a panel with a wrong field or a broken ES|QL query.No card; the model gets the error (with similar field names) and fixes it.
K7Create a case; update status, severity, tags, assignee; attach alerts (by filter); push it (with and without a case connector).All applied in the case. Without a Jira / ServiceNow … connector the push is refused with the reason.
K8Change the status and tags of a few security alerts, then revert.Only the listed alerts change. A filter matching more than intended shows the larger count on the card (cancel it).
K9Create rules of each type (esql, kql per field, index_threshold, custom_threshold), disabled, one with a server-log connector action.The card shows the dry-run result, “Enabled: no” and the action; the rules exist with these settings.
K10Create security detection rules (query, eql; optionally esql, threshold, new_terms), disabled.Created in Security → Rules with the given severity; dry-run counts on the card.
K11Manage a rule: enable, snooze, unsnooze, update interval and tags, clone and rename, disable, delete; update a detection rule’s severity.Each applied; other rules untouched.
K12Index write: propose documents, edit them in the card, confirm.Written with the user’s own privileges (fails for a user without write access).
K13The model’s description of a card differs from the card.The model states what the card says (the card is the truth).
K14Any K item in read-only mode, or with its kind cleared under Changes it can propose.Refused with the reason; no card.
K15Read-write limited to a role the user lacks; then to one kind of change; then a card confirmed after its kind was cleared.Switch greyed out with the reason; only that kind’s tools offered; the card ends in not allowed by the read-write settings. The release check covers this (api_test.py).
IDStepExpected
D1 [A]GET /internal/tocharian_ai/catalog as admin and as limited user.Limited user sees only readable datasets, and no notes about other datasets.
D2Open a dataset: fields, types, top values, time range.Correct; no layout overflow.
D3Edit a field meaning; confirm it (admin).Saved; with data view sync on, the data view field description is updated.
D4AI proposes a note in chat; save as personal and as shared.Saved with the right scope; shared needs admin confirmation.
D5Delete a note as its author and as another non-admin user.Author: deleted. Other user: refused.
IDStepExpected
U1Header button on Discover, Dashboard, Lens, Index Management.Flyout opens; current query / time range / open document / dashboard panels are passed.
U2Click a document in Discover, then ask “explain this document”.The open document is used.
U3Dashboard panel action “Ask Tocharian AI”.Opens with that panel as context.
U4Settings page: every section saves; read-only view for users without all.No console errors.
U5All pages in light and dark theme, also with the browser and Kibana set to another language.Everything is in English; no unreadable text, no overlapping elements, no horizontal scroll.
U6Logo in the side navigation, app tile and flyout header.Shown correctly in both themes.

Open the flyout on the page, click the inspect icon (What Tocharian AI sees), then ask “what am I looking at, and is anything wrong here?”.

IDStepExpected
W1Every route of docs/page-awareness.md through POST /internal/tocharian_ai/page_context/preview (route + time range, as admin).Each returns its provider; no call errors except “not available” for missing features; each call result within its limit; response in seconds.
W2Same as a user with read on one index only.Protected calls say “not available (… unauthorized …)”; nothing from other indices, users, keys, rules.
W3ML overview: ask which jobs run and which have problems.Job counts and states match the page; failed job and datafeed reason named; no guessing from .ml-anomalies documents.
W4Security alerts with the default page filters.Alert total equals the page’s count (status filter applied, building block alerts hidden); rule health counts all rules.
W5Dashboard: ask for the highest point and the total of one chart.Exactly the chart’s values (from its summary); times in the user’s time zone.
W6Dashboard with 20+ charts.Every chart named (untitled ones by their value labels); size within the limit; nothing overflows.
W7Index management, Fleet agents, Dev Tools console, Discover with a document open.Table rows (with names), messages, the console request, the open document are in “What Tocharian AI sees”.
W8read_api: cluster health / ILM errors; then ask for _security/api_key.Answers with evidence; the API key path is refused by the allow-list.
W9API key and Fleet enrollment token pages.Names, owners, expiry only; never key or token values.
W10Dashboard with a time chart (30 min buckets, last 24 h): ask “which time is the highest?” and “what is the total?”.Same value and time as the chart’s tooltip, in the user’s time zone; total equals the sum of every bar; 0 queries.
W11Same dashboard: ask the share of one slice of a pie chart and of one bar of a top-N chart.Same percentage as the pie shows (same decimals); for bars the answer says it is a share of the categories the chart shows.
W12Ask “which time is the highest, in another time zone” (e.g. Stockholm when Kibana shows Shanghai).Correct conversion from the chart time; no new query.
W13Ask for a comparison with the previous period.Current numbers from the chart; previous-period numbers marked as coming from a new query or the re-run.
IDStepExpected
E1Open the flyout twice on a page.Opens empty each time; the latest conversations are listed; one click continues one.
E2Conversations menu in the flyout: search, switch.The chosen conversation loads in place; the running icon shows for running ones.
E3Background run finishes while on another page.The toast’s View result opens it in the flyout on that page.
E4Regenerate the last answer.One question, one new answer; old evidence gone (ids start again).
E5Ask two questions, edit the first.Note “answers after this question are replaced”; afterwards one question and its new answer; the model does not remember the removed turns.
E6Edit while a run is active / in someone else’s conversation.Not possible (no edit icon while running; not found for others).
IDStepExpected
G1 [A]Install the dashboards in the default space and in another space.Both dashboards open.
G2Reload the dashboards.Every panel renders: no “error”, no empty charts while there are records, metric titles shown once.
G3After asking a few questions, the counts, tokens and cost move.—
G4A user without read access to .kibana-tocharian-ai-audit opens the dashboard.Empty panels / permission message (expected: grant read on that data stream to people who need the dashboards).
G5 [A]Open the flyout on a dashboard with time series panels (e.g. [Logs Nginx] Access and error logs, last 24 h).“N noticeable change(s)” with the strongest ones, or “no noticeable changes”; skipped panels listed in the tooltip.
G6Click Explain these changes.The answer cites the re-run panel evidence and breaks the changes down (source, host, status…).
G7Change the time range / add a filter, reopen the flyout.The check uses the new search state.
G8Dashboards with formulas, last value, ad hoc data views, legacy visualizations (e.g. [Metrics System] Host overview, Kubernetes, a custom one).Panels re-run; panels with time shift, reduced time range or counter rate are skipped, never shown with wrong numbers.
IDStepExpected
L1On a dashboard, ask “show me the <panel title> panel”.A card with that one panel rendered by the dashboard itself (same look, panel menu, controls if any), badge “From dashboard: <title>”; same picture as on the dashboard (same time, query, filters).
L2Change the dashboard time range or add a filter, ask again.The new card follows what is on screen; the earlier card keeps its own time range.
L3From the app (not on the dashboard), ask to show a panel of a named dashboard.The panel shows with the dashboard’s saved time (if it stores time) or the current time range.
L4Ask for a Markdown, TSVB, Vega, map or saved-search panel.It shows like any other panel.
L5Ask about an old period (“orders on 1–7 March 2025, as a chart”).The answer’s numbers and the chart match: the chart card says “chart of evidence E<n>” and shows the same window. If a dashboard panel is shown instead, its time range is that period.
L6Ask for a top-N bar chart, a pie and a metric on data without a fitting dashboard.Each draws from an evidence; labels are readable column names.
L7Click Open in Lens on a temporary chart; save it, add it to a dashboard.Lens opens in a new tab with the chart; saving works as in Lens.
L8Click Open dashboard on a dashboard panel card, in the default space and in another space.The right dashboard opens in the right space.
L9Reload the conversation (or open it later).The cards render again over their saved time ranges.
L10A user without read access to the panel’s data.The panel shows Kibana’s own permission error; the rest of the answer is unaffected.
L11Ask for more than four charts.At most four cards; the answer says no more are shown.
L12Open the dashboard itself after L1–L5.Nothing changed on it (no unsaved-changes badge, same time range and view mode).

Delete test users, roles, spaces, cases, rules, test indices and their profile documents (POST .kibana-tocharian-ai-profiles/_delete_by_query with dataset_id).

Behaviour8.17, 8.18, 9.08.19, 9.1 and later
Runs after a Kibana restartInterrupted, user retriesSame today (Task Manager with user API keys is available on these versions but not used yet)

Add a row here whenever a version behaves differently.

VersionDateTesterFailed itemsNotes