Skip to content

[build] Apply patches#265162

Merged
jbudz merged 3 commits intoelastic:mainfrom
jbudz:build-apply-patches
Apr 23, 2026
Merged

[build] Apply patches#265162
jbudz merged 3 commits intoelastic:mainfrom
jbudz:build-apply-patches

Conversation

@jbudz
Copy link
Copy Markdown
Contributor

@jbudz jbudz commented Apr 22, 2026

Follow up to #263121, which also needs to run on the build.

https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/8279

jon@mbp % tar xzf kibana-9.4.0-SNAPSHOT-linux-x86_64.tar.gz --to-stdout kibana-9.4.0-SNAPSHOT/node_modules/zod/v4/classic/schemas.cjs | head -160 | tail -35
const checks = __importStar(require("./checks.cjs"));
const iso = __importStar(require("./iso.cjs"));
const parse = __importStar(require("./parse.cjs"));
// Maps (internalProto, key) pairs already initialized — avoids repeated prototype setup
const _protoInitMap = new WeakMap();
/**
 * Sets shared methods on the *internal* prototype layer of inst's concrete constructor
 * (once per concrete type per key). The internal prototype sits one level below the
 * user-visible `_.prototype`, keeping `Object.keys(_.prototype)` empty by default
 * and preventing V8 dictionary-mode degradation.
 *
 * Falls back to `Object.getPrototypeOf(inst)` for constructors not created with
 * `$constructor` (e.g., in tests or third-party code).
 */
function _initProto(inst, key, methods, defineProps) {
    const proto = inst._zod?.constr?.[core.$internalProto] ?? Object.getPrototypeOf(inst);

@jbudz jbudz requested a review from a team as a code owner April 22, 2026 21:59
@elasticmachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #74 / Entity Analytics - Risk Score Maintainer @ess @serverless @serverlessQA Risk Score Maintainer Entity Calculation with test log data risk score document structure persists modifier shape for asset criticality and watchlist

Metrics [docs]

✅ unchanged

History

@jbudz jbudz added Team:Operations Kibana-Operations Team backported v9.4.0 labels Apr 22, 2026
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

1 similar comment
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@jbudz jbudz added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Apr 22, 2026
@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp Bot commented Apr 22, 2026

Approvability

Verdict: Needs human review

This build task change adds patch-package execution during dependency installation. While the change itself is straightforward, the author does not own this file (owned by @elastic/kibana-operations), and the designated code owners should review changes to build infrastructure they maintain.

You can customize Macroscope's approvability policy. Learn more.

@jbudz jbudz merged commit 86fb703 into elastic:main Apr 23, 2026
39 checks passed
jbudz added a commit that referenced this pull request Apr 23, 2026
smith pushed a commit to smith/kibana that referenced this pull request Apr 23, 2026
Follow up to elastic#263121, which also
needs to run on the build.

https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/8279

```
jon@mbp % tar xzf kibana-9.4.0-SNAPSHOT-linux-x86_64.tar.gz --to-stdout kibana-9.4.0-SNAPSHOT/node_modules/zod/v4/classic/schemas.cjs | head -160 | tail -35
const checks = __importStar(require("./checks.cjs"));
const iso = __importStar(require("./iso.cjs"));
const parse = __importStar(require("./parse.cjs"));
// Maps (internalProto, key) pairs already initialized — avoids repeated prototype setup
const _protoInitMap = new WeakMap();
/**
 * Sets shared methods on the *internal* prototype layer of inst's concrete constructor
 * (once per concrete type per key). The internal prototype sits one level below the
 * user-visible `_.prototype`, keeping `Object.keys(_.prototype)` empty by default
 * and preventing V8 dictionary-mode degradation.
 *
 * Falls back to `Object.getPrototypeOf(inst)` for constructors not created with
 * `$constructor` (e.g., in tests or third-party code).
 */
function _initProto(inst, key, methods, defineProps) {
    const proto = inst._zod?.constr?.[core.$internalProto] ?? Object.getPrototypeOf(inst);
```
rbrtj pushed a commit to walterra/kibana that referenced this pull request Apr 27, 2026
Follow up to elastic#263121, which also
needs to run on the build.

https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/8279

```
jon@mbp % tar xzf kibana-9.4.0-SNAPSHOT-linux-x86_64.tar.gz --to-stdout kibana-9.4.0-SNAPSHOT/node_modules/zod/v4/classic/schemas.cjs | head -160 | tail -35
const checks = __importStar(require("./checks.cjs"));
const iso = __importStar(require("./iso.cjs"));
const parse = __importStar(require("./parse.cjs"));
// Maps (internalProto, key) pairs already initialized — avoids repeated prototype setup
const _protoInitMap = new WeakMap();
/**
 * Sets shared methods on the *internal* prototype layer of inst's concrete constructor
 * (once per concrete type per key). The internal prototype sits one level below the
 * user-visible `_.prototype`, keeping `Object.keys(_.prototype)` empty by default
 * and preventing V8 dictionary-mode degradation.
 *
 * Falls back to `Object.getPrototypeOf(inst)` for constructors not created with
 * `$constructor` (e.g., in tests or third-party code).
 */
function _initProto(inst, key, methods, defineProps) {
    const proto = inst._zod?.constr?.[core.$internalProto] ?? Object.getPrototypeOf(inst);
```
SoniaSanzV pushed a commit to SoniaSanzV/kibana that referenced this pull request Apr 27, 2026
Follow up to elastic#263121, which also
needs to run on the build.

https://buildkite.com/elastic/kibana-artifacts-snapshot/builds/8279

```
jon@mbp % tar xzf kibana-9.4.0-SNAPSHOT-linux-x86_64.tar.gz --to-stdout kibana-9.4.0-SNAPSHOT/node_modules/zod/v4/classic/schemas.cjs | head -160 | tail -35
const checks = __importStar(require("./checks.cjs"));
const iso = __importStar(require("./iso.cjs"));
const parse = __importStar(require("./parse.cjs"));
// Maps (internalProto, key) pairs already initialized — avoids repeated prototype setup
const _protoInitMap = new WeakMap();
/**
 * Sets shared methods on the *internal* prototype layer of inst's concrete constructor
 * (once per concrete type per key). The internal prototype sits one level below the
 * user-visible `_.prototype`, keeping `Object.keys(_.prototype)` empty by default
 * and preventing V8 dictionary-mode degradation.
 *
 * Falls back to `Object.getPrototypeOf(inst)` for constructors not created with
 * `$constructor` (e.g., in tests or third-party code).
 */
function _initProto(inst, key, methods, defineProps) {
    const proto = inst._zod?.constr?.[core.$internalProto] ?? Object.getPrototypeOf(inst);
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting backported release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v9.4.0 v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants