[canvas] fix unable to load embeddable when no references are provided#257779
[canvas] fix unable to load embeddable when no references are provided#257779ThomThomson merged 5 commits intoelastic:mainfrom
Conversation
|
/ci |
|
@elasticmachine merge upstream |
|
/ci |
|
/ci |
|
/ci |
| // Test Workpad does not provide time range | ||
| // time range default to last 15 minutes - which has no data | ||
| await lens.assertLegacyMetric('Maximum of bytes', '(null)'); | ||
| await lens.assertLegacyMetric('Maximum of bytes', '16,788'); |
There was a problem hiding this comment.
Turns out workpad did have stored timeRange but transform was throwing so it was never converted to time_range.
| // Test Workpad does not provide time range | ||
| // time range default to last 15 minutes - which has no data | ||
| await lens.assertLegacyMetric('Maximum of bytes', '(null)'); | ||
| await lens.assertLegacyMetric('Maximum of bytes', '16,788'); |
There was a problem hiding this comment.
Turns out workpad did have stored timeRange but transform was throwing so it was never converted to time_range.
|
@elasticmachine merge upstream |
|
/ci |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
|
ThomThomson
left a comment
There was a problem hiding this comment.
Changes LGTM! Canvas is getting much cleaner
|
|
||
| import { ensureLibraryReference } from './ensure_library_reference'; | ||
|
|
||
| describe('ensureLibraryReference', () => { |
| // Test Workpad does not provide time range | ||
| // time range default to last 15 minutes - which has no data | ||
| await lens.assertLegacyMetric('Maximum of bytes', '(null)'); | ||
| await lens.assertLegacyMetric('Maximum of bytes', '16,788'); |
|
Starting backport for target branches: 9.2, 9.3 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
…d_agent_navigation2 * commit 'b511b784a89644463497411bc8cfac03522d43a9': (40 commits) skip failing test suite (elastic#252959) skip failing test suite (elastic#255548) skip failing test suite (elastic#256140) skip failing test suite (elastic#257103) skip failing test suite (elastic#258148) [SharedUX] Add solution view switch callout to spaces plugin (elastic#258093) skip tests consistently failing on ECH (elastic#258157) [EDR Workflows][Osquery] Disable tags for scheduled queries (elastic#258222) [Security solution][Attacks] Add navigation E2E test (elastic#255373) [canvas] fix unable to load embeddable when no references are provided (elastic#257779) docs(streams): update Discovery settings labels and help text (elastic#258328) [ResponseOps] Fixes x-pack/platform/test/alerting_api_integration/spaces_only/tests/alerting/group4/alert_severity.ts flaky test (elastic#258226) [Lens as Code] Fix legend truncation issues (elastic#258216) Upgraded flatted (elastic#258252) [One Discover][Logs UX] Update OpenTelemetry Semantic Conventions (elastic#256613) add Agent Builder compatibility to connectors (elastic#257491) [Obs AI] Add o11y data-generators (OpenRCA and RCAEval) for producing logs, metrics, traces (elastic#256591) [One Workflow] Update execution history UI: show nested workflows steps (elastic#257352) [One Workflow] bulkUpdateSchedules should be called with request to follow auth (elastic#258150) [Agent Builder] Semantic Meta Layer (elastic#254849) ...
elastic#257779) Adds BWC code to canvas that adds library reference when `savedObjectId` is provided but no reference exists.
elastic#257779) Adds BWC code to canvas that adds library reference when `savedObjectId` is provided but no reference exists. (cherry picked from commit 56c6e4f) # Conflicts: # x-pack/platform/plugins/private/canvas/server/embeddable/transform_workpad_out.ts # x-pack/platform/test/functional/apps/canvas/embeddables/lens.ts
elastic#257779) Adds BWC code to canvas that adds library reference when `savedObjectId` is provided but no reference exists. (cherry picked from commit 56c6e4f) # Conflicts: # x-pack/platform/plugins/private/canvas/server/embeddable/transform_workpad_out.ts # x-pack/platform/test/functional/apps/canvas/embeddables/lens.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
3 similar comments
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
elastic#257779) Adds BWC code to canvas that adds library reference when `savedObjectId` is provided but no reference exists.
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
8 similar comments
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Skipping these backports for now. Customers can upgrade to 9.4 to get the fixed behaviour, and if someone is unable to do so, we can do the work to backport this change. |
Closes #257772
PR adds BWC code to canvas that adds library reference when
savedObjectIdis provided but no reference exists.