Fix what a read of the whole tree turned up, and cut the comments - #139
Open
andiwand wants to merge 1 commit into
Open
Fix what a read of the whole tree turned up, and cut the comments#139andiwand wants to merge 1 commit into
andiwand wants to merge 1 commit into
Conversation
Correctness, across the app, the release pipeline and the scripts. The app fixes worth naming: Document reported to its delegate from UIDocument's read queue, so the first open drove UIKit off the main thread; setVCconstraints added a banner height constraint the storyboard already had, which in the Full app contradicted the zero hideBannerView sets; the one-time view setup sat in viewWillAppear and stacked another constraint set on every appearance; and the search query went into evaluateJavaScript unescaped. In the release path, the signing keychain relocked after fifteen minutes while the job now archives both apps on it, deliver ran a precheck whose verdict it then discarded, an empty build number only failed after both uploads had gone out, and paths-ignore never matched a root .md. changelog-section.py wrote its errors to stdout, which both callers redirect: a missing section failed silently, and record wrote the error into the release notes. The comments got three passes. The ones restating the next line are gone, the stale ones are gone, and what is left is the why. Both schemes build, the suite passes, format.sh --check is clean. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Gu9vyCGNhZbUeF4195ByUv
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.
A pass over the whole repo for correctness, comments and conciseness. 24 files, -480/+392.
App
Documentreported to its delegate fromUIDocument's read queue, so the first open drove UIKit — progress bar,webview.load, alert presentation — off the main thread.setVCconstraintsadded a bannerheight == 50the storyboard already has asbannerViewHeight; in Full,hideBannerViewsets that outlet to 0, so two required constraints contradicted each other.viewWillAppearand stacked another constraint set on every appearance.evaluateJavaScriptunescaped, so a"broke the call apart rather than searching for itself.CoreWrapperkept a document handle across a failed translate,close()ran twice on the way out, the progress bar stuck on the error path, and the search button stayed disabled after one failure — so an encrypted document had no search even after the right password.Release pipeline
deliverran a full precheck on every upload and discarded the verdict —submit_for_reviewis already false, so nothing read it.record, i.e. after both apps were uploaded.paths-ignore: '**/*.md'never matched a root file, so every changelog edit triggered a full simulator+device build.Scripts
changelog-section.pywrote its errors to stdout, which both callers redirect: a missing section failed the pre-build check silently, andrecordwrote the error text into the release notes. A too-strict heading regex also let sections bleed into each other.CHANGELOG.mdhad two compare links against tag1.37, which exists nowhere;README.mddocumented a toggle in aCoreWrapper.mmthat does not exist.Comments
Three passes. The ones restating the next line are gone, the stale ones are gone, what is left is the why.
Both schemes build with only the two pre-existing deprecation warnings, all 27 tests pass,
format.sh --checkis clean.Two for a human
1.37changelog heading was dated but never shipped (build 44 was rejected, nobuild/*tags exist), so I removed the date. Correct me if it did go live.🤖 Generated with Claude Code