Add a script which constructs a fake single package for speeding up dev cycles - #6523
Merged
moritzkiefer-da merged 6 commits intoJul 27, 2026
Conversation
| @@ -0,0 +1,15 @@ | |||
| # What is this? | |||
Contributor
There was a problem hiding this comment.
can we move this under daml/daml-ide-mono? feels a bit too niche for a top-level directory
Contributor
|
you are missing the dco signoff |
…evelopment cycles by allowing the LSP to work cross-package when working on code. Signed-off-by: Cale Gibbard <cale.gibbard@obsidian.systems>
Signed-off-by: Cale Gibbard <cale.gibbard@obsidian.systems>
cgibbard
force-pushed
the
fake-mono-package-for-ide
branch
from
July 24, 2026 14:18
4ae63e4 to
e6101e7
Compare
Contributor
that looks like a legitimate failure, looks like the docs build infrastructure needs some adjustments to not run in that directory. |
Signed-off-by: Cale Gibbard <cale.gibbard@obsidian.systems>
cgibbard
force-pushed
the
fake-mono-package-for-ide
branch
from
July 27, 2026 07:39
9f81041 to
6a58260
Compare
Signed-off-by: Cale Gibbard <cale.gibbard@obsidian.systems>
Contributor
|
missing file header |
Signed-off-by: Cale Gibbard <cale.gibbard@obsidian.systems>
jonored
pushed a commit
to obsidiansystems/splice
that referenced
this pull request
Aug 3, 2026
…ev cycles (canton-network#6523) --------- Signed-off-by: Cale Gibbard <cale.gibbard@obsidian.systems>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is something I set up locally to help other Obsidian people work on their changes to Splice a bit more quickly, and figured that it might also be useful to other Splice developers, so I'm making this PR.
The idea is to fashion a directory of symbolic links to the actual source files to serve as a single fake package that can be loaded by the LSP, making development cycles much shorter, as you no longer have to wait for
sbtto build the DARs that your tests depend on, the LSP can often react to changes more or less instantaneously. (Of course, if your test itself is slow to run, you still need to wait for that... but an extra 12-20 seconds or something is a nice win regardless.)NB: I also ran into an issue with the current Daml Language Server's timeout mechanism when I did this. PR of my fix to the LSP client. The initial load of the large fake package this creates (happens once on editor startup) may take just a little too long for the LSP client's fixed timeout, causing the whole scheme not to work out very well. The LSP kills
damlcand then dies itself. Adding in a mechanism to reset the timer wheneverdamlcproduces output proving that it's still working fixed that, but I also added a way to configure the timeouts.Pull Request Checklist
Cluster Testing
/cluster_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./upgrade_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./hdm_teston this PR to request it, and ping someone with access to the DA-internal system to approve it./lsu_teston this PR to request it, and ping someone with access to the DA-internal system to approve it.PR Guidelines
Fixes #n, and mention issues worked on using#nMerge Guidelines