Skip to content

Comments

Improve d2d mapping npm map#2063

Open
Aryan-SINGH-GIT wants to merge 2 commits intoaboutcode-org:mainfrom
Aryan-SINGH-GIT:improve-D2D-mapping-npm-map
Open

Improve d2d mapping npm map#2063
Aryan-SINGH-GIT wants to merge 2 commits intoaboutcode-org:mainfrom
Aryan-SINGH-GIT:improve-D2D-mapping-npm-map

Conversation

@Aryan-SINGH-GIT
Copy link
Contributor

Fixes: #1859
This PR introduces support for analyzing .map source-map files in the deploy_to_develop pipeline.

Changes :

Added

  • map_javascript_source_map_sources
    • A new D2D mapper that extracts the sources array from minified .map files in the deployed codebase.
  • Source Resolution
    • Resolves these sources against the provided from/ (develop) codebase.
    • If all sources are found:
      • The .map file is updated to MAPPED
      • js_source_map relations are created linking the compiled file to its underlying development forms.
    • If any source is missing:
      • The mapping aborts
      • The .map file is correctly flagged as REQUIRES_REVIEW

Tests

  • Added new test cases verifying behavior for:
    • Fully mapped sources
    • Partially missing sources

Signed-off-by: Aryan-SINGH-GIT <aryansingh12oct2005@gmail.com>
Signed-off-by: Aryan-SINGH-GIT <aryansingh12oct2005@gmail.com>
@Aryan-SINGH-GIT Aryan-SINGH-GIT changed the title Improve d2 d mapping npm map Improve d2d mapping npm map Feb 23, 2026
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