Repository navigation
Statuses say what happened and hand a person only what only a person can do - #918
Merged
Merged
Conversation
…can do A pull request CoderHelm marks ready itself no longer tells a person to mark it ready; a draft GitHub keeps refusing says CoderHelm tries again, and its waiting line no longer waits on a person. A wait on a pull request drops an API error's JSON body. Reminders are sentences, the plan check note drops the planner's key, notes write plurals out, and text cut to fit is cut at a word. common::rendered::person_text holds these texts in tests; incident case wx_texts_say_what_happened.
Contributor
|
💚 Post-merge health check passed: the deploy of
|
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
Statuses a person reads now say what happened and what CoderHelm does next, and hand a person only what only a person can do. Text cut to fit is cut at a word, an API error's JSON body never reaches a reader, and progress notes write their plurals out.
Changes
common::renderedgainsperson_text(the guard tests hold person-facing statuses to: no empty slot, no hand-off of work CoderHelm does itself, no template plural, no bracketed internal key, no clauses run together with colons),clipandclip_bytes(cut at a word, ending in "…"), andwithout_json(drops a raw JSON body from an error).WaitingOn::sentences), not clauses joined by colons. The sweep still recognises both notes.PlanFinding::shown).wx_texts_say_what_happenedwith its page.Verification
cargo fmt --all --check,rustfmt --check --edition 2021 worker/src/passes/incidents/*.rscargo clippy -p common -p worker -p gateway --all-targets -- -D warningscargo test -p common -p worker -p gatewaypython3 -m pytest lambda/tests/test_stuck_run_cleanup.py(new case for the pull request wait); the rest oflambda/testsmatches main.github/scripts/brand_spelling.py,.github/scripts/domain_examples.py