Accept epic #19: mark v0.16.0-v0.18.0 published, record Designer adoption #40
No files matched your search
+3
-2
@@ -102,7 +102,7 @@ execution, resource leases, nudge budgets and cooldowns, the Working Ledger,
|
||||
and review policy. This release's packages are those that declare
|
||||
`v0.17.0`; "Releases are immutable" in the
|
||||
[package contract](docs/authoritative/instruction-package-contract.md)
|
||||
explains why it shares a commit with `v0.16.0`. Every earlier release keeps
|
||||
explains what sharing a commit with `v0.16.0` means. Every earlier release keeps
|
||||
its bytes.
|
||||
|
||||
### `coordinator-dispatch`
|
||||
@@ -294,7 +294,8 @@ bytes for retained sessions, and every earlier release keeps its bytes.
|
||||
### Designer methods
|
||||
|
||||
- **Before (0.13.0):** eight manual methods with generic Designer display
|
||||
names ("Designer grilling") and issue-oriented descriptions:
|
||||
names ("Designer grilling") and issue-, design-, or work-oriented
|
||||
descriptions:
|
||||
`designer-domain-modeling`, `designer-grilling`, `designer-prototype`,
|
||||
`designer-research`, `designer-to-spec`, `designer-to-tickets`,
|
||||
`designer-triage`, and `designer-wayfinder`.
|
||||
|
||||
@@ -160,7 +160,7 @@ RelayView bundles a package declaring either pair, it must:
|
||||
4. **Pin and verify the packages.** Add them to the
|
||||
`first-party-skills/<tag>/` bundle of the release that declares them,
|
||||
creating that bundle if RelayView has none, list them in its
|
||||
`bundle-lock.json`, and verify it with
|
||||
`bundle-lock.json`, and add a new bundle to `BUNDLES` in
|
||||
`scripts/verify-first-party-skills-source.py`. Packages already in the
|
||||
bundle keep their bytes.
|
||||
|
||||
|
||||
@@ -12,10 +12,13 @@ from tests.test_overriding import CONTRACT, ROOT, codes, section, table_rows
|
||||
|
||||
PUBLISHED = ("v0.15.0", "v0.16.0", "v0.17.0", "v0.18.0")
|
||||
DOCUMENTS = ("README.md", "OVERRIDING.md", "RELEASE-NOTES.md", "docs/authoritative/instruction-package-contract.md")
|
||||
# An unpublished marker within this many characters of a published tag, in
|
||||
# either order, describes that tag as unpublished.
|
||||
# "Not yet tagged" or "not yet published" within this many characters of a
|
||||
# published tag, in either order, describes that tag as unpublished.
|
||||
# "Proposed" also names RelayView's proposed owner rules, so it counts only
|
||||
# directly beside the tag ("proposed `v0.17.0`", "`v0.18.0`, proposed").
|
||||
NEARBY = 40
|
||||
UNPUBLISHED = r"not[- ]yet[- ](?:tagged|published)|proposed"
|
||||
UNPUBLISHED = r"not[- ]yet[- ](?:tagged|published)"
|
||||
ADJACENT = r"[\s`,]{0,3}"
|
||||
# Any text within one sentence or table cell: a period ends the span only
|
||||
# when it ends a sentence, so other version strings may sit in between.
|
||||
SPAN = rf"(?:(?!\. )[^;|]){{0,{NEARBY}}}"
|
||||
@@ -44,7 +47,8 @@ class ReleaseStatusTests(unittest.TestCase):
|
||||
text = flat_document(document)
|
||||
for tag in PUBLISHED:
|
||||
escaped = re.escape(tag)
|
||||
pattern = rf"(?:{UNPUBLISHED}){SPAN}{escaped}|{escaped}{SPAN}(?:{UNPUBLISHED})"
|
||||
pattern = (rf"(?:{UNPUBLISHED}){SPAN}{escaped}|{escaped}{SPAN}(?:{UNPUBLISHED})"
|
||||
rf"|proposed{ADJACENT}{escaped}|{escaped}{ADJACENT}proposed")
|
||||
with self.subTest(document=document, tag=tag):
|
||||
self.assertIsNone(re.search(pattern, text, re.I))
|
||||
|
||||
@@ -74,10 +78,6 @@ class ReleaseStatusTests(unittest.TestCase):
|
||||
with self.subTest(tag=tag):
|
||||
self.assertIn(tag, headings)
|
||||
self.assertEqual(headings, sorted(headings, key=lambda tag: tuple(map(int, tag[1:].split("."))), reverse=True))
|
||||
for heading in re.findall(r"^## (.+)$", notes, re.M):
|
||||
if heading.split(" ")[0] in PUBLISHED:
|
||||
with self.subTest(heading=heading):
|
||||
self.assertIn(heading, PUBLISHED)
|
||||
|
||||
|
||||
class DesignerAdoptionTests(unittest.TestCase):
|
||||
@@ -103,6 +103,7 @@ class DesignerAdoptionTests(unittest.TestCase):
|
||||
adoption = flat(contract_section("RelayView adoption of the Tester and Coordinator pairs"))
|
||||
self.assertIn("its `v0.15.0` bundle holds only the Designer packages", adoption)
|
||||
self.assertIn("Before RelayView bundles a package declaring either pair", adoption)
|
||||
self.assertIn("add a new bundle to `BUNDLES` in `scripts/verify-first-party-skills-source.py`", adoption)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in new issue
Block a user