Skip to content
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

Merged
merged 3 commits into from
Jul 4, 2024

Conversation

Eddykasp
Copy link
Collaborator

@Eddykasp Eddykasp commented Jul 2, 2024

No description provided.

@Eddykasp
Copy link
Collaborator Author

Eddykasp commented Jul 2, 2024

this confirms that the problem appears to be limited to disco and its CompactionStrategy

@Eddykasp Eddykasp closed this Jul 2, 2024
@soerendomroes
Copy link
Member

Does this mean we remove disco? Or that disco just cannot be transpiled to JavaScript?

@Eddykasp
Copy link
Collaborator Author

Eddykasp commented Jul 2, 2024

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

@Eddykasp
Copy link
Collaborator Author

Eddykasp commented Jul 2, 2024

If I keep re-running the failed runs, eventually they succeed https://github.com/kieler/elkjs/actions/runs/9761341512

@Eddykasp Eddykasp reopened this Jul 3, 2024
@Eddykasp Eddykasp changed the title test PR to trigger build action Remove DisCo from transpilation to elkjs because it somehow breaks the CI build Jul 3, 2024
@soerendomroes soerendomroes removed their assignment Jul 3, 2024
@soerendomroes soerendomroes self-requested a review July 3, 2024 11:52
@@ -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",
Copy link
Member

@soerendomroes soerendomroes Jul 3, 2024

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.*;
Copy link
Member

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")) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See above

@Eddykasp Eddykasp requested a review from soerendomroes July 4, 2024 09:07
@Eddykasp Eddykasp added this to the Next Release milestone Jul 4, 2024
@Eddykasp Eddykasp merged commit af8ef93 into master Jul 4, 2024
12 checks passed
@Eddykasp Eddykasp deleted the mka/test-gh-actions branch July 4, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants