Skip to content

Parts build: configure the inserted feature by its id; redo the WCP release as v1.1.1 - #29

Merged
AlexKempen merged 2 commits into
mainfrom
claude/zealous-shannon-e0iklk
Nov 9, 2026
Merged

AlexKempen merged 2 commits into
mainfrom
claude/zealous-shannon-e0iklk

Conversation

@AlexKempen

Copy link
Copy Markdown
Member

The v1.1.0 release from #28 ran partway. It made the backend version, pointed FRCDesignLib's fasteners.fs at it and rebuilt Screw. Then Onshape refused to configure the newly inserted fastenerNut in Nut with a 404 "Feature not found". Your Screw (TEST) build hit the same error earlier.

The cause

The build found the feature to configure by its type, in a feature list read right after the insert. The 404 suggests that read still listed the feature the build had just deleted. That's inferred, not confirmed.

The fix

  • Configure by id. The build now configures the feature by the id the insert returned.
  • Wait for it to be listed. If the feature list doesn't show that id yet, the build reads it again, up to five times, a second apart.
  • Stop instead of guessing. If the feature still isn't listed, the build stops with an error saying so, rather than configuring another feature.
  • Test. A new test covers a stale read, then one that never shows the feature.

Release

v1.1.0 can't be retried: its backend version carries the release file's marker. releases/fasteners.toml is therefore replaced by releases/fasteners-wcp-lengths.toml, a patch release. Merging this makes Fasteners - v1.1.1 and runs the whole release again.

added_in also ignores renames now. Otherwise a release file renamed from another would carry no commit in its marker.

uv run pytest -q: 944 passed. fs releases passes.


Generated by Claude Code

…pe lists it

The build found the feature to configure by its type in the feature list read
after the insert. The v1.1.0 release's Nut was refused with a 404 "Feature
not found", as though that read still named the feature the build had just
deleted. It now configures the feature by the id the insert answered, reading
the list again a second apart until it shows it, and stops with an error after
five reads rather than configure another.

v1.1.0 ran partway (its backend version, fasteners.fs and Screw in
FRCDesignLib), so its release file is replaced by one asking for v1.1.1,
which does the whole release again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T4daFKz4qvNwCEYcg38VKS
git log's rename detection otherwise reports it as renamed, not added, so its
marker named no commit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T4daFKz4qvNwCEYcg38VKS
@AlexKempen
AlexKempen merged commit 88debbf into main Nov 9, 2026
1 check passed
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