apache / apache/polaris-tools

Console: ensure packaged builds are reproducible

Open
#95 7 comments 0 reactions 0 assignees View on GitHub
console enhancement
Dominant language
TypeScript
Stars
33
Forks
46
Avg merge
1d 4m
Merged PRs (30d)
2

Description

I ran a quick experiment to see whether a `npm run build` is reproducible (it's not, every build produces a different output in the `dist/` folder).

I'm absolutely not experienced in the npm or ts area, but I've seen people mentioning "Nix" in the context of reproducible builds. Exploring that might be an option. https://github.com/jetify-com/devbox looks interesting.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running npm run build twice and comparing the generated files in dist/ to confirm which outputs differ. Read the console build configuration and package metadata to identify the sources of nondeterminism; done means repeated packaged builds produce identical dist/ contents. The issue also suggests investigating Nix or Devbox as possible approaches.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, typescript
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.