Commit Graph

12984 Commits

Author SHA1 Message Date
Paul Brauner
cf2b387c3b
Disallow keys in LF 2.1 in the compiler (#18886)
* Disable keys in LfConversion.

* fix UnusedMatchTests.daml in integration-v21

* fix //compiler/damlc/tests:upgrades

* stop compiling daml tests that use keys with 2.1

* migrate the upgrade examples to 2.dev as they use keys

* only compile daml-script/tests dar using keys to 2.dev

* do not compile daml-script/test daml files that use keys to 2.1

* fix //docs:bindings-java-daml-test

* add TODOs everywhere tests need to be split

* add a tests that checks that contract keys are rejected for LF<2.dev

* remove keys from compatibility tests

* Add the qualified template name to the keys not supported error message
2024-04-03 16:24:22 +02:00
azure-pipelines[bot]
62fe3c4bb4
update NOTICES file (#18931)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-03 14:40:29 +02:00
azure-pipelines[bot]
d80ada08c7
update canton to 20240403.13021.v8c185ad5 (#18933)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-03 14:39:40 +02:00
azure-pipelines[bot]
9e29ce5284
update canton to 20240402.13020.vc2501a89 (#18928)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-03 12:17:35 +02:00
azure-pipelines[bot]
dee7adc67f
update canton to 20240402.13019.v58aad7d4 (#18924)
* update canton to 20240402.13019.v58aad7d4

tell-slack: canton

* align tink with canton's

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2024-04-02 20:26:43 +02:00
Gary Verhaegen
1a5450d654
[3.1] uncomment condition on daily snapshots (#18925) 2024-04-02 17:01:51 +00:00
Remy
edb0a4effd
extract archive reader trampoline in its own file (#18921) 2024-04-02 18:50:25 +02:00
Gary Verhaegen
4089b68eaf
[3.1] trigger all snapshots from main (#18920) 2024-04-02 16:19:56 +02:00
Simon Maxen
aef62dc3b6
Include package-name in global key (#18835) 2024-04-02 13:13:39 +01:00
Remy
e378a0f221
partial revert of [LF] drop retroactive interface instance #18282 (#18876)
* refactor bazel LF versions

* partial revert of [LF] drop retroactive interface instance #18282

recover retroacive instance in
- AST
- api-type-signature

* fmt

* Apply suggestions from code review

Co-authored-by: Paul Brauner <141240651+paulbrauner-da@users.noreply.github.com>

* address Paul's review

---------

Co-authored-by: Paul Brauner <141240651+paulbrauner-da@users.noreply.github.com>
2024-04-02 10:11:36 +00:00
azure-pipelines[bot]
11100b5f7f
update canton to 20240330.13012.vce359a66 (#18912)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-04-02 08:01:23 +02:00
azure-pipelines[bot]
3b51e1d5b2
update canton to 20240328.13010.v2f1421b1 (#18907)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-29 11:39:22 +01:00
azure-pipelines[bot]
2e6ff0acd5
bump blackduck script to f5ca3ea4 (#18908)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-29 09:55:11 +00:00
Gary Verhaegen
563cfb4fba
[release] notify team-releases instead of canton (#18906) 2024-03-28 13:55:07 +01:00
azure-pipelines[bot]
c66b9cd566
update canton to 20240327.13000.vb4399545 (#18899)
* update canton to 20240327.13000.vb4399545

tell-slack: canton

* remove dependencies as requested by Bazel

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2024-03-28 11:29:13 +01:00
Gary Verhaegen
929d187a28
[release] fix daily-snapshot logic (#18905)
When we manually run the daily-snapshot job to make a specific commit,
the resulting release should be named based on the release commit, not
the trigger commit.
2024-03-28 11:22:50 +01:00
Gary Verhaegen
f18a374767
[release] 2.3.19 (#18904) 2024-03-28 11:10:17 +01:00
azure-pipelines[bot]
6183e68918
update NOTICES file (#18900)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-28 10:46:10 +01:00
azure-pipelines[bot]
f5f4c282c9
rotate release duty after 2024-03-27 (#18879) 2024-03-27 17:26:55 +00:00
Gary Verhaegen
392770bfb4
[release] snapshot 3.0.0 (#18889) 2024-03-27 17:37:21 +01:00
Gary Verhaegen
dfc174d65d
bump netty (#18887)
* bump netty

* bazel run @unpinned_maven//:pin
2024-03-27 17:34:52 +01:00
azure-pipelines[bot]
353f2d04cb
update canton to 20240326.12988.v061093f7 (#18880)
* update canton to 20240326.12988.v061093f7

tell-slack: canton

* set PV=dev when config.devMode is true in the Canton fixture

* honor devVersionSupport in Sandbox.hs

* fix //language-support/ts/codegen/tests:build-and-lint-test

* explicitly set dev-version-support in the sequencer and mediator in Sandbox.hs

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Paul Brauner <paul.brauner@digitalasset.com>
2024-03-27 17:01:05 +01:00
Gary Verhaegen
f2593b913f
[release] fix Standard-Change check (#18890) 2024-03-27 17:00:23 +01:00
Gary Verhaegen
a6b5aeb657
[release] double-check 2.3 still works (#18884) 2024-03-27 14:10:24 +01:00
Gary Verhaegen
7c83265ef9
[release] faster releases - experiment (#18812)
When we build a release, it is always a "past" commit - typically, one
that has already been tested twice: once when the corresponding PR was
run, and then again as a "main"-branch commit.

Release branches don't run, but their protection rules enforce linear
merges.

Either way, we know we're building a _good_ commit, and, assuming our
builds and tests are hermetic, testing that commit again when we make a
release is a pure waste of time and CPU resources.

The other case, where we make an ad-hoc release from a branch that has
not been merged, has a similar issue: we do not necessarily want to run
the full test suite, because part of the reason we need that commit may
be that it doesn't succeed as is.

Based on that observation, I wondered what might be the minimal set of
things we actually need to build when making a release. This PR is an
experiment in trying to find that out.
2024-03-27 12:06:39 +01:00
Samuel Williams
714b0c7f4f
Daml ide multi ide (#17345)
* add -fobject-code to fix da-ghci[d]

* stage everything for Sam :-)

* Staging up last changes for Sam - track pending requests & SMethod types

* Some cleanup, get vscode working again with full parsing

* Cleanup

* Add TODO notes

* First multiple SubIDE support

* Cleanup and polish initial multi-ide

* First version of cross IDE goto definition

* Small cleanup

* Update TODO

* Linting

* Fix shutdown logic for windows

* Update ghcide, fix merge warning

* Read multi-package.yaml

* First review comments addressed

* Second batch of fixes

* Penultimate batch of changes

* Add errors as shown messages

* Add client progress token prefixing

* Review/ci fixes

* Update ghcide to main

* Update comment

---------

Co-authored-by: Dylan Thinnes <dylan.thinnes@digitalasset.com>
2024-03-27 10:49:23 +00:00
Gary Verhaegen
75b748198b
[release] faster releases experiment, take 3 (#18874) 2024-03-26 18:00:38 +01:00
Alex Matson
78e02aed89
Generate json encoders for choice args/results (#18834)
* Generate json encoders for choice args/results
2024-03-26 12:31:42 -04:00
Gary Verhaegen
9fa944a38b
[release] make sure //release is built before running it (#18871) 2024-03-26 16:13:16 +00:00
Gary Verhaegen
34ccc48d83
[release] faster releases test, take 2 (#18870) 2024-03-26 15:42:08 +00:00
Gary Verhaegen
f6b216e4e8
[release] test faster releases (#18813)
This is an attempt to test whether the configuration in #18812 is
sufficient to successfully create a release, as I try to find out the
minimal set of things we need to explicitly build.

Note that by its very nature the ad-hoc release we're creating here will
reference a transient, ephemeral commit.
2024-03-26 15:03:42 +01:00
Gary Verhaegen
f31b183447
[release] experiment with faster Windows too (#18869) 2024-03-26 14:04:46 +01:00
Gary Verhaegen
0749e7c840
refresh-canton: assume ssh for local use (#18868) 2024-03-26 13:56:13 +01:00
Gary Verhaegen
5e4615bf7c
[release] fix release detection logic (#18867) 2024-03-26 12:38:03 +01:00
azure-pipelines[bot]
81016b19ed
update canton to 20240325.12978.v1637d018 (#18864)
tell-slack: canton

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-26 09:30:57 +01:00
Remy
24a9e9f99f
Recreate LF major version 1 (#18833) 2024-03-26 09:06:35 +01:00
Raphael Speyer
f7faf1e1f5
HOTFIX: fix precommit for main (#18863)
* HOTFIX: fix precommit (#18854)

* fix precommit

* avoid moving package.json

---------

Co-authored-by: = <=>

* fix yarn-lock-check precommit

---------

Co-authored-by: = <=>
2024-03-26 07:55:20 +01:00
azure-pipelines[bot]
e09d7c3d6e
update canton to 20240325.12966.v2a7db959 (#18859)
* update canton to 20240325.12966.v2a7db959

tell-slack: canton

* Remove enable-contract-upgrading flag from Canton runner

---------

Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
Co-authored-by: Tudor Voicu <tudor.voicu@digitalasset.com>
2024-03-25 21:15:37 +01:00
Remy
d786b53522
Revert "remove support of retroactie interface instance in api-type-s… (#18856)
* Revert "remove support of retroactie interface instance in api-type-signature (#18382)"
2024-03-25 16:21:05 +00:00
Gary Verhaegen
179183441a
[release] uptick main to 3.1 (#18857) 2024-03-25 15:29:16 +01:00
Gary Verhaegen
acdb297096
[release] fix next step in release (#18849) 2024-03-24 18:35:27 +01:00
Gary Verhaegen
6a978927f5
[3.0] fix split_release job (#18848) 2024-03-23 14:50:08 +00:00
Gary Verhaegen
d0b5a13c0b
fix release process (#18829) 2024-03-23 11:19:52 +01:00
azure-pipelines[bot]
16fd0b2a17
update NOTICES file (#18837)
Co-authored-by: Azure Pipelines Daml Build <support@digitalasset.com>
2024-03-23 11:17:43 +01:00
Gary Verhaegen
483bfc9a1c
fix hourly cron: docker (#18830) 2024-03-23 11:08:46 +01:00
Gary Verhaegen
e33114bd4e
[cron] fix daily for subdir move (#18819) 2024-03-22 23:47:52 +01:00
Gary Verhaegen
dd4c6ba9ad
[release] faster releases - experiment (#18831)
When we build a release, it is always a "past" commit - typically, one
that has already been tested twice: once when the corresponding PR was
run, and then again as a "main"-branch commit.

Release branches don't run, but their protection rules enforce linear
merges.

Either way, we know we're building a _good_ commit, and, assuming our
builds and tests are hermetic, testing that commit again when we make a
release is a pure waste of time and CPU resources.

The other case, where we make an ad-hoc release from a branch that has
not been merged, has a similar issue: we do not necessarily want to run
the full test suite, because part of the reason we need that commit may
be that it doesn't succeed as is.

Based on that observation, I wondered what might be the minimal set of
things we actually need to build when making a release. This PR is an
experiment in trying to find that out.
2024-03-22 23:47:34 +01:00
Gary Verhaegen
5d0d5027ff
cleanup: remove unused credentials (#18814) 2024-03-22 16:43:39 +01:00
Gary Verhaegen
a6ec4c9b36
cleanup: remove wut.sh (take 2) (#18825) 2024-03-22 16:12:47 +01:00
Gary Verhaegen
77e7258ac1
subdir: fix hourly cron (#18826) 2024-03-22 16:12:33 +01:00