pulumi / pulumi/pulumi-java

Fix Conformance Test: l1-builtin-try and l1-builtin-can

Open
#1,683 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/testing kind/engineering
Dominant language
Java
Stars
85
Forks
26
Avg merge
11h 49m
Merged PRs (30d)
22

Description

    --- FAIL: TestLanguage/l1-builtin-try (0.01s)
        language_test.go:146: generate project: main.pp:8,11-14: unknown function 'try'; , and 3 other diagnostic(s)
        language_test.go:148: stdout:
        language_test.go:149: stderr:
        language_test.go:150:
                Error Trace:    /Users/brpol/src/pulumi/pulumi-java/pkg/cmd/pulumi-language-java/language_test.go:150
                Error:          Should be true
                Test:           TestLanguage/l1-builtin-try

Try is simply not implemented in pulumi-language-java's codegen, which is yet to be fully implemented.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the failing l1-builtin-try and l1-builtin-can cases in the conformance tests and inspect the referenced language_test.go output. Trace pulumi-language-java's codegen handling for built-in functions and determine the expected generated Java behavior. Done means both conformance cases generate successfully without unknown-function diagnostics.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.