Repository navigation
Open
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file
Description
Why
#138 (PR #139) took soupsieve 4.1.1 for three DoS advisories. It got there with [tool.uv] override-dependencies = ["soupsieve>=4.1,<5"], because co-core 0.38.0's extract extra caps soupsieve <3. An override replaces co-core's requirement outright, so it should be temporary. co-core v0.46.1 and later require soupsieve>=4.1,<5 themselves (CannObserv/cannobserv#667), which makes the override redundant. The latest tag is v0.48.2 (read 2026-11-16).
What
Bump co-core (and co-core-aio, co-core-sync) from 0.38.0 to a release ≥ 0.46.1, following DEPENDENCIES.md § Bumping co-core. Specific to this bump:
- Remove the soupsieve override.
tests/test_lock_floors.py::test_co_core_still_needs_the_overridefails once co-core's own requirement admits soupsieve 4.1. Remove theoverride-dependenciesentry and theOVERRIDDENrow, and update the floor tests. Because co-core's own floor is then 4.1, no constraint floor is needed. - A catch-up across releases (0.38.0 → 0.4x): read each CHANGELOG's Downstream lines for the extract, bus and blob-store surfaces, and diff those packages between the tags, as Take co-core's XML and feed extractors in step with Watcher, and re-run parity with a feed fixture #29 did. Releases 0.39–0.46 include breaking changes elsewhere in co-core, so check them against what Processor imports.
- Goldens and corpus: regenerate the parity goldens from co-core directly, and paste every moved digest into the bump note. The real corpus passes unchanged, or the note names what moved.
processor_versionbecomes<new co-core>+<LOCAL_GENERATION>. Watcher gets notice before deploy (on watcher#394 or its successor). It needs coordination instead only if the contract changes.- Strict
:has()is already live from Lock advisories: soupsieve 4.1 (extraction child, override past co-core 0.38.0's cap; LOCAL_GENERATION +4) and opentelemetry-api 1.45.2 #138, so it isn't new at this bump. Watcher was told on watcher#394.
Not in scope
- soupsieve 4.1.2 (unreleased as of 2026-11-16) can ride this bump if co-core's lock or our re-lock picks it up. Otherwise it is its own stack move.
Done when
- co-core is pinned
==at the chosen release (≥ 0.46.1), and the lock has nooverridesentry for soupsieve. - The goldens are regenerated, with the bump note listing moved digests. The real corpus passes. CI is green by job.
- Watcher has notice, the deploy is done, and live
processor_versionreads the new value.
Metadata
Metadata
Assignees
Labels
dependenciesPull requests that update a dependency filePull requests that update a dependency file
Activity
gregoryfoster commentedon Nov 16, 2026
Parked in epic #84 (operator, 2026-11-16). Nothing forces it today: Dependabot shows 0 open alerts, and the audit on
mainreads 0.tests/test_lock_floors.py::test_co_core_still_needs_the_overridemakes any co-core bump remove the override.Re-entry trigger, whichever comes first:
At the bump, also adopt CannObserv/cannobserv#530's
store_reporting(released in v0.41.0), as the epic's Waits table records.gregoryfoster commentedon Nov 21, 2026
A reason to aim this bump at v0.51.0 or later: cannobserv v0.51.0 (tagged and published 2026-11-20) maps the source-spec key
include_description(CannObserv/cannobserv#559).extraction_config_from_specnow mapsextraction.include_description: trueonfull_pagespecs. On an RSS or Atom body,XmlExtractorthen appends each item's description as a fifth tab field.extraction_error(UnsupportedExtractionErroris aValueError):trueon a non-full_pagespec;trueon an HTML, PDF, CSV/Excel or JSON body;trueon non-feed XML, an RSS 1.0rdf:RDFroot included.false, every config is byte-identical, so the key itself moves no parity golden. The catch-up from 0.38.0 still crosses the extract changes in between (CannObserv/cannobserv#557, CannObserv/cannobserv#570, CannObserv/cannobserv#354 and others), as the body above says.≥ 0.46.1, so one bump can cover both the soupsieve override and this.gregoryfoster commentedon Nov 23, 2026
Brief: #140, bump co-core 0.38.0 → 0.51.1 (coordinator, epic #84, 2026-11-23)
Authorities:
docs/DEPENDENCIES.md§ Bumping co-core governs the mechanics.origin/main75e472f.Labels:
[measured]: run in this pre-flight;[traced]: read in the code or a diff;[stated]: a changelog or issue says so.Why now
Un-parked 2026-11-23 (operator). The third trigger has fired:
include_descriptiononly after that, in the order cannobserv → Processor → Archiver.That makes #140 Tier 2 under the epic's order rule.
Target: v0.51.1
[measured: tags, 2026-11-23]v0.51.1 (2026-11-22) is the latest tag. Its only additions since v0.51.0 are WordPress deletes and
content.fetchcredential references, neither of which Processor uses[stated].co-core>=0.51.1,<0.52(CannObserv/cannobserv#739), so all three must move together, as they already do here.The lock
[measured: a scratch copy of pyproject.toml and uv.lock on 75e472f, through scripts/co-pypi.sh]uv lock --upgrade-package co-core --upgrade-package co-core-aio --upgrade-package co-core-sync, with the pins at 0.51.1 and the override removed:overrides = [{ name = "soupsieve", … }].The ride-along. Adding
--upgrade-package soupsievemoves soupsieve 4.1.1 → 4.1.3 and nothing else. There's no advisory against 4.1.1; 4.1.2 and 4.1.3 carry upstream's further quadratic-time fixes.processor_versionbecomes0.51.1+4. At a co-core bump,LOCAL_GENERATIONstays (DEPENDENCIES.md § Extraction dependencies, step 2: "update the table, leave the generation").The catch-up, 0.38.0 → 0.51.1
[traced: git diff v0.38.0 v0.51.1 over every module Processor imports]One correction to the 11-21 comment above. CannObserv/cannobserv#557, CannObserv/cannobserv#570 and CannObserv/cannobserv#354 are not in this range. They are entries under
## [0.38.0](CHANGELOG lines 630–669), so they are live already.Unchanged files:
co_core/effects/bus*;pure/adapters/bus/{dead_letter,envelope,exceptions};pure/extract/{canonical,dispatch,media_type,spec_fingerprint,config,base};pure/util/hashing.py;co_core_aio/bus.py.streams.py: only its docstring changed.No contract change:
ContentProcessCommand,ProcessingCompleteEmit,ProcessingFailedEmitandProcessingFailureReasonare unchanged.schema_versionbump touches Processor.spec_fingerprint/spec_schema_versionare unchanged.Extraction, across 8 files (+105/−32), all
include_description(CannObserv/cannobserv#559):extraction_config_from_specmapsextraction.include_description: trueonfull_pageonly, where an absentalgorithmcounts asfull_page. On an RSS or Atom root,XmlExtractorthen appends each item's description as a fifth tab field.falseadds no key, so every existing spec translates byte-identically. Expect the goldens to come out unchanged.New refusals (
UnsupportedExtractionError, so a terminalprocessing_failed). Each one extracted silently before:trueoncss,xpathorjsonpath;trueon an HTML, PDF, CSV/Excel or JSON body;truenext to an XMLxpath;trueon a non-feed XML root, RSS 1.0rdf:RDFincluded.No live spec sets the key, because Archiver's schema refuses it until after this bump
[stated]. Neither does the repo:git grep include_descriptionis empty.co_core.pure.models.changesgains module-level imports fromco_core.pure.util.aliases. That's still inside the package and the Landlock allowlist, but the child's import set grows. The whole-corpus test intests/test_child.pyunderrequiredis the check.Dependencies (pyproject diffs, all three packages):
>=3.12.extractextra changes only soupsieve,>=2.0,<3→>=4.1,<5.busextra (redis) and sync'sgcsextra (google-cloud-storage) are unchanged.What the bump touches on
main[traced: git grep 0.38.0, outside uv.lock, docs/plans and fixtures]pyproject.toml:11-13,tests/test_pin.py:29(EXPECTED)pyproject.toml:131-137tests/test_lock_floors.pyOVERRIDDENrow. Co-core's own floor is 4.1, so no constraint replaces it (DEPENDENCIES.md step 1). Its synthetic-requirement cases (:120-129,:151) are fixtures, not the pin: keep whatever still tests the guardtests/test_pin.pyEXTRACTION_STACKtests/test_deploy.py:42,47tests/fixtures/parity/cases.jsontailscale_security_bulletins.xmlandfeed.atomwithinclude_description: true. Add refusal cases: oncss, on an HTML body, onregister.xml(non-feed), and a non-booltests/fixtures/parity/goldens.jsonscripts/gen_parity_goldens.py, and paste its moved/refused list into the bump note. Neverreal/docs/specs/2026-09-29-processor-service-design.md):78. Then D5:211, the Dependencies row:250, §5:572ff, the pin test:745, the Contract quick reference heading:818, and:859. The removed override at:562. History stays as writtendocs/DEPENDENCIES.md:1570.51.1+4…" entry.:152's "(soupsieve<3in 0.38.0)" stays as an example in the past tenseAGENTS.md:27==0.51.1. AGENTS.md is at 5,945 of 6,000 tokens, so don't grow itOperator decisions
--upgrade-package, it moves nothing else, and it shares this bump's re-baseline and Watcher notice. Otherwise it's a later generation bump of its own. Measure it like Lock advisories: soupsieve 4.1 (extraction child, override past co-core 0.38.0's cap; LOCAL_GENERATION +4) and opentelemetry-api 1.45.2 #138: the parity tests, plus the wider HTML corpus over both versions.]store_reporting(CannObserv/cannobserv#530, v0.41.0), which the epic recorded as "adopt at Bump co-core 0.38.0 → ≥ 0.46.1 and drop the soupsieve override (#138) #140" — recommend yes, as its own commit.src/processor/handler.py:229-234callsdeps.stores.output.store. It would callstore_reporting(...), take.uri, and logcreatedin the command-outcome record. That amends spec §4's field list.Trueis exact, but itsFalsemay be an SDK retry of this call's own create; a localFalseis exact, but itsTruemay be a race. So it's a log signal, never a branch.Starting the thread approves these recommendations.
Order and timing
.skills/patching-hostsand docs; no file overlaps this one. Each child deploys in turn, never two at once.docs/DEPENDENCIES.md, in a different section.Cross-repo, each post approved by the operator in this thread
processor_version, the moved-digest list (expected empty) and the newinclude_descriptionrefusals. It's notice, not coordination.Done when
==0.51.1(or the chosen 0.51.x) for all three, and the lock has nooverrides.real/passes unchanged;tests/test_child.py's whole-corpus test passes underrequired.scripts/deploy.sh, and the livestartingrecord readsprocessor_version0.51.1+4, containment required.Closes #140, unless a live check remains, in which caseRefs.Out of scope
include_descriptionon any spec.gregoryfoster commentedon Nov 23, 2026
Brief check against
origin/main75e472f(implementer, 2026-11-23)The target is unchanged:
v0.51.1is still the latest tag. The brief holds, with these corrections. None of them changes the plan or the verdict (notice, not coordination).1. More imported modules changed than the brief lists.
[traced: git diff v0.38.0 v0.51.1 over every co_core* module src/ and scripts/ import]Besides the 8 extract files andstreams.py's docstring, these changed:co_core.pure.util.blobstore, +55:Stored, plus the Protocol'sstore_reporting/store_file_reporting(#530);co_core_sync.drivers.blobstore.{gcs,local}, +34 / +35:storeandstore_filenow return*_reporting(...).uri. The plain verbs behave identically (same checks, same create or touch, same URI);co_core.pure.models.changes, +371 (see 2);co_core.pure.util.aliases, +119 (credential-reference patterns).2.
changes.pydoes more than "gain module-level imports". Its +371 lines touch the fetch, replicate, capture and registry models (render,credential_headers, …). Processor uses five of its classes:ContentProcessCommand,ProcessingCompleteEmit/Event,ProcessingFailedEmit/Event,ProcessingFailureReason. Those (andContentDerivedEvent) are AST-identical, docstrings included[measured]. And at 0.38.0changes.pyalready importedaliases(ReplicationProvider), whilealiasesstill imports onlyreandtyping. So the child loads no new module.tests/test_child.pyunderrequiredstays the check.3. The touch table misses spec
:437. That's the failure table's refusal list ("on 0.38.0: …"). It gains theinclude_descriptionrefusals and reads "on 0.51.1".4. "
truenext to an XMLxpath" can't be reached from a spec.extraction_config_from_specrefuses a true value on any algorithm butfull_pagebefore dispatch, andfull_pagecarries noxpath.XmlExtractor's own check guards direct callers. So the parity cases cover four refusals:css, an HTML body,register.xml(non-feed root) and a non-bool. They don't include an xpath case.5.
store_reportingcommit:tests/test_handler.py'sFlakyStoreinjects by method name. Itsmethod="store"cases must namestore_reportingonce the handler calls the twin. Otherwise they keep passing but stop injecting the error. The field list that commit amends is Section 4:529–533.6.
tests/test_deploy.py:42,47is a synthetic lock fixture, and no test ties it to the pin. It stays at0.38.0.7. #138's wider-corpus harness wasn't kept. Only its counts are in PR #139. The 4.1.1 → 4.1.3 measurement rebuilds it, with the same input classes (parity HTML, real corpus, host HTML > 3 KB) and its own selector battery. Its counts can't be compared run for run with #138's.
gregoryfoster commentedon Nov 23, 2026
Post-merge host steps (PR #149, head
4127d5c)Live now:
961ab930274e(#143 phase 1).mainhas moved since (75e472f), but with no runtime path, so this deploy also carries those commits.Gates, before step 1:
1. Merge (fast-forward, from the main checkout
/home/exedev/processor, never GitHub's button):If
mainmoved, merge with a merge commit instead (#7).2. Deploy. The merge touches
src/,pyproject.tomlanduv.lock. Run it in the background: it waits up to 600 s on CI.setsid -w scripts/deploy.sh # from the main checkout, on main == origin/main journalctl -t processor-deploy -n 20Expect
live is on <build>: pid <N> logged starting (child_containment required), then consuming; the smoke run passed.3. Verify live:
4. Monitors:
processor-drift.timerrun reportsok(journalctl -u processor-drift -n 5).processor.livenessrecords).5. Close-out:
Rollback, if needed:
scripts/deploy.sh 961ab930274e(DEPLOYMENT.md § Rollback). That returns to0.38.0+4, so Watcher re-baselines once more.#140 test: CR 4 — the floor guards parse PEP 440, and refuse to guess
#140 test: CR 5 — an override's name is normalised
#140 docs: CR 6 — an explicit false still moves spec_fingerprint
#140 docs: CR 7 — rewrap §5's pin line
#140 docs: CR 8 — starting names processor_version