Repository navigation
docs: describe the project, wire the preflight test into CI, add the v1.0.0 plan #37
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
Merged
+300
−321
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
ff5870d
docs(plan): add the v1.0.0 execution plan
claude 0c5f9e3
docs: describe the project instead of the template
claude 54e6a73
ci: run the readiness preflight test
claude ba3c00c
fix(docs): repair the component table in READINESS.adoc
claude ccff3c1
docs(plan): correct the tool inventory and define replay
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| # This workflow is managed by gh actions-lock. | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| # bactrian.yml - runs the Bactrian readiness preflight test and checks that the | ||
| # preflight still reports BLOCKED. It does not run any proof or verifier. | ||
| name: Bactrian readiness | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - main | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| readiness: | ||
| name: Bactrian readiness gate | ||
| runs-on: ubuntu-24.04 | ||
| timeout-minutes: 10 | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Run the preflight test | ||
| run: bash tests/bactrian/doctor_test.sh | ||
|
|
||
| - name: Require the preflight to stay blocked | ||
| # While the authorities are unpinned, doctor.sh must exit with status 2. | ||
| # This expectation must flip when WP-00 pins the authorities. | ||
| run: | | ||
| status=0 | ||
| bash scripts/bactrian/doctor.sh || status=$? | ||
| if [ "$status" -ne 2 ]; then | ||
| echo "Expected preflight exit status 2 (BLOCKED), got $status" >&2 | ||
| exit 1 | ||
| fi | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Flipping this expectation when WP-00 merely pins the authorities will make CI fail:
doctor.shalso returns 2 until the Dune files and seven implementation modules listed atscripts/bactrian/doctor.sh:115-125exist, but those are assigned to later work packages. Keep expecting the blocked status until all prerequisites are implemented, or split authority readiness into a separate check before changing this gate to expect 0.Useful? React with 👍 / 👎.