Commit Graph

165 Commits

Author SHA1 Message Date
Samuel Williams
90790d8042
Force 2.9 snapshot for multi-ide features (#19323)
* Force 2.9 snapshot for multi-ide features

* Re-order
2024-06-03 10:50:57 +01:00
azure-pipelines[bot]
60488be037
update canton to 20240530.13394.v9f8b7db6 (#19309)
* update canton to 20240530.13394.v9f8b7db6

tell-slack: canton

* sync canton to a6f07355d1

* sync to canton 5646e99c55

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-05-31 18:10:09 +00:00
Samuel Williams
4ba35794d2
Multi-IDE Sdk install managament (#19256)
* Tweaks from previous version

* Implement Sdk Version management

* Address review

* Fix compilation issues
2024-05-31 09:30:07 +01:00
azure-pipelines[bot]
052971bf9f
update NOTICES file (#19311)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-31 08:00:33 +00:00
Ratko Veprek
076ddc1321
Moved metrics classes from canton to daml after rewrite (#19265)
Before this change, a lot of the metrics classes were living in the canton repo.
Now, I moved them back into the canton repository.
2024-05-30 12:25:54 +02:00
Gary Verhaegen
7bdacd48aa
improve release instructions (#19281) 2024-05-30 12:11:22 +02:00
azure-pipelines[bot]
66d71f4a10
update NOTICES file (#19302)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-30 09:22:43 +00:00
Carl Pulley
ea815a8f9f
make Timestamp parsing consistent across Java versions (#19244) 2024-05-30 09:40:10 +01:00
Paul Brauner
3a68da1863
re-enable temporarily disabled tests (#19303) 2024-05-30 08:29:14 +00:00
azure-pipelines[bot]
dd76e2da2f
update canton to 20240529.13387.v44c5d50b (#19300)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-30 09:46:31 +02:00
azure-pipelines[bot]
78ccafad33
update canton to 20240528.13380.v10deea37 (#19293)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-29 08:36:37 +02:00
azure-pipelines[bot]
5e7a52378c
update canton to 20240527.13372.v40019d14 (#19277)
* update canton to 20240527.13372.v40019d14

tell-slack: canton

* sync to canton @ 6da046644316b095ba529e9064c9e4bc9ed4d7e0

* fix //canton:community_domain

* fix more import issues

* Disable tests for "Skipping upgrade validation" msg until canton#19354

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
Co-authored-by: Dylan Thinnes <dylan.thinnes@digitalasset.com>
2024-05-28 18:32:35 +02:00
dylant-da
c3a761838d
Apply Paul's suggested changes (bd55261a06) for Upgrading.scala (#19285) 2024-05-28 14:33:46 +00:00
Simon Maxen
a0e2526ebd
Add 2.8.6 hash to LATEST (#19282) 2024-05-28 15:32:04 +01:00
Gary Verhaegen
234db7d8e0
rename build-release.ps1 (#19278)
With the wrong file name it's never used and Windows builds don't
benefit from the shortened release process.
2024-05-28 16:06:27 +02:00
dylant-da
004e6d3f1d
Upgrade validation compare deps pt1 (#19274)
* minimal initial changes from upgrade-validation-compare-deps

* Add stub function for part 1 compilation
2024-05-28 13:00:22 +01:00
dylant-da
6e5e01e10a
Drop print statements (#19267) 2024-05-28 10:57:44 +01:00
Samuel Williams
9c6460827e
Split up MultiIde.hs into many files (#19198)
* Split up MultiIde.hs into many files

* Further split SubIde
2024-05-28 10:26:48 +01:00
Paul Brauner
b44823df67
create an ad hoc snapshot containing #19264 (#19273) 2024-05-27 10:18:22 +00:00
azure-pipelines[bot]
294af0cf07
update NOTICES file (#19272)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-27 11:13:12 +02:00
Remy
a0d93a12df
Fix packageVersion in TestNodeBuilder (#19264) 2024-05-27 09:28:08 +02:00
Samuel Williams
894ac3855b
Multi-ide structure change handling (#19194)
* Better support for package structure changes

* Rename some handlers
2024-05-23 16:55:26 +01:00
Paul Brauner
b0ee597a61
do not use the same temp dir for test cases run in parallel (#19257) 2024-05-23 13:14:11 +00:00
dylant-da
935c3fb10e
Expand upgrade validation testing (#19123)
* Remove duplication from tests

* lint

* lint

* Simplify tests

* lint

* add more tests for dependency behaviour

* track new test files

* lint

* add test for failure being only emitted in the module that originates it

* fix stdout capture for rules_daml

* lint

* lint

* Move CannotUpgradeView into own section

* Fix more upgrades gen
2024-05-23 09:36:05 +01:00
Remy
b06a9e836e
[LF] add packageVersion to Create Node, and Contract Instance (#19243) 2024-05-22 15:40:13 +02:00
azure-pipelines[bot]
b04c7a13f0
update NOTICES file (#19251)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-22 14:23:26 +02:00
azure-pipelines[bot]
609171a257
update canton to 20240521.13331.v449e982c (#19247)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-22 12:09:44 +02:00
Samuel Williams
c584588a81
Daml-Script changes for 2.9 (forward port) (#19223)
* First set of tweaks

* Implement package preference in daml3-script
2024-05-22 10:56:18 +01:00
dylant-da
39304f089f
forward port changes from #19231 (excl. #18271) (#19242) 2024-05-21 16:24:25 +01:00
Paul Brauner
b54cbd22c0
Fix IJ project sync (#19240) 2024-05-21 09:40:08 +00:00
azure-pipelines[bot]
7b838a8277
update canton to 20240520.13324.vdf52c631 (#19239)
* update canton to 20240520.13324.vdf52c631

tell-slack: canton

* fix tests

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-05-21 08:20:35 +00:00
Paul Brauner
9472bf3c6c
upgrade to jdk17 (#19214)
* initial attempt to upgrade to jdk17

* patch rules_nixpkgs to allow for jdk 17

* format

* fix compatibility/.bazelrc

* update jar_jar, disable jdk8

* get jarjar's hash right

* ignore timestamp parsing test for now

* fix build-release-artifacts

* fix JsonLfDecodersTest in the code drop

* dadew

---------

Co-authored-by: = <=>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2024-05-17 13:44:11 +02:00
azure-pipelines[bot]
1064fff281
update canton to 20240516.13312.vd8490aac (#19227)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2024-05-17 11:22:43 +00:00
Gary Verhaegen
3278c714b7
[3.1] nix: remove unused xmlstarlet (#19217) 2024-05-16 17:44:36 +02:00
Gary Verhaegen
0db5c8a593
infra: local network cache (#17547)
See https://github.com/DACH-NY/daml-ci/pull/39 for details.
2024-05-16 16:09:26 +02:00
Remy
18c9dce941
[Speedy] recompute contract metadata when using different pkg versions (#19206)
This is the last piece to fix #19161

Co-authored-by: Paul Brauner <141240651+paulbrauner-da@users.noreply.github.com>
2024-05-16 07:16:16 +00:00
Remy
0b0f842d47
split //daml-lf/valiation/upgrade-tests (#19208)
this should reduce flakyness and running time
2024-05-15 13:39:24 +00:00
Simon Maxen
317b6b2057
Clarification of what packages are needed in engine re-interpretation (#19197) 2024-05-15 14:10:00 +01:00
azure-pipelines[bot]
dcd4d5dede
update NOTICES file (#19204)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-15 09:09:31 +00:00
Remy
82f1285a93
[Speedy] drop FetchAny (#19200) 2024-05-15 09:55:00 +02:00
Paul Brauner
31453459fe
Fix disclosure bug in the presence of upgrades (#19167)
* repro of #19162 as a test and fix for daml3

* use a different party for exercising a choice on the disclosed contract

* factorize TemplateTypeRep svalue creation

* Move makePair/makeTriplet to Converter.makeTuple
2024-05-14 15:51:50 +00:00
Remy
c1ced1fb8b
[Speedy] remove some useless optTargetTemplateId (#19196) 2024-05-14 17:07:06 +02:00
azure-pipelines[bot]
2d72a2a5b9
update canton to 20240513.13278.va95cb37b (#19187)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2024-05-14 13:20:20 +02:00
Samuel Williams
edea1e6253
Multi-IDE Features for 2.9 (#19040)
* Implement dar unpacking

* Implement packageless IDE

* Hot-reloading logic for daml.yaml, multi-package.yaml, *.dar

* Implement initial error recovery logic

* Switch logging to log levels
Replace window reload with LanguageServer restart

* Forward args from multi-ide to sub-ides

* Change unpacked dar paths to be the unit-id.
Update unpacking logic to shutdown previous IDEs

* Remove broken experimental flag

* Refactor ide restart logic to not lose event handlers

* Log subIDE errors to debug logger live

* Windows fixes

* First review fixes batch

* Use newtypes for many FilePaths

* Address Dylan's comments

* Refactor how SubIDEs are passed around, reduce times it is dropped

* Update diagnostic
2024-05-14 09:41:10 +01:00
Remy
d80bd95cd6
[Engine] lookup for disclosed contracts after looking in the cache. (#19185)
This is a cosmetic change to clarify search strategy (local -> disclosed -> other).
Since local and disclosed contract does not have same format of contract ID (the later is suffixed while the former is not), it should not change the behavior.
2024-05-14 10:00:35 +02:00
azure-pipelines[bot]
9b1114e705
update canton to 20240510.13274.ve9b53749 (#19180)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
2024-05-13 09:10:06 +00:00
azure-pipelines[bot]
1ae7c285b9
update NOTICES file (#19181)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-13 08:26:33 +02:00
azure-pipelines[bot]
22c82b8b92
rotate release duty after 2024-05-08 (#19164)
@garyverhaegen-da is taking care of [testing](https://github.com/digital-asset/daml/blob/main/release/RELEASE.md) today's release, so they get pushed back to the end of the line.

Please do not merge this before the release is fully tested.

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-10 14:46:44 +02:00
azure-pipelines[bot]
1d3b2eab58
update NOTICES file (#19173)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-10 14:46:23 +02:00
tudor-da
2e2bf73ab3
Publish //daml-lf/archive/encoder:encoder artifact (#19166) 2024-05-08 16:54:05 +02:00