Repository navigation
Add PyPI and npm publish workflows - #1
Merged
Merged
Conversation
…ch/sdk Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
1 task done
This was referenced Jun 16, 2026
anilmurty
pushed a commit
that referenced
this pull request
Jul 2, 2026
The session activity section was a raw wall of full-card steps (a 356-step session rendered ~32k px tall). Make it scannable and address the naming/order feedback. - Rename the user-facing tab + section "Story" -> "Timeline" (the /story endpoint path is unchanged/internal). - Newest-first display: renderStepsNewestFirst() reverses the step list (top level AND nested subagents) while keeping the #n labels (so #1 is still the first action). The Task callout stays pinned at top and Outcome at bottom; only the steps reverse. - Compact rows: each step is now a one-line row (#n - time - tool chips ok/error - clamped first line of narration); click to expand the full narration + detail. The repetitive per-row model label is dropped and shown only when the model changes (prevModel). Error tint, retry markers, and the recursive subagent disclosure are preserved. UI-only (tokenjam/ui/index.html); ruff clean. Co-Authored-By: Claude Opus 4.8 <[email protected]>
anilmurty
added a commit
to tarun73/tokenjam
that referenced
this pull request
Jul 3, 2026
test_bounded_queue_drops_oldest_and_logs raced the producer against the
background hook worker: it flooded the bounded queue and asserted at least
one span was dropped, but when the worker drained fast enough the queue
never overflowed and the assert failed ("assert 0 > 0"). It passed on the
PR's own CI but failed under the release batch's different timing.
The drop-oldest overflow logic is correct and separately proven; only the
test's ability to *force* an overflow was unreliable. This makes the
overflow deterministic instead of raced:
- The blocking hook now signals `entered` once the worker has pulled the
first span and parked inside evaluate(); the test waits on it before
flooding, so the worker provably cannot drain concurrently.
- The hook's `release.wait()` drops its 10s timeout. That timeout was the
actual flake source: over a multi-second flood it could expire, waking
the worker to drain another span and re-park, quietly relieving queue
pressure so the drop count came out short (observed 2 instead of 5).
With no timeout the worker holds span Metabuilder-Labs#1 for the whole flood.
- The flood now enqueues via the real overflow entry point
(`_enqueue_hook`) rather than full `process()`. The drop-oldest policy
under test lives entirely in `_enqueue_hook`; routing 10k+ spans through
a real DuckDB write each added tens of seconds of unrelated I/O.
The assertion is now exact (`== overflow_by`) instead of a lower bound,
and still asserts the real behavior: drops happen, are counted, and are
logged at WARNING. Verified non-flaky over 20 consecutive runs; full
suite (tests/unit, tests/synthetic, tests/integration) green.
Co-Authored-By: tarun73 <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
anshss
added a commit
that referenced
this pull request
Jul 21, 2026
Closes the class rather than the instances. The two remaining printed references, in the doctor's schema-integrity warning and repair help and in the schema self-heal log line, are replaced by plain descriptions; both printed, so both had the same escape path into terminals and pasted bug reports. The guard walks every non-docstring string literal under tokenjam/ and fails on a tracker reference. False positives are separated structurally, not by an allowlist: a reference needs two or more digits, which distinguishes it from an ordinal like 'Your #1 fix', and markup-shaped literals are skipped, which covers CSS colour literals in the report templates and any template added later. A guard with exceptions only teaches people to add exceptions. Verified by reintroducing a reference and watching it fail, then removing it again. A companion test pins the discriminators, and another asserts the scan actually reaches the source tree, since a guard that walks an empty tree passes forever. Co-Authored-By: Claude <[email protected]>
anshss
added a commit
that referenced
this pull request
Jul 26, 2026
A test docstring used "(#1 of the trace-cost-ranking brief: ...)" to refer to a numbered item in the work brief. On a public GitHub repo, "#1" in a comment renders as a link to this repo's own issue/PR #1, which is unrelated and misleading. Reworded without the numeral reference. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
This was referenced Jul 29, 2026
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.
Summary
publish-pypi.ymlworkflow: triggers on release, runs tests, publishes via PyPI trusted publishingpublish-npm.ymlworkflow: triggers on release, runs tests, publishes withNPM_TOKENsecret@ocw/sdkto@openclawwatch/sdk.claude/12-publish-workflows.mdspec docTest plan
v-prefixed tag to validate both pipelinespypiis configured in repo settingsNPM_TOKENsecret is set in repo settings🤖 Generated with Claude Code