Skip to content

rofl: Replace expired machines still returned by the market - #736

Open
ElMagAmine wants to merge 4 commits into
oasisprotocol:masterfrom
ElMagAmine:contribution/5a227e280191
Open

ElMagAmine wants to merge 4 commits into
oasisprotocol:masterfrom
ElMagAmine:contribution/5a227e280191

Conversation

@ElMagAmine

@ElMagAmine ElMagAmine commented Oct 15, 2026 •

Copy link
Copy Markdown

An expired machine can still be returned as accepted by the market, allowing deployment to reuse it. Check its paid period before deployment and require --replace-machine to rent a replacement; otherwise return an expiration error. Compare Unix seconds directly to preserve future timestamps across the unsigned range. Add boundary and error-path tests and clarify the flag documentation.

The regression fails on the base and passes with the change. The full Go suite passes with race detection; Go lint and build succeed. Module tidy leaves dependency files unchanged.

The regression instruments signing, broadcast and fatal-exit boundaries; end-to-end deployment, live startup and scheduler log availability remain unverified. Expiration uses the local clock; chain clock skew is not addressed.

@netlify

netlify Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for oasisprotocol-cli canceled.

Name Link
🔨 Latest commit b33aac2
🔍 Latest deploy log https://app.netlify.com/projects/oasisprotocol-cli/deploys/6ad0c7136bc3454864075e25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant