Commit Graph

13099 Commits

Author SHA1 Message Date
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
azure-pipelines[bot]
cca392ad54
update NOTICES file (#19292)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-05-28 18:24:31 +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
azure-pipelines[bot]
092ef64f82
update canton to 20240507.13254.va09c52a2 (#19165)
* update canton to 20240507.13254.va09c52a2

tell-slack: canton

* sync canton at 3af0026 to ensure we have a fix for the party allocation delay

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-05-08 13:38:53 +00:00
azure-pipelines[bot]
bd4f63ef07
update canton to 20240506.13248.v3c4ab629 (#19160)
* update canton to 20240506.13248.v3c4ab629

tell-slack: canton

* fix build

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-05-07 10:42:05 +00:00
azure-pipelines[bot]
75ff49bbec
update canton to 20240504.13241.v10d14caa (#19157)
* update canton to 20240504.13241.v10d14caa

tell-slack: canton

* fix EngineLogginConfig

* fix canton fixture config

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Marcin Ziolek <marcin.ziolek@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-05-06 15:47:54 +02:00
azure-pipelines[bot]
122d263a70
update canton to 20240503.13228.v8a7a4aca (#19148)
* update canton to 20240503.13228.v8a7a4aca
tell-slack: canton

* Minimal canton bazel changes to enable building
Adapting to:
- https://github.com/DACH-NY/canton/pull/18850
- https://github.com/DACH-NY/canton/pull/18916

* Maven release daml-common-staging_util-external

---------
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: oliverse-da <oliver.seeliger@digitalasset.com>
2024-05-03 13:13:26 +00:00
azure-pipelines[bot]
eeea6a30fa
rotate release duty after 2024-05-01 (#19124)
@gerolf-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-03 12:57:22 +02:00
Ratko Veprek
02fff5d5c2
Revert "Add location to engine logger (#19104)" (#19150)
This reverts commit ce507d9959.

Reverting as the location is always the internal prelude function. So it's not really useful.
2024-05-03 12:01:00 +02:00
Moisés Ackerman
45f4c84a87
install.{bat,sh} pass --install-with-custom-version with contents of daml_version.txt (#19143)
* install.{bat,sh} pass --install-with-custom-version with contents of daml_version.txt

* pass flag only if file exists (bash)

* install.bat only passes --install-with-custom-version if daml_version.txt exists

* daml assistant accepts multiple --install-with-custom-version options, but only uses the last one (if given)

---------

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2024-05-03 11:46:14 +02:00
Gary Verhaegen
8638c25e5f
[3.1] update release instructions (#19134) 2024-05-02 16:32:19 +02:00