deepline 0.1.314 → 0.1.315
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundling-sources/sdk/src/release.ts +1 -1
- package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts +11 -11
- package/dist/cli/index.js +1 -1
- package/dist/cli/index.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -157,7 +157,7 @@ export const SDK_RELEASE = {
|
|
|
157
157
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
158
158
|
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
159
159
|
// Operators use the checkout-local deepline-admin binary instead.
|
|
160
|
-
version: '0.1.
|
|
160
|
+
version: '0.1.315',
|
|
161
161
|
contracts: {
|
|
162
162
|
api: {
|
|
163
163
|
name: 'sdk-http-api',
|
package/dist/bundling-sources/shared_libs/play-runtime/governor/app-runtime-rate-state-backend.ts
CHANGED
|
@@ -814,36 +814,36 @@ export class AppRuntimeRateStateBackend implements RateStateBackend {
|
|
|
814
814
|
}
|
|
815
815
|
|
|
816
816
|
/**
|
|
817
|
-
* Multiplier applied to
|
|
818
|
-
* `adaptiveMaxRps` ceiling.
|
|
819
|
-
*
|
|
817
|
+
* Multiplier applied to an adaptive pacing rule's `requestsPerWindow` to derive
|
|
818
|
+
* its `adaptiveMaxRps` ceiling. The configured rate is a safe seed, while 429
|
|
819
|
+
* feedback drives AIMD toward the provider's actual limit.
|
|
820
820
|
*/
|
|
821
|
-
const
|
|
821
|
+
const ADAPTIVE_MAX_RPS_MULTIPLIER = 25;
|
|
822
822
|
|
|
823
823
|
/**
|
|
824
824
|
* A rule id shaped `default:<toolId>` is the undeclared-tool default-pacing rule
|
|
825
|
-
* minted by `defaultPacingForTool` in governor.ts.
|
|
826
|
-
* base rate; declared providers pin at their contractual rate.
|
|
825
|
+
* minted by `defaultPacingForTool` in governor.ts.
|
|
827
826
|
*/
|
|
828
827
|
function isDefaultPacingRuleId(ruleId: string): boolean {
|
|
829
828
|
return ruleId.startsWith('default:');
|
|
830
829
|
}
|
|
831
830
|
|
|
832
831
|
/**
|
|
833
|
-
* Preserve explicit advisory ceilings
|
|
834
|
-
*
|
|
835
|
-
*
|
|
832
|
+
* Preserve explicit advisory ceilings. Otherwise stamp the base * 25 ceiling
|
|
833
|
+
* onto legacy default-pacing rules and declared per-second rules. This lets a
|
|
834
|
+
* declared 10 QPS provider discover a higher entitlement, while longer-window
|
|
835
|
+
* declared budgets remain fixed because multiplying RPM into RPS is unsafe.
|
|
836
836
|
*/
|
|
837
837
|
function withAdaptiveMaxRps(rules: readonly PacingRule[]): PacingRule[] {
|
|
838
838
|
return rules.map((rule) =>
|
|
839
839
|
rule.adaptiveMaxRps != null
|
|
840
840
|
? rule
|
|
841
|
-
: isDefaultPacingRuleId(rule.ruleId)
|
|
841
|
+
: isDefaultPacingRuleId(rule.ruleId) || rule.windowMs === 1_000
|
|
842
842
|
? ({
|
|
843
843
|
...rule,
|
|
844
844
|
adaptiveMaxRps:
|
|
845
845
|
rule.requestsPerWindow *
|
|
846
|
-
|
|
846
|
+
ADAPTIVE_MAX_RPS_MULTIPLIER,
|
|
847
847
|
} as PacingRule)
|
|
848
848
|
: rule,
|
|
849
849
|
);
|
package/dist/cli/index.js
CHANGED
|
@@ -1037,7 +1037,7 @@ var SDK_RELEASE = {
|
|
|
1037
1037
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
1038
1038
|
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
1039
1039
|
// Operators use the checkout-local deepline-admin binary instead.
|
|
1040
|
-
version: "0.1.
|
|
1040
|
+
version: "0.1.315",
|
|
1041
1041
|
contracts: {
|
|
1042
1042
|
api: {
|
|
1043
1043
|
name: "sdk-http-api",
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1022,7 +1022,7 @@ var SDK_RELEASE = {
|
|
|
1022
1022
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
1023
1023
|
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
1024
1024
|
// Operators use the checkout-local deepline-admin binary instead.
|
|
1025
|
-
version: "0.1.
|
|
1025
|
+
version: "0.1.315",
|
|
1026
1026
|
contracts: {
|
|
1027
1027
|
api: {
|
|
1028
1028
|
name: "sdk-http-api",
|
package/dist/index.js
CHANGED
|
@@ -760,7 +760,7 @@ var SDK_RELEASE = {
|
|
|
760
760
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
761
761
|
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
762
762
|
// Operators use the checkout-local deepline-admin binary instead.
|
|
763
|
-
version: "0.1.
|
|
763
|
+
version: "0.1.315",
|
|
764
764
|
contracts: {
|
|
765
765
|
api: {
|
|
766
766
|
name: "sdk-http-api",
|
package/dist/index.mjs
CHANGED
|
@@ -686,7 +686,7 @@ var SDK_RELEASE = {
|
|
|
686
686
|
// 0.1.253 makes play-page browser opening opt-in and retires --no-open.
|
|
687
687
|
// 0.1.254 removes the internal operations tree from the published SDK CLI.
|
|
688
688
|
// Operators use the checkout-local deepline-admin binary instead.
|
|
689
|
-
version: "0.1.
|
|
689
|
+
version: "0.1.315",
|
|
690
690
|
contracts: {
|
|
691
691
|
api: {
|
|
692
692
|
name: "sdk-http-api",
|