Skip to content

Upgrade Deno from 2.6.10 to 2.7.6#636

Merged
dahlia merged 2 commits intofedify-dev:2.0-maintenancefrom
dahlia:2.0-maintenance
Mar 18, 2026
Merged

Upgrade Deno from 2.6.10 to 2.7.6#636
dahlia merged 2 commits intofedify-dev:2.0-maintenancefrom
dahlia:2.0-maintenance

Conversation

@dahlia
Copy link
Member

@dahlia dahlia commented Mar 18, 2026

Summary

Test plan

  • mise install installs Deno 2.7.6 successfully
  • Pre-commit checks (mise run check) pass

Deno 2.7.5 introduced a regression in TTY stream and readline handling
that caused consecutive @inquirer/prompts select() calls to hang on the
second prompt (denoland/deno#32782).  This affected `fedify init` when
built with `deno compile` (e.g., the Homebrew distribution).

Deno 2.7.6 fixes this upstream issue.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dahlia dahlia self-assigned this Mar 18, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request addresses a critical regression affecting the fedify init command by upgrading the Deno runtime to version 2.7.6. This update ensures the stability of interactive prompts, particularly for compiled distributions, thereby enhancing the user experience and reliability of the application.

Highlights

  • Deno Version Upgrade: Upgraded Deno from version 2.6.10 to 2.7.6 to incorporate a fix for a TTY stream/readline regression.
  • Fix for fedify init: The Deno upgrade resolves an issue where fedify init, when built with deno compile, would hang on consecutive @inquirer/prompts select() calls.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@issues-auto-labeler issues-auto-labeler bot added breaking change Breaking change component/build Build system and packaging component/cli CLI tools related labels Mar 18, 2026
@dahlia dahlia added component/ci CI/CD workflows and GitHub Actions and removed component/cli CLI tools related breaking change Breaking change labels Mar 18, 2026
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request upgrades the Deno runtime from version 2.6.10 to 2.7.6. The change is applied consistently in mise.toml and the GitHub Actions workflow file .github/actions/setup-deno/action.yaml. The reason for the upgrade is clearly stated in the description, addressing a regression in a previous Deno version. The changes are correct and appropriate.

Deno 2.7.6 updated its built-in Temporal API type definitions, which
diverged from @js-temporal/polyfill@0.5.1's types (Duration.sign return
type, Duration.round() parameter signatures).  The test files in
postgres and sqlite packages explicitly typed the Temporal variable with
the polyfill's type, causing TS2322 errors when assigning
globalThis.Temporal.

Also replace "deno.temporal" with "esnext.temporal" in the Fresh
example's compilerOptions.lib, since "deno.temporal" is not a recognized
lib name in Deno 2.7.6's TypeScript.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.
see 83 files with indirect coverage changes

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dahlia dahlia merged commit 8b229de into fedify-dev:2.0-maintenance Mar 18, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/build Build system and packaging component/ci CI/CD workflows and GitHub Actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant