Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

Skip input serialization for local activities when doNotIncludeArgumentsIntoMarker is set

Aberta
#3,124 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
3/5
Tempo estimado
1-2 dias
Facilidade para iniciantes
55/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
java
Domínio
backend

Direção de pesquisa

Start in SyncWorkflowContext.executeLocalActivity, which the issue identifies as serializing arguments before checking replay state; trace how doNotIncludeArgumentsIntoMarker affects marker creation and how local activities receive deserialized inputs. Check the relevant local-activity tests and add coverage for the option, including replay. Done means arguments bypass serialization and deserialization when they are not recorded in the marker, without changing marker or replay behavior.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

enhancement

When user sets LocalActivityOptions.setDoNotIncludeArgumentsIntoMarker(true)
local activity arguments (inputs) are not written to event history. However they are still serialized and deserialized even tho they run in same process. Arguments are serialized always, including during replay. Deserialized when local activity runs.

SyncWorkflowContext.executeLocalActivity serializes the arguments as its first thing, before check if workflow is replaying.

doNotIncludeArgumentsIntoMarker controls only if serialized arguments end up in marker event, not if serialization happens or not

Why it matter:
this extra serialization / deserialization can create cpu cost when running payload encryption

Ask:
When local activity arguments are not written to marker event, pass them to local activity directly instead of serializing and deserializing them.

Linguagem predominante
Java
Estrelas
433
Forks
257
Merge médio
2d 18h
PRs com merge (30d)
24

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de temporalio/sdk-java

Todas as issues de temporalio/sdk-java

Issues semelhantes

Mais issues de Java

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.