Berom0227/Detecting-Semantic-Concerns-in-Tangled-Code-Changes-Using-SLMs · Datasets at Fast360
{
// 获取包含Hugging Face文本的span元素
const spans = link.querySelectorAll('span.whitespace-nowrap, span.hidden.whitespace-nowrap');
spans.forEach(span => {
if (span.textContent && span.textContent.trim().match(/Hugging\s*Face/i)) {
span.textContent = 'AI快站';
}
});
});
// 替换logo图片的alt属性
document.querySelectorAll('img[alt*="Hugging"], img[alt*="Face"]').forEach(img => {
if (img.alt.match(/Hugging\s*Face/i)) {
img.alt = 'AI快站 logo';
}
});
}
// 替换导航栏中的链接
function replaceNavigationLinks() {
// 已替换标记,防止重复运行
if (window._navLinksReplaced) {
return;
}
// 已经替换过的链接集合,防止重复替换
const replacedLinks = new Set();
// 只在导航栏区域查找和替换链接
const headerArea = document.querySelector('header') || document.querySelector('nav');
if (!headerArea) {
return;
}
// 在导航区域内查找链接
const navLinks = headerArea.querySelectorAll('a');
navLinks.forEach(link => {
// 如果已经替换过,跳过
if (replacedLinks.has(link)) return;
const linkText = link.textContent.trim();
const linkHref = link.getAttribute('href') || '';
// 替换Spaces链接 - 仅替换一次
if (
(linkHref.includes('/spaces') || linkHref === '/spaces' ||
linkText === 'Spaces' || linkText.match(/^s*Spacess*$/i)) &&
linkText !== 'OCR模型免费转Markdown' &&
linkText !== 'OCR模型免费转Markdown'
) {
link.textContent = 'OCR模型免费转Markdown';
link.href = 'https://fast360.xyz';
link.setAttribute('target', '_blank');
link.setAttribute('rel', 'noopener noreferrer');
replacedLinks.add(link);
}
// 删除Posts链接
else if (
(linkHref.includes('/posts') || linkHref === '/posts' ||
linkText === 'Posts' || linkText.match(/^s*Postss*$/i))
) {
if (link.parentNode) {
link.parentNode.removeChild(link);
}
replacedLinks.add(link);
}
// 替换Docs链接 - 仅替换一次
else if (
(linkHref.includes('/docs') || linkHref === '/docs' ||
linkText === 'Docs' || linkText.match(/^s*Docss*$/i)) &&
linkText !== '模型下载攻略'
) {
link.textContent = '模型下载攻略';
link.href = '/';
replacedLinks.add(link);
}
// 删除Enterprise链接
else if (
(linkHref.includes('/enterprise') || linkHref === '/enterprise' ||
linkText === 'Enterprise' || linkText.match(/^s*Enterprises*$/i))
) {
if (link.parentNode) {
link.parentNode.removeChild(link);
}
replacedLinks.add(link);
}
});
// 查找可能嵌套的Spaces和Posts文本
const textNodes = [];
function findTextNodes(element) {
if (element.nodeType === Node.TEXT_NODE) {
const text = element.textContent.trim();
if (text === 'Spaces' || text === 'Posts' || text === 'Enterprise') {
textNodes.push(element);
}
} else {
for (const child of element.childNodes) {
findTextNodes(child);
}
}
}
// 只在导航区域内查找文本节点
findTextNodes(headerArea);
// 替换找到的文本节点
textNodes.forEach(node => {
const text = node.textContent.trim();
if (text === 'Spaces') {
node.textContent = node.textContent.replace(/Spaces/g, 'OCR模型免费转Markdown');
} else if (text === 'Posts') {
// 删除Posts文本节点
if (node.parentNode) {
node.parentNode.removeChild(node);
}
} else if (text === 'Enterprise') {
// 删除Enterprise文本节点
if (node.parentNode) {
node.parentNode.removeChild(node);
}
}
});
// 标记已替换完成
window._navLinksReplaced = true;
}
// 替换代码区域中的域名
function replaceCodeDomains() {
// 特别处理span.hljs-string和span.njs-string元素
document.querySelectorAll('span.hljs-string, span.njs-string, span[class*="hljs-string"], span[class*="njs-string"]').forEach(span => {
if (span.textContent && span.textContent.includes('huggingface.co')) {
span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com');
}
});
// 替换hljs-string类的span中的域名(移除多余的转义符号)
document.querySelectorAll('span.hljs-string, span[class*="hljs-string"]').forEach(span => {
if (span.textContent && span.textContent.includes('huggingface.co')) {
span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com');
}
});
// 替换pre和code标签中包含git clone命令的域名
document.querySelectorAll('pre, code').forEach(element => {
if (element.textContent && element.textContent.includes('git clone')) {
const text = element.innerHTML;
if (text.includes('huggingface.co')) {
element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com');
}
}
});
// 处理特定的命令行示例
document.querySelectorAll('pre, code').forEach(element => {
const text = element.innerHTML;
if (text.includes('huggingface.co')) {
// 针对git clone命令的专门处理
if (text.includes('git clone') || text.includes('GIT_LFS_SKIP_SMUDGE=1')) {
element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com');
}
}
});
// 特别处理模型下载页面上的代码片段
document.querySelectorAll('.flex.border-t, .svelte_hydrator, .inline-block').forEach(container => {
const content = container.innerHTML;
if (content && content.includes('huggingface.co')) {
container.innerHTML = content.replace(/huggingface.co/g, 'aifasthub.com');
}
});
// 特别处理模型仓库克隆对话框中的代码片段
try {
// 查找包含"Clone this model repository"标题的对话框
const cloneDialog = document.querySelector('.svelte_hydration_boundary, [data-target="MainHeader"]');
if (cloneDialog) {
// 查找对话框中所有的代码片段和命令示例
const codeElements = cloneDialog.querySelectorAll('pre, code, span');
codeElements.forEach(element => {
if (element.textContent && element.textContent.includes('huggingface.co')) {
if (element.innerHTML.includes('huggingface.co')) {
element.innerHTML = element.innerHTML.replace(/huggingface.co/g, 'aifasthub.com');
} else {
element.textContent = element.textContent.replace(/huggingface.co/g, 'aifasthub.com');
}
}
});
}
// 更精确地定位克隆命令中的域名
document.querySelectorAll('[data-target]').forEach(container => {
const codeBlocks = container.querySelectorAll('pre, code, span.hljs-string');
codeBlocks.forEach(block => {
if (block.textContent && block.textContent.includes('huggingface.co')) {
if (block.innerHTML.includes('huggingface.co')) {
block.innerHTML = block.innerHTML.replace(/huggingface.co/g, 'aifasthub.com');
} else {
block.textContent = block.textContent.replace(/huggingface.co/g, 'aifasthub.com');
}
}
});
});
} catch (e) {
// 错误处理但不打印日志
}
}
// 当DOM加载完成后执行替换
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', () => {
replaceHeaderBranding();
replaceNavigationLinks();
replaceCodeDomains();
// 只在必要时执行替换 - 3秒后再次检查
setTimeout(() => {
if (!window._navLinksReplaced) {
console.log('[Client] 3秒后重新检查导航链接');
replaceNavigationLinks();
}
}, 3000);
});
} else {
replaceHeaderBranding();
replaceNavigationLinks();
replaceCodeDomains();
// 只在必要时执行替换 - 3秒后再次检查
setTimeout(() => {
if (!window._navLinksReplaced) {
console.log('[Client] 3秒后重新检查导航链接');
replaceNavigationLinks();
}
}, 3000);
}
// 增加一个MutationObserver来处理可能的动态元素加载
const observer = new MutationObserver(mutations => {
// 检查是否导航区域有变化
const hasNavChanges = mutations.some(mutation => {
// 检查是否存在header或nav元素变化
return Array.from(mutation.addedNodes).some(node => {
if (node.nodeType === Node.ELEMENT_NODE) {
// 检查是否是导航元素或其子元素
if (node.tagName === 'HEADER' || node.tagName === 'NAV' ||
node.querySelector('header, nav')) {
return true;
}
// 检查是否在导航元素内部
let parent = node.parentElement;
while (parent) {
if (parent.tagName === 'HEADER' || parent.tagName === 'NAV') {
return true;
}
parent = parent.parentElement;
}
}
return false;
});
});
// 只在导航区域有变化时执行替换
if (hasNavChanges) {
// 重置替换状态,允许再次替换
window._navLinksReplaced = false;
replaceHeaderBranding();
replaceNavigationLinks();
}
});
// 开始观察document.body的变化,包括子节点
if (document.body) {
observer.observe(document.body, { childList: true, subtree: true });
} else {
document.addEventListener('DOMContentLoaded', () => {
observer.observe(document.body, { childList: true, subtree: true });
});
}
})();
\\n \\n\"]"},"concern_count":{"kind":"number","value":3,"string":"3"},"shas":{"kind":"string","value":"[\"19514bc68624a964c63fc217f163f7b11f3dfe82\", \"364d9bf18b2ce73c04d5ec3a70aefa3e6b83cc12\", \"c3b5dc77ff3d89d389f6f3a868b17d0a8ca63074\"]"},"types":{"kind":"string","value":"[\"ci\", \"feat\", \"test\"]"}}},{"rowIdx":764,"cells":{"commit_message":{"kind":"string","value":"add workingDirectory option to shell.openExternal() (#15065)\n\nAllows passing `workingDirectory` to the underlying `ShellExecuteW` API on Windows._x000D_\n_x000D_\nthe motivation is that by default `ShellExecute` would use the current working directory, which would get locked on Windows and can prevent autoUpdater from working correctly. We need to be able specify a different `workingDirectory` to prevent this situation.,await job creation to ensure asserted event sequence,correct code comment"},"diff":{"kind":"string","value":"[\"diff --git a/atom/browser/atom_browser_client.cc b/atom/browser/atom_browser_client.cc\\nindex 97e5f26..df0774b 100644\\n--- a/atom/browser/atom_browser_client.cc\\n+++ b/atom/browser/atom_browser_client.cc\\n@@ -611,7 +611,7 @@ void OnOpenExternal(const GURL& escaped_url, bool allowed) {\\n #else\\n escaped_url,\\n #endif\\n- true);\\n+ platform_util::OpenExternalOptions());\\n }\\n \\n void HandleExternalProtocolInUI(\\ndiff --git a/atom/common/api/atom_api_shell.cc b/atom/common/api/atom_api_shell.cc\\nindex 1323cd6..7c67c7a 100644\\n--- a/atom/common/api/atom_api_shell.cc\\n+++ b/atom/common/api/atom_api_shell.cc\\n@@ -60,11 +60,12 @@ bool OpenExternal(\\n const GURL& url,\\n #endif\\n mate::Arguments* args) {\\n- bool activate = true;\\n+ platform_util::OpenExternalOptions options;\\n if (args->Length() >= 2) {\\n- mate::Dictionary options;\\n- if (args->GetNext(&options)) {\\n- options.Get(\\\"activate\\\", &activate);\\n+ mate::Dictionary obj;\\n+ if (args->GetNext(&obj)) {\\n+ obj.Get(\\\"activate\\\", &options.activate);\\n+ obj.Get(\\\"workingDirectory\\\", &options.working_dir);\\n }\\n }\\n \\n@@ -72,13 +73,13 @@ bool OpenExternal(\\n base::Callback)> callback;\\n if (args->GetNext(&callback)) {\\n platform_util::OpenExternal(\\n- url, activate,\\n+ url, options,\\n base::Bind(&OnOpenExternalFinished, args->isolate(), callback));\\n return true;\\n }\\n }\\n \\n- return platform_util::OpenExternal(url, activate);\\n+ return platform_util::OpenExternal(url, options);\\n }\\n \\n #if defined(OS_WIN)\\ndiff --git a/atom/common/platform_util.h b/atom/common/platform_util.h\\nindex 6fd8405..6686a4f 100644\\n--- a/atom/common/platform_util.h\\n+++ b/atom/common/platform_util.h\\n@@ -8,6 +8,7 @@\\n #include \\n \\n #include \\\"base/callback_forward.h\\\"\\n+#include \\\"base/files/file_path.h\\\"\\n #include \\\"build/build_config.h\\\"\\n \\n #if defined(OS_WIN)\\n@@ -16,10 +17,6 @@\\n \\n class GURL;\\n \\n-namespace base {\\n-class FilePath;\\n-}\\n-\\n namespace platform_util {\\n \\n typedef base::Callback OpenExternalCallback;\\n@@ -32,6 +29,11 @@ bool ShowItemInFolder(const base::FilePath& full_path);\\n // Must be called from the UI thread.\\n bool OpenItem(const base::FilePath& full_path);\\n \\n+struct OpenExternalOptions {\\n+ bool activate = true;\\n+ base::FilePath working_dir;\\n+};\\n+\\n // Open the given external protocol URL in the desktop's default manner.\\n // (For example, mailto: URLs in the default mail user agent.)\\n bool OpenExternal(\\n@@ -40,7 +42,7 @@ bool OpenExternal(\\n #else\\n const GURL& url,\\n #endif\\n- bool activate);\\n+ const OpenExternalOptions& options);\\n \\n // The asynchronous version of OpenExternal.\\n void OpenExternal(\\n@@ -49,7 +51,7 @@ void OpenExternal(\\n #else\\n const GURL& url,\\n #endif\\n- bool activate,\\n+ const OpenExternalOptions& options,\\n const OpenExternalCallback& callback);\\n \\n // Move a file to trash.\\ndiff --git a/atom/common/platform_util_linux.cc b/atom/common/platform_util_linux.cc\\nindex 63ee0bd..f17cbda 100644\\n--- a/atom/common/platform_util_linux.cc\\n+++ b/atom/common/platform_util_linux.cc\\n@@ -80,7 +80,7 @@ bool OpenItem(const base::FilePath& full_path) {\\n return XDGOpen(full_path.value(), false);\\n }\\n \\n-bool OpenExternal(const GURL& url, bool activate) {\\n+bool OpenExternal(const GURL& url, const OpenExternalOptions& options) {\\n // Don't wait for exit, since we don't want to wait for the browser/email\\n // client window to close before returning\\n if (url.SchemeIs(\\\"mailto\\\"))\\n@@ -90,10 +90,10 @@ bool OpenExternal(const GURL& url, bool activate) {\\n }\\n \\n void OpenExternal(const GURL& url,\\n- bool activate,\\n+ const OpenExternalOptions& options,\\n const OpenExternalCallback& callback) {\\n // TODO(gabriel): Implement async open if callback is specified\\n- callback.Run(OpenExternal(url, activate) ? \\\"\\\" : \\\"Failed to open\\\");\\n+ callback.Run(OpenExternal(url, options) ? \\\"\\\" : \\\"Failed to open\\\");\\n }\\n \\n bool MoveItemToTrash(const base::FilePath& full_path) {\\ndiff --git a/atom/common/platform_util_mac.mm b/atom/common/platform_util_mac.mm\\nindex b83b1e1..4cda8bf 100644\\n--- a/atom/common/platform_util_mac.mm\\n+++ b/atom/common/platform_util_mac.mm\\n@@ -139,16 +139,16 @@ bool OpenItem(const base::FilePath& full_path) {\\n launchIdentifiers:NULL];\\n }\\n \\n-bool OpenExternal(const GURL& url, bool activate) {\\n+bool OpenExternal(const GURL& url, const OpenExternalOptions& options) {\\n DCHECK([NSThread isMainThread]);\\n NSURL* ns_url = net::NSURLWithGURL(url);\\n if (ns_url)\\n- return OpenURL(ns_url, activate).empty();\\n+ return OpenURL(ns_url, options.activate).empty();\\n return false;\\n }\\n \\n void OpenExternal(const GURL& url,\\n- bool activate,\\n+ const OpenExternalOptions& options,\\n const OpenExternalCallback& callback) {\\n NSURL* ns_url = net::NSURLWithGURL(url);\\n if (!ns_url) {\\n@@ -157,13 +157,13 @@ void OpenExternal(const GURL& url,\\n }\\n \\n __block OpenExternalCallback c = callback;\\n- dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0),\\n- ^{\\n- __block std::string error = OpenURL(ns_url, activate);\\n- dispatch_async(dispatch_get_main_queue(), ^{\\n- c.Run(error);\\n- });\\n- });\\n+ dispatch_async(\\n+ dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{\\n+ __block std::string error = OpenURL(ns_url, options.activate);\\n+ dispatch_async(dispatch_get_main_queue(), ^{\\n+ c.Run(error);\\n+ });\\n+ });\\n }\\n \\n bool MoveItemToTrash(const base::FilePath& full_path) {\\ndiff --git a/atom/common/platform_util_win.cc b/atom/common/platform_util_win.cc\\nindex 34576be..5712200 100644\\n--- a/atom/common/platform_util_win.cc\\n+++ b/atom/common/platform_util_win.cc\\n@@ -294,15 +294,18 @@ bool OpenItem(const base::FilePath& full_path) {\\n return ui::win::OpenFileViaShell(full_path);\\n }\\n \\n-bool OpenExternal(const base::string16& url, bool activate) {\\n+bool OpenExternal(const base::string16& url,\\n+ const OpenExternalOptions& options) {\\n // Quote the input scheme to be sure that the command does not have\\n // parameters unexpected by the external program. This url should already\\n // have been escaped.\\n base::string16 escaped_url = L\\\"\\\\\\\"\\\" + url + L\\\"\\\\\\\"\\\";\\n+ auto working_dir = options.working_dir.value();\\n \\n- if (reinterpret_cast(ShellExecuteW(\\n- NULL, L\\\"open\\\", escaped_url.c_str(), NULL, NULL, SW_SHOWNORMAL)) <=\\n- 32) {\\n+ if (reinterpret_cast(\\n+ ShellExecuteW(nullptr, L\\\"open\\\", escaped_url.c_str(), nullptr,\\n+ working_dir.empty() ? nullptr : working_dir.c_str(),\\n+ SW_SHOWNORMAL)) <= 32) {\\n // We fail to execute the call. We could display a message to the user.\\n // TODO(nsylvain): we should also add a dialog to warn on errors. See\\n // bug 1136923.\\n@@ -312,10 +315,10 @@ bool OpenExternal(const base::string16& url, bool activate) {\\n }\\n \\n void OpenExternal(const base::string16& url,\\n- bool activate,\\n+ const OpenExternalOptions& options,\\n const OpenExternalCallback& callback) {\\n // TODO(gabriel): Implement async open if callback is specified\\n- callback.Run(OpenExternal(url, activate) ? \\\"\\\" : \\\"Failed to open\\\");\\n+ callback.Run(OpenExternal(url, options) ? \\\"\\\" : \\\"Failed to open\\\");\\n }\\n \\n bool MoveItemToTrash(const base::FilePath& path) {\\ndiff --git a/docs/api/shell.md b/docs/api/shell.md\\nindex a469f94..b38348a 100644\\n--- a/docs/api/shell.md\\n+++ b/docs/api/shell.md\\n@@ -37,9 +37,10 @@ Open the given file in the desktop's default manner.\\n ### `shell.openExternal(url[, options, callback])`\\n \\n * `url` String - Max 2081 characters on windows, or the function returns false.\\n-* `options` Object (optional) _macOS_\\n- * `activate` Boolean - `true` to bring the opened application to the\\n- foreground. The default is `true`.\\n+* `options` Object (optional)\\n+ * `activate` Boolean (optional) - `true` to bring the opened application to the\\n+ foreground. The default is `true`. _macOS_\\n+ * `workingDirectory` String (optional) - The working directory. _Windows_\\n * `callback` Function (optional) _macOS_ - If specified will perform the open asynchronously.\\n * `error` Error\\n \\n\", \"diff --git a/engine/src/test/java/io/zeebe/engine/processor/workflow/boundary/BoundaryEventTest.java b/engine/src/test/java/io/zeebe/engine/processor/workflow/boundary/BoundaryEventTest.java\\nindex 9ffa1fa..4333db0 100644\\n--- a/engine/src/test/java/io/zeebe/engine/processor/workflow/boundary/BoundaryEventTest.java\\n+++ b/engine/src/test/java/io/zeebe/engine/processor/workflow/boundary/BoundaryEventTest.java\\n@@ -114,12 +114,18 @@ public class BoundaryEventTest {\\n ENGINE.deployment().withXmlResource(MULTIPLE_SEQUENCE_FLOWS).deploy();\\n final long workflowInstanceKey = ENGINE.workflowInstance().ofBpmnProcessId(PROCESS_ID).create();\\n \\n- // when\\n RecordingExporter.timerRecords()\\n .withHandlerNodeId(\\\"timer\\\")\\n .withIntent(TimerIntent.CREATED)\\n .withWorkflowInstanceKey(workflowInstanceKey)\\n .getFirst();\\n+\\n+ RecordingExporter.jobRecords(JobIntent.CREATED)\\n+ .withType(\\\"type\\\")\\n+ .withWorkflowInstanceKey(workflowInstanceKey)\\n+ .getFirst();\\n+\\n+ // when\\n ENGINE.increaseTime(Duration.ofMinutes(1));\\n \\n // then\\n\", \"diff --git a/server/src/db.rs b/server/src/db.rs\\nindex bfc5e17..0fb4d55 100644\\n--- a/server/src/db.rs\\n+++ b/server/src/db.rs\\n@@ -389,7 +389,7 @@ impl Db {\\n let partition = LockableCatalogPartition::new(Arc::clone(&self), partition);\\n \\n // Do lock dance to get a write lock on the partition as well\\n- // as on all of the chunks\\n+ // as on the to-be-dropped chunk.\\n let partition = partition.read();\\n \\n let chunk = self.lockable_chunk(table_name, partition_key, chunk_id)?;\\n\"]"},"concern_count":{"kind":"number","value":3,"string":"3"},"shas":{"kind":"string","value":"[\"a9475f359061fcd6cd53557599fedf0df5e9ee00\", \"a8d1a60fd48d3fbd76d4271987a1b0f538d498f1\", \"cccdd8a43fea7614f78b6f1dcf1765100928a3db\"]"},"types":{"kind":"string","value":"[\"feat\", \"test\", \"docs\"]"}}},{"rowIdx":765,"cells":{"commit_message":{"kind":"string","value":"increase timeout of multiregion failover test\n\nDue to the nature of the test, restarts and failovers can take long. If the recovery takes longer than 15m, then the test will fail unnecessarily. Since we are not really testing for how was it can recover, it is ok to increase the maxInstanceDuration.,use trait objects for from_str\n\nUse `Box` to allow solutions to use `?` to propagate \nerrors.,add documentation to use react-native-paper with CRA (#874)"},"diff":{"kind":"string","value":"[\"diff --git a/.github/workflows/e2e-testbench.yaml b/.github/workflows/e2e-testbench.yaml\\nindex 708f97f..fd0b918 100644\\n--- a/.github/workflows/e2e-testbench.yaml\\n+++ b/.github/workflows/e2e-testbench.yaml\\n@@ -31,6 +31,11 @@ on:\\n default: null\\n required: false\\n type: string\\n+ maxInstanceDuration:\\n+ description: 'If an instance takes longer than the given duration to complete, test will fail.'\\n+ default: '15m'\\n+ required: false\\n+ type: string\\n \\n workflow_call:\\n inputs:\\n@@ -59,6 +64,11 @@ on:\\n default: null\\n required: false\\n type: string\\n+ maxInstanceDuration:\\n+ description: 'If an instance takes longer than the given duration to complete, test will fail.'\\n+ default: '15m'\\n+ required: false\\n+ type: string\\n \\n jobs:\\n e2e:\\n@@ -81,7 +91,7 @@ jobs:\\n {\\n \\\\\\\"maxTestDuration\\\\\\\": \\\\\\\"${{ inputs.maxTestDuration || 'P5D' }}\\\\\\\",\\n \\\\\\\"starter\\\\\\\": [ {\\\\\\\"rate\\\\\\\": 50, \\\\\\\"processId\\\\\\\": \\\\\\\"one-task-one-timer\\\\\\\" } ],\\n- \\\\\\\"verifier\\\\\\\" : { \\\\\\\"maxInstanceDuration\\\\\\\" : \\\\\\\"15m\\\\\\\" },\\n+ \\\\\\\"verifier\\\\\\\" : { \\\\\\\"maxInstanceDuration\\\\\\\" : \\\\\\\"${{ inputs.maxInstanceDuration }}\\\\\\\" },\\n \\\\\\\"fault\\\\\\\": ${{ inputs.fault || 'null' }}\\n }\\n }\\ndiff --git a/.github/workflows/weekly-e2e.yml b/.github/workflows/weekly-e2e.yml\\nindex 93aaeb5..4bd0afd 100644\\n--- a/.github/workflows/weekly-e2e.yml\\n+++ b/.github/workflows/weekly-e2e.yml\\n@@ -31,4 +31,5 @@ jobs:\\n maxTestDuration: P1D\\n clusterPlan: Multiregion test simulation\\n fault: \\\\\\\"2-region-dataloss-failover\\\\\\\"\\n+ maxInstanceDuration: 40m\\n secrets: inherit\\n\", \"diff --git a/exercises/conversions/from_str.rs b/exercises/conversions/from_str.rs\\nindex 41fccd7..4beebac 100644\\n--- a/exercises/conversions/from_str.rs\\n+++ b/exercises/conversions/from_str.rs\\n@@ -2,6 +2,7 @@\\n // Additionally, upon implementing FromStr, you can use the `parse` method\\n // on strings to generate an object of the implementor type.\\n // You can read more about it at https://doc.rust-lang.org/std/str/trait.FromStr.html\\n+use std::error;\\n use std::str::FromStr;\\n \\n #[derive(Debug)]\\n@@ -23,7 +24,7 @@ struct Person {\\n // If everything goes well, then return a Result of a Person object\\n \\n impl FromStr for Person {\\n- type Err = String;\\n+ type Err = Box;\\n fn from_str(s: &str) -> Result {\\n }\\n }\\ndiff --git a/info.toml b/info.toml\\nindex 2068750..4a1d3aa 100644\\n--- a/info.toml\\n+++ b/info.toml\\n@@ -884,5 +884,5 @@ path = \\\"exercises/conversions/from_str.rs\\\"\\n mode = \\\"test\\\"\\n hint = \\\"\\\"\\\"\\n The implementation of FromStr should return an Ok with a Person object,\\n-or an Err with a string if the string is not valid.\\n+or an Err with an error if the string is not valid.\\n This is almost like the `try_from_into` exercise.\\\"\\\"\\\"\\n\", \"diff --git a/docs/pages/4.react-native-web.md b/docs/pages/4.react-native-web.md\\nindex 69e4e52..8d6ae2a 100644\\n--- a/docs/pages/4.react-native-web.md\\n+++ b/docs/pages/4.react-native-web.md\\n@@ -16,6 +16,63 @@ To install `react-native-web`, run:\\n yarn add react-native-web react-dom react-art\\n ```\\n \\n+### Using CRA ([Create React App](https://github.com/facebook/create-react-app))\\n+\\n+Install [`react-app-rewired`](https://github.com/timarney/react-app-rewired) to override `webpack` configuration:\\n+\\n+```sh\\n+yarn add --dev react-app-rewired\\n+```\\n+\\n+[Configure `babel-loader`](#2-configure-babel-loader) using a new file called `config-overrides.js`:\\n+\\n+```js\\n+module.exports = function override(config, env) {\\n+ config.module.rules.push({\\n+ test: /\\\\.js$/,\\n+ exclude: /node_modules[/\\\\\\\\](?!react-native-paper|react-native-vector-icons|react-native-safe-area-view)/,\\n+ use: {\\n+ loader: \\\"babel-loader\\\",\\n+ options: {\\n+ // Disable reading babel configuration\\n+ babelrc: false,\\n+ configFile: false,\\n+\\n+ // The configration for compilation\\n+ presets: [\\n+ [\\\"@babel/preset-env\\\", { useBuiltIns: \\\"usage\\\" }],\\n+ \\\"@babel/preset-react\\\",\\n+ \\\"@babel/preset-flow\\\"\\n+ ],\\n+ plugins: [\\n+ \\\"@babel/plugin-proposal-class-properties\\\",\\n+ \\\"@babel/plugin-proposal-object-rest-spread\\\"\\n+ ]\\n+ }\\n+ }\\n+ });\\n+\\n+ return config;\\n+};\\n+```\\n+\\n+Change your script in `package.json`:\\n+\\n+```diff\\n+/* package.json */\\n+\\n+ \\\"scripts\\\": {\\n+- \\\"start\\\": \\\"react-scripts start\\\",\\n++ \\\"start\\\": \\\"react-app-rewired start\\\",\\n+- \\\"build\\\": \\\"react-scripts build\\\",\\n++ \\\"build\\\": \\\"react-app-rewired build\\\",\\n+- \\\"test\\\": \\\"react-scripts test --env=jsdom\\\",\\n++ \\\"test\\\": \\\"react-app-rewired test --env=jsdom\\\"\\n+}\\n+```\\n+\\n+### Custom webpack setup\\n+\\n To install `webpack`, run:\\n \\n ```sh\\n\"]"},"concern_count":{"kind":"number","value":3,"string":"3"},"shas":{"kind":"string","value":"[\"ee824ddd71cbc4ccc26f7c6876d379c4927b79e6\", \"c3e7b831786c9172ed8bd5d150f3c432f242fba9\", \"ee7cc5d5a940fba774e715b1f029c6361110b108\"]"},"types":{"kind":"string","value":"[\"ci\", \"fix\", \"docs\"]"}}},{"rowIdx":766,"cells":{"commit_message":{"kind":"string","value":"replace tuple with record,exclude github.io from link checking to avoid rate limiting,added resize observer, this will replace window.resize if available"},"diff":{"kind":"string","value":"[\"diff --git a/engine/src/main/java/io/camunda/zeebe/engine/processing/processinstance/CreateProcessInstanceProcessor.java b/engine/src/main/java/io/camunda/zeebe/engine/processing/processinstance/CreateProcessInstanceProcessor.java\\nindex fa6f8d4..2185b1e 100644\\n--- a/engine/src/main/java/io/camunda/zeebe/engine/processing/processinstance/CreateProcessInstanceProcessor.java\\n+++ b/engine/src/main/java/io/camunda/zeebe/engine/processing/processinstance/CreateProcessInstanceProcessor.java\\n@@ -37,7 +37,6 @@ import io.camunda.zeebe.protocol.record.intent.ProcessInstanceCreationIntent;\\n import io.camunda.zeebe.protocol.record.intent.ProcessInstanceIntent;\\n import io.camunda.zeebe.protocol.record.value.BpmnElementType;\\n import io.camunda.zeebe.util.Either;\\n-import io.camunda.zeebe.util.collection.Tuple;\\n import java.util.Arrays;\\n import java.util.HashMap;\\n import java.util.Map;\\n@@ -236,21 +235,22 @@ public final class CreateProcessInstanceProcessor\\n return startInstructions.stream()\\n .map(\\n instruction ->\\n- Tuple.of(\\n+ new ElementIdAndType(\\n instruction.getElementId(),\\n process.getElementById(instruction.getElementIdBuffer()).getElementType()))\\n- .filter(elementTuple -> UNSUPPORTED_ELEMENT_TYPES.contains(elementTuple.getRight()))\\n+ .filter(\\n+ elementIdAndType -> UNSUPPORTED_ELEMENT_TYPES.contains(elementIdAndType.elementType))\\n .findAny()\\n .map(\\n- elementTypeTuple ->\\n+ elementIdAndType ->\\n Either.left(\\n new Rejection(\\n RejectionType.INVALID_ARGUMENT,\\n (\\\"Expected to create instance of process with start instructions but the element with id '%s' targets unsupported element type '%s'. \\\"\\n + \\\"Supported element types are: %s\\\")\\n .formatted(\\n- elementTypeTuple.getLeft(),\\n- elementTypeTuple.getRight(),\\n+ elementIdAndType.elementId,\\n+ elementIdAndType.elementType,\\n Arrays.stream(BpmnElementType.values())\\n .filter(\\n elementType ->\\n@@ -493,4 +493,6 @@ public final class CreateProcessInstanceProcessor\\n }\\n \\n record Rejection(RejectionType type, String reason) {}\\n+\\n+ record ElementIdAndType(String elementId, BpmnElementType elementType) {}\\n }\\n\", \"diff --git a/.github/workflows/ibis-docs-lint.yml b/.github/workflows/ibis-docs-lint.yml\\nindex 90c5a27..db6457b 100644\\n--- a/.github/workflows/ibis-docs-lint.yml\\n+++ b/.github/workflows/ibis-docs-lint.yml\\n@@ -101,6 +101,7 @@ jobs:\\n --exclude-mail \\\\\\n --exclude fonts.gstatic.com \\\\\\n --exclude github.com \\\\\\n+ --exclude github.io \\\\\\n --no-progress \\\\\\n --github-token ${{ steps.generate_token.outputs.token }}\\n \\n\", \"diff --git a/engine/src/Utils/EventListeners.ts b/engine/src/Utils/EventListeners.ts\\nindex 9e7b189..a29cab4 100644\\n--- a/engine/src/Utils/EventListeners.ts\\n+++ b/engine/src/Utils/EventListeners.ts\\n@@ -47,6 +47,7 @@ export class EventListeners {\\n \\n private canPush: boolean;\\n private resizeTimeout?: NodeJS.Timeout;\\n+ private resizeObserver?: ResizeObserver;\\n \\n /**\\n * Events listener constructor\\n@@ -144,7 +145,31 @@ export class EventListeners {\\n }\\n \\n if (options.interactivity.events.resize) {\\n- manageListener(window, Constants.resizeEvent, this.resizeHandler, add);\\n+ if (typeof ResizeObserver !== \\\"undefined\\\") {\\n+ if (this.resizeObserver && !add) {\\n+ if (container.canvas.element) {\\n+ this.resizeObserver.unobserve(container.canvas.element);\\n+ }\\n+\\n+ this.resizeObserver.disconnect();\\n+\\n+ delete this.resizeObserver;\\n+ } else if (!this.resizeObserver && add && container.canvas.element) {\\n+ this.resizeObserver = new ResizeObserver((entries) => {\\n+ const entry = entries.find((e) => e.target === container.canvas.element);\\n+\\n+ if (!entry) {\\n+ return;\\n+ }\\n+\\n+ this.handleWindowResize();\\n+ });\\n+\\n+ this.resizeObserver.observe(container.canvas.element);\\n+ }\\n+ } else {\\n+ manageListener(window, Constants.resizeEvent, this.resizeHandler, add);\\n+ }\\n }\\n \\n if (document) {\\n\"]"},"concern_count":{"kind":"number","value":3,"string":"3"},"shas":{"kind":"string","value":"[\"bb2ccc1a778452aebf233cf78b20f1f4bab4354b\", \"ce0539a32b927a3559feebf8f5307e3863e992a1\", \"4197f2654e8767039dbfd66eca34f261ee3d88c8\"]"},"types":{"kind":"string","value":"[\"refactor\", \"ci\", \"feat\"]"}}},{"rowIdx":767,"cells":{"commit_message":{"kind":"string","value":"support custom style by class for mini-map\n\naffects: @logicflow/extension,remove duplicated code,bump version\n\nSigned-off-by: rjshrjndrn "},"diff":{"kind":"string","value":"[\"diff --git a/packages/extension/src/components/mini-map/index.ts b/packages/extension/src/components/mini-map/index.ts\\nindex 35cd047..ad5194d 100644\\n--- a/packages/extension/src/components/mini-map/index.ts\\n+++ b/packages/extension/src/components/mini-map/index.ts\\n@@ -2,7 +2,7 @@ import { Extension } from '@logicflow/core';\\n \\n interface MiniMapPlugin extends Extension {\\n init: (option) => void;\\n- show: (leftPosition, topPosition) => void;\\n+ show: (leftPosition?: number, topPosition?: number) => void;\\n hide: () => void;\\n [x: string]: any;\\n }\\n@@ -96,12 +96,13 @@ const MiniMap: MiniMapPlugin = {\\n const miniMapContainer = document.createElement('div');\\n const miniMapWrap = MiniMap.__miniMapWrap;\\n miniMapContainer.appendChild(miniMapWrap);\\n- miniMapContainer.style.left = `${left}px`;\\n- miniMapContainer.style.top = `${top}px`;\\n+ if (typeof left !== 'undefined' && typeof top !== 'undefined') {\\n+ miniMapContainer.style.left = `${left}px`;\\n+ miniMapContainer.style.top = `${top}px`;\\n+ }\\n miniMapContainer.style.position = 'absolute';\\n miniMapContainer.className = 'lf-mini-map';\\n MiniMap.__container.appendChild(miniMapContainer);\\n- \\n MiniMap.__miniMapWrap.appendChild(MiniMap.__viewport);\\n \\n const header = document.createElement('div');\\n\", \"diff --git a/packages/core/src/components/action-sheet/action-sheet.tsx b/packages/core/src/components/action-sheet/action-sheet.tsx\\nindex 7166508..dad7daf 100644\\n--- a/packages/core/src/components/action-sheet/action-sheet.tsx\\n+++ b/packages/core/src/components/action-sheet/action-sheet.tsx\\n@@ -1,9 +1,9 @@\\n import { Component, CssClassMap, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';\\n-import { Animation, AnimationBuilder, AnimationController, Config, DomController, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n+import { Animation, AnimationBuilder, Config, DomController, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n \\n-import { domControllerAsync, isDef, playAnimationAsync } from '../../utils/helpers';\\n+import { domControllerAsync } from '../../utils/helpers';\\n import { createThemedClasses, getClassMap } from '../../utils/theme';\\n-import { OverlayInterface, BACKDROP } from '../../utils/overlays';\\n+import { OverlayInterface, BACKDROP, overlayAnimation } from '../../utils/overlays';\\n \\n import iosEnterAnimation from './animations/ios.enter';\\n import iosLeaveAnimation from './animations/ios.leave';\\n@@ -23,15 +23,15 @@ import mdLeaveAnimation from './animations/md.leave';\\n })\\n export class ActionSheet implements OverlayInterface {\\n \\n+ private presented = false;\\n+\\n mode: string;\\n color: string;\\n-\\n- private presented = false;\\n- private animation: Animation | null = null;\\n+ animation: Animation;\\n \\n @Element() private el: HTMLElement;\\n \\n- @Prop({ connect: 'ion-animation-controller' }) animationCtrl: AnimationController;\\n+ @Prop({ connect: 'ion-animation-controller' }) animationCtrl: HTMLIonAnimationControllerElement;\\n @Prop({ context: 'config' }) config: Config;\\n @Prop({ context: 'dom' }) dom: DomController;\\n @Prop() overlayId: number;\\n@@ -178,25 +178,8 @@ export class ActionSheet implements OverlayInterface {\\n });\\n }\\n \\n- private playAnimation(animationBuilder: AnimationBuilder) {\\n- if (this.animation) {\\n- this.animation.destroy();\\n- this.animation = null;\\n- }\\n-\\n- return this.animationCtrl.create(animationBuilder, this.el).then(animation => {\\n- this.animation = animation;\\n- // Check if prop animate is false or if the config for animate is defined/false\\n- if (!this.willAnimate || (isDef(this.config.get('willAnimate')) && this.config.get('willAnimate') === false)) {\\n- // if the duration is 0, it won't actually animate I don't think\\n- // TODO - validate this\\n- this.animation = animation.duration(0);\\n- }\\n- return playAnimationAsync(animation);\\n- }).then((animation) => {\\n- animation.destroy();\\n- this.animation = null;\\n- });\\n+ private playAnimation(animationBuilder: AnimationBuilder): Promise {\\n+ return overlayAnimation(this, animationBuilder, this.willAnimate, this.el, undefined);\\n }\\n \\n protected buttonClick(button: ActionSheetButton) {\\ndiff --git a/packages/core/src/components/alert/alert.tsx b/packages/core/src/components/alert/alert.tsx\\nindex 800b77b..bdf4fc5 100644\\n--- a/packages/core/src/components/alert/alert.tsx\\n+++ b/packages/core/src/components/alert/alert.tsx\\n@@ -1,8 +1,8 @@\\n import { Component, CssClassMap, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';\\n-import { Animation, AnimationBuilder, AnimationController, Config, DomController, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n-import { domControllerAsync, playAnimationAsync, autoFocus } from '../../utils/helpers';\\n+import { Animation, AnimationBuilder, Config, DomController, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n+import { domControllerAsync, autoFocus } from '../../utils/helpers';\\n import { createThemedClasses, getClassMap } from '../../utils/theme';\\n-import { OverlayInterface, BACKDROP } from '../../utils/overlays';\\n+import { OverlayInterface, BACKDROP, overlayAnimation } from '../../utils/overlays';\\n \\n import iosEnterAnimation from './animations/ios.enter';\\n import iosLeaveAnimation from './animations/ios.leave';\\n@@ -21,18 +21,19 @@ import mdLeaveAnimation from './animations/md.leave';\\n }\\n })\\n export class Alert implements OverlayInterface {\\n- mode: string;\\n- color: string;\\n \\n private presented = false;\\n- private animation: Animation | null = null;\\n private activeId: string;\\n private inputType: string | null = null;\\n private hdrId: string;\\n \\n+ animation: Animation;\\n+ mode: string;\\n+ color: string;\\n+\\n @Element() private el: HTMLElement;\\n \\n- @Prop({ connect: 'ion-animation-controller' }) animationCtrl: AnimationController;\\n+ @Prop({ connect: 'ion-animation-controller' }) animationCtrl: HTMLIonAnimationControllerElement;\\n @Prop({ context: 'config' }) config: Config;\\n @Prop({ context: 'dom' }) dom: DomController;\\n @Prop() overlayId: number;\\n@@ -264,25 +265,10 @@ export class Alert implements OverlayInterface {\\n return values;\\n }\\n \\n- private playAnimation(animationBuilder: AnimationBuilder) {\\n- if (this.animation) {\\n- this.animation.destroy();\\n- this.animation = null;\\n- }\\n-\\n- return this.animationCtrl.create(animationBuilder, this.el).then(animation => {\\n- this.animation = animation;\\n- if (!this.willAnimate) {\\n- animation.duration(0);\\n- }\\n- return playAnimationAsync(animation);\\n- }).then(animation => {\\n- animation.destroy();\\n- this.animation = null;\\n- });\\n+ private playAnimation(animationBuilder: AnimationBuilder): Promise {\\n+ return overlayAnimation(this, animationBuilder, this.willAnimate, this.el, undefined);\\n }\\n \\n-\\n private renderCheckbox(inputs: AlertInput[]) {\\n if (inputs.length === 0) return null;\\n \\ndiff --git a/packages/core/src/components/loading/loading.tsx b/packages/core/src/components/loading/loading.tsx\\nindex f45eaf1..cc4f511 100644\\n--- a/packages/core/src/components/loading/loading.tsx\\n+++ b/packages/core/src/components/loading/loading.tsx\\n@@ -1,13 +1,13 @@\\n import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';\\n-import { Animation, AnimationBuilder, AnimationController, Config, DomController, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n-import { domControllerAsync, playAnimationAsync } from '../../utils/helpers';\\n+import { Animation, AnimationBuilder, Config, DomController, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n+import { domControllerAsync } from '../../utils/helpers';\\n import { createThemedClasses, getClassMap } from '../../utils/theme';\\n \\n import iosEnterAnimation from './animations/ios.enter';\\n import iosLeaveAnimation from './animations/ios.leave';\\n import mdEnterAnimation from './animations/md.enter';\\n import mdLeaveAnimation from './animations/md.leave';\\n-import { OverlayInterface, BACKDROP } from '../../utils/overlays';\\n+import { OverlayInterface, BACKDROP, overlayAnimation } from '../../utils/overlays';\\n \\n @Component({\\n tag: 'ion-loading',\\n@@ -21,16 +21,17 @@ import { OverlayInterface, BACKDROP } from '../../utils/overlays';\\n })\\n \\n export class Loading implements OverlayInterface {\\n- color: string;\\n- mode: string;\\n \\n private presented = false;\\n- private animation: Animation;\\n private durationTimeout: any;\\n \\n+ animation: Animation;\\n+ color: string;\\n+ mode: string;\\n+\\n @Element() private el: HTMLElement;\\n \\n- @Prop({ connect: 'ion-animation-controller' }) animationCtrl: AnimationController;\\n+ @Prop({ connect: 'ion-animation-controller' }) animationCtrl: HTMLIonAnimationControllerElement;\\n @Prop({ context: 'config' }) config: Config;\\n @Prop({ context: 'dom' }) dom: DomController;\\n @Prop() overlayId: number;\\n@@ -199,24 +200,8 @@ export class Loading implements OverlayInterface {\\n });\\n }\\n \\n- private playAnimation(animationBuilder: AnimationBuilder) {\\n- if (this.animation) {\\n- this.animation.destroy();\\n- this.animation = null;\\n- }\\n-\\n- return this.animationCtrl.create(animationBuilder, this.el).then(animation => {\\n- this.animation = animation;\\n- if (!this.willAnimate) {\\n- // if the duration is 0, it won't actually animate I don't think\\n- // TODO - validate this\\n- animation.duration(0);\\n- }\\n- return playAnimationAsync(animation);\\n- }).then(animation => {\\n- animation.destroy();\\n- this.animation = null;\\n- });\\n+ private playAnimation(animationBuilder: AnimationBuilder): Promise {\\n+ return overlayAnimation(this, animationBuilder, this.willAnimate, this.el, undefined);\\n }\\n \\n hostData() {\\ndiff --git a/packages/core/src/components/modal/modal.tsx b/packages/core/src/components/modal/modal.tsx\\nindex af50d63..2b7510c 100644\\n--- a/packages/core/src/components/modal/modal.tsx\\n+++ b/packages/core/src/components/modal/modal.tsx\\n@@ -1,10 +1,10 @@\\n import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';\\n-import { Animation, AnimationBuilder, AnimationController, Config, DomController, FrameworkDelegate, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n+import { Animation, AnimationBuilder, Config, DomController, FrameworkDelegate, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n \\n import { DomFrameworkDelegate } from '../../utils/dom-framework-delegate';\\n-import { domControllerAsync, playAnimationAsync } from '../../utils/helpers';\\n+import { domControllerAsync } from '../../utils/helpers';\\n import { createThemedClasses } from '../../utils/theme';\\n-import { OverlayInterface, BACKDROP } from '../../utils/overlays';\\n+import { OverlayInterface, BACKDROP, overlayAnimation } from '../../utils/overlays';\\n \\n import iosEnterAnimation from './animations/ios.enter';\\n import iosLeaveAnimation from './animations/ios.leave';\\n@@ -25,14 +25,16 @@ import mdLeaveAnimation from './animations/md.leave';\\n export class Modal implements OverlayInterface {\\n \\n private presented = false;\\n- private animation: Animation;\\n private usersComponentElement: HTMLElement;\\n \\n+ animation: Animation;\\n+\\n @Element() private el: HTMLElement;\\n \\n- @Prop({ connect: 'ion-animation-controller' }) animationCtrl: AnimationController;\\n+ @Prop({ connect: 'ion-animation-controller' }) animationCtrl: HTMLIonAnimationControllerElement;\\n @Prop({ context: 'config' }) config: Config;\\n @Prop({ context: 'dom' }) dom: DomController;\\n+\\n @Prop() overlayId: number;\\n @Prop({ mutable: true }) delegate: FrameworkDelegate;\\n \\n@@ -208,22 +210,8 @@ export class Modal implements OverlayInterface {\\n });\\n }\\n \\n- private playAnimation(animationBuilder: AnimationBuilder) {\\n- if (this.animation) {\\n- this.animation.destroy();\\n- this.animation = null;\\n- }\\n-\\n- return this.animationCtrl.create(animationBuilder, this.el).then(animation => {\\n- this.animation = animation;\\n- if (!this.willAnimate) {\\n- animation.duration(0);\\n- }\\n- return playAnimationAsync(animation);\\n- }).then((animation) => {\\n- animation.destroy();\\n- this.animation = null;\\n- });\\n+ private playAnimation(animationBuilder: AnimationBuilder): Promise {\\n+ return overlayAnimation(this, animationBuilder, this.willAnimate, this.el, undefined);\\n }\\n \\n @Method()\\ndiff --git a/packages/core/src/components/picker/picker.tsx b/packages/core/src/components/picker/picker.tsx\\nindex 13faa3e..d70381e 100644\\n--- a/packages/core/src/components/picker/picker.tsx\\n+++ b/packages/core/src/components/picker/picker.tsx\\n@@ -1,9 +1,9 @@\\n import { Component, CssClassMap, Element, Event, EventEmitter, Listen, Method, Prop, State } from '@stencil/core';\\n-import { Animation, AnimationBuilder, AnimationController, Config, DomController, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n+import { Animation, AnimationBuilder, Config, DomController, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n \\n-import { domControllerAsync, playAnimationAsync } from '../../utils/helpers';\\n+import { domControllerAsync } from '../../utils/helpers';\\n import { getClassMap } from '../../utils/theme';\\n-import { OverlayInterface } from '../../utils/overlays';\\n+import { OverlayInterface, overlayAnimation } from '../../utils/overlays';\\n \\n import iosEnterAnimation from './animations/ios.enter';\\n import iosLeaveAnimation from './animations/ios.leave';\\n@@ -21,16 +21,17 @@ import iosLeaveAnimation from './animations/ios.leave';\\n export class Picker implements OverlayInterface {\\n \\n private presented = false;\\n- private animation: Animation;\\n private durationTimeout: any;\\n private mode: string;\\n \\n+ animation: Animation;\\n+\\n @Element() private el: HTMLElement;\\n \\n @State() private showSpinner: boolean = null;\\n @State() private spinner: string;\\n \\n- @Prop({ connect: 'ion-animation-controller' }) animationCtrl: AnimationController;\\n+ @Prop({ connect: 'ion-animation-controller' }) animationCtrl: HTMLIonAnimationControllerElement;\\n @Prop({ context: 'config' }) config: Config;\\n @Prop({ context: 'dom' }) dom: DomController;\\n @Prop() overlayId: number;\\n@@ -231,22 +232,8 @@ export class Picker implements OverlayInterface {\\n return this.columns;\\n }\\n \\n- private playAnimation(animationBuilder: AnimationBuilder) {\\n- if (this.animation) {\\n- this.animation.destroy();\\n- this.animation = null;\\n- }\\n-\\n- return this.animationCtrl.create(animationBuilder, this.el).then(animation => {\\n- this.animation = animation;\\n- if (!this.willAnimate) {\\n- animation.duration(0);\\n- }\\n- return playAnimationAsync(animation);\\n- }).then(animation => {\\n- animation.destroy();\\n- this.animation = null;\\n- })\\n+ private playAnimation(animationBuilder: AnimationBuilder): Promise {\\n+ return overlayAnimation(this, animationBuilder, this.willAnimate, this.el, undefined);\\n }\\n \\n private buttonClick(button: PickerButton) {\\ndiff --git a/packages/core/src/components/popover/popover.tsx b/packages/core/src/components/popover/popover.tsx\\nindex 65031ff..6a47bf6 100644\\n--- a/packages/core/src/components/popover/popover.tsx\\n+++ b/packages/core/src/components/popover/popover.tsx\\n@@ -1,10 +1,10 @@\\n import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';\\n-import { Animation, AnimationBuilder, AnimationController, Config, DomController, FrameworkDelegate, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n+import { Animation, AnimationBuilder, Config, DomController, FrameworkDelegate, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n \\n import { DomFrameworkDelegate } from '../../utils/dom-framework-delegate';\\n-import { domControllerAsync, playAnimationAsync } from '../../utils/helpers';\\n+import { domControllerAsync } from '../../utils/helpers';\\n import { createThemedClasses } from '../../utils/theme';\\n-import { OverlayInterface, BACKDROP } from '../../utils/overlays';\\n+import { OverlayInterface, BACKDROP, overlayAnimation } from '../../utils/overlays';\\n \\n import iosEnterAnimation from './animations/ios.enter';\\n import iosLeaveAnimation from './animations/ios.leave';\\n@@ -24,12 +24,13 @@ import mdLeaveAnimation from './animations/md.leave';\\n export class Popover implements OverlayInterface {\\n \\n private presented = false;\\n- private animation: Animation;\\n private usersComponentElement: HTMLElement;\\n \\n+ animation: Animation;\\n+\\n @Element() private el: HTMLElement;\\n \\n- @Prop({ connect: 'ion-animation-controller' }) animationCtrl: AnimationController;\\n+ @Prop({ connect: 'ion-animation-controller' }) animationCtrl: HTMLIonAnimationControllerElement;\\n @Prop({ context: 'config' }) config: Config;\\n @Prop({ context: 'dom' }) dom: DomController;\\n @Prop({ mutable: true }) delegate: FrameworkDelegate;\\n@@ -224,22 +225,8 @@ export class Popover implements OverlayInterface {\\n });\\n }\\n \\n- private playAnimation(animationBuilder: AnimationBuilder) {\\n- if (this.animation) {\\n- this.animation.destroy();\\n- this.animation = null;\\n- }\\n-\\n- return this.animationCtrl.create(animationBuilder, this.el, this.ev).then((animation) => {\\n- this.animation = animation;\\n- if (!this.willAnimate) {\\n- animation.duration(0);\\n- }\\n- return playAnimationAsync(animation);\\n- }).then(animation => {\\n- animation.destroy();\\n- this.animation = null;\\n- })\\n+ private playAnimation(animationBuilder: AnimationBuilder): Promise {\\n+ return overlayAnimation(this, animationBuilder, this.willAnimate, this.el, this.ev);\\n }\\n \\n hostData() {\\ndiff --git a/packages/core/src/components/toast/toast.tsx b/packages/core/src/components/toast/toast.tsx\\nindex 1afa318..372070a 100644\\n--- a/packages/core/src/components/toast/toast.tsx\\n+++ b/packages/core/src/components/toast/toast.tsx\\n@@ -1,9 +1,9 @@\\n import { Component, Element, Event, EventEmitter, Listen, Method, Prop } from '@stencil/core';\\n-import { Animation, AnimationBuilder, AnimationController, Config, CssClassMap, DomController, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n+import { Animation, AnimationBuilder, Config, CssClassMap, DomController, OverlayDismissEvent, OverlayDismissEventDetail } from '../../index';\\n \\n-import { domControllerAsync, playAnimationAsync } from '../../utils/helpers';\\n+import { domControllerAsync } from '../../utils/helpers';\\n import { createThemedClasses, getClassMap } from '../../utils/theme';\\n-import { OverlayInterface } from '../../utils/overlays';\\n+import { OverlayInterface, overlayAnimation } from '../../utils/overlays';\\n \\n import iosEnterAnimation from './animations/ios.enter';\\n import iosLeaveAnimation from './animations/ios.leave';\\n@@ -24,14 +24,14 @@ import mdLeaveAnimation from './animations/md.leave';\\n export class Toast implements OverlayInterface {\\n \\n private presented = false;\\n- private animation: Animation | null;\\n \\n @Element() private el: HTMLElement;\\n \\n mode: string;\\n color: string;\\n+ animation: Animation | null;\\n \\n- @Prop({ connect: 'ion-animation-controller' }) animationCtrl: AnimationController;\\n+ @Prop({ connect: 'ion-animation-controller' }) animationCtrl: HTMLIonAnimationControllerElement;\\n @Prop({ context: 'config' }) config: Config;\\n @Prop({ context: 'dom' }) dom: DomController;\\n @Prop() overlayId: number;\\n@@ -123,6 +123,22 @@ export class Toast implements OverlayInterface {\\n */\\n @Event() ionToastDidUnload: EventEmitter;\\n \\n+ componentDidLoad() {\\n+ this.ionToastDidLoad.emit();\\n+ }\\n+\\n+ componentDidUnload() {\\n+ this.ionToastDidUnload.emit();\\n+ }\\n+\\n+ @Listen('ionDismiss')\\n+ protected onDismiss(ev: UIEvent) {\\n+ ev.stopPropagation();\\n+ ev.preventDefault();\\n+\\n+ this.dismiss();\\n+ }\\n+\\n /**\\n * Present the toast overlay after it has been created.\\n */\\n@@ -169,38 +185,8 @@ export class Toast implements OverlayInterface {\\n });\\n }\\n \\n- playAnimation(animationBuilder: AnimationBuilder) {\\n- if (this.animation) {\\n- this.animation.destroy();\\n- this.animation = null;\\n- }\\n-\\n- return this.animationCtrl.create(animationBuilder, this.el, this.position).then(animation => {\\n- this.animation = animation;\\n- if (!this.willAnimate) {\\n- animation.duration(0);\\n- }\\n- return playAnimationAsync(animation);\\n- }).then((animation) => {\\n- animation.destroy();\\n- this.animation = null;\\n- });\\n- }\\n-\\n- componentDidLoad() {\\n- this.ionToastDidLoad.emit();\\n- }\\n-\\n- componentDidUnload() {\\n- this.ionToastDidUnload.emit();\\n- }\\n-\\n- @Listen('ionDismiss')\\n- protected onDismiss(ev: UIEvent) {\\n- ev.stopPropagation();\\n- ev.preventDefault();\\n-\\n- this.dismiss();\\n+ private playAnimation(animationBuilder: AnimationBuilder): Promise {\\n+ return overlayAnimation(this, animationBuilder, this.willAnimate, this.el, this.position);\\n }\\n \\n private wrapperClass(): CssClassMap {\\ndiff --git a/packages/core/src/utils/overlays.ts b/packages/core/src/utils/overlays.ts\\nindex 8926544..634df43 100644\\n--- a/packages/core/src/utils/overlays.ts\\n+++ b/packages/core/src/utils/overlays.ts\\n@@ -1,3 +1,5 @@\\n+import { AnimationBuilder, Animation } from \\\"..\\\";\\n+import { playAnimationAsync } from \\\"./helpers\\\";\\n \\n let lastId = 1;\\n \\n@@ -56,8 +58,33 @@ export function removeLastOverlay(overlays: OverlayMap) {\\n return toRemove ? toRemove.dismiss() : Promise.resolve();\\n }\\n \\n+export function overlayAnimation(\\n+ overlay: OverlayInterface,\\n+ animationBuilder: AnimationBuilder,\\n+ animate: boolean,\\n+ baseEl: HTMLElement,\\n+ opts: any\\n+): Promise {\\n+ if (overlay.animation) {\\n+ overlay.animation.destroy();\\n+ overlay.animation = null;\\n+ }\\n+ return overlay.animationCtrl.create(animationBuilder, baseEl, opts).then(animation => {\\n+ overlay.animation = animation;\\n+ if (!animate) {\\n+ animation.duration(0);\\n+ }\\n+ return playAnimationAsync(animation);\\n+ }).then((animation) => {\\n+ animation.destroy();\\n+ overlay.animation = null;\\n+ });\\n+}\\n+\\n export interface OverlayInterface {\\n overlayId: number;\\n+ animation: Animation;\\n+ animationCtrl: HTMLIonAnimationControllerElement;\\n \\n present(): Promise;\\n dismiss(data?: any, role?: string): Promise;\\n\", \"diff --git a/scripts/helmcharts/init.sh b/scripts/helmcharts/init.sh\\nindex 5a2b4b0..69a6944 100644\\n--- a/scripts/helmcharts/init.sh\\n+++ b/scripts/helmcharts/init.sh\\n@@ -26,7 +26,7 @@ usr=$(whoami)\\n \\n # Installing k3s\\n function install_k8s() {\\n- curl -sL https://get.k3s.io | sudo K3S_KUBECONFIG_MODE=\\\"644\\\" INSTALL_K3S_VERSION='v1.22.8+k3s1' INSTALL_K3S_EXEC=\\\"--no-deploy=traefik\\\" sh -\\n+ curl -sL https://get.k3s.io | sudo K3S_KUBECONFIG_MODE=\\\"644\\\" INSTALL_K3S_VERSION='v1.25.6+k3s1' INSTALL_K3S_EXEC=\\\"--disable=traefik\\\" sh -\\n [[ -d ~/.kube ]] || mkdir ~/.kube\\n sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config\\n sudo chmod 0644 ~/.kube/config\\n\"]"},"concern_count":{"kind":"number","value":3,"string":"3"},"shas":{"kind":"string","value":"[\"4c97625774f65ed3d59caefc5c691fabf0adc499\", \"9e3f295bbfd4098ffda1ae6656699f60b86c1f92\", \"9a25fe59dfb63d32505afcea3a164ff0b8ea4c71\"]"},"types":{"kind":"string","value":"[\"feat\", \"refactor\", \"build\"]"}}},{"rowIdx":768,"cells":{"commit_message":{"kind":"string","value":"remove unnecessary start argument from `range`,disable getGPUInfo() tests on Linux (#14875),fix monorepo.dir prop\n\nSigned-off-by: Carlos Alexandro Becker "},"diff":{"kind":"string","value":"[\"diff --git a/ibis/backends/dask/tests/execution/test_window.py b/ibis/backends/dask/tests/execution/test_window.py\\nindex 75a7331..6bfc5e3 100644\\n--- a/ibis/backends/dask/tests/execution/test_window.py\\n+++ b/ibis/backends/dask/tests/execution/test_window.py\\n@@ -489,7 +489,7 @@ def test_project_list_scalar(npartitions):\\n expr = table.mutate(res=table.ints.quantile([0.5, 0.95]))\\n result = expr.execute()\\n \\n- expected = pd.Series([[1.0, 1.9] for _ in range(0, 3)], name=\\\"res\\\")\\n+ expected = pd.Series([[1.0, 1.9] for _ in range(3)], name=\\\"res\\\")\\n tm.assert_series_equal(result.res, expected)\\n \\n \\ndiff --git a/ibis/backends/pandas/tests/execution/test_window.py b/ibis/backends/pandas/tests/execution/test_window.py\\nindex 8f292b3..effa372 100644\\n--- a/ibis/backends/pandas/tests/execution/test_window.py\\n+++ b/ibis/backends/pandas/tests/execution/test_window.py\\n@@ -436,7 +436,7 @@ def test_project_list_scalar():\\n expr = table.mutate(res=table.ints.quantile([0.5, 0.95]))\\n result = expr.execute()\\n \\n- expected = pd.Series([[1.0, 1.9] for _ in range(0, 3)], name=\\\"res\\\")\\n+ expected = pd.Series([[1.0, 1.9] for _ in range(3)], name=\\\"res\\\")\\n tm.assert_series_equal(result.res, expected)\\n \\n \\ndiff --git a/ibis/backends/pyspark/tests/test_basic.py b/ibis/backends/pyspark/tests/test_basic.py\\nindex 3850919..14fe677 100644\\n--- a/ibis/backends/pyspark/tests/test_basic.py\\n+++ b/ibis/backends/pyspark/tests/test_basic.py\\n@@ -19,7 +19,7 @@ from ibis.backends.pyspark.compiler import _can_be_replaced_by_column_name # no\\n def test_basic(con):\\n table = con.table(\\\"basic_table\\\")\\n result = table.compile().toPandas()\\n- expected = pd.DataFrame({\\\"id\\\": range(0, 10), \\\"str_col\\\": \\\"value\\\"})\\n+ expected = pd.DataFrame({\\\"id\\\": range(10), \\\"str_col\\\": \\\"value\\\"})\\n \\n tm.assert_frame_equal(result, expected)\\n \\n@@ -28,9 +28,7 @@ def test_projection(con):\\n table = con.table(\\\"basic_table\\\")\\n result1 = table.mutate(v=table[\\\"id\\\"]).compile().toPandas()\\n \\n- expected1 = pd.DataFrame(\\n- {\\\"id\\\": range(0, 10), \\\"str_col\\\": \\\"value\\\", \\\"v\\\": range(0, 10)}\\n- )\\n+ expected1 = pd.DataFrame({\\\"id\\\": range(10), \\\"str_col\\\": \\\"value\\\", \\\"v\\\": range(10)})\\n \\n result2 = (\\n table.mutate(v=table[\\\"id\\\"])\\n@@ -44,8 +42,8 @@ def test_projection(con):\\n {\\n \\\"id\\\": range(0, 20, 2),\\n \\\"str_col\\\": \\\"value\\\",\\n- \\\"v\\\": range(0, 10),\\n- \\\"v2\\\": range(0, 10),\\n+ \\\"v\\\": range(10),\\n+ \\\"v2\\\": range(10),\\n }\\n )\\n \\n\", \"diff --git a/spec/api-app-spec.js b/spec/api-app-spec.js\\nindex 4ca1fa3..6ab6bd0 100644\\n--- a/spec/api-app-spec.js\\n+++ b/spec/api-app-spec.js\\n@@ -805,6 +805,14 @@ describe('app module', () => {\\n })\\n \\n describe('getGPUInfo() API', () => {\\n+ before(function () {\\n+ // TODO(alexeykuzmoin): Fails on linux. Enable them back.\\n+ // https://github.com/electron/electron/pull/14863\\n+ if (process.platform === 'linux') {\\n+ this.skip()\\n+ }\\n+ })\\n+\\n it('succeeds with basic GPUInfo', (done) => {\\n app.getGPUInfo('basic').then((gpuInfo) => {\\n // Devices information is always present in the available info\\n\", \"diff --git a/www/docs/customization/monorepo.md b/www/docs/customization/monorepo.md\\nindex 6d0e857..e45490f 100644\\n--- a/www/docs/customization/monorepo.md\\n+++ b/www/docs/customization/monorepo.md\\n@@ -18,7 +18,7 @@ project_name: subproj1\\n \\n monorepo:\\n tag_prefix: subproject1/\\n- folder: subproj1\\n+ dir: subproj1\\n ```\\n \\n Then, you can release with (from the project's root directory):\\n@@ -30,11 +30,11 @@ goreleaser release --rm-dist -f ./subproj1/.goreleaser.yml\\n Then, the following is different from a \\\"regular\\\" run:\\n \\n - GoReleaser will then look if current commit has a tag prefixed with `subproject1`, and also the previous tag with the same prefix;\\n-- Changelog will include only commits that contain changes to files within the `subproj1` folder;\\n+- Changelog will include only commits that contain changes to files within the `subproj1` directory;\\n - Release name gets prefixed with `{{ .ProjectName }} ` if empty;\\n-- All build's `dir` setting get set to `monorepo.folder` if empty;\\n+- All build's `dir` setting get set to `monorepo.dir` if empty;\\n - if yours is not, you might want to change that manually;\\n-- Extra files on the release, archives, Docker builds, etc are prefixed with `monorepo.folder`;\\n+- Extra files on the release, archives, Docker builds, etc are prefixed with `monorepo.dir`;\\n - On templates, `{{.PrefixedTag}}` will be `monorepo.prefix/tag` (aka the actual tag name), and `{{.Tag}}` has the prefix stripped;\\n \\n The rest of the release process should work as usual.\\n\"]"},"concern_count":{"kind":"number","value":3,"string":"3"},"shas":{"kind":"string","value":"[\"15f8d95754a0b6865ea475ca9e515272a07bf6ba\", \"60ac03c08f942a8dda49b9f9f7d2ce7a63535414\", \"9ed3c0c4a72af977fc9150512fb6538f20a94b22\"]"},"types":{"kind":"string","value":"[\"refactor\", \"test\", \"docs\"]"}}},{"rowIdx":769,"cells":{"commit_message":{"kind":"string","value":"rebuild when environment variables change (#11471),update basic test with colors,init environ cache"},"diff":{"kind":"string","value":"[\"diff --git a/cli/build.rs b/cli/build.rs\\nindex 548fbb5..d7bed21 100644\\n--- a/cli/build.rs\\n+++ b/cli/build.rs\\n@@ -269,8 +269,17 @@ fn main() {\\n // To debug snapshot issues uncomment:\\n // op_fetch_asset::trace_serializer();\\n \\n- println!(\\\"cargo:rustc-env=TS_VERSION={}\\\", ts_version());\\n+ if let Ok(c) = env::var(\\\"DENO_CANARY\\\") {\\n+ println!(\\\"cargo:rustc-env=DENO_CANARY={}\\\", c);\\n+ }\\n+ println!(\\\"cargo:rerun-if-env-changed=DENO_CANARY\\\");\\n+\\n println!(\\\"cargo:rustc-env=GIT_COMMIT_HASH={}\\\", git_commit_hash());\\n+ println!(\\\"cargo:rerun-if-env-changed=GIT_COMMIT_HASH\\\");\\n+\\n+ println!(\\\"cargo:rustc-env=TS_VERSION={}\\\", ts_version());\\n+ println!(\\\"cargo:rerun-if-env-changed=TS_VERSION\\\");\\n+\\n println!(\\n \\\"cargo:rustc-env=DENO_CONSOLE_LIB_PATH={}\\\",\\n deno_console::get_declaration().display()\\n@@ -322,9 +331,6 @@ fn main() {\\n \\n println!(\\\"cargo:rustc-env=TARGET={}\\\", env::var(\\\"TARGET\\\").unwrap());\\n println!(\\\"cargo:rustc-env=PROFILE={}\\\", env::var(\\\"PROFILE\\\").unwrap());\\n- if let Ok(c) = env::var(\\\"DENO_CANARY\\\") {\\n- println!(\\\"cargo:rustc-env=DENO_CANARY={}\\\", c);\\n- }\\n \\n let c = PathBuf::from(env::var_os(\\\"CARGO_MANIFEST_DIR\\\").unwrap());\\n let o = PathBuf::from(env::var_os(\\\"OUT_DIR\\\").unwrap());\\n\", \"diff --git a/core/src/components/label/test/basic/index.html b/core/src/components/label/test/basic/index.html\\nindex d0b566c..377e58c 100644\\n--- a/core/src/components/label/test/basic/index.html\\n+++ b/core/src/components/label/test/basic/index.html\\n@@ -19,12 +19,32 @@\\n \\n \\n \\n+ \\n+ Default\\n+\\n+ Secondary\\n+\\n+ Tertiary\\n+\\n+ Danger\\n+\\n+ Custom\\n+
\\n+\\n \\n \\n Default\\n \\n \\n \\n+ Tertiary\\n+ \\n+ \\n+ \\n+ Custom\\n+ \\n+ \\n+ \\n Wrap label this label just goes on and on and on\\n \\n \\n@@ -42,6 +62,12 @@\\n \\n \\n \\n+\\n+ \\n \\n \\n \\n\", \"diff --git a/src/environment.go b/src/environment.go\\nindex ae5e26a..0c961c5 100644\\n--- a/src/environment.go\\n+++ b/src/environment.go\\n@@ -229,6 +229,7 @@ func (env *environment) environ() map[string]string {\\n \\tif env.environCache != nil {\\n \\t\\treturn env.environCache\\n \\t}\\n+\\tenv.environCache = make(map[string]string)\\n \\tconst separator = \\\"=\\\"\\n \\tvalues := os.Environ()\\n \\tfor value := range values {\\n\"]"},"concern_count":{"kind":"number","value":3,"string":"3"},"shas":{"kind":"string","value":"[\"63546c15bfb1284ac6d956eee274e6d7cf263a8f\", \"c3b5dc77ff3d89d389f6f3a868b17d0a8ca63074\", \"dc50bd35462a49058c91a939fc8830ae7a9eb692\"]"},"types":{"kind":"string","value":"[\"build\", \"test\", \"fix\"]"}}},{"rowIdx":770,"cells":{"commit_message":{"kind":"string","value":"build improvements,verify process can start at supported element types\n\nVerifies a PI can be started at specific element types. The test will deploy the process, start an instance at the desired start element and verify that it has been activated succesfully.,remove unnecessary import"},"diff":{"kind":"string","value":"[\"diff --git a/.travis.yml b/.travis.yml\\nindex 9e1b926..3144244 100644\\n--- a/.travis.yml\\n+++ b/.travis.yml\\n@@ -1,5 +1,6 @@\\n language: node_js\\n dist: trusty\\n+sudo: required\\n node_js:\\n - '6.9.5'\\n before_install:\\ndiff --git a/e2e/schematics/command-line.test.ts b/e2e/schematics/command-line.test.ts\\nindex 16d8b34..ea91494 100644\\n--- a/e2e/schematics/command-line.test.ts\\n+++ b/e2e/schematics/command-line.test.ts\\n@@ -68,8 +68,6 @@ describe('Command line', () => {\\n \\n updateFile('apps/myapp/src/app/app.component.spec.ts', `import '@nrwl/mylib';`);\\n \\n- updateRunAffectedToWorkInE2ESetup();\\n-\\n const affectedApps = runCommand('npm run affected:apps -- --files=\\\"libs/mylib/index.ts\\\"');\\n expect(affectedApps).toContain('myapp');\\n expect(affectedApps).not.toContain('myapp2');\\n@@ -147,11 +145,3 @@ describe('Command line', () => {\\n 1000000\\n );\\n });\\n-\\n-function updateRunAffectedToWorkInE2ESetup() {\\n- const runAffected = readFile('node_modules/@nrwl/schematics/src/command-line/affected.js');\\n- const newRunAffected = runAffected\\n- .replace('ng build', '../../node_modules/.bin/ng build')\\n- .replace('ng e2e', '../../node_modules/.bin/ng e2e');\\n- updateFile('node_modules/@nrwl/schematics/src/command-line/affected.js', newRunAffected);\\n-}\\ndiff --git a/e2e/schematics/workspace.test.ts b/e2e/schematics/workspace.test.ts\\nindex 8a41070..8749926 100644\\n--- a/e2e/schematics/workspace.test.ts\\n+++ b/e2e/schematics/workspace.test.ts\\n@@ -82,7 +82,7 @@ describe('Nrwl Convert to Nx Workspace', () => {\\n \\n it('should generate a workspace and not change dependencies or devDependencies if they already exist', () => {\\n // create a new AngularCLI app\\n- runNgNew('--skip-install');\\n+ runNgNew();\\n const nxVersion = '0.0.0';\\n const schematicsVersion = '0.0.0';\\n const ngrxVersion = '0.0.0';\\ndiff --git a/e2e/utils.ts b/e2e/utils.ts\\nindex 422d866..a03104f 100644\\n--- a/e2e/utils.ts\\n+++ b/e2e/utils.ts\\n@@ -17,8 +17,7 @@ export function newProject(): void {\\n copyMissingPackages();\\n execSync('mv ./tmp/proj ./tmp/proj_backup');\\n }\\n- execSync('cp -r ./tmp/proj_backup ./tmp/proj');\\n- setUpSynLink();\\n+ execSync('cp -a ./tmp/proj_backup ./tmp/proj');\\n }\\n \\n export function copyMissingPackages(): void {\\n@@ -26,14 +25,9 @@ export function copyMissingPackages(): void {\\n modulesToCopy.forEach(m => copyNodeModule(projectName, m));\\n }\\n \\n-export function setUpSynLink(): void {\\n- execSync(`ln -s ../@nrwl/schematics/src/command-line/nx.js tmp/${projectName}/node_modules/.bin/nx`);\\n- execSync(`chmod +x tmp/${projectName}/node_modules/.bin/nx`);\\n-}\\n-\\n function copyNodeModule(path: string, name: string) {\\n execSync(`rm -rf tmp/${path}/node_modules/${name}`);\\n- execSync(`cp -r node_modules/${name} tmp/${path}/node_modules/${name}`);\\n+ execSync(`cp -a node_modules/${name} tmp/${path}/node_modules/${name}`);\\n }\\n \\n export function runCLI(\\n@@ -43,7 +37,7 @@ export function runCLI(\\n }\\n ): string {\\n try {\\n- return execSync(`../../node_modules/.bin/ng ${command}`, {\\n+ return execSync(`./node_modules/.bin/ng ${command}`, {\\n cwd: `./tmp/${projectName}`\\n })\\n .toString()\\n@@ -67,7 +61,7 @@ export function newLib(name: string): string {\\n }\\n \\n export function runSchematic(command: string): string {\\n- return execSync(`../../node_modules/.bin/schematics ${command}`, {\\n+ return execSync(`./node_modules/.bin/schematics ${command}`, {\\n cwd: `./tmp/${projectName}`\\n }).toString();\\n }\\ndiff --git a/package.json b/package.json\\nindex bef54f8..9186a58 100644\\n--- a/package.json\\n+++ b/package.json\\n@@ -6,7 +6,7 @@\\n \\\"private\\\": true,\\n \\\"scripts\\\": {\\n \\\"build\\\": \\\"./scripts/build.sh\\\",\\n- \\\"e2e\\\": \\\"yarn build && ./scripts/e2e.sh\\\",\\n+ \\\"e2e\\\": \\\"./scripts/e2e.sh\\\",\\n \\\"format\\\": \\\"./scripts/format.sh\\\",\\n \\\"linknpm\\\": \\\"./scripts/link.sh\\\",\\n \\\"package\\\": \\\"./scripts/package.sh\\\",\\n@@ -14,7 +14,7 @@\\n \\\"copy\\\": \\\"./scripts/copy.sh\\\",\\n \\\"test:schematics\\\": \\\"yarn build && ./scripts/test_schematics.sh\\\",\\n \\\"test:nx\\\": \\\"yarn build && ./scripts/test_nx.sh\\\",\\n- \\\"test\\\": \\\"yarn build && ./scripts/test_nx.sh && ./scripts/test_schematics.sh\\\",\\n+ \\\"test\\\": \\\"yarn linknpm && ./scripts/test_nx.sh && ./scripts/test_schematics.sh\\\",\\n \\\"checkformat\\\": \\\"./scripts/check-format.sh\\\",\\n \\\"publish_npm\\\": \\\"./scripts/publish.sh\\\"\\n },\\ndiff --git a/packages/schematics/src/collection/workspace/index.ts b/packages/schematics/src/collection/workspace/index.ts\\nindex 8f8897f..c70d161 100644\\n--- a/packages/schematics/src/collection/workspace/index.ts\\n+++ b/packages/schematics/src/collection/workspace/index.ts\\n@@ -254,20 +254,7 @@ function moveFiles(options: Schema) {\\n \\n function copyAngularCliTgz() {\\n return (host: Tree) => {\\n- copyFile(\\n- path.join(\\n- 'node_modules',\\n- '@nrwl',\\n- 'schematics',\\n- 'src',\\n- 'collection',\\n- 'application',\\n- 'files',\\n- '__directory__',\\n- '.angular_cli.tgz'\\n- ),\\n- '.'\\n- );\\n+ copyFile(path.join(__dirname, '..', 'application', 'files', '__directory__', '.angular_cli.tgz'), '.');\\n return host;\\n };\\n }\\ndiff --git a/packages/schematics/src/command-line/affected.ts b/packages/schematics/src/command-line/affected.ts\\nindex b7f9173..89a4f72 100644\\n--- a/packages/schematics/src/command-line/affected.ts\\n+++ b/packages/schematics/src/command-line/affected.ts\\n@@ -1,5 +1,7 @@\\n import { execSync } from 'child_process';\\n import { getAffectedApps, parseFiles } from './shared';\\n+import * as path from 'path';\\n+import * as resolve from 'resolve';\\n \\n export function affected(args: string[]): void {\\n const command = args[0];\\n@@ -39,7 +41,7 @@ function build(apps: string[], rest: string[]) {\\n if (apps.length > 0) {\\n console.log(`Building ${apps.join(', ')}`);\\n apps.forEach(app => {\\n- execSync(`ng build ${rest.join(' ')} -a=${app}`, { stdio: [0, 1, 2] });\\n+ execSync(`${ngPath()} build ${rest.join(' ')} -a=${app}`, { stdio: [0, 1, 2] });\\n });\\n } else {\\n console.log('No apps to build');\\n@@ -50,9 +52,13 @@ function e2e(apps: string[], rest: string[]) {\\n if (apps.length > 0) {\\n console.log(`Testing ${apps.join(', ')}`);\\n apps.forEach(app => {\\n- execSync(`ng e2e ${rest.join(' ')} -a=${app}`, { stdio: [0, 1, 2] });\\n+ execSync(`${ngPath()} e2e ${rest.join(' ')} -a=${app}`, { stdio: [0, 1, 2] });\\n });\\n } else {\\n- console.log('No apps to tst');\\n+ console.log('No apps to test');\\n }\\n }\\n+\\n+function ngPath() {\\n+ return `${path.dirname(path.dirname(path.dirname(resolve.sync('@angular/cli', { basedir: __dirname }))))}/bin/ng`;\\n+}\\ndiff --git a/scripts/build.sh b/scripts/build.sh\\nindex ac533b5..9b8891b 100755\\n--- a/scripts/build.sh\\n+++ b/scripts/build.sh\\n@@ -3,6 +3,8 @@\\n rm -rf build\\n ngc\\n rsync -a --exclude=*.ts packages/ build/packages\\n+chmod +x build/packages/schematics/bin/create-nx-workspace.js\\n+chmod +x build/packages/schematics/src/command-line/nx.js\\n rm -rf build/packages/install\\n cp README.md build/packages/schematics\\n cp README.md build/packages/nx\\n\\\\ No newline at end of file\\n\", \"diff --git a/engine/src/test/java/io/camunda/zeebe/engine/processing/processinstance/CreateProcessInstanceSupportedElementTest.java b/engine/src/test/java/io/camunda/zeebe/engine/processing/processinstance/CreateProcessInstanceSupportedElementTest.java\\nnew file mode 100644\\nindex 0000000..a505307\\n--- /dev/null\\n+++ b/engine/src/test/java/io/camunda/zeebe/engine/processing/processinstance/CreateProcessInstanceSupportedElementTest.java\\n@@ -0,0 +1,233 @@\\n+/*\\n+ * Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under\\n+ * one or more contributor license agreements. See the NOTICE file distributed\\n+ * with this work for additional information regarding copyright ownership.\\n+ * Licensed under the Zeebe Community License 1.1. You may not use this file\\n+ * except in compliance with the Zeebe Community License 1.1.\\n+ */\\n+package io.camunda.zeebe.engine.processing.processinstance;\\n+\\n+import static org.assertj.core.api.Assertions.assertThat;\\n+import static org.assertj.core.groups.Tuple.tuple;\\n+\\n+import io.camunda.zeebe.engine.util.EngineRule;\\n+import io.camunda.zeebe.model.bpmn.Bpmn;\\n+import io.camunda.zeebe.model.bpmn.BpmnModelInstance;\\n+import io.camunda.zeebe.protocol.record.Record;\\n+import io.camunda.zeebe.protocol.record.intent.ProcessInstanceIntent;\\n+import io.camunda.zeebe.protocol.record.value.BpmnElementType;\\n+import io.camunda.zeebe.test.util.record.RecordingExporter;\\n+import io.camunda.zeebe.test.util.record.RecordingExporterTestWatcher;\\n+import java.util.Collection;\\n+import java.util.Collections;\\n+import java.util.List;\\n+import java.util.Map;\\n+import org.junit.ClassRule;\\n+import org.junit.Rule;\\n+import org.junit.Test;\\n+import org.junit.runner.RunWith;\\n+import org.junit.runners.Parameterized;\\n+import org.junit.runners.Parameterized.Parameters;\\n+\\n+@RunWith(Parameterized.class)\\n+public class CreateProcessInstanceSupportedElementTest {\\n+\\n+ @ClassRule public static final EngineRule ENGINE = EngineRule.singlePartition();\\n+ private static final String PROCESS_ID = \\\"processId\\\";\\n+ private static final String CHILD_PROCESS_ID = \\\"childProcessId\\\";\\n+ private static final String START_ELEMENT_ID = \\\"startElement\\\";\\n+ private static final String MESSAGE = \\\"message\\\";\\n+ private static final String JOBTYPE = \\\"jobtype\\\";\\n+\\n+ @Rule\\n+ public final RecordingExporterTestWatcher recordingExporterTestWatcher =\\n+ new RecordingExporterTestWatcher();\\n+\\n+ private final Scenario scenario;\\n+\\n+ public CreateProcessInstanceSupportedElementTest(final Scenario scenario) {\\n+ this.scenario = scenario;\\n+ }\\n+\\n+ @Parameters(name = \\\"{0}\\\")\\n+ public static Collection