You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by as...@apache.org on 2026/08/24 11:28:40 UTC
(maka) branch fix/asf-headers-plugin-runtime created (now b0a20d19c)
This is an automated email from the ASF dual-hosted git repository.
Astro-Han pushed a change to branch fix/asf-headers-plugin-runtime
in repository https://gitbox.apache.org/repos/asf/maka.git
at b0a20d19c fix(runtime): add the missing ASF headers to the plugin modules
This branch includes the following new commits:
new b0a20d19c fix(runtime): add the missing ASF headers to the plugin modules
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org
(maka) 01/01: fix(runtime): add the missing ASF headers to the plugin modules
Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
Astro-Han pushed a commit to branch fix/asf-headers-plugin-runtime
in repository https://gitbox.apache.org/repos/asf/maka.git
commit b0a20d19c77b71128dc619a5ca6d1624cb759e2d
Author: Astro-Han <le...@gmail.com>
AuthorDate: Mon Aug 24 19:28:30 2026 +0800
fix(runtime): add the missing ASF headers to the plugin modules
`Check ASF source headers` fails on main. Five files added by #3250 carry
no license header, so `main` and every branch built on it report a red CI
run for a reason unrelated to their own changes.
Generated by `node scripts/asf-license-headers.mjs write`; the header text
is the standard one the script emits, and nothing else in these files
changed.
---
.../src/__tests__/plugin-composition-loader.test.ts | 19 +++++++++++++++++++
packages/runtime/src/__tests__/plugin-kernel.test.ts | 19 +++++++++++++++++++
packages/runtime/src/plugin-composition-loader.ts | 19 +++++++++++++++++++
packages/runtime/src/plugin-kernel.ts | 19 +++++++++++++++++++
packages/runtime/src/plugin-runtime.ts | 19 +++++++++++++++++++
5 files changed, 95 insertions(+)
diff --git a/packages/runtime/src/__tests__/plugin-composition-loader.test.ts b/packages/runtime/src/__tests__/plugin-composition-loader.test.ts
index 6284f4381..53e44f61a 100644
--- a/packages/runtime/src/__tests__/plugin-composition-loader.test.ts
+++ b/packages/runtime/src/__tests__/plugin-composition-loader.test.ts
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import assert from 'node:assert/strict';
import { test } from 'node:test';
import { Context, type Plugin } from '../plugin-kernel.js';
diff --git a/packages/runtime/src/__tests__/plugin-kernel.test.ts b/packages/runtime/src/__tests__/plugin-kernel.test.ts
index 3af7731b5..cc631e871 100644
--- a/packages/runtime/src/__tests__/plugin-kernel.test.ts
+++ b/packages/runtime/src/__tests__/plugin-kernel.test.ts
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import assert from 'node:assert/strict';
import test from 'node:test';
import { Context, FiberState, Service, type Plugin } from '../plugin-kernel.js';
diff --git a/packages/runtime/src/plugin-composition-loader.ts b/packages/runtime/src/plugin-composition-loader.ts
index 21174768c..abb887437 100644
--- a/packages/runtime/src/plugin-composition-loader.ts
+++ b/packages/runtime/src/plugin-composition-loader.ts
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import { Context, type Fiber, type Inject, type Plugin } from './plugin-kernel.js';
import {
fiberStateName,
diff --git a/packages/runtime/src/plugin-kernel.ts b/packages/runtime/src/plugin-kernel.ts
index 710cc9e67..423968b72 100644
--- a/packages/runtime/src/plugin-kernel.ts
+++ b/packages/runtime/src/plugin-kernel.ts
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
export type Awaitable<T> = T | PromiseLike<T>;
export type Disposable<T = void | Promise<void>> = () => T;
diff --git a/packages/runtime/src/plugin-runtime.ts b/packages/runtime/src/plugin-runtime.ts
index 10cb9b40e..06fbfe040 100644
--- a/packages/runtime/src/plugin-runtime.ts
+++ b/packages/runtime/src/plugin-runtime.ts
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
import type { Context, FiberState, Plugin } from './plugin-kernel.js';
const ID_PATTERN = /^[a-z][a-z0-9]*(?:[._:-][a-z0-9]+)*$/u;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org