Repository navigation
Conversation
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
jbecke
force-pushed
the
claude/fervent-mccarthy-h6zlp1-legacy-office-upgrade
branch
from
October 6, 2026 15:41
bed8843 to
5ea2c96
Compare
jbecke
force-pushed
the
claude/fervent-mccarthy-h6zlp1-xlsm-import
branch
from
October 6, 2026 15:41
604187c to
735cf8a
Compare
jbecke
force-pushed
the
claude/fervent-mccarthy-h6zlp1-legacy-office-upgrade
branch
from
October 6, 2026 16:16
5ea2c96 to
0cabada
Compare
jbecke
force-pushed
the
claude/fervent-mccarthy-h6zlp1-xlsm-import
branch
from
October 6, 2026 16:22
735cf8a to
abb68ee
Compare
Base automatically changed from
claude/fervent-mccarthy-h6zlp1-legacy-office-upgrade
to
claude/fervent-mccarthy-h6zlp1
October 6, 2026 19:18
… macros The importer accepted only .xlsx and rejected any workbook carrying a VBA project. Macro-enabled workbooks now import like .xlsx, in the in-sheet Import and as uploads: VBA projects, Excel 4.0 macro sheets and form or ActiveX controls are dropped with import notes, and Download as Excel writes a macro-free .xlsx. Macro's own exports are still checked to carry no macro parts. Tested with two Excel-written .xlsm files from the Apache POI test data (Apache-2.0), synthetic macro-enabled packages, native save/reopen with recalculation, the uploaded-workbook query and a browser test through the real import worker.
jbecke
force-pushed
the
claude/fervent-mccarthy-h6zlp1-xlsm-import
branch
from
October 6, 2026 19:19
abb68ee to
de4eff9
Compare
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.
Stacked on #7605, which is on #7594. That PR adds the
.xlsmfile type and the in-sheet.xlsmessage this PR builds on.Macro-enabled Excel workbooks (
.xlsm) now import into the sheets engine like.xlsx, with their macros removed.Changes
xlsx-archive.tsrejected any package containingvbaProject.bin.openXlsxArchive) now accept macro parts and add import notes:[Content_Types].xml, so the macro-enabled main content type needed no change.inspectXlsxArchive, the self-check on Macro's own.xlsxoutput, still refuses VBA projects, their signatures and macro sheets..xlsmwrites a macro-free.xlsx..xlsmkeeps its macros in the original download.isUploadedWorkbooknow acceptsxlsm, so an uploaded.xlsmopens in the read-only workbook preview and Edit in Macro imports it into a native spreadsheet. The upload query already sends non-CSV files to the Excel worker..xlsm: extension check plusaccept=".xlsm,application/vnd.ms-excel.sheet.macroEnabled.12".importExcelaccepts.xlsx/.xlsm..xlsmimports.Testing
xlsm-import.test.ts(7 tests):.xlsmfiles with real VBA projects from the Apache POI test data (Apache-2.0, provenance inxlsx-fixtures/README.md). One is simple; the other has comments, embedded Word/PowerPoint objects and Cyrillic sheet names. Both import with the VBA note and export withoutvbaProject..xlsm, with the macro-enabled content type, VBA project, signature and relationship, keeps its formulas, styles and notes.SUM= 6,000).xlsx-codec.test.ts(macros now rejected only on export),csv-file.test.tsandcreate-workbook-actions.test.ts(.xlsmpreviews with its notes;.xltm/.xlsstill rejected), anduploaded-workbook.test.ts(.xlsmuploads use the Excel worker).poi-simple-macro.xlsmthrough the file picker, see the VBA note, replace the workbook, download, and confirm no VBA parts..xlsshows the upload hint.services/sync-service/build/worker/shim.mjs) that doesn't exist in this environment and doesn't touch import.tsc, biome, oxlint and ast-grep.Generated by Claude Code