Repository navigation
docs: correct 1.3.0 upgrade notes and fix prerelease tooling - #686
Merged
Merged
Conversation
…, LEFT OUTER escape hatch; fix prerelease-link detector unlink and estate-run pip-show read-back
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What Changed
CHANGELOG.md1.3.0 upgrade list: the render-time unknown-variable item now says generated Python render helpers change on regenerate (averify=[PayloadField(...)]argument and one new import), and an inlinerender()without the field tree still renders an unknown variable as empty. The Python_write_modelitem adds a multi-linemodel_validatorexample (override_write_model, write through the code writer) and says a multi-line member cannot be returned from_emit_field_lines. The LEFT OUTER item adds the@filter: { "<hop>.id": { isNull: false } }escape hatch that keeps the old row-dropping behaviour.tools/prerelease/prerelease-link.sh:install_detectorleaves atools/prerelease/detect-prerelease-pins.shthat the project already tracks untouched, sounlinkhas nothing to revert.docs/features/prerelease.mdsays so.tools/prerelease/estate-run.sh: the version read-back joins aVersion:line onto theName:line before it, souv pip show metaobjectsoutput passes. Tests E21 (matching version on its own line passes) and E22 (other version fails) are added totools/prerelease/test-estate-run.sh. A link-tool test intools/prerelease/test-prerelease-link.shcovers link and unlink with a tracked detector.Validation
Risk Assessment
✅ Low: The change adds CHANGELOG text and small guarded tooling fixes with executable tests. The Python
_write_modelexample matches the real signature and the writer'stextandblankbehaviour, and every item in the intent is addressed.Testing
Ran the two prerelease shell test suites on the target commit; both pass. Ran them again against the base-commit scripts to confirm the new cases catch the bugs: the pip-show read-back (E21) and the tracked-detector link/unlink checks fail before the fix. Ran the CHANGELOG's new multi-line
model_validatorexample against the real Python generator. It emits a correctly indented method, accepts a valid date range and rejects an invalid one. The other CHANGELOG additions (render-helper change, LEFT OUTER escape hatch) are prose; they were reviewed in the diff but not run.pip show-style output (Name and Version on separate lines) and still fails on a wrong version (real estate-run.sh, throwaway fixture)Evidence: CHANGELOG multi-line member example: generated module and validation result
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
tools/prerelease/prerelease-link.sh:1000- A project-trackeddetect-prerelease-pins.shis now left untouched bylink, which meets the "link leaves a tracked copy alone" option. The project's own copy, usually an older one, is now the file thatlockfiles_with_prerelease(prerelease-link.sh:631-640, which sourcesPRERELEASE_RE_AWKandNS_RE_AWKfrom it) andrun_detector(:1009-1012) use for unlink's residue verdict. Thesaymessage does not say that the older copy will govern unlink's residue check. Consider extending that message to say so (for example, "sync it from the candidate checkout if it is stale"). No behaviour change is required.✅ **Test** - passed
✅ No issues found.
pip show-style output (Name and Version on separate lines) and still fails on a wrong version (real estate-run.sh, throwaway fixture)scripts/ci-local.sh --affected --strict-toolchainsBroad regression: configuredscripts/ci-local.sh --affected --strict-toolchainsalready ran and passed at the target commit; not re-runbash tools/prerelease/test-estate-run.sh: all pass, including new E21 and E22bash tools/prerelease/test-prerelease-link.sh: all pass, including the 3 new tracked-detector checksSame two test scripts against the base-commitestate-run.shandprerelease-link.sh: E21 and the 3 tracked-detector checks FAIL (E22 passes on both, so it only guards the join against a false pass)CHANGELOG multi-line_write_modelexample run verbatim on the real PythonEntityModelGenerator; generated module imported and exercised✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.