Repository navigation
server: --profile fast refuses as not planned (#1660) - #2794
Conversation
…names the served profile (ashhart#2794) fast-exact's line now says it needs the gates rather than reading as if they pass, the unknown-profile sentence stops advertising two values that are never accepted, the registry row says no profile qualifies it yet, and both spellings of all three values are covered.
|
Round 2 on the refusals, so the sentences say only what you decided:
One thing a reviewer asked about that is worth answering on the record: the Checks: |
…names the served profile (ashhart#2794) fast-exact's line now says it needs the gates rather than reading as if they pass, the unknown-profile sentence stops advertising two values that are never accepted, the registry row says no profile qualifies it yet, and both spellings of all three values are covered.
0ea827f to
645cf9d
Compare
|
Thanks @devopsfortunato, this is what we asked for on #1660. One thing blocks landing. While you're there, one CHANGELOG fix: " Once CI is green it goes on the landing queue. Main freezes tomorrow morning for 1.2.7: if it gets through the queue
|
…stays under the line cap (ashhart#2794) Same test verbatim: three values, both spellings, exact sentences. cli_test.zig is back to 600 lines and lean reports 0 new.
|
Thanks @devopsfortunato. The refusal test now lives in
|
cd60945 to
d54f031
Compare
…names the served profile (ashhart#2794) fast-exact's line now says it needs the gates rather than reading as if they pass, the unknown-profile sentence stops advertising two values that are never accepted, the registry row says no profile qualifies it yet, and both spellings of all three values are covered.
…stays under the line cap (ashhart#2794) Same test verbatim: three values, both spellings, exact sentences. cli_test.zig is back to 600 lines and lean reports 0 new.
|
We rebased this onto today's main to settle the one conflict, in
|
…qualified (ashhart#1660) A speed mode that changes output tokens is not shipped, so fast says so instead of waiting beside fast-exact for a gate it will never pass. The unknown spelling gets its own sentence naming the three profiles, and the registry and docs stop implying that either unserved profile is coming.
…names the served profile (ashhart#2794) fast-exact's line now says it needs the gates rather than reading as if they pass, the unknown-profile sentence stops advertising two values that are never accepted, the registry row says no profile qualifies it yet, and both spellings of all three values are covered.
…stays under the line cap (ashhart#2794) Same test verbatim: three values, both spellings, exact sentences. cli_test.zig is back to 600 lines and lean reports 0 new.
d54f031 to
c36b301
Compare
Ends (#2794, for #1660). Thanks to @devopsfortunato.
…names the served profile (#2794) fast-exact's line now says it needs the gates rather than reading as if they pass, the unknown-profile sentence stops advertising two values that are never accepted, the registry row says no profile qualifies it yet, and both spellings of all three values are covered.
…stays under the line cap (#2794) Same test verbatim: three values, both spellings, exact sentences. cli_test.zig is back to 600 lines and lean reports 0 new.
|
Thank you @devopsfortunato. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
|
Thanks @devopsfortunato! This is in TensorFold 1.2.8, out now: https://github.com/ashhart/TensorFold/releases/tag/v1.2.8
|
What this changes
--profile fastnow refuses as not planned instead of waiting besidefast-exactfor a gate it will never pass: a speed mode that changes output tokens is not shipped, even opt-in, so the arithmetic class has no profile to join.fast-exactkeeps its own refusal and says what it still needs. An unknown spelling gets its own sentence naming the three profiles, so it cannot be mistaken for either refusal.Before:
argument --profile: only stable is served; fast-exact and fast need qualificationNow:
argument --profile: fast is not planned: a speed mode that changes output tokens is not shipped, so the arithmetic class has no profile to joinargument --profile: fast-exact is not yet qualified: solo, concurrent 1/2/4/8 and resumed runs equal to stable, and a measurement where no served cell for its family gets slowerargument --profile: unknown profile 'banana': expected stable, fast-exact or fastTwo supporting details:
--profilenow bypasses the usage table's genericinvalid choiceline so its own sentences are what a user sees, andzig/src/core/profile.zig'sTF_FLASHNEXT_KV_PAGESrow no longer says "fast-profile qualification pending" — the capabilities output must not advertise either unserved profile, which the existing test atcli_test.zig:52enforces.Docs:
docs/profiles.mdstops pairing the two profiles and its "Further profile work" note saysfastis not planned whilefast-exactkeeps the token gates plus the no-slower measurement;docs/optimization-ledger.mdentry 27 matches.No behavior change to
stable: its parse path, supported arguments and capabilities output are unchanged.Checks
Reviewed twice, and both rounds' findings are in: the
fast-exactline saysit needsits gates rather than reading as if they pass, the unknown-profile line saysstable is the only served profileinstead of advertising two values that are never accepted, the registry row saysno profile qualifies it yet, and both spellings of all three values are covered by the test.zig build test-server-cpu --summary all:Build Summary: 5/5 steps succeeded; 1283/1288 tests passed (5 skipped), 0 failed. The new test isstable profile: fast is not planned, fast-exact is not yet qualified and an unknown spelling names all three, which asserts each exact sentence.fast-exact qualification pending) restored,cli_test.zig:52fails because the capabilities JSON must not carry the name. Both reverted.zig fmt --check build.zig zigandgit diff --checkclean; every added comment is one line.Checklist
stablepathCHANGELOG.mdcarries the bullet under## Unreleased, ending(#2794, for #1660). Thanks to @devopsfortunato.