[codex] version3.8.0 release#36
Merged
Merged
Conversation
Introduce CSharpDB.CodeModules with database-owned module storage, workspace export/import, Roslyn build diagnostics, local trust, and Admin Forms runtime contracts. Wire Admin Forms events and selected-control events to optional CodeModuleHandler dispatch, add handler stub generation, Code Modules admin tab, and safe form command API support. Refresh UDF/Admin Forms documentation and add the CodeModules README plus a real-world website blog walkthrough. Also fix the extra nested code-block lip in generated www pages.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 55d1937fc6
ℹ️ About Codex in GitHub
Your team has set up Codex to 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 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
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.
Summary
This
version3.8.0release covers the commit rangeed572e47f9d20a4ffa40400cd0467f664f717f3e..HEAD.The release adds native
.csdbtabletable archives, Admin Import / Exportworkflows, and read-only SQL external tables. Archives now use the native
CSDBTBL3seekable format with schema and manifest metadata, encoded rows, rowcounts, source table metadata, created timestamps, and optional integer
primary-key archive indexes. Admin can export tables to browser downloads or
server/database-local paths, register archives as external tables, restore
archives to physical tables, show progress, and cancel long-running work.
The SQL/runtime work adds
CREATE EXTERNAL TABLE ... FROM 'path.csdbtable',DROP EXTERNAL TABLE, the internal__external_tablesmetadata table,sys.external_tables, external table scans, indexed archive lookups, and joinsbetween live and archived tables. External
.csdbtableregistrations areread-only in this release; writes, index creation, ALTER operations, and trigger
targets are rejected.
The Admin release also adds a Data Model tab. It visualizes user tables and
external tables on a draggable ERD-style canvas, supports zoom, opens from
Object Explorer and the command palette, and can hand selected layouts to the
existing Query Designer. The follow-up diagram work adds a real
__data_model_diagramssystem table,sys.diagrams, named diagramsave/load/delete, remembered table membership and placement, a default global
diagram, and preview-first staged schema operations for SQL Server-style diagram
editing.
The docs/site portion adds planning documents for writable external tables,
Data Hygiene Engine, Developer Experience, Advanced Differentiators, and the
Database DevOps Toolkit. It also refreshes the roadmap, changelog, blog index,
and adds the v3.8 native table archives blog post.
Type of Change
Related Issues
No issue numbers were linked for this release branch. Included work:
CSharpDB.ImportExportandCSharpDB.Admin.ImportExport..csdbtablearchive writing, reading, metadata, restore, andinteger primary-key archive lookup support.
server-path exports, restore, and external table registration.
CREATE EXTERNAL TABLEandDROP EXTERNAL TABLEparser/runtimesupport.
__external_tables,sys.external_tables, external table objectexplorer entries, and query-tab catalog discovery.
primary-key lookup planning.
trigger-target operations.
command palette entry points, table/external table context entries, and Query
Designer handoff.
__data_model_diagrams,sys.diagrams, hidden internal-tablefiltering, named diagram save/load/delete, and default global diagram
placement persistence.
table, add/drop/rename column, and add/drop relationship workflows.
__data_model_layout:saved-query persistence path.experience, advanced differentiators, and database DevOps tooling.
archives blog post.
Testing
dotnet build CSharpDB.slnxDbExceptionpaths)Validation performed:
dotnet build src\CSharpDB.Admin\CSharpDB.Admin.csprojdotnet test tests\CSharpDB.Tests\CSharpDB.Tests.csproj --no-restore --filter "TableArchiveTests|ExternalTableTests|ParserTests|EngineTransportClientTests|DataModelGraphBuilderTests|DataModelDiagramServiceTests|SystemCatalogTests"dotnet test tests\CSharpDB.Admin.Reports.Tests\CSharpDB.Admin.Reports.Tests.csproj --no-restore --filter DbReportSourceProviderTestsdotnet test tests\CSharpDB.Admin.Forms.Tests\CSharpDB.Admin.Forms.Tests.csproj --no-restore --filter TabManagerServiceTestsgit diff --checkpanel.
Checklist
Notes for Reviewers
.csdbtablearchives are native seekable packages, not CSV/JSON exports or aZIP of JSON rows.
.csdbtableexternal tables are read-only by design in this release. Writableexternal tables are planned separately with a mutable
.csdbxfile.__external_tables; Data Modeldiagrams are stored in
__data_model_diagrams. Both internal tables arehidden from normal table lists and exposed through
sys.*views.apply operations. Staged schema edits preview SQL first, then apply through
existing client/engine capabilities.
with foreign-key-owned support indexes may need relationship cleanup before a
drop can apply.
from
VBCSCompiler; the affected tests were rerun sequentially afterdotnet build-server shutdownand passed.