Skip to content

chore: change license from MIT to Apache 2.0 - #356

Merged
kojiwakayama merged 2 commits into
mainfrom
chore/license-apache-2.0
Feb 14, 2026
Merged

kojiwakayama merged 2 commits into
mainfrom
chore/license-apache-2.0

Conversation

@kojiwakayama

Copy link
Copy Markdown
Contributor

Summary

  • Replace MIT license with Apache License 2.0
  • Update npm/package.json license field from MIT to Apache-2.0

Test plan

  • Verify LICENSE file contains full Apache 2.0 text
  • Verify npm/package.json license field is Apache-2.0

Update LICENSE file to Apache License 2.0 and update npm/package.json
license field to match.
@kojiwakayama
kojiwakayama merged commit 97b4268 into main Feb 14, 2026
11 checks passed
@kojiwakayama
kojiwakayama deleted the chore/license-apache-2.0 branch February 14, 2026 20:10

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 89ee01c4f6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread npm/package.json
"url": "git+https://github.com/veryfront/veryfront.git"
},
"license": "MIT",
"license": "Apache-2.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Synchronize npm package licensing artifacts

Changing only npm/package.json to Apache-2.0 leaves the npm distribution in a contradictory state: npm/LICENSE is still MIT, and the build source still hardcodes MIT in scripts/build/build-npm-dnt.ts (package.license and generateMitLicense()), so the next deno task npm build will revert the generated metadata. This can break downstream compliance checks because published tarballs will not consistently declare Apache-2.0.

Useful? React with 👍 / 👎.

kwakayama added a commit that referenced this pull request Aug 26, 2026
…, align the docs

Addresses three P1 review findings on this PR.

1. The grant never reached the execution surfaces. resolveHostProjectExecutionPosture
   set the capability, but isHostProjectCodeExecutionAllowedForTopology discarded it
   for any shared runtime, so the SSR guard and API handler returned the same 503 this
   PR was meant to fix. The resolver change alone was a no-op. Honour the grant in the
   topology predicate and update the test that pinned the denial.

   The topology parameter is now unused, so it is removed; requiresIsolatedProjectRuntime
   still samples the topology once for its own decision, and the single-sample invariant
   test now exercises the ungranted path where topology actually decides.

2. No startup warning when the grant is active. production-server warned only when the
   setting was ignored, so switching same-process tenant execution on -- including a
   formerly stale setting becoming effective on upgrade -- was silent. Warn distinctly
   on an active grant, and keep the ignored-setting warning for dedicated runtimes.

3. Documented posture contradicted the effective one. security/README.md said a shared
   runtime never executes tenant source and the setting was ignored; the module header
   and worker-pool posture repeated it. Replace the "deprecated override" section with
   one that states plainly that granting reduces isolation, why this deployment needs
   it, and that it is retired by routing execution to a dedicated runtime (#356).

Verified red before green on the predicate: the shared-runtime-with-grant case fails
against the previous behaviour and passes with this change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant