iTranslated by AI
Productivity Weekly (Nov 24, 2021)
Hello. I am Hirakiba from the Productivity Improvement Team at Cybozu Inc.
Our Productivity Improvement Team holds an internal meeting called "Productivity Weekly" every Wednesday to share "topics discovered during the week regarding developer productivity improvement."
This article is a compilation of those topics.
This is the 52nd edition. Past articles are here.
news 📺
Announcing AWS Fargate for Amazon ECS powered by AWS Graviton2 Processors
Graviton2 is now available on AWS Fargate. Since Graviton2 is an ARM-based processor, this allows the use of ARM-based containers on Fargate. It is already supported in the Tokyo region.
Compared to x86-based Fargate, price-performance is improved by about 40%, and it is about 20% cheaper in direct price comparison.
Since the arrival of M1 Macs, I feel like Arm-compatible container images have increased significantly. Now that they are available on Fargate as well, the use of Arm-based containers will likely accelerate even more.
GitHub Actions: Cache size is now increased to 10GB per repository | GitHub Changelog
GitHub Actions' cache size per repository has increased from 5GB to 10GB.
For example, since it has become easier to cache Docker layers recently[1], many repositories probably found 5GB insufficient.
The increase in cache makes Actions easier to use for large monorepos and such.
Release v1.6.0 · aws-actions/configure-aws-credentials
Version 1.6.0 of aws-actions/configure-aws-credentials, the official action for easily performing AWS authentication in GitHub Actions, has been released. v1.6.0 includes changes for OpenID Connect support.
OIDC support itself had been merged into the master branch around the time GitHub Actions OIDC was officially released, but for some reason, it wasn't released for a long time (did they forget to release it?).
Now that it's finally released, it's easier to use depending on how you specify the action version.
Next-generation features for building Slack apps faster and simpler | Slack
Slack CLI and a new SDK were announced as next-generation features to build Slack custom apps faster and more simply (closed beta).
The Slack CLI allows for creating new app IDs, creating projects following best practices, and local execution and deployment.
The new SDK is built with TypeScript and targets the Deno runtime.
I want to try it soon, but since it's currently in closed beta, an application is required (interestingly, the article doesn't explicitly mention it's a beta). If you're interested, you should apply for the beta version.
It looks like Slack app development will become much more productive. I'm looking forward to the official release.

Page on how to download Slack CLI. Beta registration required.
Announcing the Preview of Amazon Linux 2022
Amazon Linux 2022, the successor to Amazon Linux 2, has been announced (public preview). It is available in all commercial regions.
Unlike before, it will now have a major update every two years with five years of long-term support. Also, AL2022 will provide a package repository locking feature[2].
This is essential news for Amazon Linux users.
know-how 🎓
The Road to Making Repro's Server-side Development Environment Compatible with M1 Macs - Repro Tech Blog
This article introduces what was done to make a product's server-side development environment compatible with Macs equipped with Apple Silicon.
It describes how they faced issues such as container images not supporting ARM, or AMD containers starting via QEMU (emulator) and becoming very slow. This will likely be helpful when you encounter similar problems.
Quite some time has passed since Apple Silicon-equipped Macs appeared, and various products and middleware are becoming compatible with Apple Silicon, but problems still seem likely to occur in actual use[3]. Sharing such know-how is very much appreciated.
Open Source Governance | Kohsuke Kawaguchi's Blog
This is a story about how to make it easier for people to contribute to an OSS project you manage.
It explains why the barrier to contributing to OSS projects can be high for external contributors and what can be done about it. It includes perspectives from both insiders and outsiders regarding the etiquette of OSS projects, and is recommended for anyone managing an OSS project.
I also release libraries I develop as OSS and contribute to other OSS projects, so I've experienced both positions, but I hadn't really linked them together, so this was a good learning experience. I want to put this into practice.
Fixed-point observation of zsh startup time with GitHub Actions
An attempt to suppress performance degradation by continuously measuring Zsh startup time in CI. It introduces how to measure Zsh startup time, the action and settings for graphing it in GitHub Actions, and a script to format the startup time for the action.
As you customize your shell, you might notice it starts getting slower. Since it's often unclear exactly when it became slow, I thought measuring the startup time for each commit is a good idea.
I've also started taking benchmarks. Since it failed because TERM_PROGRAM was not set when calling Zsh, I'm explicitly setting TERM_PROGRAM: Apple_Terminal using env.
tool 🔨
Fig | 🎉 Launching Fig
As introduced previously, Fig (an application that provides rich command completion in the terminal) has been officially released.
Previously, it was in closed beta, and you had to register on a waiting list to use it, but now anyone can use it.
I have been using it since the closed beta, and it is quite good (although it occasionally becomes unstable).
To support new commands, you can submit a pull request to withfig/autocomplete. Since completion settings can be easily written in TypeScript, you can quickly add completions for commands you frequently use. I have also submitted three pull requests for completions, so please refer to them if you like.
- feat: add limactl completion spec by korosuke613 · Pull Request #673 · withfig/autocomplete
- feat: add asdf completion spec by korosuke613 · Pull Request #677 · withfig/autocomplete
- feat: add direnv completion spec by korosuke613 · Pull Request #681 · withfig/autocomplete
Tidbits 🍘
This is a section where I would like to introduce all the topics that came up in Productivity Weekly, but I don't have the energy to cover them all, or for topics where there wasn't much to say, written in about a single sentence.
-
Preview the Markdown rendering of gists | GitHub Changelog
- Markdown preview is now available in GitHub Gists.
- This is a nice little addition.
-
Custom footers on GitHub Enterprise Cloud | GitHub Changelog
- A feature to customize footers has been added to GitHub Enterprise Cloud.
- At the moment, it seems to only support displaying links.
Afterword
As I mentioned at the beginning, I am very sorry for the significant delay in publication. Between writing Advent Calendars and being busy in my personal life, I could not secure any time to write the Weekly at all. The 2021/12/01 issue is also delayed, so I will write it as soon as possible...
By the way, I plan to release another Advent Calendar, so I might be late again... Sorry 😭
The Productivity Improvement Team holds meetings to share such topics every week. If you are interested in the Productivity Improvement Team, click the link below!
-
Before Buildkit, it was difficult (or rather almost impossible), but recently it has become quite easy. Example: Enabling cache for docker build in Github Actions ↩︎
-
I don't quite understand it yet. ↩︎
-
I don't have an M1 Mac yet, so I want one soon. Money, I want money. ↩︎
Discussion
脚注の"Github Actionsでのdocker buildでキャッシュを有効にする"のリンクurlが誤ってしまっているようです
ご報告ありがとうございます!!
修正いたしました!