Skip to content

release: 1.5.1 — the #368 fix has been untagged since Sunday - #377

Merged
Polichinel merged 1 commit into
developmentfrom
release/1.5.1
Dec 1, 2026
Merged

Polichinel merged 1 commit into
developmentfrom
release/1.5.1

Conversation

@Polichinel

Copy link
Copy Markdown
Collaborator

Why

The credential-isolation fix (#368) and the store-factory refactor (#359) have been on development since 2026-11-29 with no tag. Both views-models launchers install this package by tag (pip install git+...@$VIEWS_POSTPROCESSING_PIN, tools/launcher/postprocessor.sh:132), and both now pin 1.5.0.

So the fix was written, reviewed, merged — and not shipped. pyproject.toml still said 1.5.0.

tests/test_release_version.py requires the declared version and the release tag to agree, so the number moves in this PR, before the tag is cut on main.

What is in 1.5.1, against 1.5.0

File Issue Change
contract/audience.py, crafd/managers/crafd.py #368 A blank, absent or non-string credential on either half of the audience connection is a refusal, not a skipped comparison followed by a success log. Both halves are returned checked and stripped, so the caller no longer re-reads the raw value.
unfao/managers/unfao.py, crafd/managers/crafd.py #360/#361/#362 One store factory per partner, replacing six construction sites.

The refactor is behaviour-preserving — its own commit records the same 636 tests passing before and after, and the two partners are deliberately not unified.

Consumer-visible surface: unchanged

No new environment values, no new required coordinates, and the UN-FAO delivery path behaves identically. A launcher that exports a real key sees no difference. The CHANGELOG section says exactly this and is accurate for both changes.

The one case where 1.5.1 differs from 1.5.0 at runtime is a CRAF'd publisher key that is blank, whitespace-only, or carries a trailing newline. On 1.5.0 such a run proceeds past the isolation check, resolves the run, downloads every manifest, loads the 888 KB lookup, and then fails as a 401 from inside the delivery. On 1.5.1 it stops first and names the two coordinates to compare, printing no value.

Nothing is exposed today either way, because deliveries/un_crafd.py declares intent = paused(...) so the CRAF'd partner store is never constructed.

Verification

pytest -q on the supported interpreter (views-models/envs/views-postprocessing/bin/python, 3.11.15): 654 passed, 3 skipped, 41 xfailed, 1 failed. The failure is the pre-existing lockfile drift tracked at views-models#757 — the environment holds views-pipeline-core 3.3.5 / views-frames 2.0.0 against lock pins of 3.6.0 / 3.0.0. It is an environment install, not in this diff, and present on development before this branch.

After this merges

  1. Pull request development → main.
  2. Tag 1.5.1 on main, which is where 1.5.0 and every prior release tag sits.
  3. views-models bumps VIEWS_POSTPROCESSING_PIN when convenient — not forced tonight, since CRAF'd is paused and the FAO path is identical.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ANY1CCy9Xo7zjMY4XJ69v9

The credential-isolation fix (#368) and the store-factory refactor (#359) have
been on `development` since 2026-11-29 with no tag, while both views-models
launchers install by tag. So the fix was written, reviewed, merged and not
shipped — `pyproject.toml` still said 1.5.0, which is what production installs.

`tests/test_release_version.py` requires the declared version and the tag to
agree, so the number moves here, before the tag is cut on `main`.

Contents, against 1.5.0:

- `contract/audience.py`, `crafd/managers/crafd.py` — #368. A blank, absent or
  non-string credential on either half of the audience connection is now a
  refusal instead of a skipped comparison followed by a success log. Both halves
  of the connection are returned checked and stripped rather than the caller
  re-reading the raw value.
- `unfao/managers/unfao.py`, `crafd/managers/crafd.py` — #360/#361/#362. One
  store factory per partner, replacing six construction sites. Pure
  restructuring; its own commit records the same 636 tests passing before and
  after, and the two partners are deliberately not unified.

Consumer-visible surface: unchanged. No new environment values, no new required
coordinates, and the UN-FAO delivery path behaves identically. A launcher that
exports a real key sees no difference. CHANGELOG's 1.5.1 section says so and is
accurate for both changes.

Suite on the supported interpreter (3.11.15): 654 passed, 3 skipped, 41 xfailed,
1 failed — the pre-existing lockfile drift tracked as views-models#757, which is
an environment install and not in this diff.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ANY1CCy9Xo7zjMY4XJ69v9
@Polichinel
Polichinel merged commit 26af91c into development Dec 1, 2026
4 checks passed
@Polichinel
Polichinel deleted the release/1.5.1 branch December 1, 2026 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant