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

WIP: Test PR #20

Open
wants to merge 414 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
414 commits
Select commit Hold shift + click to select a range
5e9e87d
ci(integration): update for `restore-node`
michaelfig Sep 3, 2023
f46e279
fix(agoric): relax override mistake using `@endo/init/legacy.js`
michaelfig Sep 5, 2023
3b229d8
ci(registry): publish Endo in CI registry, update versions
michaelfig Sep 5, 2023
7ec59c5
build(cosmos): prevent macOS `filesize exceeds vmsize`
michaelfig Sep 21, 2023
f59cbf3
ci: jobs compatibility with release branch (#8369)
mhofman Sep 21, 2023
3a461eb
deps(agoric): cleanup deps (#8372)
mhofman Sep 22, 2023
875341d
build(deps): pin endo package versions
mhofman Sep 20, 2023
f017674
build(deps): bump @endo/bundle-source
mhofman Sep 21, 2023
8f8782b
ci: tweak integration checks
mhofman Sep 21, 2023
c0e1089
Publishable NPM packages for mainnet (#8360)
mhofman Sep 22, 2023
faf9ba6
chore(release): publish
warner Sep 23, 2023
2d6b13f
Merge pull request #8374 from Agoric/temp-release-20230923T000433
warner Sep 23, 2023
330b7a2
fix(walletFactory): move upgrading check before baggage is populated …
dckc Sep 14, 2023
90f43ba
feat: puppetGovernor pass the Issuerkeywordrecord through (#8351)
Chris-Hibbert Sep 19, 2023
7b7364f
build: export tools from swingset-liveslots
turadg Jun 12, 2023
3f6b83b
fix: export of eslint-config.cjs
turadg Jun 13, 2023
670fc25
fix(solo): correct lookup of wallet-ui
mhofman Sep 26, 2023
a17b5cc
fix(wallet): don't assume node_modules layout
mhofman Sep 27, 2023
dd50714
Merge pull request #8392 from Agoric/mhofman/fix-solo-wallet-ui
mergify[bot] Sep 28, 2023
60a680a
fix(solo): use alternative endo init
mhofman Sep 25, 2023
9486c77
fix(internal): severe override taming for bundle-source
mhofman Sep 27, 2023
8c58145
Merge pull request #8391 from Agoric/mhofman/workaround-babel-overrid…
mergify[bot] Nov 7, 2023
867dea5
fix latest NPM packages (#8390)
mhofman Nov 9, 2023
f582901
fix(vibc): accommodate ibc-go v3 breaking changes
michaelfig Aug 1, 2023
1ca6e84
docs(SwingSet): remove mention of obsolete "need prompt ACK" for IBC …
michaelfig Aug 2, 2023
9469971
fix(vibc): put extraneous `CounterpartyChannelID` in `Counterparty` s…
michaelfig Aug 2, 2023
90b1a06
feat: port bash tests to javascript
iomekam Aug 17, 2023
a1b3b66
Merge pull request #8127 from Agoric/mfig-vibc-write-open-init
michaelfig Aug 5, 2023
c01198b
chore(deployment): add test of core proposal execution
mhofman Aug 31, 2023
9d7e8ac
test: separate upgrade-12
iomekam Aug 31, 2023
fcee255
Merge pull request #8145 from Agoric/execa-proto
iomekam Aug 17, 2023
d8db331
fix(vstorage)!: Enforce path validation
gibson042 Sep 18, 2023
b366faa
chore(deployment): shortcut to run upgrade test non-interactive
mhofman Aug 31, 2023
c88f00b
Merge pull request #8254 from Agoric/ta/upgrade-12
mergify[bot] Aug 31, 2023
645f1e3
chore(vstorage): Improve path/key testing
gibson042 Sep 18, 2023
0a3ac9a
test: move ag11 and ag12 to JS
iomekam Sep 7, 2023
1b7e73f
Partial merge pull request #8287 from Agoric/mhofman/8279-atomic-swin…
mergify[bot] Sep 1, 2023
d71458e
ci: build upgrade image from agoric-3-proposals
turadg Nov 4, 2023
29bc2c6
test: remove tmux from upgrade-tests
turadg Sep 25, 2023
2b04694
refactor(vstorage): Improve custom query handling
gibson042 Sep 18, 2023
a852db9
Merge pull request #8237 from Agoric/agoric-upgrade-11-js
mergify[bot] Sep 8, 2023
7d1aa4e
ci: remove ag0 considerations
turadg Nov 4, 2023
8d738c6
fix(swing-store): ensure crank savepoint is wrapped in transaction
mhofman Oct 4, 2023
b217c44
feat(Docker): make shell
turadg Sep 27, 2023
cfe4793
Merge pull request #8348 from Agoric/gibson-8337-vstorage-path-valida…
mergify[bot] Sep 19, 2023
cf2da61
ci: always USE_JS for chain upgrade test
turadg Nov 4, 2023
c27a586
test: add test of savepoints, including no automatic transactions
warner Oct 4, 2023
49752fe
Merge pull request #8393 from Agoric/drop-tmux
mergify[bot] Sep 27, 2023
6f3eecf
ci: voteLatestProposalAndWait poll patiently
dckc Nov 4, 2023
4ef1cde
chore(cosmos): update tendermint to v0.34.23-alpha.agoric.4
mhofman Nov 6, 2023
6e859d3
Merge pull request #8429 from Agoric/mhofman/8423-crank-ensure-transa…
mergify[bot] Oct 4, 2023
14fa701
test: fix upgrade-12 expected vault count
turadg Nov 4, 2023
5286c6d
chore(cosmos): reflect new default max block size in upgrade
mhofman Nov 2, 2023
06302a2
feat(cosmic-swingset): add begin block check and transaction (#8432)
mhofman Oct 12, 2023
7f188b3
ci: skip TAP timing collection for docker-build-sdk
turadg Nov 4, 2023
c2a75a2
chore: add upgrade test of max block size
mhofman Nov 1, 2023
46b09de
SECURITY.md updates and ownership (#8455)
raphdev Nov 2, 2023
5285da8
ci: Zoe test failing for now
turadg Nov 6, 2023
84908e5
Merge pull request #8484 from Agoric/mhofman/max-block-size
mergify[bot] Nov 6, 2023
6219230
ci: disable upgrade-12 actions that aren't working
turadg Nov 7, 2023
e04b398
chore(cosmos): update cosmos-sdk (#8507)
mhofman Nov 8, 2023
a36ae56
Merge pull request #8476 from Agoric/8443-drop-upgrade-tests
mhofman Nov 8, 2023
3350bdc
ci(install-deps): work around Ansible Launchpad PPA breakage
michaelfig Nov 9, 2023
3b97178
chore(deployment): test upgrade-12 does not have core proposal
mhofman Nov 8, 2023
3b3ccd4
Merge pull request #8515 from Agoric/mfig-install-ansible-workaround
mergify[bot] Nov 9, 2023
11637d2
chore: change branch name used for creating releases (#8375)
mhofman Nov 9, 2023
35aef87
feat(swing-store): faster import of swing-store
mhofman Nov 9, 2023
03f642d
feat(swing-store): prevent SwingSet usage of imported swing-store
mhofman Nov 10, 2023
06edaa4
Merge pull request #8522 from Agoric/mhofman/import-swing-store-fast
mergify[bot] Nov 10, 2023
664f59f
fix: hard code working agoric-3-proposals image
mhofman Nov 10, 2023
cfa7cb2
rebase/cherry-pick commits for upgrade 12 (#8510)
mhofman Nov 10, 2023
ee5a5fd
chore(release): publish
mhofman Nov 10, 2023
26244e8
chore(release): publish agoric-upgrade-12 (#8525)
mhofman Nov 11, 2023
080f5d4
docs(upgrade-test): revise readme
mhofman Nov 30, 2023
6b984ef
chore: rename next upgrade
mhofman Nov 30, 2023
6426775
chore: remove upgrade-12 and other actions
mhofman Nov 30, 2023
5fe83be
Merge pull request #8588 from Agoric/mhofman/8578-upgrade-13-name
mhofman Dec 1, 2023
2c64440
fix: handle Node 18 breaking change (#8600)
mhofman Dec 4, 2023
a1a75a0
refactor: OfferMaker takes agoricNames
turadg Jun 16, 2023
7ae9ebc
refactor(clientSupport): move makeParseAmount
turadg May 22, 2023
ef0730f
refactor(clientSupport): inline parseAmount
turadg May 22, 2023
63c1abb
chore!: restrict exports from 'agoric' package
turadg Jun 15, 2023
2de09de
chore(deps): remove dep on 'agoric'
turadg Jun 15, 2023
9b1b763
build: export for loadgen
turadg Jun 22, 2023
89add68
Merge pull request #7824 from Agoric/ta/refactor-clientSupport
turadg Jun 22, 2023
fd9a44d
fix(inter-protocol): brands in CLI need not start with A-Z (#8258)
dckc Oct 5, 2023
6672e5c
feat: update ibc-go to v4, adapt packages and API
JimLarson Sep 28, 2023
f113b2d
build: eliminate dependence on gaia/ag0
JimLarson Oct 25, 2023
7ae9a70
fix: handle hang-on-halt behavior from agoric-labs/cosmos-sdk#305
JimLarson Nov 5, 2023
3a37f5e
Revert "fix: handle hang-on-halt behavior from agoric-labs/cosmos-sdk…
JimLarson Nov 9, 2023
9d750dd
fix: update dependencies to fix tests
JimLarson Nov 9, 2023
db4dc7b
chore: upgrade ibc-go to latest patch version
JimLarson Nov 9, 2023
057f9f0
docs: update changelog
JimLarson Nov 11, 2023
8111c43
fix(cli): handle not found error in vstorage requests
mhofman Nov 16, 2023
0b84aca
Merge pull request #8409 from Agoric/8223-ibc-4
mergify[bot] Nov 15, 2023
715141b
chore(x/vstorage): add querier test
mhofman Nov 17, 2023
0095b0d
fix(solo): properly expose `/wallet/bridge.html` (#8533)
michaelfig Nov 15, 2023
3f01369
fix(casting): dont crash on bad capdata
samsiegart Nov 23, 2023
b9d5f83
Merge pull request #8538 from Agoric/mhofman/8535-fix-cli-vstorage-no…
mergify[bot] Nov 17, 2023
0ac9697
fix(agops): fix continuing id lookup in oracle setPrice
dckc Oct 14, 2023
a126c15
Merge pull request #8562 from Agoric/sam/casting-capdata-errors
mergify[bot] Nov 27, 2023
54127af
chore(upgrade-test): various fixes
mhofman Dec 3, 2023
deb940f
Merge pull request #8457 from Agoric/dc-setPrice-mcs
mergify[bot] Nov 30, 2023
868f692
chore(upgrade-test): remove BOOTSTRAP_MODE
mhofman Dec 3, 2023
deab7e4
fix(agoric): print errors while following
michaelfig Dec 4, 2023
7ab2dfe
Merge pull request #8598 from Agoric/mhofman/remove-test-bootstrap-up…
mergify[bot] Dec 4, 2023
48296f7
fix(casting): properly follow an unpopulated state entry
michaelfig Dec 4, 2023
473dc3c
Merge pull request #8604 from Agoric/mfig-follow-empty
mergify[bot] Dec 4, 2023
16435d2
feat: add exporter.getHostKV() API
warner Dec 5, 2023
50a5a55
feat(x/swingset): refuse smart wallet messages if not provisioned
mhofman Nov 29, 2023
2d388c2
fix: export state-sync snapshot without a DB write-lock
warner Dec 5, 2023
2338ba2
chore(cosmos): always update swingset params on upgrade
mhofman Nov 29, 2023
975533e
feat: pick up return-grants from latest cosmos-sdk
JimLarson Dec 5, 2023
b4fff23
Merge pull request #8619 from Agoric/warner/8523-export-without-write…
mergify[bot] Dec 6, 2023
5073800
feat(x/swingset): auto-provision smart wallet
mhofman Nov 29, 2023
d78107c
Merge pull request #8616 from Agoric/8570-return-grants
mergify[bot] Dec 6, 2023
e0a2f1d
chore(upgrade-test): add test of auto-provision
mhofman Dec 3, 2023
c58021d
Merge pull request #8602 from Agoric/mhofman/8558-auto-provision
mergify[bot] Dec 6, 2023
19404a3
feat(cosmos): un-wire x/crisis (#8582)
mhofman Dec 6, 2023
457beb3
chore(web-components): fix lint
mhofman Dec 6, 2023
24acd13
rebase/cherry-pick commits for upgrade 13 (#8623)
mhofman Dec 7, 2023
ffa91c6
chore(xsnap-lockdown): Force version bump
mhofman Dec 7, 2023
4597fe3
chore: fix release instructions and tools
mhofman Nov 13, 2023
5a6cdeb
chore(release): publish
mhofman Dec 7, 2023
b0c1f78
publish agoric-upgrade-13 (#8633)
mhofman Dec 7, 2023
b15c2d7
ci: schedule nightly test against Endo master
michaelfig Jun 6, 2023
eb993af
ci(restore-golang): avoid double-caching
michaelfig Jun 6, 2023
835d237
ci(notify-status): upgrade deprecated actions
michaelfig Jun 15, 2023
62fd0eb
ci(restore-node): properly use `context.eventName` in script
michaelfig Jun 12, 2023
0699434
Merge pull request #7887 from Agoric/mfig-periodic-endo
michaelfig Jun 6, 2023
de70910
ci: send test failure notifications when not a PR
michaelfig Jun 15, 2023
2788beb
Merge pull request #7917 from Agoric/mfig-schedule-endo-ci
michaelfig Jun 12, 2023
08e1bb2
Merge pull request #7934 from Agoric/mfig-ci-notifications
michaelfig Jun 21, 2023
89f1608
ci: properly handle subdependencies for Endo branch override
michaelfig Jun 20, 2023
92a4dd2
ci(SwingSet): only test golden snapshot hashes with pinned Endo
michaelfig Jun 20, 2023
64fd475
Merge pull request #7958 from Agoric/mfig-endo-ci
michaelfig Jun 22, 2023
b6a3b61
chore(test-docker-build): break up overlong line
michaelfig Aug 3, 2023
9c4c8fd
ci(restore-node): detect staged `yarn.lock`, `package.json`
michaelfig Aug 9, 2023
42756b0
ci(restore-node): avoid clobbering `#endo-branch:` setup
michaelfig Aug 7, 2023
df7b11b
ci(test-dapp): find `notify-status` action in `./agoric-sdk`
michaelfig Aug 9, 2023
767c4f6
Merge pull request #8155 from Agoric/mfig-endo-branch-cache
michaelfig Aug 9, 2023
f10dbc8
Merge pull request #8168 from Agoric/mfig-staged-endo
michaelfig Aug 9, 2023
eb5399c
docs(test-docker-build): add some useful comments
michaelfig Jul 30, 2023
5bb262f
ci(deployment): only install ansible and terraform if not available
mhofman Aug 9, 2023
4a93eca
Merge pull request #8169 from Agoric/mhofman/dont-reinstall-deploymen…
mhofman Aug 19, 2023
cabb45a
ci(lint): raise timeout 10m to 15m
turadg Aug 22, 2023
d5b8a9e
ci: combine integration tests
mhofman Aug 25, 2023
9739333
ci: remove mergify pismo queue
mhofman Aug 25, 2023
f51cc29
ci: add docker upgrade test to mergify
mhofman Aug 25, 2023
1b0d147
ci: add checks for merge strategy and linear history
mhofman Aug 25, 2023
8bc3893
ci: capture combined integration test results
mhofman Aug 29, 2023
2f00f15
ci: rename automerge:merge label to automerge:no-update
mhofman Aug 27, 2023
93a49d1
ci: add unlabeled pull_request trigger
mhofman Aug 29, 2023
34c6d73
Merge pull request #8253 from Agoric/mhofman/combine-integration
mhofman Aug 27, 2023
d1022c4
ci(mergify): use integration test combined result
mhofman Aug 29, 2023
1a281f5
ci(Mergify): configuration update (#8266)
mhofman Aug 28, 2023
20c5f52
ci: fix mergify matrix integration tests (#8267)
mhofman Aug 29, 2023
16ef814
ci: only satisfy pre-checks once merge requested (#8275)
mhofman Aug 29, 2023
3d052ec
ci: carry forward the previous success of an integration test
mhofman Aug 30, 2023
cd5ca93
ci(mergify): require success of integration test
mhofman Aug 30, 2023
e1ca6c7
ci: fix integration test skip (#8283)
mhofman Aug 31, 2023
b14331a
ci: use a manual check for integration-test-result (#8315)
mhofman Sep 8, 2023
0d7a62f
ci: ensure integration tests run to completion (#8261)
mhofman Sep 9, 2023
aed1786
ci(integration): add `ag-chain-cosmos` output as an artifact
michaelfig Sep 8, 2023
1b45782
ci(registry): publish Endo in CI registry, update versions
michaelfig Sep 5, 2023
6c57002
ci: jobs compatibility with release branch (#8369)
mhofman Sep 21, 2023
935c55d
chore(upgrade-test): remove BOOTSTRAP_MODE
mhofman Dec 3, 2023
e3676f2
Merge pull request #8598 from Agoric/mhofman/remove-test-bootstrap-up…
mergify[bot] Dec 4, 2023
7249d40
ci(linear-history): fix external PR sha references
michaelfig Jan 9, 2024
ffde07b
ci: manipulate checks within `workflow_run`
michaelfig Jan 9, 2024
28e5380
ci(mergify-ready): stub `wait-integration-pre-checks` to appease requ…
michaelfig Jan 9, 2024
14120e2
ci: defer Loadgen compatibility
turadg Dec 11, 2023
3835ac6
fix H1 link in SECURITY.md
raphdev Jan 9, 2024
6d81783
Merge pull request #8731 from Agoric/mfig-ci-external-prs
michaelfig Jan 9, 2024
097e6e0
Merge pull request #8734 from Agoric/raphdev-secmd
mergify[bot] Jan 9, 2024
add76cb
lint: disable jsdoc/require-param-type for .ts
turadg Dec 12, 2023
392cf80
chore(deps): bump commander to 11.1
turadg Dec 8, 2023
8e92fc4
feat: a3p-integration package
turadg Dec 12, 2023
457a6e1
ci: run a3p-integration instead of upgrade-tests
turadg Dec 8, 2023
c9958da
chore: remove old upgrade-tests
turadg Dec 8, 2023
26d198b
Merge pull request #8635 from Agoric/8605-local-a3p
mergify[bot] Jan 11, 2024
3aad046
chore(deployment): remove unused docker-push make targets
mhofman Jan 17, 2024
fba2ab3
chore: default deployment docker tag to unreleased
mhofman Jan 17, 2024
44cbe2c
Merge pull request #8760 from Agoric/mhofman/clean-docker-tags
mergify[bot] Jan 17, 2024
5db2a2c
Cherry-pick CI improvements to release branch (#8743)
mhofman Jan 19, 2024
483e9fb
chore: upgrade-13 sdk release image tag is 39
mhofman Jan 15, 2024
0333099
feat(cosmos): next upgrade is `agoric-upgrade-14`
mhofman Jan 15, 2024
8d3dc9e
ci: update a3p tests for upgrade-14
mhofman Jan 15, 2024
d15d120
Prepare upgrade-14 branch (#8755)
mhofman Jan 19, 2024
f4df63a
chore(types): correct ManifestBundleRef
turadg Jun 20, 2023
ad28858
refactor(agoric-cli): Improve git clone efficiency
gibson042 Jul 17, 2023
ad88d92
Merge pull request #7957 from Agoric/ta/bundle-types
turadg Jun 21, 2023
d6f975e
Merge pull request #8057 from Agoric/gibson-2023-07-agoric-cli-cleanup
gibson042 Jul 17, 2023
5de1e93
feat(deploy-script-support): generalize `extractCoreProposalBundles`
michaelfig Jul 29, 2023
e0cb383
test: drop obsolete tests
Chris-Hibbert Aug 4, 2023
960de3b
fix(cosmic-swingset): only require vatconfig if uninitialized
michaelfig Aug 3, 2023
e36966d
feat(cosmic-swingset): implement `ENACTED_UPGRADE` blocking send
michaelfig Jul 29, 2023
d2e4b4b
Merge pull request #8149 from Agoric/7175-expungeTests
Chris-Hibbert Aug 4, 2023
41133e0
fix(cosmic-swingset): only search for the `vatconfig` on init
michaelfig Aug 4, 2023
19725e5
feat: better diagnostic for bad proposal
turadg Aug 11, 2023
b282c7a
Merge pull request #8112 from Agoric/mfig-swup-core-proposals
michaelfig Aug 12, 2023
452e6ad
chore(types): improve coverage
turadg Aug 12, 2023
5c33984
refactor(cosmic-swingset): share runSwingset with bootstrap
mhofman Aug 30, 2023
1cf7c92
feat(cosmic-swingset): run upgrade actions to completion
mhofman Aug 31, 2023
9a1aebc
Merge partial pull request #8287 from Agoric/mhofman/8279-atomic-swin…
mergify[bot] Sep 1, 2023
c373264
chore(deploy-script-support): Rename variable for clarity
gibson042 Jan 4, 2024
4296072
chore(deploy-script-support): Rename `allPowers` to clarify its limit…
gibson042 Nov 13, 2023
7640bae
chore(deploy-script-support): Improve JSDoc annotation
gibson042 Jan 4, 2024
d59a455
chore(deploy-script-support): Move default restoreRef creation up a l…
gibson042 Nov 13, 2023
03666ac
chore(deploy-script-support): Fix package reference in comment
gibson042 Jan 4, 2024
df36c5b
chore(deploy-script-support): Clarify the [methodName, ...args] struc…
gibson042 Nov 13, 2023
c6c172b
chore(deploy-script-support): For clarity, rename "override" paramate…
gibson042 Jan 4, 2024
0cb1335
chore(deploy-script-support): Enforce bundleRef shape
gibson042 Nov 13, 2023
283e649
chore(deploy-script-support): Complete the "override" → "custom" rena…
gibson042 Jan 4, 2024
b5e27d2
chore(deploy-script-support): Rename `manifestNS` to clarify its nature
gibson042 Nov 13, 2023
49672ef
chore(deploy-script-support): Clarify script completion value as pseu…
gibson042 Jan 4, 2024
65a6d9d
chore(deploy-script-support): Improve comment
gibson042 Nov 23, 2023
18902d2
chore(deploy-script-support): Avoid "make…" names for non-function va…
gibson042 Jan 4, 2024
579c3f0
chore(deploy-script-support): Clean up logging
gibson042 Nov 23, 2023
04ed28a
chore(deploy-script-support): Sync code patterns across files
gibson042 Jan 4, 2024
8f890ab
chore(deploy-script-support): Comment on the scope of `powers`
gibson042 Nov 23, 2023
b85acb2
chore(deploy-script-support): Update assert(cond, X`...`) calls to co…
gibson042 Jan 4, 2024
78ed7a6
chore(deploy-script-support): Rename variables for clarity
gibson042 Nov 27, 2023
7d56920
feat(cosmic-swingset): add begin block check and transaction (#8432)
mhofman Oct 12, 2023
0d6dbbd
chore(deploy-script-support): Apply suggestions from code review
gibson042 Jan 9, 2024
2a68ca1
feat(deploy-script-support): Write out bundle file names in machine r…
kriskowal Nov 17, 2023
caeadfe
Merge pull request #8528 from Agoric/gibson-2023-11-cleanup-corepropo…
mergify[bot] Dec 3, 2023
6a02bcc
chore(deploy-script-support): Lookup the agoricNames installation adm…
gibson042 Jan 9, 2024
2baf64f
Merge pull request #8559 from Agoric/kriskowal-and-fudco-hackathon
mergify[bot] Jan 4, 2024
22950e1
Merge pull request #8712 from Agoric/gibson-2024-01-cleanup-corepropo…
mergify[bot] Jan 10, 2024
8ae111d
chore(types): InstallEntrypoint
turadg Jan 19, 2024
db8db21
Cherry-pick core proposal and deploy-script-support changes (#8747)
mhofman Jan 19, 2024
5ef517d
support for watchedPromises in fakeVirtualSupport (#8661) (#8772)
Chris-Hibbert Jan 19, 2024
31d7c2f
feat: smartWallet verstion 2 with watchedPromises
turadg Nov 30, 2023
f82b82b
fix(smartWallet): handle upgrade disconnects from purse notifiers
dckc Nov 21, 2023
aad9f16
feat: repairUnwatchedPurses
Chris-Hibbert Jan 18, 2024
97d14d4
chore: ignore ts error for type of watchPromise
Chris-Hibbert Jan 18, 2024
fc6c776
chore: move test-wallet-upgrade from boot back to vats
dckc Jan 18, 2024
3735429
chore: update imports in test-wallet-upgrade
dckc Jan 18, 2024
8c7c0e4
chore: punt other another wallet test file
dckc Jan 18, 2024
1bcab7b
chore: repair changed dropped from smartWallet
Chris-Hibbert Jan 18, 2024
adecda8
chore: drop duplicate file
Chris-Hibbert Jan 19, 2024
81d2080
ci: test wallet-factory core proposal
mhofman Jan 19, 2024
69a9040
# This is a combination of 22 commits.
Jorge-Lopes Jan 12, 2024
6b7247d
fix(liquidationVisibility): fix dependency errors
anilhelvaci Feb 16, 2024
f0ed85b
fix(liquidationVisibility): fix test-vaultLiquidation.js
anilhelvaci Feb 16, 2024
e17e114
fix(liquidationVisibility): remove unused boot package
anilhelvaci Feb 19, 2024
1f641d9
fix(liquidationVisibility): fix race condition when running tests con…
anilhelvaci Feb 19, 2024
a11a830
fix(liquidationVisibility): lint fixes
anilhelvaci Feb 19, 2024
7436072
fix(liquidationVisibility): lint and type fixes
anilhelvaci Feb 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,15 @@
docker
packages/cosmic-swingset/t[0-9]
packages/cosmic-swingset/t[0-9].*
packages/cosmic-swingset/lib/lib*.h
packages/cosmic-swingset/lib/lib*.so
golang/cosmos/build
packages/deployment
packages/swingset-runner
packages/stat-logger
**/deployment.json
**/vars.tf
**/*.log
**/build
**/bundles
**/__pycache__
**/*.egg-info
**/swingset-kernel-state
Expand Down
1 change: 1 addition & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ module.exports = {
{
files: ['*.ts'],
rules: {
'jsdoc/require-param-type': 'off',
// TS has this covered and eslint gets it wrong
'no-undef': 'off',
},
Expand Down
82 changes: 82 additions & 0 deletions .github/actions/get-latest-check/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
name: Get latest check
description: "Get the latest integration-test-result check associated with the workflow's commit"

inputs:
create-if-needed:
description: 'Create a new check if a previous check is not suitable'
default: false

outputs:
run_id:
description: 'The id of the integration-test-result check'
value: ${{ steps.attach-check.outputs.result }}

runs:
using: composite
steps:
- name: Attach integration-test-result check
id: attach-check
uses: actions/github-script@v6
env:
CREATE_IF_NEEDED: '${{ inputs.create-if-needed }}'
with:
result-encoding: string
script: |
let createIfNeeded = process.env.CREATE_IF_NEEDED === 'true'
let runId;
const currentWorkflowRunUrl = `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}`
const head_sha = context.eventName === 'pull_request' ?
context.payload.pull_request.head.sha : context.sha

async function attachRun(run) {
if (!run) {
core.setFailed(`No integration-test-result check found for commit ${head_sha}`)
return
}
console.log('Latest integration-test-result check run:', run.html_url)
if (run.status === 'completed') {
core.setFailed(`Latest integration-test-result check status is already completed`)
return
}
if (run.output.summary) {
if (run.output.summary.includes(currentWorkflowRunUrl)) {
console.log('Latest integration-test-result check is already attached to this workflow run, using.')
return run.id
} else {
core.setFailed(`Latest integration-test-result check found attached to workflow run: ${run.output.summary}`)
return
}
}

const res = await github.rest.checks.update({
...context.repo,
check_run_id: run.id,
output: {
title: 'Integration Test Aggregate Result',
summary: `Synthetic check capturing the result of the <a href="${currentWorkflowRunUrl}">integration-test workflow run</a>`,
},
})
console.log(`Attached integration-test-result check to this workflow run`)
return run.id
}

const runs = await github.paginate(github.rest.checks.listForRef, {
...context.repo,
ref: head_sha,
check_name: "integration-test-result",
})
core.debug(`integration-test-result check runs: ${JSON.stringify(runs, null, 2)}`)
runId = await attachRun(runs.sort((a, b) => Date.parse(b.started_at) - Date.parse(a.started_at))[0])

if (!runId && createIfNeeded) {
process.exitCode = 0
const res = await github.rest.checks.create({
...context.repo,
head_sha,
name: "integration-test-result",
})
core.debug('check create response: ${JSON.stringify(res, null, 2)}')
console.log('created integration-test-result check:', res.data.html_url)
runId = await attachRun(res.data)
}
return runId
11 changes: 6 additions & 5 deletions .github/actions/notify-status/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ description: 'Notify on actions status'
inputs:
from:
description: 'The email address to send the notification from'
required: true
required: false
to:
description: 'Recipients'
required: true
required: false
password:
description: 'Sendgrid Password'
required: true
required: false
webhook:
description: 'Slack webhook URL'
required: true
Expand All @@ -19,7 +19,8 @@ runs:
using: composite
steps:
- name: send ${{ job.status }} email
uses: dawidd6/action-send-mail@v2
if: ${{ inputs.to != '' }}
uses: dawidd6/action-send-mail@v3
with:
# mail server settings
server_address: smtp.sendgrid.net
Expand All @@ -42,7 +43,7 @@ runs:
from: ${{ inputs.from }}
- name: Send GitHub trigger payload
id: slack
uses: slackapi/slack-github-action@v1.18.0
uses: slackapi/slack-github-action@v1.24.0
with:
payload: |
{
Expand Down
18 changes: 7 additions & 11 deletions .github/actions/restore-golang/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ inputs:
go-version:
description: 'The version of Go to use'
required: true
path:
description: 'The relative path to the agoric-sdk directory'
required: false
default: '.'

runs:
using: composite
Expand All @@ -14,22 +18,14 @@ runs:
shell: bash
- uses: actions/checkout@v3
with:
path: ${{ inputs.path }}
clean: 'false'
submodules: 'true'
- uses: actions/setup-go@v4
with:
cache-dependency-path: ${{ inputs.path }}/golang/cosmos/go.sum
go-version: ${{ inputs.go-version }}
- uses: kenchan0130/actions-system-info@master
id: system-info
- name: cache Go modules
id: cache
uses: actions/cache@v3
with:
path: ${{ env.GOPATH }}/pkg/mod
key: ${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.release }}-go-${{ inputs.go-version }}-built-${{ hashFiles('go.sum') }}
restore-keys: |
${{ runner.os }}-${{ runner.arch }}-${{ steps.system-info.outputs.release }}-go-${{ inputs.go-version }}-built-
- name: go mod download
working-directory: ${{ inputs.path }}/golang/cosmos
run: go mod download
shell: bash
if: steps.cache.outputs.cache-hit != 'true'
48 changes: 39 additions & 9 deletions .github/actions/restore-node/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,20 @@ inputs:
description: 'The relative path to the agoric-sdk directory'
required: false
default: '.'
keep-endo:
description: 'Keep Endo repository after installing from it'
required: false
default: 'false'
xsnap-random-init:
description: Build xsnap binary with random memory init
required: false
default: '0'

outputs:
endo-branch:
description: 'The branch of Endo used (NOPE if no override)'
value: ${{ steps.endo-branch.outputs.result }}

runs:
using: composite
steps:
Expand All @@ -22,13 +31,13 @@ runs:
shell: bash
- uses: actions/checkout@v3
with:
clean: 'false'
clean: false
submodules: 'true'
persist-credentials: false
path: ${{ inputs.path }}
# Select a branch on Endo to test against by adding text to the body of the
# pull request. For example: #endo-branch: some-pr-branch
# The default is '*NONE*' to indicate not to check out Endo, just use
# The default is '*NOPE*' to indicate not to check out Endo, just use
# the published NPM packages.
- name: Get the appropriate Endo branch
id: endo-branch
Expand All @@ -37,7 +46,9 @@ runs:
result-encoding: string
script: |-
let branch = 'NOPE';
if (context.payload.pull_request) {
if (context.eventName === 'schedule') {
branch = 'master';
} else if (context.payload.pull_request) {
const { body } = context.payload.pull_request;
const regex = /^\#endo-branch:\s+(\S+)/m;
const result = regex.exec(body);
Expand Down Expand Up @@ -69,13 +80,25 @@ runs:
echo "sha=NOPE" >> $GITHUB_OUTPUT
fi
shell: bash
- name: merge endo integration branch
id: endo-integration-merge
run: |-
set -e
git ls-remote --exit-code --heads origin "refs/heads/integration-endo-${{ steps.endo-branch.outputs.result }}" || exit 0
git fetch --unshallow origin integration-endo-${{ steps.endo-branch.outputs.result }}
git config user.name github-actions
git config user.email github-actions@github.com
git merge --commit --no-edit origin/integration-endo-${{ steps.endo-branch.outputs.result }}
shell: bash
working-directory: ${{ inputs.path }}
if: steps.endo-branch.outputs.result != 'NOPE'
- name: Reconfigure git to use HTTP authentication
run: git config --global url."https://github.com/".insteadOf ssh://git@github.com/
shell: bash
- uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node-version }}
cache: 'yarn'
cache: yarn
cache-dependency-path: ${{ inputs.path }}/yarn.lock
- uses: kenchan0130/actions-system-info@master
id: system-info
Expand All @@ -96,14 +119,18 @@ runs:
sudo apt-get update
sudo apt-get install libbsd-dev
fi
yarn install
# Replace the Endo packages with the ones built from the checked-out branch.
if test -e ~/endo; then
scripts/replace-packages.sh ~/endo
rm -rf ~/endo
scripts/get-packed-versions.sh ~/endo | scripts/resolve-versions.sh
fi
yarn install
mkdir -p node_modules/.cache/agoric
date > node_modules/.cache/agoric/yarn-installed
if test -e ~/endo; then
# Stage the redirected `yarn install` consequences.
git add package.json yarn.lock
${{ inputs.keep-endo }} || rm -rf ~/endo
fi
shell: bash
if: steps.built.outputs.cache-hit != 'true'
- name: yarn build
Expand All @@ -120,9 +147,12 @@ runs:
- name: git dirty check
working-directory: ${{ inputs.path }}
run: |-
if [ -n "$(git status --porcelain)" ];
then
set -x
# In case of Endo override, ignore matching index and worktree.
# (First column is non-space, second column is space, followed by separator.)
if [ -n "$(git status --porcelain | grep -Eve '^[^ ] '; true)" ]; then
git status
echo "Unexpected dirty git status" 1>&2
exit 1
fi
shell: bash
29 changes: 19 additions & 10 deletions .github/workflows/after-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
branches:
# $default-branch
- master
- release-pismo
- 'release-*'
workflow_dispatch:

jobs:
build:
Expand Down Expand Up @@ -54,14 +55,22 @@ jobs:
run: npm whoami
- name: publish to NPM tag
run: |
if [ "${{ github.ref_name }}" = "release-pismo" ]; then
# A pismo dev release.
TAG=pismo-dev
else
# Just a dev release.
TAG=dev
fi
yarn lerna publish --conventional-prerelease --canary --exact \
case $GITHUB_REF_NAME in
release-*)
# A pre-release.
TAG=${GITHUB_REF_NAME#release-}-dev
;;
master)
# A trunk dev release.
TAG=dev
;;
*)
# Some other dev release.
TAG=other-dev
;;
esac
# without concurrency until https://github.com/Agoric/agoric-sdk/issues/8091
yarn lerna publish --concurrency 1 --conventional-prerelease --canary --exact \
--dist-tag=$TAG --preid=$TAG-$(git rev-parse --short=7 HEAD) \
--no-push --no-verify-access --yes
- name: notify on failure
Expand Down Expand Up @@ -101,7 +110,7 @@ jobs:
- uses: nwtgck/actions-netlify@v1.1
with:
# Production deployment if a push or merged PR.
production-deploy: ${{github.event_name == 'push'}}
production-deploy: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
publish-dir: coverage/html
# SECURITY: we don't want to hand out the Github token to this action.
# github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ag-solo-xs.yml.DISABLED
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
branches:
# $default-branch
- master
- release-pismo
- 'release-*'

jobs:
xs-build:
Expand Down
Loading
Loading