Page MenuHomeDevCentral

Avoid to mark a site initialized on failure
ClosedPublic

Authored by dereckson on Apr 14 2023, 21:11.
Tags
None
Referenced Files
F10939810: D3015.diff
Wed, Aug 6, 13:39
Unknown Object (File)
Mon, Jul 28, 00:29
Unknown Object (File)
Fri, Jul 25, 03:18
Unknown Object (File)
Thu, Jul 24, 05:36
Unknown Object (File)
Mon, Jul 21, 15:04
Unknown Object (File)
Thu, Jul 10, 17:08
Unknown Object (File)
Wed, Jul 9, 19:12
Unknown Object (File)
Jul 1 2025, 01:12
Subscribers
None

Details

Summary

Check the recipe status to be successful, and if not, don't mark
as initialized.

Init script should be documented to use the following exit codes:

  • Success: 0
  • Failure: 2
Test Plan

alkane init

Diff Detail

Repository
rALK Alkane
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
dont-initialize-too-soon
Build Status
Buildable 4765
Build 5046: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Apr 14 2023, 21:12