-
Notifications
You must be signed in to change notification settings - Fork 229
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
ci(getting-started): mitigate registry/yarn
flake
#9799
Conversation
Deploying agoric-sdk with
|
Latest commit: |
110326f
|
Status: | ✅ Deploy successful! |
Preview URL: | https://cc4ca059.agoric-sdk.pages.dev |
Branch Preview URL: | https://mfig-deflake-getting-started.agoric-sdk.pages.dev |
7d7a3cd
to
f621ac0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
notes on current draft...
* @param {string} url | ||
* @returns {Promise<bigint>} | ||
*/ | ||
const getLatestBlockHeight = url => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder how many implementations we have of this by now :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It occured to me: I should probably do a pure JS implementation available via the agoric wait-for-block
command to subsume the functionality of the waitForBlock
shell function and the various polling loops we have in Makefiles, etc.
// TODO: Set this to `true` when `agoric install $DISTTAG` properly updates the | ||
// getting-started workflow's dependencies to current `@endo/*` and Agoric SDK | ||
// from the local registry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like this should reference an issue.
I don't see one that's quite on target; closest I find is #8621
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try to add to that issue or create a new one to include as a reference in the TODO.
f621ac0
to
4942874
Compare
4942874
to
110326f
Compare
closes: #9325, closes: #9710
Description
This is a minor fix to make sure the
registry/yarn
getting-started CI test doesn't fail. It embraces the current situation thatagoric install $DISTTAG
is not currently usable within the default Agoric/dapp-offer-up because of the long list ofpackageJson.resolutions
dapp-offer-up
uses.Thus,
getting-started.js
hasAGORIC_INSTALL_DISTTAG
set tofalse
. This ensures thatagoric install $DISTTAG
does not execute. It is replaced by simplyyarn install
.