Repository navigation
chore(release): prepare v1.6.0 knowledge bases and stable Gateway - #2783
Merged
Merged
Conversation
hidb4ai
requested review from
AlexStocks,
PsiACE,
frostming,
knqiufan,
yihong0618 and
zhanghuidinah
as code owners
November 23, 2026 04:03
PsiACE
approved these changes
Nov 23, 2026
Member
|
[P1] Migration rename breaks the required CI baseline check Renaming v1_5_2_pr2639 to v1_5_0_006 changes migration history already present in the PR base. CI preflight fails with Frozen migration history changed: server, causing downstream upgrade acceptance jobs to be skipped. Documenting this as an expected failure leaves the release without the required CI validation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue or RFC does this PR close?
Prepares PowerContext 1.6.0 from
origin/main, synchronized through7b1e78ac. Release scope: closed PRs labeled 1.6.0. Related: #2570, #2658, #2435, #2775, #2776 and #2713.Rationale for this change
Publish the first knowledge-base release and promote the Gateway to stable, with cache-aware memory extraction as its token-cost story. The release copy explains how reusing the Agent conversation prefix reduces uncached input, the default-enabled Gateway prefix extraction and Responses cost guidance, opt-in capture and required Server callback configuration, Codex protection restrictions and the absence of a fixed savings guarantee.
What changes are included in this PR?
make version-bump: installation guides, three README languages, OpenAPI, generated Python metadata and the upgrade policy. Regenerate Desktop contract identities and the Dify contract.v1_5_0_006and freeze the cumulative000migration asv1_6_0, keeping all published revisions and checksums unchanged. The baseline validator remains unchanged: comparison against the PR base rejects the unpublished rename withFrozen migration history changed. This known CI failure is retained. Synchronize native/SQLite resources, source registrations, the persistence digest, compatibility rationale, bilingual migration guides and target-revision assertions.Release scope also includes Gateway defaults (#2774), Codex session-id forwarding (#2782), and subscription setup documentation (#2789). #2646/#2621 already shipped in 1.5.2; #2651/#2652/#2655 merged into feature branches rather than the release base, and #2661 closed without merging. These excluded changes are not advertised as new release features.
Are there any user-facing changes?
The knowledge-base plugin is optional and requires its dependencies and installation; its initial scope covers Markdown and PNG/JPEG/WebP, not PDF/Office or generated answers. Prefix extraction and Responses cost guidance are enabled by default on the Gateway. Capture remains opt-in and extraction requires the Server callback URL and generation model. With that URL configured, the Server defaults to
one_passunless a mode is explicitly supplied; other Server deployments and direct SDK use retainper_candidate. Cached input is still input, and actual cost depends on hits, session size and fallback calls.The schema head is
v1_6_0, afterv1_5_0_006. Existing managed storage needs explicit maintenance. Development databases and recovery plans using the former PR-based Source collection identity or unpublished000must be rebuilt; there is no runtime alias. Retained legacy plugin registrations/data still have no supported in-place upgrade path. Theupgrade-requiredpolicy and all twelve native installed-release acceptance profiles remain mandatory.How was this change tested?
After merging
origin/mainat7b1e78ac: Server generation/settings and release-version tests: 33 passed;make release-check VERSION=1.6.0and allprekhooks/type checks passed. Release notes and all three READMEs reflect the merged Gateway defaults.Migration rename checks: 104 migration/release/E2E tests passed. All 47 migration scripts and schema resources in the official 1.5.2 tag remain byte-identical.
make release-check VERSION=1.6.0passed; this command does not compare with the PR base. The temporary baseline-normalization helper and its tests are absent from the final change.make version-bump VERSION=1.6.0,make schema-freeze VERSION=1.6.0, andmake release-check VERSION=1.6.0: passed.uv run python scripts/schema_release.py check --release --base-ref origin/main: expected failure (Frozen migration history changed: server) because the unchanged validator protects the old unpublished identity in the PR base.make check: passed. The first CI preflight found quote formatting in the two newly frozen migration files; fixed inc33a83a6, refreshed the persistence digest, and reran allprekhooks/type checks and baseline schema validation successfully. Final freeze/diagnostic-migration regression: 35 passed.make contract-test: 69 passed. Desktopgenerate:checkand Dify contract check passed.Focused release/migration suites: 297 passed, 81 skipped (including unavailable native backend probes). Migration end-to-end suites: 5 passed.
Desktop native protocol module suite: 39 passed, 2 ignored. The exact built-wheel/product ConnectionManager run passed all four SQLite connection modes. The first run hit Provider-fixture readiness timeout; a local wrapper with a 60-second startup wait passed without changing request timeouts or business assertions. See
desktop/VALIDATION.mdfor commit, artifact and contract hashes and platform limits.make docs-test: passed, including lint, 37 website tests, link validation, production compilation, TypeScript and static export. Verified 1,134 public pages and their internal links.The full native installed-release upgrade matrix and final tagged artifact acceptance remain release gates in CI; local source checks and the SQLite Desktop protocol run do not certify them. No tag, package publication or production deployment is performed by this PR.
AI usage statement
OpenAI Codex assisted with the release inventory, bilingual documentation, generated contracts, schema freeze and validation.