Repository navigation
Add a release-built example workspace - #201
Conversation
|
Automatic CI repair attempt 1 of 2 started for CI. |
The builder no longer reads a cached workspace archive, so drop the cache fixture and mtime check, and replace the missing-cache test with one for running outside a git checkout.
|
Automatic CI repair attempt 2 of 2 started for Example workspace. |
|
The CI failure was a formatting error from this PR's own files. That's fixed and pushed to What I changed:
What's still failing: the Example workspace check (run I didn't change anything for this one. It needs a run inside the ran via Claude (claude-opus-5-5, high) |
git diff reported repo-root paths while LaTeX inputs are project-relative, so a subfolder project never saw its paper as changed and built no diff.
|
Automatic CI repair stopped after 2 attempts. CI is still failing, and no further automated repair turns will run on this PR; human review is required. Latest failed run. |
make render does not run paper-preview.sh, so the release site had no paper-previews/paper/main.pdf for check-paper.sh to find.
|
The Example workspace check now passes on #201: run 38226041319 at
I updated the PR description to match. The PR is still a draft with ran via Claude (claude-opus-5-5, high) |
|
@gas2own Two things before this leaves draft:
|
|
Started async job |
|
Automated review status
Now: automated cycle open — it closes once two different reviewer backends have posted a whole-PR review of the same head ( |
🤖 Independent AI code review (Codex)Automated review of the PR by a separately invoked Codex reviewer. Prioritised P0/P1/P2; treat as advisory input for the human reviewer, not a merge gate. P0 (blocking)None. P1 (should fix)None. P2 (nits)
Recommendation: approve-with-nits |
|
@jbragg Both items are handled on #201: the independent review is running, and the four older PRs are sorted. #201 stays a draft, and
ran via Claude (claude-opus-5-5, xhigh) ↪ Superseded by the later reply |
|
Started async job |
|
Started async job |
|
❌ CI toolchain check FAILED (exit 1) for
Likely cause (not confirmed): the checkout's working tree had files whose stat info didn't match the index, so shortened — ask for the full reply |
|
Started async job |
|
❌ CI toolchain check FAILED (exit 2) for
Failed tests
shortened — ask for the full reply |
|
Started async job |
|
✅ CI toolchain check passed for
The two baseline failures were deselected in shortened — ask for the full reply |
|
Started async job |
|
Fixed both review findings in b3c9b0a: working guide links and duplicate-free release failure reporting. All GitHub checks pass. PR 201 documents the older-PR cleanup: #165 is closed; #143, #145 and #160 remain separate. A second independent review is queued; the PR stays draft and human review remains held. Decisions needed
shortened — ask for the full reply ran via Codex (gpt-6.1-sol, high) ↪ |
🤖 Independent AI code review (Claude)Automated review of the PR by a separately invoked Claude reviewer. Prioritised P0/P1/P2; treat as advisory input for the human reviewer, not a merge gate. P0 (blocking)None. P1 (should fix)
P2 (nits)
Recommendation: request-changes |
|
Started async job |
|
Started async job |
|
The deployment fixes passed the TeX-image tests, real demo/PDF-diff build and clean-checkout validation; I recorded the exact-tree results. The existing implementation continuation is still running and owns the push and review handoff. PR 201 remains draft with human review held. Decisions needed
ran via Codex (gpt-6.1-sol, high) |
|
Resolved the second review in 58502db, on the existing branch.
Validation: full credential-isolated local Before push, All verified code findings are addressed. Administrator-owned Pages/tag-policy setup remains open before live deployment. The PR stays draft and human review remains held while the fixed head enters independent re-review. |
|
Started async job |
🤖 Independent AI code review (Codex)Automated review of the PR by a separately invoked Codex reviewer. Prioritised P0/P1/P2; treat as advisory input for the human reviewer, not a merge gate. P0 (blocking)None. P1 (should fix)
P2 (nits)None. Recommendation: request-changes |
|
Addressed the review findings on PR 201, with every disposition recorded. All CI and real TeX demo checks pass. The fresh review raised one prerelease-trigger concern; its follow-up is queued for triage. The PR remains draft and human review remains held. Decisions needed
ran via Codex (gpt-6.1-sol, high) ↪ |
|
PR 201 is ready for review, with The automatic review allowance is exhausted. The cycle ended without a clean independent re-review; I recommend human review now. Decisions needed
ran via Codex (gpt-6.1-sol, high) · shortened — ask for the full reply |
Adds
examples/workspace/, a public example with a Quarto literature review and a separate LaTeX paper sharing one bibliography. Each final release builds the example from that release’s own checkout and published TeX image, so the saved edit demo needs no release pins to bump or cross-repository updater.The example loads the managed rules, helpers and evidence extension from
plugins/asta-tools/skills/workspace/assets/in the same checkout. A fixed edit inscripts/demo-edits.patchgenerates real text differences and a highlighted paper PDF.paper-preview.shnow handles workspaces below the Git root, with a regression test for project-relative paths.After final-tag image promotion and
:latestimage updates succeed,docker.ymlcalls the example workflow. Only a passing example build for the newest final release can deploy to Pages. Deployment jobs share one Pages lock and retain pending jobs; an older build cannot overwrite a newer demo or cancel its queued deployment. Build failure preserves any existing site; deployment failure reports the live state as unconfirmed. Both reuse one issue per release tag. Example failures do not block image promotion, which has already completed. The separate, non-required PR check is path-filtered to the example, its workflow/tests and the shared workspace assets.Deployment requires a repository administrator to enable Pages with source GitHub Actions and configure the
github-pagesenvironment with a Tag rule forv*under Selected branches and tags. Pages is currently disabled (has_pages: false); no other workflow publishes this repository’s site. The reusable workspace workflow publishes caller repositories. The example owns this repository’s site root; future publishers must combine their content. The Codespace link remains omitted pending verification of the subfolder preview.Related PRs
latestGit branch and a floating default for other workspaces are still separate, unimplemented follow-up requirements; this PR does not change either policy.mainat release 0.109.0 and their CI passes. They currently conflict intests/test_what_changed.py, so whichever merges second needs a rebase; their generator changes merge automatically.mainat release 0.109.0 and CI passes.Review findings addressed
The independent review of
b9bf649found no blocking or should-fix issues and two nits. Both are addressed inb3c9b0a:Local validation: 162 focused Python tests, 10 demo-builder tests, repository-wide Ruff formatting/lint and all 26 skill manifests pass. Three reporter regressions reject the previous workflow.
Exact-tree validation passed before push in
v0.109.0-tex: patched treeb84e69bc517decf31779e662baa8fc925ffe9e72matches pushed commitb3c9b0a. The real example render, baseline paper, edited demo, PDF diff and clean tracked checkout all pass.The image-suite run installs
jqto match Ubuntu CI prerequisites and first reproduces two unchanged baseline failures: legacy Git environment handling and latexmk accepting a missing bibliography. Its remaining suite passes with two test functions (three parameterized cases) deselected; that is not an unqualified full-suite pass. Those released-image behaviors are tracked separately. GitHub CI, example build, and slim/TeX image smoke on both architectures pass onb3c9b0a, without the image-suite exclusions. Those checks cover the preceding head. The second independent review found release-deployment concerns; the current fixes and validation are recorded below.Second review dispositions
The second independent review recommended changes on
b3c9b0a. Commit58502dbaddresses the verified code issues and documents administrator-owned setup:v*Tag rule. No settings or permissions were changed. The claimed automatic default-branch-only policy is not universal: GitHub documents that environments created by workflow references have no default protection rules. Tag authorization still needs explicit setup here. GitHub environment defaults.pagesconcurrency group withqueue: maxretains pending deployments. Inside that lock, a fresh paginated tags API lookup and numeric version sort allow only the newest final tag; older/prerelease tags skip, and unreadable/empty final tags fail closed.Exact-tree validation in
ghcr.io/allenai/asta:v0.109.0-texpassed before push: checksum-verified patch9b66cbf8acb25293dce67d28b9676ce4d48b451c2eb459989f26f556ba34ae4e, treeeec4b1737b4df18052ca13d78ffa3a64d22bc1c2, identical to58502db. Python 3.11.2, focused workflow/paper tests, ten demo tests, real Quarto/edited-demo/PDF-diff checks, shared paper build/clean and clean tracked checkout pass. No test exclusions were used for those checks. Full localmake cipasses: 1,024 tests passed, 12 optional skips, Ruff formatting/lint and all 26 skill manifests, with executor credentials excluded. Validation used task-local Make 4.3, Node 22.20.0 and writable UV/npm caches, with default test selection andskills@latest. The earlier Node 20/read-only-cache installer failure and interrupted bootstrap run are not counted as passes. Two failure-message regressions reject the reviewed workflow; fifteen workflow tests and ten demo tests pass. The real tags API lookup selects current final tagv0.109.0.All verified code findings are addressed; Pages setup remains administrator-owned. Native CI, example build and slim/TeX image smoke on both architectures all pass on
58502db.Latest review disposition and human handoff
The latest whole-PR review raised one prerelease-trigger concern on
58502db. Not applicable to the existing dependency chain; no code change:promotefirst validates^v[0-9]+\.[0-9]+\.[0-9]+(-rc\.[0-9]+)?$. Other prerelease or malformed tags fail before promotion. RC tags pass that validator but skiplatest. The example requires successfullatest, which requires successfulpromote; neither downstream condition overrides failed/skipped dependencies. GitHub documents this propagation throughneeds. A broad expression at the example job does not bypass the earlier validator.Verification on the unchanged head: the actual Bash validator was extracted and run for 12 final/RC/other-prerelease/malformed tag cases; the inspected
needs/ifchain makes only final tags eligible. All 15 existing example-workflow tests pass in a credential-isolated temporary environment. This was local validator execution and workflow inspection, not a new tag push or image promotion. The earlier native CI, example build and both-architecture image checks remain green on this same head. All previous findings retain their recorded dispositions.The automatic review allowance is exhausted. The cycle ends without a clean decorrelated pass: its final reported concern is rejected with the evidence above, and another unchanged-diff review would add little. No further review was submitted. The settled diff is handed to the recorded human reviewer; a human may choose whether an additional independent round is worthwhile. Administrator-owned Pages enablement and the
v*tag rule remain required before live deployment.Reviewer requested:
rodneykinneySuggested-by: @jbragg