-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove DisCo from transpilation to elkjs because it somehow breaks the CI build #288
Conversation
this confirms that the problem appears to be limited to disco and its CompactionStrategy |
Does this mean we remove disco? Or that disco just cannot be transpiled to JavaScript? |
Removing it would fix the CI build on Github but since I can still build it locally, I don't think we should jump straight to removing it completely. But it's an option to keep in mind I guess |
If I keep re-running the failed runs, eventually they succeed https://github.com/kieler/elkjs/actions/runs/9761341512 |
@@ -71,7 +71,7 @@ def elkSources = [ | |||
"${elkRepo}/plugins/org.eclipse.elk.graph.json/src", | |||
"${elkRepo}/plugins/org.eclipse.elk.alg.common/src", | |||
// The algorithms | |||
"${elkRepo}/plugins/org.eclipse.elk.alg.disco/src", | |||
//"${elkRepo}/plugins/org.eclipse.elk.alg.disco/src", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a comment why this is not included here and maybe a FIXME to investigate the problem or a link to the issue.
@@ -24,7 +24,7 @@ | |||
import org.eclipse.elk.graph.json.*; | |||
|
|||
import org.eclipse.elk.alg.common.compaction.options.*; | |||
import org.eclipse.elk.alg.disco.options.*; | |||
//import org.eclipse.elk.alg.disco.options.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above
@@ -144,8 +144,8 @@ public static void registerLayoutAlgorithms(final JavaScriptObject arrayObj) { | |||
SERVICE.registerLayoutMetaDataProviders(new MrTreeMetaDataProvider()); | |||
} else if (alg.equals("radial")) { | |||
SERVICE.registerLayoutMetaDataProviders(new RadialMetaDataProvider()); | |||
} else if (alg.equals("disco")) { | |||
SERVICE.registerLayoutMetaDataProviders(new PolyominoOptions(), new DisCoMetaDataProvider()); | |||
// } else if (alg.equals("disco")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See above
No description provided.