Skip to content

ci(publish-python): twine upload --verbose + tag guard#43

Merged
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/twine-verbose
May 24, 2026
Merged

ci(publish-python): twine upload --verbose + tag guard#43
ZhiXiao-Lin merged 1 commit into
mainfrom
fix/twine-verbose

Conversation

@ZhiXiao-Lin
Copy link
Copy Markdown
Contributor

Why

The v3.2.0 release (`release.yml` run #26338778339) fails on the second wheel upload to PyPI with a generic `400 Bad Request`. twine swallows the response body unless `--verbose` is set, so we currently can't see the actual reason.

Changes

  1. `twine upload` now runs with `--verbose --skip-existing`. Next retry will surface the actual PyPI error body.
  2. The three GitHub-Release-only steps (`Ensure release exists`, `Generate native wheel manifest`, `Upload manifest`) are now guarded with `if: startsWith(github.ref, 'refs/tags/')`. This way `workflow_dispatch` from `main` (used for debugging) can exercise the PyPI publish path without those steps tripping on a missing release name.

Plan

After this PR merges to main, dispatch `publish-python.yml` manually from main against the v3.2.0 wheels, capture the verbose output, then iterate on the actual root cause.

The v3.2.0 release fails on the second wheel upload to PyPI with a
generic 400 Bad Request. twine swallows the response body unless
--verbose is set; this commit adds the flag so the next retry surfaces
the actual reason from PyPI.
@ZhiXiao-Lin ZhiXiao-Lin merged commit 5e1012d into main May 24, 2026
1 check passed
@ZhiXiao-Lin ZhiXiao-Lin deleted the fix/twine-verbose branch May 24, 2026 01:18
ZhiXiao-Lin added a commit that referenced this pull request May 29, 2026
Closes the coverage gaps surfaced by an adversarial coverage audit across the
new orchestration layer. +21 unit tests, +4 real-LLM integration tests (all
run green against .a3s/config.acl), plus a small fix and a de-flake.

Unit:
- combinators: empty inputs, zero concurrency_hint (\.max(1) clamp), first-stage
  None, resumable ignores checkpointed-but-dropped specs, and resumable
  re-runs all when the checkpoint is unreadable (future version).
- store: FileSessionStore workflow-checkpoint round-trip, crash-atomic
  no-temp-leftovers, and future-version rejection through both stores.
- schema coercion FAILURE path (previously untested): demote-to-failure with
  the marker, isolation from a sibling in a fan-out, and failed-run-skips-coercion.
- #31 persisted-schema fuzz extended to AgentStepSpec / StepOutcome /
  WorkflowCheckpoint (round-trip stability + forward-compat unknown-field
  tolerance) — the cross-node-migration types were previously excluded.
- Python SDK conversion helpers (py_to_step_spec / step_outcome_to_py) and the
  PythonPipelineStage bridge (None-stops, raise-fails-closed, snake_case
  ctx['previous']) — previously zero coverage.

Real-LLM (#[ignore], .a3s/config.acl): pure parallel fan-out of distinct
agents (order + per-branch sentinels), multi-item pipeline (no-barrier shape
with >1 item), the actual RESUME path (completed step served from checkpoint,
only the rest run live), and a nested/array output_schema.

Fix: the resumable combinator now distinguishes Ok(None) from a load Err and
logs a warning before re-running from scratch (was a silent swallow).

De-flake: the pipeline real-LLM tests no longer assert on stage-2 output
*content* (some models return an empty final turn for a one-word instruction);
chaining is proven by reaching stage 2 + the deterministic mock test.

Co-authored-by: Claude <claude@anthropic.com>
ZhiXiao-Lin added a commit that referenced this pull request May 30, 2026
Programmable orchestration (AgentExecutor seam, parallel/pipeline/resumable
combinators, WorkflowCheckpoint, Node + Python SDK grammar) + the #31/#32/#43
hardening since v3.3.0. Backward-compatible feature additions → minor bump.

Bumps the full version-sync surface (core/sdk Cargo.toml + core-dep pins,
package.json + optionalDeps, pyproject + bootstrap __version__, Cargo.lock,
npm lockfiles); scripts/check_release_versions.sh passes at 3.4.0. Adds the
[3.4.0] CHANGELOG entry. No source changes — prep only.

Co-authored-by: Claude <claude@anthropic.com>
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.

2 participants