Skip to content

ADR-021: simplify the publication of the developer environment - #477

Merged
ambroise-leclerc merged 12 commits into
developfrom
adr-021-developer-release
Nov 2, 2026
Merged

ambroise-leclerc merged 12 commits into
developfrom
adr-021-developer-release

Conversation

@ambroise-leclerc

Copy link
Copy Markdown
Collaborator

Proposes ADR-021 (status: Proposed), written after the release of developer environment 0.6.4.

The environment is released independently of the library (12 versions in 12 days against 6 library releases), and each release needs a pin in three places plus a manual verification before the pin can be merged.

The ADR compares eight options and recommends:

  • one automated release workflow that builds, pins, tags, publishes and verifies the deployed bytes before opening the merge PR, with a single source for the pin;
  • keeping the pinned-hash trust model and GitHub Pages;
  • no dedicated OVHcloud server (the whole site is 48.9 MB); a domain of its own in front of static hosting is left as a separate decision;
  • signed archives only as a possible later ADR, since they change the trust model.

Documentation only: adds the ADR and its line in the ADR index. No code or test change.

Copilot AI balanced review requested due to automatic review settings November 2, 2026 07:24
@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 66d9d7ba-eb74-46e7-8bb0-da343c5cd798
Commits

Reviewing files that changed from the base of the PR and between 8bb5d3e and 4852e16.

Files selected for processing: 2
  • docs/adr/ADR-021-publication-de-l-environnement-developpeur.md
  • docs/adr/README.md

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Walkthrough

L’ADR-021 propose un workflow automatisé pour publier l’environnement développeur et retient dist.webfront.fr comme domaine de distribution. Elle précise les contrôles de publication, les conditions de reprise et la rupture de compatibilité avec les anciennes URL. Le registre des ADR ajoute cette proposition à son décompte et à son index.

Changes: Publication de l’environnement développeur

Layer / File(s) Summary
Proposition et référencement de l’ADR
docs/adr/ADR-021-publication-de-l-environnement-developpeur.md, docs/adr/README.md
L’ADR-021 propose un workflow unique de release, des contrôles avant l’ouverture de la PR de fusion et dist.webfront.fr comme domaine de distribution. Elle précise les règles de reprise, l’abandon des binaires compilés avec l’ancienne URL et les critères d’acceptation. Le registre passe à 21 ADR, dont 4 propositions, et ajoute l’ADR-021.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

  • ambroise-leclerc/WebFront#344 — Ajoute le paquetage reproductible et un workflow qui construit deux fois les distributions, sujets repris dans l’ADR-021.
  • ambroise-leclerc/WebFront#476 — Prépare et vérifie la publication de l’environnement 0.6.4, son pin, ses artefacts et son smoke test public.
  • ambroise-leclerc/WebFront#411 — Consigne l’acceptation du contrat d’automatisation et identifie la publication de la distribution comme un gate restant.

Suggested reviewers: am-l

Merge Risk: Low · previous review 4852e

This documentation-only ADR can be merged with two small wording fixes: correct the step count and mention the Pages publication permission. No code or runtime behavior changes.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed Le titre « ADR-021: simplify the publication of the developer environment » correspond au changement principal : l’ajout de l’ADR-021 qui propose de simplifier la publication de l’environnement dévelo…
Description check Passed La description explique que la PR propose l’ADR-021 (statut Proposé), présente les huit options comparées et la recommandation (workflow de publication automatisé, GitHub Pages, pas de serveur dédié O…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

Le titre « ADR-021: simplify the publication of the developer environment » correspond au changement principal : l’ajout de l’ADR-021 qui propose de simplifier la publication de l’environnement développeur. Le titre est court et précis, mais il est rédigé en anglais alors que le contenu de la PR est en français.

Full details: Description check

Explanation

La description explique que la PR propose l’ADR-021 (statut Proposé), présente les huit options comparées et la recommandation (workflow de publication automatisé, GitHub Pages, pas de serveur dédié OVHcloud, signatures reportées). Elle mentionne aussi que la PR ne contient que de la documentation : l’ADR et sa ligne dans l’index. La description est donc directement liée au changement.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Two unresolved documentation findings remain—the register's "next number" pointer still shows ADR-021 instead of being bumped to 022, and the ADR text says "quatre temps" while listing five steps—so changes are still outstanding.

2 open issues
What changed in this PR

This documentation-only PR adds ADR-021, a Proposed architecture decision record (written in French, per the ADR register's convention) that evaluates eight options for simplifying how the WebFront developer environment is published. It recommends automating the existing multi-branch release choreography into a single release-developer workflow with one source of truth for the pinned version/hash, while preserving the pinned-hash trust model and GitHub Pages hosting, and explicitly rejecting a dedicated OVHcloud server. It fits into the existing docs/adr/ register alongside ADR-013/016 (bootstrap trust) and ADR-019/020 (developer environment evolution). No code or tests are changed.

Changes:

  • Adds docs/adr/ADR-021-publication-de-l-environnement-developpeur.md with context, eight evaluated options, decision, consequences, acceptance criteria and implementation prescriptions.
  • Updates docs/adr/README.md index: total count (20→21 ADRs, 3→4 proposals), the proposal-date sentence, and a new ADR-021 index row.
File Description
docs/​adr/​ADR-021-publication-de-l-environnement-developpeur.md New ADR proposing an automated single-workflow publication for the developer environment; references to the cited source files were verified to exist.
docs/​adr/​README.md Index updated for the new ADR (count, proposal-date line, table row); the "next number" maintenance pointer was not advanced.

I noted two documentation consistency issues as review comments: the register's "next number is ADR-021" pointer was not bumped to ADR-022, and the ADR intro says "quatre temps" while the list and later references describe five steps ("étapes 2 à 5").

Review effort: Balanced

Comment thread docs/adr/README.md Resolved

@coderabbitai coderabbitai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Fix comments: Fix CodeRabbit comments on this PR

@ambroise-leclerc
ambroise-leclerc merged commit 6ca729a into develop Nov 2, 2026
8 checks passed
@ambroise-leclerc
ambroise-leclerc deleted the adr-021-developer-release branch November 2, 2026 12:38
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.

3 participants